Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a prototype pollution vulnerability reported by Jonathan Gregson! (#295). This has been backported to v1. (#298)
v1.0.1
This release includes a bug fix and minor change.
Fix: parse throws on unclosed objects and arrays.
New: package.json5 has been removed until an easier way to keep it in sync
with package.json is found.
v1.0.0
This release includes major internal changes and public API enhancements.
Major JSON5 officially supports Node.js v4 and later. Support for Node.js
v0.10 and v0.12 have been dropped.
New: Unicode property names and Unicode escapes in property names are
supported. (#1)
New: stringify outputs trailing commas in objects and arrays when a space
option is provided. (#66)
New: JSON5 allows line and paragraph separator characters (U+2028 and U+2029)
in strings in order to be compatible with JSON. However, ES5 does not allow
these characters in strings, so JSON5 gives a warning when they are parsed and
escapes them when they are stringified. (#70)
New: stringify accepts an options object as its second argument. The
supported options are replacer, space, and a new quote option that
specifies the quote character used in strings. (#71)
New: The CLI supports STDIN and STDOUT and adds --out-file, --space, and
--validate options. See json5 --help for more information. (#72, #84,
and #108)
New: In addition to the white space characters space \t, \v, \f, \n,
\r, and \xA0, the additional white space characters \u2028, \u2029,
and all other characters in the Space Separator Unicode category are allowed.
New: In addition to the character escapes \', \", \\, \b, \f, \n,
\r, and \t, the additional character escapes \v and \0, hexadecimal
escapes like \x0F, and unnecessary escapes like \a are allowed in string
values and string property names.
New: stringify outputs strings with single quotes by default but
intelligently uses double quotes if there are more single quotes than double
quotes inside the string. (i.e. stringify('Stay here.') outputs
'Stay here.' while stringify('Let\'s go.') outputs "Let's go.")
Fix: Properties with the name __proto__ are added to objects and arrays.
(#199) This also fixes a prototype pollution vulnerability reported by
Jonathan Gregson! (#295).
remove the --prefetch option in favor the PrefetchPlugin plugin
remove the --node-env option in favor --define-process-env-node-env
remove the --hot option in favor of directly using the HotModuleReplacement plugin (only for build command, for serve it will work)
the behavior logic of the --entry option has been changed - previously it replaced your entries, now the option adds a specified entry, if you want to return the previous behavior please use webpack --entry-reset --entry './src/my-entry.js'
remove the --prefetch option in favor the PrefetchPlugin plugin
remove the --node-env option in favor --define-process-env-node-env
remove the --hot option in favor of directly using the HotModuleReplacement plugin (only for build command, for serve it will work)
the behavior logic of the --entry option has been changed - previously it replaced your entries, now the option adds a specified entry, if you want to return the previous behavior please use webpack --entry-reset --entry './src/my-entry.js'
This version was pushed to npm by evilebottnawi, a new releaser for webpack-cli since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/quachtina96/scratch-vui/network/alerts).
Bumps json5 to 1.0.2 and updates ancestor dependencies json5, loader-utils, scratch-blocks and webpack-cli. These dependencies need to be updated together.
Updates
json5
from 0.5.1 to 1.0.2Release notes
Sourced from json5's releases.
... (truncated)
Changelog
Sourced from json5's changelog.
... (truncated)
Commits
a62db1e
1.0.2e0c23fe
docs: update CHANGELOG for v1.0.262a6540
fix: add proto to objects and arrays072eb40
1.0.1e7bdcd1
Update CHANGELOG for v1.0.1342d575
Remove package.json5 file0336c9c
Fix unclosed object and array bug25929ab
Fix typo in API documentation607c18f
Readme: fix typo in attribution. [skip ci]1d64ece
1.0.0Updates
loader-utils
from 1.1.0 to 1.4.2Release notes
Sourced from loader-utils's releases.
... (truncated)
Changelog
Sourced from loader-utils's changelog.
... (truncated)
Commits
331ad50
chore(release): 1.4.217cbf8f
fix: ReDoS problem (#226)8f082b3
chore(release): 1.4.14504e34
fix: security problem (#220)d95b8b5
chore(release): 1.4.0cd0e428
feat: theresourceQuery
is passed to theinterpolateName
method (#163)06d36cf
chore(release): 1.3.0469eeba
feat: support the[query]
template for theinterpolatedName
method (#162)909c99d
chore: funding.yml config and CI fix (#159)b5b74f0
Set up CI with Azure PipelinesMaintainer changes
This version was pushed to npm by evilebottnawi, a new releaser for loader-utils since your current version.
Updates
scratch-blocks
from 0.1.0-prerelease.1561032983 to 0.1.0-prerelease.20221207082607Commits
Updates
webpack-cli
from 2.0.13 to 5.0.1Release notes
Sourced from webpack-cli's releases.
... (truncated)
Changelog
Sourced from webpack-cli's changelog.
... (truncated)
Commits
4a0f893
chore(release): publish new version9de982c
chore: fix cspell32d26c8
chore(deps-dev): bump cspell from 6.15.1 to 6.16.0 (#3517)2788bf9
chore(deps-dev): bump eslint from 8.28.0 to 8.29.0 (#3516)ac88ee4
chore(deps-dev): bump lint-staged from 13.0.4 to 13.1.0 (#3515)346a518
fix: make define-process-env-node-env alias node-env (#3514)3ec7b16
chore(deps): bump yeoman-environment from 3.12.1 to 3.13.0 (#3508)c8adfa6
chore(deps-dev): bump@types/node
from 18.11.9 to 18.11.10 (#3513)0ad8cc2
chore(deps-dev): bump cspell from 6.15.0 to 6.15.1 (#3512)d30f261
chore(deps-dev): bump ts-loader from 9.4.1 to 9.4.2 (#3511)Maintainer changes
This version was pushed to npm by evilebottnawi, a new releaser for webpack-cli since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/quachtina96/scratch-vui/network/alerts).