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 structured-headers from 1.0.1 to 2.0.0 #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snyk-io[bot]
Copy link

@snyk-io snyk-io bot commented Oct 30, 2024

snyk-top-banner

Snyk has created this PR to upgrade structured-headers from 1.0.1 to 2.0.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.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

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

  • The recommended version was released on a month ago.

Release notes
Package name: structured-headers
  • 2.0.0 - 2024-10-03

    The "Structured Field Values" was updated in RFC9651. This new specification added the 'Date' and 'Display String' field type, which encode unix timestamp and Unicode string respectively.

    Perfect time to update this package as well! This new major release supports the new standard, and also has a few other changes:

    • #66: We now convert from/to ArrayBuffer instead of a custom ByteSequence object. This is a breaking change.
    • Add support for Date and DisplayString from RFC9651.
    • Switched to ESM, but we're still bundling a CommonJS build.
    • No longer shipping a minified build.
    • Dropped Chai and now using node:assert.
    • Dropped Mocha and now using node:test.
  • 2.0.0-alpha.1 - 2024-02-23
    • Fixed exports value in package.json. (@ CxRes)
  • 2.0.0-alpha.0 - 2024-01-29
    • Support for a new Date and Display String types, from the new draft draft-ietf-httpbis-sfbis.
    • Simplified serializing Dictionaries and Items. The existing signatures still work, but the new API is a bit more natural and doesn't require wrapping everything in arrays and Maps.
    • Now requires Node 18.
    • Converted to ESM.
    • No longer providing a Webpack build. Most frontend applications already do their own bundling. Please let us know if you need this, so we can redo this with modern tools.
  • 1.0.1 - 2023-08-03
    • #33 This library emitted TypeError or a plain Error in a few places in the parser, where it should have been ParseError this is corrected everywhere now.
from structured-headers GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • 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 structured-headers from 1.0.1 to 2.0.0.

See this package in npm:
structured-headers

See this project in Snyk:
https://app.snyk.io/org/sherfeyinv/project/6e51351c-5197-4c32-ab49-6f9ba8a35944?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
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.

0 participants