spotify-uri
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -15,2 +15,3 @@ "use strict"; | ||
const episode_1 = __importDefault(require("./episode")); | ||
const show_1 = __importDefault(require("./show")); | ||
const user_1 = __importDefault(require("./user")); | ||
@@ -83,4 +84,7 @@ const spotify_uri_1 = __importDefault(require("./spotify-uri")); | ||
} | ||
if (parts[1] === 'show') { | ||
return new show_1.default(uri, parts[2]); | ||
} | ||
throw new TypeError(`Could not determine type for: ${uri}`); | ||
} | ||
//# sourceMappingURL=parse.js.map |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/TooTallNate/spotify-uri#readme", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"main": "./dist/index.js", | ||
@@ -8,0 +8,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
35728
41
566
0