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

i18n-number

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18n-number - npm Package Compare versions

Comparing version 4.0.0-pre.3 to 4.0.0-pre.4

10

i18n-number.js

@@ -54,4 +54,2 @@ /**

super();
this.attachShadow({ mode: 'open' });
/**

@@ -94,4 +92,2 @@ * Default locale constant 'en'

//this.formatted = undefined;
this._setupObservers();
this.raw = this.textNode.data;
}

@@ -154,2 +150,5 @@

connectedCallback() {
if (!this.observer) {
this._setupObservers();
}
this.raw = this.textNode.data;

@@ -378,2 +377,5 @@ this.invalidate();

this.needsRender = false;
if (!this.shadowRoot) {
this.attachShadow({ mode: 'open' });
}
render(this.__render(), this.shadowRoot);

@@ -380,0 +382,0 @@ //console.log(`rendered "${this.formatted}"`);

2

package.json

@@ -18,3 +18,3 @@ {

"name": "i18n-number",
"version": "4.0.0-pre.3",
"version": "4.0.0-pre.4",
"main": "i18n-number.js",

@@ -21,0 +21,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