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

@rss/common

Package Overview
Dependencies
Maintainers
1
Versions
895
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rss/common - npm Package Compare versions

Comparing version 0.0.86 to 0.0.87

10

dist/constant/chemical/barcode-pattern.constant.js
'use strict';
/* eslint-disable no-useless-escape */
// prettier-ignore
var basePattern = '^UC\\d{10}$|^CA[0-9A-F]{22}$';
module.exports = {
UC: {
'03': /^UC\d{10}$|^3415925DA\w{6,31}$|^(201[8-9]|20[2-9]\d{1}|2[1-9]\d{2})(0600[0-9A-F]{16}|\d{20})$/
'03': new RegExp(basePattern + '|^3415925DA\\w{6,31}$|^(201[8-9]|20[2-9]\\d{1}|2[1-9]\\d{2})(0600[0-9A-F]{16}|\\d{20})$')
},
MARS: {
MMM: /^UC\d{10}$|^3415925DA\w{6,31}$|^(201[8-9]|20[2-9]\d{1}|2[1-9]\d{2})(0600[0-9A-F]{16}|\d{20})$/
MMM: new RegExp(basePattern + '|^3415925DA\\w{6,31}$|^(201[8-9]|20[2-9]\\d{1}|2[1-9]\\d{2})(0600[0-9A-F]{16}|\\d{20})$')
},
DEFAULT: /^UC\d{10}$/
DEFAULT: new RegExp(basePattern)
};
{
"name": "@rss/common",
"version": "0.0.86",
"version": "0.0.87",
"description": "common constant, classes, & helper",

@@ -5,0 +5,0 @@ "author": "Risk & Safety Solution",

@@ -0,9 +1,17 @@

/* eslint-disable no-useless-escape */
// prettier-ignore
const basePattern = '^UC\\d{10}$|^CA[0-9A-F]{22}$';
module.exports = {
UC: {
'03': /^UC\d{10}$|^3415925DA\w{6,31}$|^(201[8-9]|20[2-9]\d{1}|2[1-9]\d{2})(0600[0-9A-F]{16}|\d{20})$/,
'03': new RegExp(
`${basePattern}|^3415925DA\\w{6,31}$|^(201[8-9]|20[2-9]\\d{1}|2[1-9]\\d{2})(0600[0-9A-F]{16}|\\d{20})$`,
),
},
MARS: {
MMM: /^UC\d{10}$|^3415925DA\w{6,31}$|^(201[8-9]|20[2-9]\d{1}|2[1-9]\d{2})(0600[0-9A-F]{16}|\d{20})$/,
MMM: new RegExp(
`${basePattern}|^3415925DA\\w{6,31}$|^(201[8-9]|20[2-9]\\d{1}|2[1-9]\\d{2})(0600[0-9A-F]{16}|\\d{20})$`,
),
},
DEFAULT: /^UC\d{10}$/,
DEFAULT: new RegExp(basePattern),
};
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