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

jsmediatags

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsmediatags - npm Package Compare versions

Comparing version 3.9.3 to 3.9.4

2

build2/ID3v2FrameReader.js

@@ -250,3 +250,3 @@ 'use strict';

if (flags && flags.format.unsynchronisation) {
if (flags && flags.format.unsynchronisation && !id3header.flags.unsynchronisation) {
frameData = this.getUnsyncFileReader(frameData, frameDataOffset, frameSize);

@@ -253,0 +253,0 @@ frameDataOffset = 0;

{
"name": "jsmediatags",
"version": "3.9.3",
"version": "3.9.4",
"description": "Media Tags Reader (ID3, MP4)",

@@ -51,11 +51,11 @@ "author": {

"devDependencies": {
"@babel/preset-env": "^7.5.0",
"@babel/cli": "^7.5.0",
"@babel/cli": "^7.12.16",
"@babel/core": "^7.5.0",
"babel-jest": "^24.8.0",
"@babel/plugin-proposal-class-properties": "^7.5.0",
"@babel/plugin-transform-block-scoping": "^7.4.4",
"@babel/plugin-transform-classes": "^7.4.4",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/preset-env": "^7.5.0",
"babel-jest": "^26.6.3",
"babelify": "^10.0.0",

@@ -65,6 +65,6 @@ "browserify": "^16.3.0",

"google-closure-compiler": "20170626.0.0",
"jest-cli": "^24.8.0",
"jest-cli": "^26.6.3",
"react": "^16.2.0",
"react-native": "^0.60.0",
"watchify": "^3.11.1"
"react-native": "^0.63.4",
"watchify": "^4.0.0"
},

@@ -71,0 +71,0 @@ "scripts": {

@@ -90,2 +90,6 @@ # JS MediaTags

```
Note that the URI has to include the scheme (e.g.: https://), as relative URIs are not supported.
```javascript

@@ -266,2 +270,15 @@ // From Blob

### Picture data
The `picture` tag contains an array buffer of all the bytes of the album artwork image as well as the content type of the image. The data can be converted and displayed as an image using:
```javascript
const { data, format } = result.tags.picture;
let base64String = "";
for (const i = 0; i < data.length; i++) {
base64String += String.fromCharCode(data[i]);
}
img.src = `data:${format};base64,${base64String}`;
```
### HTTP Access Control (CORS)

@@ -268,0 +285,0 @@

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