Comparing version 1.0.0 to 1.1.0
@@ -0,1 +1,8 @@ | ||
### 1.1.0 | ||
* Drops webpack, now package is properly optimized with other build process. | ||
* Replace `throw Error` with `console.error` and `console.warn` | ||
* handle `NODE_ENV==='production'` and prevent `console.warn` | ||
* fix error when modifier was `null` | ||
### 1.0.0 | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "bem-names", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Advanced generator of BEM-like class names", | ||
"main": "dist/index.js", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"test": "mocha --compilers js:babel-register './test.js'", | ||
"speed": "node ./test-speed.js", | ||
"build": "webpack", | ||
"test": "mocha --compilers js:babel-register './test/test.js'", | ||
"speed": "node ./test/speed.js", | ||
"build": "babel src --out-dir lib", | ||
"lint": "eslint ." | ||
@@ -32,7 +32,7 @@ }, | ||
"b_": "1.3.3", | ||
"babel-core": "6.21.0", | ||
"babel-loader": "6.2.10", | ||
"babel-preset-es2015": "6.18.0", | ||
"babel-preset-stage-3": "6.17.0", | ||
"babel-register": "6.18.0", | ||
"babel-cli": "6.22.2", | ||
"babel-core": "6.22.1", | ||
"babel-preset-es2015": "6.22.0", | ||
"babel-preset-stage-3": "6.22.0", | ||
"babel-register": "6.22.0", | ||
"bem-classname": "0.1.1", | ||
@@ -43,6 +43,5 @@ "bem-classnames": "1.0.7", | ||
"classnames": "2.2.5", | ||
"eslint": "3.13.0", | ||
"mocha": "3.2.0", | ||
"webpack": "2.2.0" | ||
"eslint": "3.14.0", | ||
"mocha": "3.2.0" | ||
} | ||
} |
@@ -24,4 +24,4 @@ # bemNames | ||
configuration, the modifiers must be wrapped with `[]` or `{}`, in order to | ||
maintain clarity of what is a block, element or modifier. This and many other | ||
behaviours can be changed, check [advanced usage](#advance-usage). | ||
maintain clarity of what is a block, element or modifier. This and many other | ||
behaviours can be changed, check [advanced usage](#advanced-usage). | ||
@@ -50,4 +50,2 @@ ```js | ||
Check [advanced usage](#advanced-usage) | ||
## Motivation | ||
@@ -54,0 +52,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
13
126567
17
871
312