Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
music-library-index
Advanced tools
build a searchable javascript object model given track metadata objects
Given track metadata objects, constructs a searchable object model. This module is used both in the client and the server of Groove Basin.
"..."
) exactly match every character, including spaces,
upper- and lower-case letters, and characters with diacritics.
Inside quotes, use \"
for a literal quote and \\
for a literal backslash.not:
match anything not matched by the rest of the term.
For example metal not:metalica
or just not:"Justin Bieber"
.tool not:(opiate live)
.or:(...)
to match any of the terms in the parentheses. For example or:(chopin mozart bach)
.
Use further nested parentheses to return to "and"-style matching. For example or:(chopin mozart (johann sebastian bach))
.var MusicLibraryIndex = require('music-library-index');
var library = new MusicLibraryIndex();
library.addTrack({
key: "Anberlin/Never Take Friendship Personal/02. Paperthin Hymn.mp3",
name: "Paperthin Hymn",
artistName: "Anberlin",
albumName: "Never Take Friendship Personal",
year: 2005,
genre: "Other",
track: 2,
albumArtistName: "Anberlin",
});
library.addTrack({
key: "Anberlin/Never Take Friendship Personal/08. The Feel Good Drag.mp3",
name: "The Feel Good Drag",
artistName: "Anberlin",
albumName: "Never Take Friendship Personal",
year: 2005,
genre: "Other",
track: 8,
albumArtistName: "Anberlin",
label: {"favorites_id": 1},
});
library.rebuildTracks();
library.addLabel({
id: "favorites_id",
name: "favorites",
});
library.rebuildLabels();
console.log(library.artistList[0]);
console.log(library.trackTable);
basic index building
✓ trackTable
✓ artistList
✓ albumList
✓ searching
compilation album
✓ filed in various artists
tracks from same album missing year metadata
✓ still knows they're in the same album
different albums with same name
✓ detects that they are different
album with a few tracks by different artists
✓ only creates one album
album by an artist
✓ should be filed under the artist
album by an artist
✓ sorts by disc before track
album artist with no album
✓ shouldn't be various artists
unknown artist, unknown album
✓ should be put into the same album
✓ searching should not affect anything
album with album artist
✓ shouldn't be various artists
FAQs
build a searchable javascript object model given track metadata objects
The npm package music-library-index receives a total of 3 weekly downloads. As such, music-library-index popularity was classified as not popular.
We found that music-library-index demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.