New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@chinachu/aribts

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chinachu/aribts - npm Package Compare versions

Comparing version 1.3.5-mirakurun.15 to 1.3.5-mirakurun.16

11

lib/char.js

@@ -228,3 +228,3 @@ "use strict";

case charCode.symbol:
case charCode.kanji: {
case charCode.kanji:
const first = this.getNext() & 0x7F;

@@ -243,3 +243,2 @@ const second = this.getNext() & 0x7F;

break;
}
}

@@ -257,3 +256,9 @@ break;

const byte3 = this.getNext();
if (byte3 === 0x20) {
if (byte2 === 0x2A && byte3 === 0x3B) {
this.getNext();
this.getNext();
this.getNext();
this.getNext();
}
else if (byte3 === 0x20) {
const byte4 = this.getNext();

@@ -260,0 +265,0 @@ this.graphic[byte2 - 0x28] = byte4;

@@ -5,3 +5,3 @@ "use strict";

const crc32_table_1 = require("./crc32_table");
let _calc = function (buffer) {
const calc = function (buffer) {
let crc = -1;

@@ -15,3 +15,4 @@ let i = 0;

};
let _calcToBuffer = function (buffer) {
exports.calc = calc;
const calcToBuffer = function (buffer) {
let result = Buffer.alloc(4);

@@ -21,12 +22,3 @@ result.writeInt32BE((0, exports.calc)(buffer), 0);

};
try {
const napiTsCrc32 = require("@chinachu/napi-ts-crc32");
_calc = napiTsCrc32.calc;
_calcToBuffer = napiTsCrc32.calcToBuffer;
}
catch (e) {
console.warn("@chinachu/aribts", "crc32:", "fallback to legacy");
}
exports.calc = _calc;
exports.calcToBuffer = _calcToBuffer;
exports.calcToBuffer = calcToBuffer;
//# sourceMappingURL=crc32.js.map
{
"name": "@chinachu/aribts",
"version": "1.3.5-mirakurun.15",
"version": "1.3.5-mirakurun.16",
"description": "MPEG-2 TS Stream Tool for node",

@@ -21,13 +21,6 @@ "main": "lib/index.js",

"@node-rs/crc32": "^1.2.1",
"bindings": "^1.5.0",
"iconv-lite": "^0.6.3",
"node-addon-api": "^4.1.0"
"iconv-lite": "^0.6.3"
},
"optionalDependencies": {
"@chinachu/napi-ts-crc32": "file:./packages/napi-ts-crc32"
},
"devDependencies": {
"@types/bindings": "^1.5.1",
"@types/node": "^12.20.19",
"mocha": "^9.1.1",
"rimraf": "^3.0.2",

@@ -34,0 +27,0 @@ "typescript": "^4.3.5"

@@ -27,6 +27,3 @@ {

"src/**/*"
],
"references": [
{ "path": "packages/napi-ts-crc32" }
]
}

Sorry, the diff of this file is not supported yet

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