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

react-themed-too

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

react-themed-too - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

4

lib/compose.js

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

const localName = locals[curr];
const match = new RegExp(`\\.${localName}(?!\\s?\\.${_const.contextKey})`);
const match = new RegExp(`\\.${localName}(?!\\s?\\.${_const.contextKey}).*$`);

@@ -167,3 +167,3 @@ if (css.content && css.content !== '') {

if (!isEmpty(matchArr)) {
const keyReg = new RegExp(`${_const.contextKey}-([a-zA-Z0-9-]+)`, "g");
const keyReg = new RegExp(`${_const.contextKey}-([a-zA-Z0-9-+/]+)`, "g");
const ids = localName.split(keyReg);

@@ -170,0 +170,0 @@ const name = localName;

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

exports.contextKey = contextKey;
const webpackIdentity = `${contextKey}-[hash:4]`;
const webpackIdentity = `${contextKey}-[hash:base64:2]`;
exports.webpackIdentity = webpackIdentity;
{
"name": "react-themed-too",
"version": "0.3.1",
"version": "0.3.2",
"description": "CSS in React",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -5,2 +5,6 @@ # react-themed-too

## Change Log
- **11/5/2018** - Fixed `RegExp` matching that caused some css to be missed on compose.
## Documentation

@@ -7,0 +11,0 @@ - [Installation](#installation)

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