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

[Snyk] Upgrade source-map-js from 1.0.2 to 1.2.0 #2

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

hashim21223445
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade source-map-js from 1.0.2 to 1.2.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 3 versions ahead of your current version.

  • The recommended version was released on 4 months ago.

Release notes
Package name: source-map-js
  • 1.2.0 - 2024-03-19

    Allow to pass options to SourceMapGenerator using SourceMapGenerator.fromSourceMap as second argument

    var generator = sourceMap.SourceMapGenerator.fromSourceMap(new SourceMapConsumer(), {
      ignoreInvalidMapping: true,
    });
    • Add generator options to fromSourceMap (#22) @ ai
  • 1.1.0 - 2024-03-17

    Add ignoreInvalidMapping option to SourceMapGenerator. If enabled, source-map-js will not throw an error on the incorrect previous source map. Instead, it will print warnings and ignore broken mappings.

    var generator = new sourceMap.SourceMapGenerator({
      file: "my-generated-javascript-file.js",
      sourceRoot: "http://example.com/app/js/",
      ignoreInvalidMapping: true,
    });
    • Do not throw an error since broken prev map is popular issue #20 (#20) @ ai
    • Add ignoreInvalidMapping option (#21) @ 7rulnik
  • 1.0.3 - 2024-03-17
    • Use sourceContents when non-null, even if it's an empty string (#17) @ bshepherdson
  • 1.0.2 - 2022-01-18
from source-map-js GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade source-map-js from 1.0.2 to 1.2.0.

See this package in npm:
source-map-js

See this project in Snyk:
https://app.snyk.io/org/hashim21223445/project/ab6be152-1c7b-46b8-a048-89e7cfe9e48c?utm_source=github&utm_medium=referral&page=upgrade-pr
@hashim21223445 hashim21223445 merged commit 75de6d4 into main Aug 6, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants