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

gulp-i18n-leverage

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-i18n-leverage - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

test/expected/locales/simple-text-element.fr.json

7

index.js

@@ -79,4 +79,4 @@ /*

r.path = file.path;
r.base = file.base;
r.srcBase = file.base.substr(0, file.base.length - 1);
r.base = file.base[file.base.length - 1] === path.sep ? file.base : file.base + path.sep;
r.srcBase = file.base.substr(0, r.base.length - 1);
r.distBase = r.srcBase.substr(0, r.srcBase.length - srcPath.length) + distPath;

@@ -89,2 +89,3 @@ r.urlPath = file.path.substr(r.srcBase.length);

r.extName = path.extname(r.fileName);
console.log(r);
var baseNameWithLang = r.fileName.substr(0, r.fileName.length - r.extName.length);

@@ -416,3 +417,3 @@ var splitBaseName = baseNameWithLang.split('.');

var paths = parsePath();
//console.log(paths);
console.log(paths);
var result = update(paths, contents);

@@ -419,0 +420,0 @@ if (result) {

{
"name": "gulp-i18n-leverage",
"version": "0.0.13",
"version": "0.0.14",
"description": "Merge changes in default JSON into localized JSON for i18n-behavior",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "mocha"
},

@@ -35,3 +35,10 @@ "repository": {

"through2": "^2.0.0"
},
"devDependencies": {
"chai": "^3.5.0",
"gulp": "^3.9.1",
"gulp-debug": "^2.1.2",
"is-stream": "^1.0.1",
"mocha": "^2.4.5"
}
}
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