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).
v2.2.1
Fix: Removed dependence on minimist to patch CVE-2021-44906. (#266)
v2.2.0
New: Accurate and documented TypeScript declarations are now included. There is no need to install @types/json5. (#236, #244)
New: package.json and package.json5 include a module property so
bundlers like webpack, rollup and parcel can take advantage of the ES Module
build. (#208)
Fix: stringify outputs \0 as \\x00 when followed by a digit. (#210)
New: The index.mjs and index.min.mjs browser builds in the dist directory support ES6 modules. (#187)
v2.0.1
Fix: The browser builds in the dist directory support ES5. (#182)
v2.0.0
Major: JSON5 officially supports Node.js v6 and later. Support for Node.js
v4 has been dropped. Since Node.js v6 supports ES5 features, the code has been
rewritten in native ES5, and the dependence on Babel has been eliminated.
New: Support for Unicode 10 has been added.
New: The test framework has been migrated from Mocha to Tap.
New: The browser build at dist/index.js is no longer minified by default. A
minified version is available at dist/index.min.js. (#181)
Fix: The warning has been made clearer when line and paragraph separators are
used in strings.
Fix: package.json5 has been restored, and it is automatically generated and
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).
New: package.json and package.json5 include a module property so
bundlers like webpack, rollup and parcel can take advantage of the ES Module
build. (#208)
Fix: stringify outputs \0 as \\x00 when followed by a digit. (#210)
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'
Bumps json5 to 2.2.2 and updates ancestor dependencies json5, babel-loader, eslint-loader, html-loader, html-webpack-plugin, jest, webpack and webpack-cli. These dependencies need to be updated together.
Updates
json5
from 0.5.1 to 2.2.2Release notes
Sourced from json5's releases.
... (truncated)
Changelog
Sourced from json5's changelog.
... (truncated)
Commits
14f8cb1
2.2.210cc7ca
docs: update CHANGELOG for v2.2.27774c10
fix: add proto to objects and arraysedde30a
Readme: slight tweak to intro97286f8
Improve example in readmed720b4f
Improve readme (e.g. explain JSON5 better!) (#291)910ce25
docs: fix spelling of Aseem2aab4dd
test: require tap as t in cli tests6d42686
test: remove mocha syntax from tests4798b9d
docs: update installation and usage for modulesUpdates
babel-loader
from 7.1.4 to 9.1.0Release notes
Sourced from babel-loader's releases.
... (truncated)
Commits
15fbacf
9.1.06348e1c
Pass external dependencies from Babel to Webpack (#971)457b9ad
Update webpackf42ac9b
9.0.14f9c0bf
remove "node:" builtin prefix (#970)9ff288f
9.0.0006a3dc
Update README.mddaed88a
Update README.md0ed5fd6
Bump ini from 1.3.5 to 1.3.8 (#968)b1749e3
Bump y18n from 4.0.0 to 4.0.3 (#967)Maintainer changes
This version was pushed to npm by nicolo-ribaudo, a new releaser for babel-loader since your current version.
Updates
eslint-loader
from 2.0.0 to 4.0.2Release notes
Sourced from eslint-loader's releases.
... (truncated)
Changelog
Sourced from eslint-loader's changelog.
... (truncated)
Commits
e732cb5
chore(release): 4.0.27febae0
fix: use fs-extra ^8.1.0ba37e29
chore(release): 4.0.1acae2be
refactor: new cache implementation (#320)c086892
chore(release): 4.0.01a12052
chore: v4.0.0 (#319)6c6a87a
chore(release): 3.0.4953d140
test: jest setTimeoutacecce6
chore: update depsd7be477
chore: update depsUpdates
html-loader
from 0.5.5 to 4.2.0Release notes
Sourced from html-loader's releases.
... (truncated)
Changelog
Sourced from html-loader's changelog.
... (truncated)
Commits
17fbef3
chore(release): 4.2.027a6caf
feat: update html minifier (#462)01905ba
chore: update commitlint action (#461)37d2073
chore: run cancel workflow on pull request (#458)7dd065c
chore: update jest to the latest version (#457)3ddf326
ci: update github workflow security permissions (#456)2457eda
chore: upgrade dependencies to the latest version (#455)3ea5738
ci: add job to cancel previous runs (#454)33cc6d0
chore: update dependencies to the latest version (#453)e81a944
ci: add GitHub token permissions for workflow (#450)Maintainer changes
This version was pushed to npm by evilebottnawi, a new releaser for html-loader since your current version.
Updates
html-webpack-plugin
from 3.2.0 to 5.5.0Changelog
Sourced from html-webpack-plugin's changelog.
... (truncated)
Commits
873d75b
chore(release): 5.5.0ddeb774
chore: update examples1e42625
feat: Support type=module via scriptLoading option7d3645b
Bump pretty-error to 4.0.0 to fix transitive vuln for ansi-regex CVE-2021-380779be779
[chore] changes actions to run on pull_requestsb7e5859
[chore] fixes CI to avoid race conditions48131d3
chore(release): 5.4.016a841a
[chore] rebuild examples3bb7c17
Update index.jse38ac97
Update index.jsMaintainer changes
This version was pushed to npm by jantimon, a new releaser for html-webpack-plugin since your current version.
Updates
jest
from 22.4.4 to 29.3.1Release notes
Sourced from jest's releases.
... (truncated)
Changelog
Sourced from jest's changelog.
... (truncated)
Commits
05deb83
v29.3.184b8de9
v29.3.00a8edbe
v29.2.24551c0f
v29.2.1ee5b37a
v29.2.022322c9
refactor: use a single root tsconfig for type tests (#13358)3c31dd6
v29.1.2fd9cd90
v29.1.151f1030
v29.1.077f865d
v29.0.3Maintainer changes
This version was pushed to npm by simenb, a new releaser for jest since your current version.
Updates
webpack
from 4.8.3 to 5.75.0Release notes
Sourced from webpack's releases.
... (truncated)
Commits
8241da7
5.75.0a91d923
Merge pull request #16458 from webpack/bugfix/semi4608b11
Merge pull request #16457 from webpack/tooling/updatedfdd0b0
Merge pull request #16122 from AnmolBansalDEV/bug/compilationCallback23b9a1c
Merge pull request #16167 from exposir/fixts6f2c5e8
Merge pull request #16257 from alexzhang1030/calc_deterministic_verbosef7f36ad
Merge pull request #16339 from Liamolucko/wasm-i64761a542
fix semicolon position2403a36
Merge pull request #16345 from ahabhgk/fix-eval-nosourcesc18203c
update toolingUpdates
webpack-cli
from 2.1.3 to 5.0.1Release notes
Sourced from webpack-cli's releases.
... (truncated)
Changelog
Sourced from webpack-cli's changelog.