Socket
Socket
Sign inDemoInstall

i18next-scanner

Package Overview
Dependencies
7
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.7 to 0.5.8

.nyc_output/34774.json

4

package.json
{
"name": "i18next-scanner",
"version": "0.5.7",
"version": "0.5.8",
"description": "i18next-scanner is a transfrom stream that can scan your code, extract translation keys/values, and merge them into i18n resource files.",

@@ -38,3 +38,3 @@ "homepage": "https://github.com/i18next/i18next-scanner",

"vinyl": "^1.1.0",
"vinyl-fs": "^0.3.14"
"vinyl-fs": "^2.2.1"
},

@@ -41,0 +41,0 @@ "devDependencies": {

'use strict';
var i18next = require('..');
var through2 = require('through2');
var vfs = require('vinyl-fs');
var tap = function(callback) {
return through2.obj(function(file, enc, done) {
if (typeof callback === 'function') {
callback();
}
done();
});
};
module.exports = function(grunt) {
var i18next = require('..');
var vfs = require('vinyl-fs');
grunt.registerMultiTask('i18next', 'A grunt task for i18next-scanner', function() {

@@ -16,7 +26,7 @@ var done = this.async();

.pipe(vfs.dest(target.dest || '.'))
.on('end', function() {
.pipe(tap(function() {
done();
});
}));
});
});
};
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