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

gulp-i18n-update-localization-ids

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-i18n-update-localization-ids - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

0

lib/custom-serializer.js

@@ -0,0 +0,0 @@ 'use strict'

5

lib/prefix-filename.js

@@ -22,6 +22,3 @@ 'use strict';

const basePrefix = path.basename(file.path, path.extname(file.path))
.replace(/([a-z])([A-Z])/g, '$1-$2')
.toLowerCase()
.replace(/[^a-z]/ig, '-');
const basePrefix = path.basename(file.path, path.extname(file.path)).replace(/[^a-z\-\_]/ig, '-');

@@ -28,0 +25,0 @@ let tag = 0;

{
"name": "gulp-i18n-update-localization-ids",
"version": "1.3.0",
"version": "1.3.1",
"description": "Update i18n localization ids in html files.",

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

@@ -135,3 +135,3 @@ # gulp-i18n-update-localization-ids

| `baz/bar.html` | `bar1.t0` |
| `FooBar-Baz.Example.html` | `foo-bar-baz-example.t0` |
| `FooBar-Baz.Example.html` | `FooBar-Baz-example.t0` |

@@ -138,0 +138,0 @@ **Warning!** There is an edge case where the same prefix could be assigned to different files:<br>

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