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

ding-trans

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ding-trans - npm Package Compare versions

Comparing version 1.0.39 to 1.0.40

4

bin/translate.js

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

const argv = require("yargs").argv;
const queryStr = encodeURI(argv._.join(" "));
let queryStr = encodeURI(argv._.join(" "));

@@ -30,2 +30,4 @@ // 无参数,或帮助

}
// 对驼峰的连续单词进行分割后转义
queryStr = encodeURI(queryStr.replace(/([A-Z])/g, " $1").toLowerCase());
//查词

@@ -32,0 +34,0 @@ sendInfo(queryStr);

{
"name": "ding-trans",
"version": "1.0.39",
"version": "1.0.40",
"description": "a translation cli",

@@ -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