🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

transliteration

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transliteration - npm Package Compare versions

Comparing version

to
1.6.4

2

bower.json
{
"name": "transliteration",
"version": "1.6.3",
"version": "1.6.4",
"homepage": "https://github.com/andyhu/node-transliteration",

@@ -5,0 +5,0 @@ "authors": [

@@ -23,31 +23,25 @@ import browserify from 'browserify';

gulp.task('build:browser', ['clean:browser'], () => {
browserify(SRC_BROWSER_PATH, { debug: true })
.transform(babelify, { presets: ['es2015-ie'], plugins: ['add-module-exports'] })
.bundle()
.pipe(source('transliteration.js'))
.pipe(buffer())
.pipe(sourcemaps.init({ loadMaps: true }))
.pipe(es3ify())
.pipe(gulp.dest(DEST_BROWSER_PATH))
.pipe(rename('transliteration.min.js'))
.pipe(uglify())
.on('error', gutil.log)
.pipe(sourcemaps.write('./'))
.pipe(gulp.dest(DEST_BROWSER_PATH))
.pipe(gutil.noop());
});
gulp.task('build:browser', ['clean:browser'], () => browserify(SRC_BROWSER_PATH, { debug: true })
.transform(babelify, { presets: ['es2015-ie'], plugins: ['add-module-exports'] })
.bundle()
.pipe(source('transliteration.js'))
.pipe(buffer())
.pipe(sourcemaps.init({ loadMaps: true }))
.pipe(es3ify())
.pipe(gulp.dest(DEST_BROWSER_PATH))
.pipe(rename('transliteration.min.js'))
.pipe(uglify())
.on('error', gutil.log)
.pipe(sourcemaps.write('./'))
.pipe(gulp.dest(DEST_BROWSER_PATH))
.pipe(gutil.noop()));
gulp.task('build:node', ['clean:node'], () => {
gulp.src(SRC_NODE_PATH)
.pipe(babel())
.pipe(gulp.dest(DEST_NODE_PATH));
});
gulp.task('build:node', ['clean:node'], () => gulp.src(SRC_NODE_PATH)
.pipe(babel())
.pipe(gulp.dest(DEST_NODE_PATH)));
gulp.task('build:bin', ['clean:bin'], () => {
gulp.src(SRC_BIN_PATH)
.pipe(babel())
.pipe(rename({ extname: '' }))
.pipe(gulp.dest(DEST_BIN_PATH));
});
gulp.task('build:bin', ['clean:bin'], () => gulp.src(SRC_BIN_PATH)
.pipe(babel())
.pipe(rename({ extname: '' }))
.pipe(gulp.dest(DEST_BIN_PATH)));

@@ -54,0 +48,0 @@ gulp.task('clean:browser', cb => rimraf('lib/browser/*', cb));

{
"name": "transliteration",
"version": "1.6.3",
"version": "1.6.4",
"description": "Unicode to ACSII transliteration / slugify module for node.js, browser, Web Worker, ReactNative and CLI.",

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

@@ -14,3 +14,3 @@ #!/usr/bin/env node

const argv = yargs // eslint-disable-line prefer-destructuring
const { argv } = yargs
.version()

@@ -56,4 +56,3 @@ .usage('Usage: $0 <unicode> [options]')

'Ignore `你好` and `,`.\nResult: 你好,shi-jie')
.wrap(100)
.argv;
.wrap(100);

@@ -60,0 +59,0 @@ options.lowercase = !!argv.l;

@@ -13,3 +13,3 @@ #!/usr/bin/env node

const argv = yargs // eslint-disable-line prefer-destructuring
const { argv } = yargs
.version()

@@ -49,4 +49,3 @@ .usage('Usage: $0 <unicode> [options]')

'Ignore `你好` and `,`.\nResult: 你好,Shi Jie !')
.wrap(100)
.argv;
.wrap(100);

@@ -53,0 +52,0 @@ options.unknown = argv.u;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet