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

node-id3

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-id3 - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

28

example/test.js

@@ -75,3 +75,3 @@ const nodeID3 = require('../index.js')

nodeID3.update({
console.log(nodeID3.update({
TXXX: [{

@@ -84,7 +84,4 @@ description: "testtt.",

},]
}, "./example/example.mp3", (err) => {
console.log(nodeID3.read("./example/example.mp3"))
})
/*console.log(nodeID3.update({
}, "./example/example.mp3"));
console.log(nodeID3.update({
TXXX: [{

@@ -96,5 +93,24 @@ description: "testtt.",

value: "value6."
}, {
description: "testtt5.",
value: "value9."
},]
}, "./example/example.mp3"));
console.log(nodeID3.read("./example/example.mp3"))
console.log("\ndonesync\n")
nodeID3.update({
TXXX: [{
description: "testtt.",
value: "value5."
}, {
description: "testtt2.",
value: "value7."
},]
}, "./example/example.mp3", (err) => {
console.log(nodeID3.read("./example/example.mp3"))
});
/*
console.log(nodeID3.read("./example/example.mp3"))*/

@@ -292,3 +292,3 @@ const fs = require('fs')

let comparison = cCompare[rTag[SFrames[SRawToNameMap[tag]].updateCompareKey]]
if(comparison) {
if(comparison !== undefined) {
currentTags[tag][comparison] = rTag

@@ -313,3 +313,3 @@ } else {

Object.keys(rawTags).map(function(tag) {
if(SFrames[SRawToNameMap[tag]].multiple && currentTags[tag] && rawTags[tag]) {
if(SFrames[SRawToNameMap[tag]] && SFrames[SRawToNameMap[tag]].multiple && currentTags[tag] && rawTags[tag]) {
cCompare = {}

@@ -322,3 +322,3 @@ currentTags[tag].forEach((cTag, index) => {

let comparison = cCompare[rTag[SFrames[SRawToNameMap[tag]].updateCompareKey]]
if(comparison) {
if(comparison !== undefined) {
currentTags[tag][comparison] = rTag

@@ -325,0 +325,0 @@ } else {

{
"name": "node-id3",
"version": "0.1.10",
"version": "0.1.11",
"description": "Pure JavaScript ID3 Tag writer/reader",

@@ -5,0 +5,0 @@ "author": "Jan Metzger <jan.metzger@gmx.net>",

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