Huge News!Announcing our $40M Series B led by Abstract Ventures.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.3 to 1.1.4

10

energy/pce-grdf.js

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

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

@@ -19,2 +19,6 @@

{
if (this.pce.substring(0, 2) == 'GI') {
return this.pce;
}
let pce = this.pce;

@@ -40,2 +44,6 @@

{
if (!/^GI[0-9]{6}$/.test(this.pce)) {
return true;
}
if (!/^[0-9]{14}$/.test(this.pce)) {

@@ -42,0 +50,0 @@ return false;

2

package.json
{
"name": "frontello-datas-format",
"version": "1.1.3",
"version": "1.1.4",
"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