Skip to content

fix: preserve url encoding of + in version#90

Open
Strum355 wants to merge 1 commit into
package-url:masterfrom
Strum355:nsc/version-encoding
Open

fix: preserve url encoding of + in version#90
Strum355 wants to merge 1 commit into
package-url:masterfrom
Strum355:nsc/version-encoding

Conversation

@Strum355

Copy link
Copy Markdown

Based on update to the purl spec here: package-url/purl-spec#58 (comment)

	Signed-off-by: Noah Santschi-Cooney <nsantsch@redhat.com>
@Strum355

Copy link
Copy Markdown
Author

@jdalton any chance you're able to find a moment to review this? 🙂 would be great to get this merged so we can update to v2 of packageurl-js

@Strum355

Copy link
Copy Markdown
Author

@jkowalleck @steven-esser jdalton hasnt gotten around to reviewing this PR yet, would any of you be able to take a look? Thanks!

Strum355 added a commit to Strum355/exhort-javascript-api that referenced this pull request Jun 2, 2026
Bump all safe dependencies to latest major versions:
- @cyclonedx/cyclonedx-library 6→10, https-proxy-agent 7→9, p-limit 4→7
- chai 4→6, mocha 10→11, sinon 15→22, sinon-chai 3→4
- eslint 8→10, typescript 5→6, which 5→7, @types/node 20→25

Migrate ESLint configuration:
- Convert .eslintrc.json to eslint.config.js (flat config, required by ESLint 10)
- Replace eslint-plugin-import with eslint-plugin-import-x (ESLint 10 support)
- Replace eslint-plugin-editorconfig with equivalent built-in ESLint rules
  (plugin uses removed context.getFilename API incompatible with ESLint 10)

Fix Mocha 11 breaking change:
- Convert all suite().beforeAll().afterAll() chains to use
  suiteSetup()/suiteTeardown() inside suite callbacks (chaining API removed)

Add dependabot ignore for packageurl-js (blocked on upstream purl spec
issue for '+' encoding in versions, see package-url/packageurl-js#90).

Closes guacsec#542

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Strum355 added a commit to Strum355/exhort-javascript-api that referenced this pull request Jun 2, 2026
Bump all safe dependencies to latest major versions:
- @cyclonedx/cyclonedx-library 6→10, https-proxy-agent 7→9, p-limit 4→7
- chai 4→6, mocha 10→11, sinon 15→22, sinon-chai 3→4
- eslint 8→10, typescript 5→6, which 5→7, @types/node 20→25

Migrate ESLint configuration:
- Convert .eslintrc.json to eslint.config.js (flat config, required by ESLint 10)
- Replace eslint-plugin-import with eslint-plugin-import-x (ESLint 10 support)
- Replace eslint-plugin-editorconfig with equivalent built-in ESLint rules
  (plugin uses removed context.getFilename API incompatible with ESLint 10)

Fix Mocha 11 breaking change:
- Convert all suite().beforeAll().afterAll() chains to use
  suiteSetup()/suiteTeardown() inside suite callbacks (chaining API removed)

Add dependabot ignore for packageurl-js (blocked on upstream purl spec
issue for '+' encoding in versions, see package-url/packageurl-js#90).

Closes guacsec#542

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Strum355 added a commit to Strum355/exhort-javascript-api that referenced this pull request Jun 2, 2026
Bump all safe dependencies to latest major versions:
- @cyclonedx/cyclonedx-library 6→10, https-proxy-agent 7→9, p-limit 4→7
- chai 4→6, mocha 10→11, sinon 15→22, sinon-chai 3→4
- eslint 8→10, typescript 5→6, which 5→7, @types/node 20→25

Migrate ESLint configuration:
- Convert .eslintrc.json to eslint.config.js (flat config, required by ESLint 10)
- Replace eslint-plugin-import with eslint-plugin-import-x (ESLint 10 support)
- Replace eslint-plugin-editorconfig with equivalent built-in ESLint rules
  (plugin uses removed context.getFilename API incompatible with ESLint 10)

Fix Mocha 11 breaking change:
- Convert all suite().beforeAll().afterAll() chains to use
  suiteSetup()/suiteTeardown() inside suite callbacks (chaining API removed)

Add dependabot ignore for packageurl-js (blocked on upstream purl spec
issue for '+' encoding in versions, see package-url/packageurl-js#90).

Closes guacsec#542

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Strum355 added a commit to guacsec/trustify-da-javascript-client that referenced this pull request Jun 2, 2026
…544)

Bump all safe dependencies to latest major versions:
- @cyclonedx/cyclonedx-library 6→10, https-proxy-agent 7→9, p-limit 4→7
- chai 4→6, mocha 10→11, sinon 15→22, sinon-chai 3→4
- eslint 8→10, typescript 5→6, which 5→7, @types/node 20→25

Migrate ESLint configuration:
- Convert .eslintrc.json to eslint.config.js (flat config, required by ESLint 10)
- Replace eslint-plugin-import with eslint-plugin-import-x (ESLint 10 support)
- Replace eslint-plugin-editorconfig with equivalent built-in ESLint rules
  (plugin uses removed context.getFilename API incompatible with ESLint 10)

Fix Mocha 11 breaking change:
- Convert all suite().beforeAll().afterAll() chains to use
  suiteSetup()/suiteTeardown() inside suite callbacks (chaining API removed)

Add dependabot ignore for packageurl-js (blocked on upstream purl spec
issue for '+' encoding in versions, see package-url/packageurl-js#90).

Closes #542

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@steven-esser

Copy link
Copy Markdown
Collaborator

IS this passing all tests?

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