babel-plugin-transform-define
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -0,1 +1,10 @@ | ||
## 1.3.2 (2019-10-22) | ||
* Various infrastructure updates [#54](https://github.com/FormidableLabs/babel-plugin-transform-define/pull/54) | ||
* Add `CONTRIBUTING.md`, `yarn.lock`, `.npmignore`, update `.gitignore`. | ||
* Switch to `yarn` for workflows and `npm version` for release workflow. | ||
* *Bug*: Fix sort comparator [#48](https://github.com/FormidableLabs/babel-plugin-transform-define/pull/48) | ||
* Add test for CallExpression identifiers [#35](https://github.com/FormidableLabs/babel-plugin-transform-define/pull/35) | ||
* Fixed Markdown headings [#42](https://github.com/FormidableLabs/babel-plugin-transform-define/pull/42) | ||
## 1.3.1 (2019-01-01) | ||
@@ -2,0 +11,0 @@ |
@@ -80,4 +80,4 @@ "use strict"; | ||
return arr.join("."); | ||
}).sort(function (elem) { | ||
return elem.length; | ||
}).sort(function (a, b) { | ||
return b.length - a.length; | ||
}); | ||
@@ -84,0 +84,0 @@ }; |
{ | ||
"name": "babel-plugin-transform-define", | ||
"description": "Babel plugin that replaces member expressions and typeof statements with strings", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"contributors": [ | ||
@@ -35,9 +35,8 @@ "Eric Baer <me@ericbaer.com> (https://github.com/baer)", | ||
"scripts": { | ||
"build": "babel ./src -d lib", | ||
"check": "npm run clean && npm run build && npm run test && npm run lint", | ||
"clean": "rimraf lib/", | ||
"preversion": "yarn clean && yarn build && yarn run check", | ||
"clean": "rimraf lib", | ||
"build": "babel src -d lib", | ||
"lint": "eslint src", | ||
"prepublish": "npm run clean && npm run build", | ||
"release": "node ./scripts/release.js", | ||
"test": "mocha ./test/index.js" | ||
"test": "mocha test/index.js", | ||
"check": "yarn run lint && yarn run test" | ||
}, | ||
@@ -44,0 +43,0 @@ "engines": { |
@@ -55,3 +55,3 @@ <h1 align="center">babel-plugin-transform-define</h1> | ||
#####`Identifiers` | ||
##### `Identifiers` | ||
@@ -87,3 +87,3 @@ *.babelrc* | ||
*** | ||
#####`Member Expressions` | ||
##### `Member Expressions` | ||
@@ -115,3 +115,3 @@ *.babelrc* | ||
*** | ||
#####`Unary Expressions` | ||
##### `Unary Expressions` | ||
@@ -118,0 +118,0 @@ *.babelrc* |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3
12067
5
129
2