New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

spotify-uri

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spotify-uri - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

dist/episode.d.ts

4

dist/parse.js

@@ -14,2 +14,3 @@ "use strict";

const track_1 = __importDefault(require("./track"));
const episode_1 = __importDefault(require("./episode"));
const user_1 = __importDefault(require("./user"));

@@ -79,4 +80,7 @@ const spotify_uri_1 = __importDefault(require("./spotify-uri"));

}
if (parts[1] === 'episode') {
return new episode_1.default(uri, parts[2]);
}
throw new TypeError(`Could not determine type for: ${uri}`);
}
//# sourceMappingURL=parse.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.encode = exports.decode = void 0;
/**

@@ -4,0 +5,0 @@ * URL-decode, also replaces `+` (plus) chars with ` ` (space).

75

package.json
{
"name": "spotify-uri",
"version": "2.0.0",
"description": "Parse the various Spotify URI formats into Objects and back",
"homepage": "https://github.com/TooTallNate/spotify-uri#readme",
"version": "2.1.0",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"files": [
"dist"
"author": {
"email": "nathan@tootallnate.net",
"name": "Nathan Rajlich",
"url": "http://n8.io/"
},
"contributors": [
{
"name": "Nathan Rajlich",
"email": "nathan@tootallnate.net"
},
{
"name": "Stefan Duberg",
"email": "stefanduberg@me.com"
},
{
"name": "Karl Sander",
"email": "kall@kall.ws"
},
{
"name": "Kiko Beats",
"email": "josefrancisco.verdu@gmail.com"
},
{
"name": "Miraculous Owonubi",
"email": "omiraculous@gmail.com"
},
{
"name": "Shem Magnezi",
"email": "smagnezi8@gmail.com"
}
],
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc",
"test": "mocha",
"test-lint": "eslint src --ext .js,.ts",
"prepublishOnly": "npm run build"
},
"repository": {

@@ -21,16 +42,14 @@ "type": "git",

},
"bugs": {
"url": "https://github.com/TooTallNate/spotify-uri/issues"
},
"keywords": [
"http",
"link",
"object",
"parse",
"spotify",
"uri",
"link",
"http",
"url",
"parse",
"object"
"url"
],
"author": "Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/TooTallNate/spotify-uri/issues"
},
"devDependencies": {

@@ -53,3 +72,15 @@ "@types/node": "^12.12.11",

"node": ">= 6"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"prebuild": "rimraf dist",
"prepublishOnly": "npm run build",
"test": "mocha",
"test-lint": "eslint src --ext .js,.ts"
},
"license": "MIT",
"typings": "./dist/index.d.ts"
}

@@ -92,3 +92,3 @@ spotify-uri

console.log(uri);
// 'https://play.spotify.com/track/4Jgp57InfWE4MxJLfheNVz'
// 'http://open.spotify.com/track/3c1zC1Ma3987kQcHQfcG0Q'
```

@@ -95,0 +95,0 @@

Sorry, the diff of this file is not supported yet

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