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

fis3-parser-react-i18n

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis3-parser-react-i18n - npm Package Compare versions

Comparing version 0.0.0-alpha.12 to 0.0.0-alpha.13

8

index.js

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

var p = require('path');
var ignore = require('ignore');
function hash(str) {

@@ -25,3 +26,7 @@ var md5 = crypto.createHash('md5');

}
if (ignoreList.find(function (n) { return filePath.includes(n); })) {
var relativePath = p.relative(process.cwd(), filePath);
var includes = ignore().add(options.includes);
var included = includes.ignores(relativePath);
var ig = ignore().add(ignoreList);
if (ig.ignores(relativePath) && !included) {
return content;

@@ -167,3 +172,4 @@ }

}, content);
console.log("i18n: ".concat(relativePath));
return codeRes.code;
};

7

package.json
{
"name": "fis3-parser-react-i18n",
"version": "0.0.0-alpha.12",
"version": "0.0.0-alpha.13",
"description": "fis3处理react国际化插件",

@@ -19,3 +19,4 @@ "main": "index.js",

"@babel/traverse": "^7.18.10",
"@babel/types": "^7.18.10"
"@babel/types": "^7.18.10",
"ignore": "^5.2.0"
},

@@ -27,2 +28,2 @@ "devDependencies": {

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