spotify-uri
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -214,2 +214,3 @@ "use strict"; | ||
function parseParts(uri, parts) { | ||
parts = parts.filter((p) => !p.startsWith("intl")); | ||
let spotifyType = parts[1]; | ||
@@ -216,0 +217,0 @@ if (spotifyType === "embed" /* Embed */) { |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/TooTallNate/spotify-uri#readme", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"main": "./dist/index.js", | ||
@@ -75,6 +75,12 @@ "module": "./dist/index.mjs", | ||
], | ||
"license": "MIT", | ||
"exports": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
}, | ||
"types": "./dist/index.d.ts", | ||
"scripts": { | ||
"build": "tsup src/index.ts --format esm,cjs --dts", | ||
"prebuild": "rm -rf dist", | ||
"prepublishOnly": "npm run build", | ||
"prerelease": "npm run test", | ||
@@ -85,10 +91,3 @@ "pretest": "npm run build", | ||
"test-lint": "ts-standard" | ||
}, | ||
"license": "MIT", | ||
"exports": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
}, | ||
"types": "./dist/index.d.ts" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
25128
7
602