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

class-lib

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

class-lib - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

3

build/src/getClassReg.js

@@ -7,6 +7,7 @@ 'use strict';

var cache = {};
var esc = /[|\\{}()[\]^$+*?.]/g;
var getClassReg = function getClassReg(name) {
if (!cache[name]) {
var sReg = '(?:^|\\s+)' + name + '(?:\\s+|$)';
var sReg = '(?:^|\\s+)' + name.replace(esc, '\\$&') + '(?:\\s+|$)';
cache[name] = new RegExp(sReg);

@@ -13,0 +14,0 @@ }

{
"name": "class-lib",
"version": "0.0.1",
"version": "0.0.2",
"description": "ClassName Library",

@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism",

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