react-themed-too
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32356
268