Socket
Socket
Sign inDemoInstall

fis3-parser-react-i18n

Package Overview
Dependencies
6
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.23-beta.8 to 0.0.23-beta.9

6

index.js

@@ -29,3 +29,7 @@ var parse = require('@babel/parser').parse;

var chineseFunc = function (chinesePath) {
var code = fs.readFileSync(p.resolve(process.cwd(), chinesePath, 'zh-CN.ts'), 'utf8');
var filePath = p.resolve(process.cwd(), chinesePath, 'zh-CN.ts');
if (!fs.existsSync(filePath)) {
filePath = p.resolve(process.cwd(), chinesePath, 'zh-CN.js');
}
var code = fs.readFileSync(filePath, 'utf8');
var ast = parse(code, {

@@ -32,0 +36,0 @@ sourceType: 'module',

2

package.json
{
"name": "fis3-parser-react-i18n",
"version": "0.0.23-beta.8",
"version": "0.0.23-beta.9",
"description": "fis3处理react国际化插件",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc