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

csrt-tools

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csrt-tools - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

en-zh-merged.srt

9

index.js

@@ -7,3 +7,3 @@ #!/usr/bin/env node

program.version("1.0.3").description("a tool for deal srt");
program.version("1.0.4").description("a tool for deal srt");

@@ -17,4 +17,4 @@ program

const resPath = "./en-zh-merged.srt";
const enSrts = fs.readFileSync(path.resolve(__dirname, enSrcPath), "utf8");
const zhSrts = fs.readFileSync(path.resolve(__dirname, zhSrcPath), "utf8");
const enSrts = fs.readFileSync(enSrcPath, "utf8");
const zhSrts = fs.readFileSync(zhSrcPath, "utf8");

@@ -39,3 +39,4 @@ const resultArr = [];

}
fs.writeFileSync(path.resolve(__dirname, resPath), resultArr.join("\n"));
fs.writeFileSync(resPath, resultArr.join("\n"));
console.log(`merge success 💙💙`);
} else {

@@ -42,0 +43,0 @@ console.error("en not like zh srt!!!");

{
"name": "csrt-tools",
"version": "1.0.3",
"version": "1.0.4",
"description": "replace the normal part of srt",

@@ -5,0 +5,0 @@ "main": "index.js",

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