New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

frontello-datas-format

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frontello-datas-format - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

15

energy/pce-grdf.js

@@ -8,3 +8,4 @@ "use strict";

this.pce = pce;
this.pce = this.pce.replace(/[^GI0-9]/g, '');
this.pce = this.pce.toUpperCase();
this.pce = this.pce.replace(/[^GI0-9]/gi, '');
}

@@ -20,3 +21,13 @@

if (this.pce.substring(0, 2) == 'GI') {
return this.pce;
let pce = this.pce;
if (this.pce.length > 2) {
pce = this.pce.substring(0, 2) + ' ' + this.pce.substring(2, 5);
}
if (this.pce.length > 5) {
pce = pce + ' ' + this.pce.substring(5, 8);
}
return pce;
}

@@ -23,0 +34,0 @@

2

package.json
{
"name": "frontello-datas-format",
"version": "1.1.8",
"version": "1.1.9",
"description": "UI format",

@@ -5,0 +5,0 @@ "main": "format.js",

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