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

bem-names

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bem-names - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

lib/bem-names.js

7

CHANGELOG.md

@@ -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 @@

25

package.json
{
"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

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