create-emotion-styled
Advanced tools
Comparing version 9.0.0 to 9.0.1
@@ -108,3 +108,3 @@ 'use strict'; | ||
if (process.env.NODE_ENV !== 'production' && stableClassName === undefined) { | ||
throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.'); | ||
return 'NO_COMPONENT_SELECTOR'; | ||
} | ||
@@ -111,0 +111,0 @@ |
@@ -104,3 +104,3 @@ import { STYLES_KEY, memoize } from 'emotion-utils'; | ||
if (process.env.NODE_ENV !== 'production' && stableClassName === undefined) { | ||
throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.'); | ||
return 'NO_COMPONENT_SELECTOR'; | ||
} | ||
@@ -107,0 +107,0 @@ |
{ | ||
"name": "create-emotion-styled", | ||
"version": "9.0.0", | ||
"version": "9.0.1", | ||
"description": "The styled API for emotion", | ||
@@ -19,3 +19,3 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"emotion-utils": "^9.0.0" | ||
"emotion-utils": "^9.0.1" | ||
}, | ||
@@ -22,0 +22,0 @@ "peerDependencies": { |
@@ -145,5 +145,3 @@ // @flow | ||
) { | ||
throw new Error( | ||
'Component selectors can only be used in conjunction with babel-plugin-emotion.' | ||
) | ||
return 'NO_COMPONENT_SELECTOR' | ||
} | ||
@@ -150,0 +148,0 @@ return `.${stableClassName}` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
129693
1079
Updatedemotion-utils@^9.0.1