Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update colinodell/json5 requirement from ^2.2 to ^2.2 || ^3.0 #10

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 12, 2024

Updates the requirements on colinodell/json5 to permit the latest version.

Release notes

Sourced from colinodell/json5's releases.

v3.0.0

You should not notice any breaking changes in this release unless you were using named parameters, or ignoring argument types defined in docblocks.

Changed

  • Renamed function parameters to match json_decode()'s signature
    • $source is now $json
    • $options is now $flags
  • Added explicit mixed return type to match json_decode()
  • Added proper types to all parameters and return values of SyntaxError
  • Renamed two arguments in the SyntaxError's constructor:
    • $linenumber is now $lineNumber
    • $columnNumber is now $column

Removed

  • Removed support for PHP 7.x (8.0+ is now required)
Changelog

Sourced from colinodell/json5's changelog.

[3.0.0] - 2024-02-09

You should not notice any breaking changes in this release unless you were using named parameters, or ignoring argument types defined in docblocks.

Changed

  • Renamed function parameters to match json_decode()'s signature
    • $source is now $json
    • $options is now $flags
  • Added explicit mixed return type to match json_decode()
  • Added proper types to all parameters and return values of SyntaxError
  • Renamed two arguments in the SyntaxError's constructor:
    • $linenumber is now $lineNumber
    • $columnNumber is now $column

Removed

  • Removed support for PHP 7.x (8.0+ is now required)

[2.3.0] - 2022-12-27

Added

  • Added parameter and return types matching the existing docblocks

Fixed

  • Fixed missing @throws docblocks needed for PhpStorm to recognize exceptions (#21)

[2.2.2] - 2022-02-21

Fixed

  • Fixed "small" integers always being cast to strings when JSON_BIGINT_AS_STRING is set (#17)
  • Fixed exceptions not being thrown when invalid UTF-16 escape sequences are encountered in strings

[2.2.1] - 2021-11-06

Fixed

  • Fixed exceptions always being thrown on PHP 7.3+ when parsing valid JSON5 with JSON_THROW_ON_ERROR explicitly set to true (#15)

[2.2.0] - 2020-11-29

Added

  • Added support for PHP 8.0

Removed

  • Removed support for PHP 5.6 and 7.0

[2.1.0] - 2019-03-28

Added

  • Added .phpstorm.meta.php for better code completion
  • Added several tiny micro-optimizations

Removed

  • Removed support for PHP 5.4 and 5.5

... (truncated)

Commits
  • 5724d21 Fix SymfonyInsight link
  • 88f8c6b Prepare to release v3.0.0
  • 461a6bf Bump dev dependencies
  • ab80b3d Rename exception args; add types
  • f1fda3d Remove unnecessary return values
  • 5cf917a Use match and union types where possible
  • b89c414 Add explicit 'mixed' return type
  • fce4c8f Drop support for PHP 7.x
  • ba27b37 Remove unnecessary PHP 5.x compatibility code
  • f355a99 Rename params to match json_decode
  • Additional commits viewable 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 <dependency name> 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)

Updates the requirements on [colinodell/json5](https://github.com/colinodell/json5) to permit the latest version.
- [Release notes](https://github.com/colinodell/json5/releases)
- [Changelog](https://github.com/colinodell/json5/blob/main/CHANGELOG.md)
- [Commits](colinodell/json5@v2.2.0...v3.0.0)

---
updated-dependencies:
- dependency-name: colinodell/json5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Feb 12, 2024
@inhere inhere merged commit 5c07618 into master Feb 14, 2024
7 checks passed
@dependabot dependabot bot deleted the dependabot/composer/colinodell/json5-tw-2.2or-tw-3.0 branch February 14, 2024 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant