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

aesthetic-adapter-css-modules

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aesthetic-adapter-css-modules - npm Package Compare versions

Comparing version 1.4.2 to 1.5.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 1.5.0
* Updated Flow definitions.
* Wrapped errors in `__DEV__` environment checks.
# 1.4.2

@@ -2,0 +6,0 @@ * Fixed an issue with the lerna package.

2

index.js

@@ -6,3 +6,3 @@ /**

// eslint-disable-next-line import/no-unresolved
// eslint-disable-next-line
module.exports = require('./lib/NativeAdapter').default;

@@ -48,3 +48,3 @@ 'use strict';

value: function transform(styleName, declarations) {
if (process.env.NODE_ENV !== 'production') {
if ("production" !== process.env.NODE_ENV) {
if (this.native) {

@@ -51,0 +51,0 @@ throw new Error('CSS modules do not support React Native.');

{
"name": "aesthetic-adapter-css-modules",
"version": "1.4.2",
"version": "1.5.0",
"description": "CSS modules support for Aesthetic.",

@@ -14,11 +14,11 @@ "keywords": [

"dependencies": {
"babel-runtime": "^6.23.0",
"babel-runtime": "^6.25.0",
"prop-types": "^15.5.10"
},
"peerDependencies": {
"aesthetic": "^1.4.2"
"aesthetic": "^1.5.0"
},
"devDependencies": {
"aesthetic": "^1.4.2"
"aesthetic": "^1.5.0"
}
}

@@ -13,3 +13,3 @@ /**

transform(styleName: string, declarations: StyleDeclarationMap): TransformedStylesMap {
if (process.env.NODE_ENV !== 'production') {
if (__DEV__) {
if (this.native) {

@@ -16,0 +16,0 @@ throw new Error('CSS modules do not support React Native.');

Sorry, the diff of this file is not supported yet

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