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)
And in doing so, updates the mime dependency and updates the version of node we target in Babel configuration, so... is probably slightly faster, in tiny ways.
Last release before requiring Node 6!
Bug Fixes
github links for @typedef comments should link to comment, not context (#1024) (37a91b2)
Make documentation.js compatible with node 4.x for one more version (#1033) (5067ee0)
Features
Support --shallow argument for lint command. Closes #956 (#995) (64f660d)
Support the .mjs extension by default. (#1023) (b8a7e0d)
use reference links for Markdown output, improving brevity (ab494dd)
all Extensions whould contains '.' so that mean if you have just 'ts' then need to convert to '.ts'
external parameter was removed
Migration plan propose to move all external resources to input usages
Motivation: packages has many inputs which describe in package.json
so that mean need each time to parse all package.json of exsternal resources to understand which etry point need to pick.
But it is base on guesses because entry point may could not contains a documentation and the best way to handle it manualy.
The serve parametr was remove, you can use any other tools which could be refresh and store your html site
The private parameter has removed, use a access
documentation.js will now require node 14 or later.
This version was pushed to npm by birkskyum, a new releaser for documentation 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/dfinity-side-projects/js-libp2p-gossip-discovery/network/alerts).
Bumps json5 to 2.2.2 and updates ancestor dependency documentation. 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
documentation
from 5.3.3 to 14.0.1Release notes
Sourced from documentation's releases.
Changelog
Sourced from documentation's changelog.
... (truncated)
Commits
73609e5
chore(release): 14.0.197e9361
chore: upgrade git-url-parse to 13.1.0 (#1565)849a083
chore(release): 14.0.042b14a0
build(deps-dev): bump eslint from 8.21.0 to 8.22.0 (#1547)85ecbbf
build(deps): bump@babel/generator
from 7.18.10 to 7.18.12 (#1545)4609719
chore(release): 14.0.0-alpha.1f513485
Align babel plugin list with Prettier5d66953
Sort babel plugins7e17203
revert to upsteam package-lock.json3f187d7
feat: :sparkles: update Babel, copy list of plugins from PrettierMaintainer changes
This version was pushed to npm by birkskyum, a new releaser for documentation 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/dfinity-side-projects/js-libp2p-gossip-discovery/network/alerts).