Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

packageurl-js

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

packageurl-js - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 0.0.7
### Bug Fixes
* Keep license texts in comment headers, even after minification [#27](https://github.com/package-url/packageurl-js/issues/27)
* Fix a bug in golang purls that was adding additional slashes to the string [#30](https://github.com/package-url/packageurl-js/issues/30)
# 0.0.6

@@ -2,0 +7,0 @@ ### Bug Fixes

2

index.d.ts

@@ -1,2 +0,2 @@

/*
/*!
Copyright (c) the purl authors

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/*
/*!
Copyright (c) the purl authors

@@ -3,0 +3,0 @@

{
"name": "packageurl-js",
"version": "0.0.6",
"version": "0.0.7",
"description": "JavaScript library to parse and build \"purl\" aka. package URLs. This is a microlibrary implementing the purl spec at https://github.com/package-url",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,2 +0,2 @@

/*
/*!
Copyright (c) the purl authors

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/*
/*!
Copyright (c) the purl authors

@@ -73,4 +73,4 @@

encodeURIComponent(this.namespace)
.replace('%3A', ':')
.replace('%2F', '/')
.replace(/%3A/g, ':')
.replace(/%2F/g, '/')
);

@@ -77,0 +77,0 @@ purl.push('/');

@@ -63,2 +63,14 @@ [

{
"description": "valid go purl with namespace that has more than one forward slash",
"purl": "pkg:golang/github.com/cncf/xds/go@v0.0.0-20210922020428-25de7278fc84",
"canonical_purl": "pkg:golang/github.com/cncf/xds/go@v0.0.0-20210922020428-25de7278fc84",
"type": "golang",
"namespace": "github.com/cncf/xds",
"name": "go",
"version": "v0.0.0-20210922020428-25de7278fc84",
"qualifiers": null,
"subpath": null,
"is_invalid": false
},
{
"description": "bitbucket namespace and name should be lowercased",

@@ -65,0 +77,0 @@ "purl": "pkg:bitbucket/birKenfeld/pyGments-main@244fd47e07d1014f0aed9c",

@@ -1,2 +0,2 @@

/*
/*!
Copyright (c) the purl authors

@@ -3,0 +3,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc