UNPKG

overwatch-api-server

Version:
296 lines (143 loc) 11.2 kB
### [3.0.1](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v3.0.1) (2019-01-08) #### Bug Fixes * [Skip modifying argument if SpreadElement appears immediately beneath assert](https://github.com/power-assert-js/babel-plugin-espower/pull/29) ## [3.0.0](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v3.0.0) (2018-08-30) #### Features * Babel7 support #### Breaking Changes * Babel7 is incompatible with Babel6 For Babel6, you need to use [the 2.x release of babel-plugin-espower](https://github.com/power-assert-js/babel-plugin-espower/tree/2.x). ``` $ npm install --save-dev babel-plugin-espower@2 ``` ### [3.0.0-beta.2](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v3.0.0-beta.2) (2018-07-20) #### Chore * Rename `babylon` to `@babel/parser` to sync with upstream Babel7 changes ([0db432e](https://github.com/power-assert-js/babel-plugin-espower/commit/0db432ed628a17c6f594e228bc6fc8f939afbf22)) ## [3.0.0-beta.1](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v3.0.0-beta.1) (2017-12-25) #### Features * [Change `embedAst` option's default to `true`](https://github.com/power-assert-js/babel-plugin-espower/pull/24) * [Babel7 support](https://github.com/power-assert-js/babel-plugin-espower/pull/23) * migrate to Babel7 scoped packages ([9dc56f93](https://github.com/power-assert-js/babel-plugin-espower/commit/9dc56f93711c081d0673e058ec0a531fbabae421)) * use `file.inputMap` to handle incoming sourcemaps since Babel7-beta.3 ([ff72e232](https://github.com/power-assert-js/babel-plugin-espower/commit/ff72e23275996d69e5ed72f3c6f9cdaa05e0159c)) * `file.parserOpts` is moved to `file.opts.parserOpts` since Babel7-beta.3 ([89a9d7e9](https://github.com/power-assert-js/babel-plugin-espower/commit/89a9d7e998f5c708429d56ee3a6a01cbbee5cb3c)) * plugin options are centralized since Babel7-beta.3 ([6df8f872](https://github.com/power-assert-js/babel-plugin-espower/commit/6df8f8726e610125c734cae20762a2821c91523d)) #### Breaking Changes * Babel7 is incompatible with Babel6. Babel6 is incompatible with Babel5. For Babel6, you need to use [the 2.x release of babel-plugin-espower](https://github.com/power-assert-js/babel-plugin-espower/tree/v2.3.2). ``` $ npm install --save-dev babel-plugin-espower@2.3.2 ``` For Babel5 or lower, you need to use [the 1.x release of babel-plugin-espower](https://github.com/power-assert-js/babel-plugin-espower/tree/1.1.x). ``` $ npm install --save-dev babel-plugin-espower@1.1.1 ``` * An internal & interim module `with-experimental-syntax.js` is removed, since `embedAst` is true by default in `3.0.0`. #### Notice [Changing `embedAst` option's default to `true`](https://github.com/power-assert-js/babel-plugin-espower/pull/24) does not break builds but may slow your build time down. If you are aware that you are not using non-ES-standard syntax, changing `embedAst` option to `false` restores the former behavior. ## [2.4.0](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v2.4.0) (2018-01-16) #### Features * [Internal & interim module for preset to enable `embedAst` option by default](https://github.com/power-assert-js/babel-plugin-espower/pull/25) #### Notice `with-experimental-syntax.js` is an internal & interim module and will be removed from next major version, since `embedAst` will be true by default in next major. ### [2.3.2](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v2.3.2) (2017-01-13) #### Bug Fixes * [Value recorder should clean up captured values at the end of assertion expression](https://github.com/power-assert-js/babel-plugin-espower/pull/19) ### [2.3.1](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v2.3.1) (2016-06-21) #### Bug Fixes * stop capturing SequenceExpression itself since SequenceExpressions are not enclosed in parentheses in some cases ([bf64b96a](https://github.com/power-assert-js/babel-plugin-espower/commit/bf64b96a139e0872590d39f2e5f4df02a2472eb3)) ## [2.3.0](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v2.3.0) (2016-06-21) #### Features * [Support SequenceExpression (i.e., comma operator)](https://github.com/power-assert-js/babel-plugin-espower/pull/17) ## [2.2.0](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v2.2.0) (2016-05-31) #### Features * [`embedAst` option to embed assertion's AST and tokens to make runtime side parser unnecessary](https://github.com/power-assert-js/babel-plugin-espower/pull/13) * [Make babel-plugin-espower customizable via plugin options](https://github.com/power-assert-js/babel-plugin-espower/pull/16) ### [2.1.2](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v2.1.2) (2016-02-14) #### Bug Fixes * do not include comments in one-line format assertion ([c5af6c55](https://github.com/power-assert-js/babel-plugin-espower/commit/c5af6c558f2caad8e30c1494c218d7ad3203eb16)) ### [2.1.1](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v2.1.1) (2016-01-26) ### Performance Improvements * [Use prototype based Recorder for performance boost](https://github.com/power-assert-js/babel-plugin-espower/pull/12) (by [@jamestalmage](https://github.com/jamestalmage)) ## [2.1.0](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v2.1.0) (2016-01-10) #### Features * [Embed value capturing helper into transpiled code](https://github.com/power-assert-js/babel-plugin-espower/pull/11) ## [2.0.0](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v2.0.0) (2015-11-13) #### Features * [Babel 6.x support](https://github.com/power-assert-js/babel-plugin-espower/pull/5) #### Breaking Changes Babel6 is incompatible with Babel5. For Babel 5 or lower, you need to use the 1.x release of babel-plugin-espower. ``` $ npm install --save-dev babel-plugin-espower@1.1.0 ``` ### [1.1.1](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v1.1.1) (2016-06-22) #### Bug Fixes * pin espower dependency to >=1.0.0 <1.3.0 since there was a little breaking change ([f9a7d781](https://github.com/power-assert-js/babel-plugin-espower/commit/f9a7d78167d92ca7f86c0923478f1a7ab6e71f5d)) ## [1.1.0](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v1.1.0) (2015-11-06) #### Features * [async/await support](https://github.com/power-assert-js/babel-plugin-espower/pull/7) (by [@jamestalmage](https://github.com/jamestalmage)) ### [1.0.1](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v1.0.1) (2015-11-07) #### Bug Fixes * pin espower dependency to >=1.0.0 <=1.2.0 since there was a little breaking change ([6420b3dc](https://github.com/power-assert-js/babel-plugin-espower/commit/6420b3dc49a00f731eebbee695c90be8f13d5e73), closes [#8](https://github.com/power-assert-js/babel-plugin-espower/issues/8)) ## [1.0.0](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v1.0.0) (2015-05-25) #### Features * use `process.cwd()` for `sourceRoot` option value ([71016432](https://github.com/power-assert-js/babel-plugin-espower/commit/71016432565568e2b7325b11cf07ae90d029c45b)) * update espower to 1.0.0 ([337cdfd2](https://github.com/power-assert-js/babel-plugin-espower/commit/337cdfd26a2868addd1aabdd7787733a79eab11a)) ### [0.4.1](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v0.4.1) (2015-05-21) #### Bug Fixes * eliminate remaining babel-core dependencies ([7735ed5f](https://github.com/power-assert-js/babel-plugin-espower/commit/7735ed5f8e6c38660c0328404057c6497370ebd7)) ## [0.4.0](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v0.4.0) (2015-05-21) #### Bug Fixes * avoid visiting replacement node ([c4da8f8f](https://github.com/power-assert-js/babel-plugin-espower/commit/c4da8f8f8d3a56ccfe64812ef4f2c839ebec892c)) #### Features * use new 5.2.0+ API with shared babel-core. No more peerDependencies. ([39eb684b](https://github.com/power-assert-js/babel-plugin-espower/commit/39eb684b733729a0b0d6752bd52a008c5b08159b)) #### Breaking Changes * function returned by `babel-plugin-espower/create` takes babel instance as a first argument. If you are customizing babel-plugin-espower using `babel-plugin-espower/create`, you may have to migrate. To migrate, change your code from the following: ``` var babel = require('babel-core'); var createEspowerPlugin = require('babel-plugin-espower/create'); var transformed = babel.transform(jsCode, { plugins: [ createEspowerPlugin({ patterns: [ 'assert.isNull(object, [message])', 'assert.same(actual, expected, [message])', 'assert.near(actual, expected, delta, [message])' ] }) ] }); ``` To: ``` var babel = require('babel-core'); var createEspowerPlugin = require('babel-plugin-espower/create'); var transformed = babel.transform(jsCode, { plugins: [ createEspowerPlugin(babel, { patterns: [ 'assert.isNull(object, [message])', 'assert.same(actual, expected, [message])', 'assert.near(actual, expected, delta, [message])' ] }) ] }); ``` ([39eb684b](https://github.com/power-assert-js/babel-plugin-espower/commit/39eb684b733729a0b0d6752bd52a008c5b08159b)) ### [0.3.1](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v0.3.1) (2015-05-18) #### Bug Fixes * use version range since babel-core 5.4.3 does not work. ([3b586fa9](https://github.com/power-assert-js/babel-plugin-espower/commit/3b586fa9c20650871f7420c70d6e9c189be7412c) ## [0.3.0](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v0.3.0) (2015-05-01) #### Bug Fixes * deal with babel 5.2.x internal changes. ([17698583](https://github.com/power-assert-js/babel-plugin-espower/commit/17698583a871e59c0af660cd888c2e98f85aea38), closes [#3](https://github.com/power-assert-js/babel-plugin-espower/issues/3)) ### [0.2.2](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v0.2.2) (2015-04-24) * update escallmatch to 1.3.2 ([941c75c2](https://github.com/power-assert-js/babel-plugin-espower/commit/941c75c29504284fee7fa916752e4096fd65011f)) ### [0.2.1](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v0.2.1) (2015-04-21) * down peerDependencies to minimum version to make dedupe friendly ([093ce106](https://github.com/power-assert-js/babel-plugin-espower/commit/093ce1068a11ac1550830c5e541f93a3271623af)) ## [0.2.0](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v0.2.0) (2015-04-19) * export create.js to customize assertion patterns ([092c3464](https://github.com/power-assert-js/babel-plugin-espower/commit/092c3464ae37ab27a91cd01e3dd8fa2062a08dfe)) * docs about customizing assertion patterns via Babel API ([f72a9b1](https://github.com/power-assert-js/babel-plugin-espower/commit/f72a9b19b68d3d12287ba8b33878c7ff63049175)) ## [0.1.0](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v0.1.0) (2015-04-18) The first release.