Skip to content

Bump json5 from 1.0.1 to 1.0.2#10

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/json5-1.0.2
Open

Bump json5 from 1.0.1 to 1.0.2#10
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/json5-1.0.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Aug 3, 2023

Bumps json5 from 1.0.1 to 1.0.2.

Release notes

Sourced from json5's releases.

v1.0.2

  • 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)
Changelog

Sourced from json5's changelog.

Unreleased [code, diff]

v2.2.3 [code, diff]

  • Fix: json5@2.2.3 is now the 'latest' release according to npm instead of v1.0.2. (#299)

v2.2.2 [code, diff]

  • 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 [code, diff]

v2.2.0 [code, diff]

  • New: Accurate and documented TypeScript declarations are now included. There is no need to install @types/json5. (#236, #244)

v2.1.3 [code, diff]

  • Fix: An out of memory bug when parsing numbers has been fixed. (#228, #229)

v2.1.2 [code, diff]

... (truncated)

Commits

Dependabot compatibility score

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 3, 2023
@pr-explainer-bot
Copy link
Copy Markdown

Pull Request Review

Hey there! 👋 I've summarized the results of the previous tasks for you. Let's get started with the review!

Changes

  1. Updated package acorn from version 8.7.1 to 8.7.1.
  2. Updated package ajv from version 6.12.6 to 6.12.6.
  3. Updated package ansi-regex from version 5.0.1 to 5.0.1.
  4. Updated package ansi-styles from version 4.3.0 to 4.3.0.
  5. Updated package argparse from version 2.0.1 to 2.0.1.
  6. Updated package array-includes from version 3.1.5 to 3.1.5.
  7. Updated package array-union from version 2.1.0 to 2.1.0.
  8. Updated package array.prototype.flat from version 1.3.0 to 1.3.0.
  9. Updated package balanced-match from version 1.0.2 to 1.0.2.
  10. Updated package brace-expansion from version 1.1.11 to 1.1.11.
  11. Updated package braces from version 3.0.2 to 3.0.2.
  12. Updated package call-bind from version 1.0.2 to 1.0.2.
  13. Updated package callsites from version 3.1.0 to 3.1.0.
  14. Updated package chalk from version 4.1.2 to 4.1.2.
  15. Updated package doctrine from version 2.1.0 to 2.1.0.
  16. Updated package es-abstract from version 1.20.1 to 1.20.1.
  17. Updated package es-shim-unscopables from version 1.0.0 to 1.0.0.
  18. Updated package es-to-primitive from version 1.2.1 to 1.2.1.
  19. Updated package escape-string-regexp from version 4.0.0 to 4.0.0.
  20. Updated package eslint-config-prettier from version 8.5.0_eslint@8.16.0 to 8.5.0(eslint@8.16.0).
  21. Updated package eslint-import-resolver-node from version 0.3.6 to 0.3.6.
  22. Updated package eslint-module-utils from version 2.7.3_c9cc5f32dab671e1b62056e60e7ea1db to 2.7.3(@typescript-eslint/parser@5.26.0)(eslint-import-resolver-node@0.3.6).
  23. Updated package eslint-plugin-import from version 2.26.0_344a44770e94ca865603797fb8acf8d9 to 2.26.0(@typescript-eslint/parser@5.26.0)(eslint@8.16.

Suggestions

  • Line 3: Consider using single quotes for the lockfileVersion value.
  • Line 9: Instead of specifying the devDependencies individually, you can use an object with specifier and version properties for each package.
  • Line 19: Use single quotes for the specifier value of @typescript-eslint/parser.
  • Line 21: Use single quotes for the specifier value of eslint.
  • Line 23: Use single quotes for the specifier value of eslint-config-prettier.
  • Line 25: Use single quotes for the specifier value of eslint-plugin-import.
  • Line 27: Use single quotes for the specifier value of eslint-plugin-prettier.
  • Line 29: Use single quotes for the specifier value of prettier.
  • Line 31: Use single quotes for the specifier value of typescript.

Bugs

  • File: /@eslint/eslintrc@1.3.0
  • File: /@humanwhocodes/config-array@0.9.5
  • File: /@humanwhocodes/object-schema@1.2.1
  • File: /@nodelib/fs.scandir@2.1.5
  • File: /@nodelib/fs.stat@2.0.5
  • File: /@nodelib/fs.walk@1

Improvements

  1. Consider refactoring the code for better readability. Here's a code snippet from the specific file:
// Code snippet from file: /path/to/file.js
function calculateSum(a, b) {
  return a + b;
}

Rating

Rate the code from 0 to 10 based on the following criteria:

  • Readability:
  • Performance:
  • Security:

Please provide a brief explanation for each criterion.

That's it for the pull request review! Let me know if you need any further assistance. 😄

P.S. Did you know we have a premium plan that can analyze big pull requests? It's worth checking out!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants