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

i18n-format

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18n-format - npm Package Compare versions

Comparing version 4.0.0-pre.9 to 4.0.0-pre.10

5

i18n-format.js

@@ -222,3 +222,3 @@ /**

*/
Promise.resolve().then(() => this.lang = this.DEFAULT_LANG);
//this.lang = this.DEFAULT_LANG; // Assignment of the default value is put off until connectedCallback
/**

@@ -285,2 +285,5 @@ * The current preprocessed template text

connectedCallback() {
if (!this.lang || this.lang.match(/^{{.*}}$/) || this.lang.match(/^\[\[.*\]\]$/)) {
this.lang = this.DEFAULT_LANG;
}
if (!this.observer) {

@@ -287,0 +290,0 @@ this._setupParams();

2

package.json

@@ -21,3 +21,3 @@ {

"name": "i18n-format",
"version": "4.0.0-pre.9",
"version": "4.0.0-pre.10",
"main": "i18n-format.js",

@@ -24,0 +24,0 @@ "directories": {

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