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

hls-parser

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hls-parser - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

LICENSE

7

dist/hls-parser.min.js.LICENSE.txt

@@ -1,6 +0,1 @@

/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
/*! Copyright Kuu Miyazaki. SPDX-License-Identifier: MIT */

@@ -0,1 +1,2 @@

/*! Copyright Kuu Miyazaki. SPDX-License-Identifier: MIT */
const {getOptions, setOptions} = require('./utils');

@@ -2,0 +3,0 @@ const parse = require('./parse');

{
"name": "hls-parser",
"version": "0.6.3",
"version": "0.6.4",
"description": "A simple library to read/write HLS playlists",

@@ -33,12 +33,12 @@ "main": "index.js",

"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.5",
"ava": "^3.12.1",
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"ava": "^3.13.0",
"babel-loader": "^8.1.0",
"coveralls": "^3.1.0",
"nyc": "^15.1.0",
"terser-webpack-plugin": "^4.2.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"xo": "^0.33.1"
"terser-webpack-plugin": "^5.0.0",
"webpack": "^5.1.3",
"webpack-cli": "^4.1.0",
"xo": "^0.34.1"
},

@@ -45,0 +45,0 @@ "xo": {

@@ -56,8 +56,3 @@ let options = {};

}
let num;
if (radix === 10) {
num = Number.parseFloat(str, radix);
} else {
num = Number.parseInt(str, radix);
}
const num = radix === 10 ? Number.parseFloat(str, radix) : Number.parseInt(str, radix);
if (Number.isNaN(num)) {

@@ -64,0 +59,0 @@ return 0;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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