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

official-intl

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

official-intl - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

bin/update.js

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

}
const key = (Array.isArray(arr[0]) ? arr[0]?.map(v => v.text)?.join('') : arr[0]).trim() || '';
const key = (Array.isArray(arr[0]) ? arr[0]?.map(v => v.text)?.join('') : arr[0])?.trim() || '';
const tmp = {
'zh-CN': key,
'en-US': (Array.isArray(arr[1]) ? arr[1]?.map(v => v.text)?.join('') : arr[1]).trim() || '',
'ja-JP': (Array.isArray(arr[2]) ? arr[2]?.map(v => v.text)?.join('') : arr[2]).trim() || '',
'en-US': (Array.isArray(arr[1]) ? arr[1]?.map(v => v.text)?.join('') : arr[1])?.trim() || '',
'ja-JP': (Array.isArray(arr[2]) ? arr[2]?.map(v => v.text)?.join('') : arr[2])?.trim() || '',
};

@@ -90,0 +90,0 @@ obj[key] = tmp[lan];

{
"name": "official-intl",
"version": "1.0.2",
"version": "1.0.3",
"description": "数数科技官网国际化文案提取和更新工具",

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