Socket
Socket
Sign inDemoInstall

babel-plugin-transform-define

Package Overview
Dependencies
2
Maintainers
33
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.1 to 1.3.2

9

CHANGELOG.md

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

4

lib/index.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc