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 1.0.2 to 1.0.3

4

package.json
{
"name": "gulp-i18n-leverage",
"version": "1.0.2",
"version": "1.0.3",
"description": "Merge changes in default JSON into localized JSON for i18n-behavior",
"main": "index.js",
"scripts": {
"test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcov -- -R spec && if [ \"${TRAVIS_BRANCH}\" != \"\" ]; then coveralls <./coverage/lcov.info; fi",
"test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcov -- -R spec && if [ \"${TRAVIS_BRANCH}\" != \"master\" ]; then coveralls <./coverage/lcov.info; fi",
"clean": "rm -rvf ./coverage"

@@ -9,0 +9,0 @@ },

@@ -150,3 +150,3 @@ [![Build Status](https://travis-ci.org/t2ym/gulp-i18n-leverage.svg?branch=master)](https://travis-ci.org/t2ym/gulp-i18n-leverage)

### Import Xliff task (experimental)
### Import XLiff task (experimental)

@@ -325,3 +325,3 @@ #### Note: This task has to be processed before [Leverage task with unbundle](#leverage-task-with-unbundle) to pick up outputs of this task.

### Export Xliff task (experimental)
### Export XLiff task (experimental)

@@ -383,2 +383,3 @@ #### Note: This task has to be processed after [Bundles task](#bundles). `srcLanguage` must match with the default language of the app.

- Next localized JSON files in dist
- Next localized XLIFF files in dist
- Custom element HTMLs

@@ -391,2 +392,3 @@ - Non-custom-element HTMLs

- Overwritten bundle JSON files in source [if translation is done in bundles](#leverage-task-with-unbundle)
- Overwritten bundle XLIFF files in source if XLIFF import/export are setup

@@ -405,3 +407,4 @@ Outputs are ready to commit in the repository

'dist/**/locales/*.json',
'!dist/locales/bundle.*.json' // Remove this item if translation is done in bundles
'dist/**/xliff/bundle.*.xlf', // Add this item if xliff import and export are enabled
//'!dist/locales/bundle.*.json' // Remove this item if translation is done in bundles
])

@@ -408,0 +411,0 @@ .pipe(gulp.dest('app'));

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