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

spotify-uri

Package Overview
Dependencies
Maintainers
2
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 3.0.3 to 3.0.4

./dist/index.js

13

dist/index.d.ts

@@ -97,4 +97,13 @@ declare abstract class SpotifyUri {

declare type ParsedSpotifyUri = Search | Episode | Local | Playlist | Track | Artist | Album | User;
declare class Show extends SpotifyUri {
type: string;
id: string;
constructor(uri: string, id: string);
static is(v: any): v is Show;
toURI(): string;
toURL(): string;
}
type ParsedSpotifyUri = Search | Episode | Local | Playlist | Track | Artist | Album | User | Show;
declare function formatURI(input: string | SpotifyUri): string;

@@ -105,2 +114,2 @@ declare function formatEmbedURL(input: string | SpotifyUri): string;

export { Album, Artist, Episode, Local, ParsedSpotifyUri, Playlist, Search, Track, User, formatEmbedURL, formatOpenURL, formatPlayURL, formatURI, parse };
export { Album, Artist, Episode, Local, ParsedSpotifyUri, Playlist, Search, Show, Track, User, formatEmbedURL, formatOpenURL, formatPlayURL, formatURI, parse };

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

Search: () => Search,
Show: () => Show,
Track: () => Track,

@@ -346,2 +347,3 @@ User: () => User,

Search,
Show,
Track,

@@ -348,0 +350,0 @@ User,

6

package.json

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/TooTallNate/spotify-uri#readme",
"version": "3.0.3",
"version": "3.0.4",
"main": "./dist/index.js",

@@ -62,3 +62,3 @@ "module": "./dist/index.mjs",

"devDependencies": {
"@types/node": "12",
"@types/node": "16",
"mocha": "latest",

@@ -71,3 +71,3 @@ "standard-version": "latest",

"engines": {
"node": ">= 12"
"node": ">= 16"
},

@@ -74,0 +74,0 @@ "files": [

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