GoogleChrome / samples

A repo containing samples tied to new functionality in each release of Google Chrome.
https://www.chromestatus.com/samples
Apache License 2.0
5.79k stars 2.38k forks source link

Bump jsonpointer and @apideck/better-ajv-errors in /web-share #863

Closed dependabot[bot] closed 2 weeks ago

dependabot[bot] commented 2 weeks ago

Bumps jsonpointer and @apideck/better-ajv-errors. These dependencies needed to be updated together. Updates jsonpointer from 4.1.0 to 5.0.1

Release notes

Sourced from jsonpointer's releases.

Version 5.0.1

Changelog

v5.0.0

5.0.0 (2021-10-31)

Bug Fixes

  • Fix prototype pollution (#51)

    • The original, non-mutated objects are now returned if any of the keys __proto__, constructor or prototype are used in a json pointer.
    // returns the unmodified input {}
    jsonpointer.set({}, '/foo/__proto__/boo', 'polluted')
    
    • When passing non-string arrays to a .set operation, an error is thrown:
    // throws `new Error('Invalid JSON pointer. Must be of type string or number.')`
    jsonpointer.set({}, [['__proto__'], ['__proto__'], 'boo'], 'polluted')
    
Commits
  • 4a253c0 Adopt strictEqual changes and only return null when the get succeeded
  • bad4983 Fix null values throwing exception when traversing over while getting
  • a5706e8 test: Always use strictEqual to ensure null and undefined values are asserted...
  • b8e1e6a fix incorrect typings for compile get/set methods
  • c4de620 Merge pull request #53 from janl/release/5.0.0
  • 8dbf304 feat: v5
  • 84cf173 Merge pull request #52 from janl/fix/test
  • f716e5c chore: more rip travis
  • e2ae355 chore: remove comment
  • d23693b chore: update primary branch
  • Additional commits viewable in compare view


Updates @apideck/better-ajv-errors from 0.2.5 to 0.2.7

Release notes

Sourced from @​apideck/better-ajv-errors's releases.

v0.2.7

  • Merge pull request #6 from apideck-libraries/snyk-fix-bb701752012a6a37d472f9e1d9ee09e3 5aed5c8
  • fix: package.json & yarn.lock to reduce vulnerabilities fc9fa80
  • Add links to badges in README 5621478
  • Add badges to README fixes #5 f5db595

https://github.com/apideck-libraries/better-ajv-errors/compare/v0.2.6...v0.2.7

v0.2.6

  • Add support for non-string enums 8129b99

https://github.com/apideck-libraries/better-ajv-errors/compare/v0.2.5...v0.2.6

Commits
  • 5cdcbf0 v0.2.7
  • 5aed5c8 Merge pull request #6 from apideck-libraries/snyk-fix-bb701752012a6a37d472f9e...
  • fc9fa80 fix: package.json & yarn.lock to reduce vulnerabilities
  • 5621478 Add links to badges in README
  • f5db595 Add badges to README fixes #5
  • aabff1a v0.2.6
  • 2ddcc03 Merge pull request #4 from apideck-libraries/number-enums
  • 8129b99 Add support for non-string enums
  • See full diff in compare view


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/GoogleChrome/samples/network/alerts).