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

mux.js

Package Overview
Dependencies
Maintainers
2
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mux.js - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

dist-test/mux.js

4

lib/flv/flv-tag.js

@@ -236,3 +236,3 @@ /**

for (i = 0; i < key.length; i++) {
console.assert(key.charCodeAt(i) < 255);
// if key.charCodeAt(i) >= 255, handle error
prepareWrite(this, 1);

@@ -321,3 +321,3 @@ this.bytes[this.position] = key.charCodeAt(i);

this.frameTime = FlvTag.frameTime(this.bytes);
console.assert(this.bytes.byteLength === this.length);
// if bytes.bytelength isn't equal to this.length, handle error
return this;

@@ -324,0 +324,0 @@ };

@@ -22,3 +22,3 @@ /**

parseUtf8 = function(bytes, start, end) {
return window.decodeURIComponent(percentEncode(bytes, start, end));
return decodeURIComponent(percentEncode(bytes, start, end));
},

@@ -28,3 +28,3 @@ // return the string representation of the specified byte range,

parseIso88591 = function(bytes, start, end) {
return window.unescape(percentEncode(bytes, start, end));
return unescape(percentEncode(bytes, start, end)); // jshint ignore:line
},

@@ -31,0 +31,0 @@ parseSyncSafeInteger = function (data) {

@@ -75,5 +75,3 @@ 'use strict';

valu = workingWord >>> (32 - bits); // :uint
console.assert(size < 32, 'Cannot read more than 32 bits at a time');
// if size > 31, handle error
workingBitsAvailable -= bits;

@@ -80,0 +78,0 @@ if (workingBitsAvailable > 0) {

{
"name": "mux.js",
"version": "2.0.0",
"version": "2.0.1",
"description": "A collection of lightweight utilities for inspecting and manipulating video container formats.",

@@ -11,7 +11,16 @@ "repository": {

"scripts": {
"test": "karma start test/karma.conf.js",
"pretest": "npm run lint",
"build": "mkdir -p dist/ && browserify -s muxjs -e lib/index.js -o dist/mux.js",
"watch": "mkdir -p dist/ && watchify -s muxjs -e lib/index.js -v -o dist/mux.js",
"lint": "jshint lib/**/*.js"
"test": "npm run lint && karma start test/karma/karma.conf.js",
"start": "npm-run-all -p watch serve",
"serve": "node scripts/server.js",
"watch": "npm run mkdirs && npm-run-all -p watch:*",
"watch:js": "watchify -s muxjs lib/index.js -v -o dist/mux.js",
"watch:test": "watchify test/*.test.js -v -o dist-test/mux.js",
"mkdirs": "mkdir -p dist dist-test",
"build": "npm run mkdirs && npm-run-all -p build:*",
"build:js": "browserify -s muxjs lib/index.js -o dist/mux.js",
"build:test": "browserify test/*.test.js -o dist-test/mux.js",
"lint": "npm-run-all -p lint:*",
"lint:js": "jshint lib/**/*.js",
"lint:test": "jshint test/*.test.js",
"clean": "rm -rf dist dist-test"
},

@@ -31,2 +40,10 @@ "browser": "./lib/index.js",

],
"browserify": {
"transform": [
"browserify-shim"
]
},
"browserify-shim": {
"qunit": "global:QUnit"
},
"author": "Brightcove",

@@ -36,2 +53,3 @@ "license": "Apache-2.0",

"browserify": "^12.0.1",
"express": "^4.13.3",
"jshint": "^2.9.1-rc2",

@@ -43,5 +61,12 @@ "karma": "^0.13.9",

"karma-qunit": "^0.1.5",
"qunitjs": "^1.18.0",
"watchify": "^3.6.1"
"npm-run-all": "^1.4.0",
"portscanner": "^1.0.0",
"qunitjs": "^1.0.0",
"serve-static": "^1.10.0",
"watchify": "^3.6.1",
"webworkify": "^1.0.2"
},
"dependencies": {
"browserify-shim": "^3.8.12"
}
}

Sorry, the diff of this file is not supported yet

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