ahmadnassri / node-metalsmith-pug

Metalsmith plugin to convert jade files
https://www.npmjs.com/package/metalsmith-pug
MIT License
21 stars 10 forks source link

chore(deps): update dependency babel-preset-env to v1 #65

Closed renovate[bot] closed 5 years ago

renovate[bot] commented 6 years ago

This PR contains the following updates:

Package Type Update Change References
babel-preset-env devDependencies major 0.0.9 -> 1.7.0 homepage, source

Release Notes

babel/babel-preset-env ### [`v1.7.0`](https://togithub.com/babel/babel-preset-env/compare/v1.6.1...v1.7.0) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.6.1...v1.7.0) ### [`v1.6.1`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v161-2017-10-17) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.6.0...v1.6.1) ##### :bug: Bug Fix - Update compat table to fix two small issues ([#​445](https://togithub.com/babel/babel-preset-env/pull/445)) ([@​danez](https://togithub.com/danez)) ES2015 destructuring is not fully supported in Edge 15 and the polyfill required again. `es6.math.imul` is supported on Android as of version 4.4 - Add polyfills for ES6 static Object methods ([#​441](https://togithub.com/babel/babel-preset-env/pull/441)) ([@​danez](https://togithub.com/danez)) Functions such as `Object.keys`, `Object.freeze`, ... do already exist in ES5, but their behaviour changed in ES2015. `babel-preset-env` with `builtIns: true` now adds the core-js polyfills for this methods if the browser only supports the ES5 variant of the method (like IE11 for example) - Normalize module format of plugins/built-ins data ([#​376](https://togithub.com/babel/babel-preset-env/pull/376)) ([@​rtsao](https://togithub.com/rtsao)) ### [`v1.6.0`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v160-2017-07-04) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.5.2...v1.6.0) ##### :rocket: New Feature - Bump compat-table for node8 support ([#​363](https://togithub.com/babel/babel-preset-env/pull/363)) ([@​existentialism](https://togithub.com/existentialism)) We updated our mappings to support native trailing function commas and string paddings in Node.js 8+. ##### :bug: Bug Fix - Handle `chromeandroid` browserslist value ([#​367](https://togithub.com/babel/babel-preset-env/pull/367)) ([@​yavorsky](https://togithub.com/yavorsky)) We added support for using browserslist's `chromeandroid` in `targets`. ##### :memo: Documentation - Tweak uglify option docs ([#​368](https://togithub.com/babel/babel-preset-env/pull/368)) ([@​existentialism](https://togithub.com/existentialism)) Thanks to [@​graingert](https://togithub.com/graingert) and [@​pfiaux](https://togithub.com/pfiaux) for pointing out some needed updates to the `uglify-js`-related docs. ### [`v1.5.2`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v152-2017-06-07) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.5.1...v1.5.2) ##### :bug: Bug Fix - Ensure explicit targets always override browsers key targets ([#​346](https://togithub.com/babel/babel-preset-env/pull/346)) ([@​existentialism](https://togithub.com/existentialism)) `browser` targets should be overridden by explicit targets, and we inadvertently broke this when we landed string version support. ### [`v1.5.1`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v151-2017-05-22) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.5.0...v1.5.1) ##### :bug: Bug Fix - Compile with loose mode ([#​322](https://togithub.com/babel/babel-preset-env/pull/332)) ([@​existentialism](https://togithub.com/existentialism)) ### [`v1.5.0`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v150-2017-05-19) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.4.0...v1.5.0) ##### :rocket: New Feature - Support target versions as strings ([#​321](https://togithub.com/babel/babel-preset-env/pull/321)) ([@​existentialism](https://togithub.com/existentialism)) We were originally waiting on 2.x for a breaking change, but since node v7.10 and other targets are causing some pain, we decided to land a backwards compatible version. ##### :house: Internal - Backport: use preset-env and remove flow-strip-types ([#​324](https://togithub.com/babel/babel-preset-env/pull/324)) ([@​yavorsky](https://togithub.com/yavorsky)) - Bump electron-to-chromium ([#​329](https://togithub.com/babel/babel-preset-env/pull/329)) ([@​existentialism](https://togithub.com/existentialism)) - Tweak version mappings to match compat-table updates ([#​323](https://togithub.com/babel/babel-preset-env/pull/323)) ([@​existentialism](https://togithub.com/existentialism)) - Bump browserslist ([#​319](https://togithub.com/babel/babel-preset-env/pull/319)) ([@​existentialism](https://togithub.com/existentialism)) - Bump compat-table ([#​307](https://togithub.com/babel/babel-preset-env/pull/307)) ([@​existentialism](https://togithub.com/existentialism)) - Add debug-fixtures and test/tmp to .eslintignore ([#​305](https://togithub.com/babel/babel-preset-env/pull/305)) ([@​yavorsky](https://togithub.com/yavorsky)) ### [`v1.4.0`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v140-2017-04-14) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.3.3...v1.4.0) ##### :rocket: New Feature - Support `spec` option ([#​98](https://togithub.com/babel/babel-preset-env/pull/98)) ([@​Kovensky](https://togithub.com/Kovensky)) Added an option to enable more spec compliant, but potentially slower, transformations for any plugins in this preset that support them. - Bump compat-table for Edge 15 support ([#​273](https://togithub.com/babel/babel-preset-env/pull/273)) ([@​existentialism](https://togithub.com/existentialism)) We updated our mappings so that you can get native support for async/await and other goodies when targeting Edge 15! ##### :bug: Bug Fix - Add Android browser to name map ([#​270](https://togithub.com/babel/babel-preset-env/pull/270)) ([@​existentialism](https://togithub.com/existentialism)) Fixed a bug that was ignoring Android targets in browserslist queries (for example: "Android >= 4"). ##### :memo: Documentation - Clarify note about loading polyfills only once ([#​282](https://togithub.com/babel/babel-preset-env/pull/282)) ([@​darahak](https://togithub.com/darahak)) - Add a reminder about include/exclude options ([#​275](https://togithub.com/babel/babel-preset-env/pull/275)) ([@​existentialism](https://togithub.com/existentialism)) ##### :house: Internal - Chore: reduce package size. ([#​281](https://togithub.com/babel/babel-preset-env/pull/281)) ([@​evilebottnawi](https://togithub.com/evilebottnawi)) - Remove deprecated comment ([#​271](https://togithub.com/babel/babel-preset-env/pull/271)) ([@​yavorsky](https://togithub.com/yavorsky)) ### [`v1.3.3`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v133-2017-04-07) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.3.2...v1.3.3) ##### :bug: Bug Fix - Support electron version in a string format ([#​252](https://togithub.com/babel/babel-preset-env/pull/252)) ([@​yavorsky](https://togithub.com/yavorsky)) Adding electron as a target was an inadvertent breaking change as it no longer allowed string versions. We added an exception for now, even though it is inconsistent with other versions. Just as a note, the upcoming version 2.x will allow _both_ number and string versions. - Ensure const-check plugin order ([#​257](https://togithub.com/babel/babel-preset-env/pull/257)) ([@​existentialism](https://togithub.com/existentialism)) We now force the `const-es2015-check` plugin to run first (so that it can correctly report issues before they get transpiled away). ##### :rocket: New Feature - Allow use `babel-plugin-` prefix for include and exclude ([#​242](https://togithub.com/babel/babel-preset-env/pull/242)) ([@​yavorsky](https://togithub.com/yavorsky)) The `include` and `exclude` options now allow both prefixed (`babel-plugin-transform-es2015-spread`) and prefix-less (`transform-es2015-spread`) plugin names. ##### :memo: Documentation - Note babel plugin prefix handling in include/exclude ([#​245](https://togithub.com/babel/babel-preset-env/pull/245)) ([@​existentialism](https://togithub.com/existentialism)) - Fix README: debug option shows info in stdout. ([#​236](https://togithub.com/babel/babel-preset-env/pull/236)) ([@​Gerhut](https://togithub.com/Gerhut)) ##### :house: Internal - Add simple smoke-test ([#​240](https://togithub.com/babel/babel-preset-env/pull/240)) ([@​existentialism](https://togithub.com/existentialism)) - Add prepublish script ([@​existentialism](https://togithub.com/existentialism)) ### [`v1.3.2`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v132-2017-03-30) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.3.1...v1.3.2) - Fixed an issue with a broken publish ### [`v1.3.1`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v131-2017-03-30) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.3.0...v1.3.1) - Fixed a regression with missing files due to `.npmignore`. ### [`v1.3.0`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v130-2017-03-30) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.2.2...v1.3.0) ##### :bug: Bug Fix - Add check for ArrayBuffer[Symbol.species]([#​233](https://togithub.com/babel/babel-preset-env/pull/233)) ([@​existentialism](https://togithub.com/existentialism)) We now properly check for `Symbol.species` support in ArrayBuffer and include the polyfill if necessary. This should, as a side effect, fix ArrayBuffer-related errors on IE9. ##### :nail_care: Polish - Fill data with electron as a target. ([#​229](https://togithub.com/babel/babel-preset-env/pull/229)) ([@​yavorsky](https://togithub.com/yavorsky)) We've simplified things by adding `electron` as a target instead of doing a bunch of things at runtime. Electron targets should now also be displayed in the debug output. - separate default builtins for platforms ([#​226](https://togithub.com/babel/babel-preset-env/pull/226)) ([@​restrry](https://togithub.com/restrry)) If you are targeting the `node` environment exclusively, the always-included web polyfills (like `dom.iterable`, and a few others) will now no longer be included. ##### :memo: Documentation - remove deprecated projects ([#​223](https://togithub.com/babel/babel-preset-env/pull/223)) [skip ci](@​stevemao) ##### :house: Internal - npmignore: Add related to build data and codecov. ([#​216](https://togithub.com/babel/babel-preset-env/pull/216)) ([@​yavorsky](https://togithub.com/yavorsky)) ### [`v1.2.2`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v122-2017-03-14) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.2.1...v1.2.2) ##### :bug: Bug Fix - Refactor browser data parsing to handle families ([#​208](https://togithub.com/babel/babel-preset-env/pull/208)) ([@​existentialism](https://togithub.com/existentialism)) When parsing plugin data, we weren't properly handling browser families. This caused `transform-es2015-block-scoping` and other plugins to be incorrectly added for Edge >= 12. (s/o to [@​mgol](https://togithub.com/mgol) for the the report and review!) - Add typed array methods to built-ins features. ([#​198](https://togithub.com/babel/babel-preset-env/pull/198)) ([@​yavorsky](https://togithub.com/yavorsky)) Fixes an issue where some TypedArray features were not being polyfilled properly. (s/o to [@​alippai](https://togithub.com/alippai) for the report!) ##### :memo: Documentation - Fixed minor typo in readme ([#​199](https://togithub.com/babel/babel-preset-env/pull/199)) ([@​bl4ckdu5t](https://togithub.com/bl4ckdu5t)) - Add built-ins, better links, compat-table url, etc ([#​195](https://togithub.com/babel/babel-preset-env/pull/195)) ([@​yavorsky](https://togithub.com/yavorsky)) - Change CONTRIBUTING.md to use absolute paths ([#​194](https://togithub.com/babel/babel-preset-env/pull/194)) ([@​aaronang](https://togithub.com/aaronang)) ##### :house: Internal - Bump plugins ([#​201](https://togithub.com/babel/babel-preset-env/pull/201)) ([@​yavorsky](https://togithub.com/yavorsky)) - Enable code coverage ([#​200](https://togithub.com/babel/babel-preset-env/pull/200)) ([@​alxpy](https://togithub.com/alxpy)) - Increase mocha timeout to 10s ([#​202](https://togithub.com/babel/babel-preset-env/pull/202)) ([@​yavorsky](https://togithub.com/yavorsky)) ### [`v1.2.1`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v121-2017-03-06) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.2.0...v1.2.1) ##### :bug: Bug Fix - Add transform-duplicate-keys mapping ([#​192](https://togithub.com/babel/babel-preset-env/pull/192)) ([@​existentialism](https://togithub.com/existentialism)) Our plugin data was missing a mapping for the `transform-duplicate-keys` plugin which caused it to never be included. (s/o to [@​Timer](https://togithub.com/Timer) for the report!) ##### :memo: Documentation - Clarify reasons for the uglify option in README.md ([#​188](https://togithub.com/babel/babel-preset-env/pull/188)) ([@​mikegreiling](https://togithub.com/mikegreiling)) ### [`v1.2.0`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v120-2017-03-03) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.1.11...v1.2.0) ##### :rocket: New Feature - Add uglify as a target ([#​178](https://togithub.com/babel/babel-preset-env/pull/178)) ([@​yavorsky](https://togithub.com/yavorsky)) Support for `uglify` as a target is now available! This will enable all plugins and, as a result, fully compiles your code to ES5. Note, that useBuiltIns will work as before, and only the polyfills that your other target(s) need will be included. ```json { "presets": [ ["env", { "targets": { "chrome": 55, "uglify": true }, "useBuiltIns": true, "modules": false }] ] } ``` ##### :bug: Bug Fix - Respect older versions in invert equals map ([#​180](https://togithub.com/babel/babel-preset-env/pull/180)) ([@​danez](https://togithub.com/danez)) Fixes a number of bugs that caused some incorrect and/or missing environment data when parsing `compat-table`. ### [`v1.1.11`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v1111-2017-03-01) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.1.10...v1.1.11) This release primarily upgrades `compat-table`, which adds support for async on Node 7.6! ##### :bug: Bug Fix - Fix hasBeenWarned condition. ([#​175](https://togithub.com/babel/babel-preset-env/pull/175)) ([@​yavorsky](https://togithub.com/yavorsky)) ##### :memo: Documentation - Add yarn example. ([#​174](https://togithub.com/babel/babel-preset-env/pull/174)) ([@​yavorsky](https://togithub.com/yavorsky)) ##### :house: Internal - Bump compat-table ([#​177](https://togithub.com/babel/babel-preset-env/pull/177)) ([@​existentialism](https://togithub.com/existentialism)) - Add electron version exception test ([#​176](https://togithub.com/babel/babel-preset-env/pull/176)) ([@​existentialism](https://togithub.com/existentialism)) ### [`v1.1.10`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v1110-2017-02-24) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.1.9...v1.1.10) ##### :bug: Bug Fix - Drop use of lodash/intersection from checkDuplicateIncludeExcludes ([#​173](https://togithub.com/babel/babel-preset-env/pull/173)) ([@​existentialism](https://togithub.com/existentialism)) ### [`v1.1.9`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v119-2017-02-24) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.1.8...v1.1.9) ##### :bug: Bug Fix - Add tests for debug output ([#​156](https://togithub.com/babel/babel-preset-env/pull/156)) ([@​existentialism](https://togithub.com/existentialism)) Since we've (mostly [@​yavorsky](https://togithub.com/yavorsky)) have fixed a number of bugs recently with the `debug` option output, we added the ability to assert stdout matches what we expect. Read the updated [CONTRIBUTING.md](https://togithub.com/babel/babel-preset-env/blob/master/CONTRIBUTING.md#testing-the-debug-option) for more info. - Fixes [#​143](https://togithub.com/babel/babel-preset-env/issues/143). Log correct targets. ([#​155](https://togithub.com/babel/babel-preset-env/pull/155)) ([@​yavorsky](https://togithub.com/yavorsky)) This fixes a bug in the `debug` output where incorrect target(s) were being displayed for why a particular plugin/preset was being included. Given targets: ```txt { "firefox": 52, "node": 7.4 } ``` Before: ```txt Using plugins: transform-es2015-destructuring {"node":6.5} transform-es2015-for-of {"node":6.5} transform-es2015-function-name {"node":6.5} transform-es2015-literals {"node":4} transform-exponentiation-operator {"firefox":52} syntax-trailing-function-commas {"firefox":52} ``` After: ```txt Using plugins: transform-es2015-destructuring {"firefox":52} transform-es2015-for-of {"firefox":52} transform-es2015-function-name {"firefox":52} transform-es2015-literals {"firefox":52} transform-exponentiation-operator {"node":7.4} syntax-trailing-function-commas {"node":7.4} ``` ##### :memo: Documentation - Fix compat-table link in contributing.md ([@​existentialism](https://togithub.com/existentialism)) - Update README examples to fix website ([#​151](https://togithub.com/babel/babel-preset-env/pull/)) ([@​existentialism](https://togithub.com/existentialism)) - Fix few typos ([#​146](https://togithub.com/babel/babel-preset-env/pull/146)) ([@​existentialism](https://togithub.com/existentialism)) - Add configuration example to clarify `debug: true` ([#​138](https://togithub.com/babel/babel-preset-env/pull/138)) ([@​yavorsky](https://togithub.com/yavorsky)) - Fix CHANGELOG’s v1.1.8 updates typo. ([#​136](https://togithub.com/babel/babel-preset-env/pull/136)) ([@​yavorsky](https://togithub.com/yavorsky)) - README: Update `debug: true` example. ([#​138](https://togithub.com/babel/babel-preset-env/pull/138)) ([@​yavorsky](https://togithub.com/yavorsky)) ##### :house: Internal - update compat ([#​169](https://togithub.com/babel/babel-preset-env/pull/169)) ([@​hzoo](https://togithub.com/hzoo)) - Use external Electron to Chromium library ([#​144](https://togithub.com/babel/babel-preset-env/pull/144)) ([@​Kilian](https://togithub.com/Kilian)) - Update yarn lockfile ([#​152](https://togithub.com/babel/babel-preset-env/pull/152)) ([@​existentialism](https://togithub.com/existentialism)) - Extract option normalization into independant file ([#​125](https://togithub.com/babel/babel-preset-env/pull/125)) ([@​baer](https://togithub.com/baer)) - Update yarnfile ([#​145](https://togithub.com/babel/babel-preset-env/pull/145)) ([@​baer](https://togithub.com/baer)) - devDeps: eslint-config-babel v5.0.0 ([#​139](https://togithub.com/babel/babel-preset-env/pull/139)) ([@​kaicataldo](https://togithub.com/kaicataldo)) - Update compat-table, build data ([#​135](https://togithub.com/babel/babel-preset-env/pull/135)) ([@​hzoo](https://togithub.com/hzoo)) ### [`v1.1.8`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v118-2017-01-10) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.1.7...v1.1.8) ##### :bug: Bug Fix - Debug: Transformations before logs. ([#​128](https://togithub.com/babel/babel-preset-env/pull/128)) ([@​yavorsky](https://togithub.com/yavorsky)) Makes sure that all transformations on `targets` (such as `exclude`/`include`) are run before logging out with the `debug` option. Fixes ([#​127](https://togithub.com/babel/babel-preset-env/issues/127)). ##### :house: Internal - Remove unnecessary extension. ([#​131](https://togithub.com/babel/babel-preset-env/pull/131)) ([@​roman-yakobnyuk](https://togithub.com/roman-yakobnyuk)) - Include yarn.lock and update CI. ([#​124](https://togithub.com/babel/babel-preset-env/pull/124)) ([@​existentialism](https://togithub.com/existentialism)) ### [`v1.1.7`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v117-2017-01-09) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.1.6...v1.1.7) Had a publishing issue in the previous release. ### [`v1.1.6`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v116-2017-01-06) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.1.5...v1.1.6) ##### :bug: Bug Fix - Explicitly resolve lowest browser version. ([#​121](https://togithub.com/babel/babel-preset-env/pull/121)) ([@​brokenmass](https://togithub.com/brokenmass)) ```js { "targets": { "browsers": ["ios >= 6"] // was resolving to {ios: 10} rather than {ios: 6} } } ``` ### [`v1.1.5`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v115-2017-01-04) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.1.4...v1.1.5) ##### :bug: Bug Fix - Show error if target version is not a number. ([#​107](https://togithub.com/babel/babel-preset-env/pull/107)) ([@​existentialism](https://togithub.com/existentialism)) ```js { "presets": [ ["env", { "targets": { "chrome": "52", // will error since it's not a number, "chrome": 52 // correct! } }] ] } ``` - Fix targets for the `debug` option. ([#​109](https://togithub.com/babel/babel-preset-env/pull/109)) ([@​yavorsky](https://togithub.com/yavorsky)) Now it prints the transformed targets/environments rather than the browsers query. ```txt Using targets: { "chrome": 53, "ie": 10, "node": 6 } Modules transform: false Using plugins: transform-es2015-arrow-functions {"chrome":47,"node":6} transform-es2015-block-scoped-functions {"chrome":41,"ie":11,"node":4} Using polyfills: es6.typed.uint8-clamped-array {"chrome":5,"node":0.12} es6.map {"chrome":51,"node":6.5} ``` ### [`v1.1.4`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v114-2016-12-16) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.1.3...v1.1.4) v1.1.2-v1.1.4 ##### :bug: Bug Fix The new `exclude`/`include` options weren't working correctly for built-ins. ([#​102](https://togithub.com/babel/babel-preset-env/pull/102)). Also fixes an issue with debug option. ### [`v1.1.3`](https://togithub.com/babel/babel-preset-env/compare/v1.1.2...v1.1.3) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://togithub.com/babel/babel-preset-env/compare/v1.1.1...v1.1.2) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v1111-2017-03-01) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.0.2...v1.1.1) This release primarily upgrades `compat-table`, which adds support for async on Node 7.6! ##### :bug: Bug Fix - Fix hasBeenWarned condition. ([#​175](https://togithub.com/babel/babel-preset-env/pull/175)) ([@​yavorsky](https://togithub.com/yavorsky)) ##### :memo: Documentation - Add yarn example. ([#​174](https://togithub.com/babel/babel-preset-env/pull/174)) ([@​yavorsky](https://togithub.com/yavorsky)) ##### :house: Internal - Bump compat-table ([#​177](https://togithub.com/babel/babel-preset-env/pull/177)) ([@​existentialism](https://togithub.com/existentialism)) - Add electron version exception test ([#​176](https://togithub.com/babel/babel-preset-env/pull/176)) ([@​existentialism](https://togithub.com/existentialism)) ### [`v1.0.2`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v102-2016-12-10) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.0.1...v1.0.2) ##### :bug: Bug Fix - Fix issue with Object.getOwnPropertySymbols ([#​71](https://togithub.com/babel/babel-preset-env/pull/71)) ([@​existentialism](https://togithub.com/existentialism)) Was requiring the wrong module kinda of like in v1.0.1: ```diff -import "core-js/modules/es6.object.get-own-property-symbols"; ``` The test is just a part of `Symbol`. ### [`v1.0.1`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v101-2016-12-10) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v1.0.0...v1.0.1) ##### :bug: Bug Fix - Fix regenerator import ([#​68](https://togithub.com/babel/babel-preset-env/pull/68)) ([@​hzoo](https://togithub.com/hzoo)) We were outputting an invalid path for `regenerator`! ```diff +import "regenerator-runtime/runtime"; -import "core-js/modules/regenerator-runtime/runtime"- ``` ### [`v1.0.0`](https://togithub.com/babel/babel-preset-env/blob/master/CHANGELOG.md#v100-2016-12-09) [Compare Source](https://togithub.com/babel/babel-preset-env/compare/v0.0.9...v1.0.0) ##### :rocket: New Feature - Add `useBuiltIns` option ([#​56](https://togithub.com/babel/babel-preset-env/pull/56)) ([@​hzoo](https://togithub.com/hzoo)), ([@​yavorsky](https://togithub.com/yavorsky)), ([@​existentialism](https://togithub.com/existentialism)) A way to apply `babel-preset-env` for polyfills (via \`"babel-polyfill"``). > This option will apply a new Babel plugin that replaces `require("babel-polyfill")` with the individual requires for `babel-polyfill` based on the target environments. Install npm install babel-polyfill --save In ```js import "babel-polyfill"; // create an entry js file that contains this // or import "core-js"; ``` Out (different based on environment) ```js // chrome 55 import "core-js/modules/es7.string.pad-start"; // haha left_pad import "core-js/modules/es7.string.pad-end"; import "core-js/modules/web.timers"; import "core-js/modules/web.immediate"; import "core-js/modules/web.dom.iterable"; ``` `.babelrc` Usage ```js { "presets": [ ["env", { "targets": { "electron": 1.4 }, "modules": false, // webpack 2 "useBuiltIns": true // new option }] ] } ``` > Also looking to make an easier integration point via Webpack with this method. Please reach out if you have ideas! * * * - Support [Electron](http://electron.atom.io/) ([#​55](https://togithub.com/babel/babel-preset-env/pull/55)) ([@​paulcbetts](https://togithub.com/paulcbetts)) Electron is also an environment, so [Paul went ahead](https://twitter.com/paulcbetts/status/804507070103851008) and added support for this! `.babelrc` Usage ```js { "presets": [ ["env", {"targets": { "electron": 1.4 }}]] } ``` > Currently we are manually updating the data in [/data/electron-to-chromium.js](https://togithub.com/babel/babel-preset-env/blob/master/data/electron-to-chromium.js), but [@​kevinsawicki](https://togithub.com/kevinsawicki) says we could generate the data from [atom-shell/dist/index.json](https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/index.json) as well! (Someone should make a PR :smile:)

Renovate configuration

:date: Schedule: "before 2am" (UTC).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Renovate Bot. View repository job log here.

ci-reporter[bot] commented 6 years ago

The build is failing

✨ Good work on this PR so far! ✨ Unfortunately, the Travis CI build is failing as of 58f68188bb7d1ec18e414edd53995486d59419ea. Here's the output:

npm test
> metalsmith-pug@0.0.0-development pretest /home/travis/build/ahmadnassri/metalsmith-pug

> snazzy && echint

standard: Use JavaScript Standard Style (https://standardjs.com)

/home/travis/build/ahmadnassri/metalsmith-pug/src/index.js

  54:23  error  'new Buffer()' was deprecated since v6. Use 'Buffer.alloc()' or 'Buffer.from()' (use 'https://www.npmjs.com/package/safe-buffer' for '<4.5.0') instead

/home/travis/build/ahmadnassri/metalsmith-pug/test/index.js

   22:7  error  'fs.exists' was deprecated since v4. Use 'fs.stat()' or 'fs.access()' instead

   36:7  error  'fs.exists' was deprecated since v4. Use 'fs.stat()' or 'fs.access()' instead

   67:7  error  'fs.exists' was deprecated since v4. Use 'fs.stat()' or 'fs.access()' instead

  122:7  error  'fs.exists' was deprecated since v4. Use 'fs.stat()' or 'fs.access()' instead

  143:7  error  'fs.exists' was deprecated since v4. Use 'fs.stat()' or 'fs.access()' instead

✖ 6 problems

I'm sure you can fix it! If you need help, don't hesitate to ask a maintainer of the project!


Failed build for 13b1fce ##### `npm test` ``` > metalsmith-pug@0.0.0-development pretest /home/travis/build/ahmadnassri/metalsmith-pug > snazzy && echint standard: Use JavaScript Standard Style (https://standardjs.com) /home/travis/build/ahmadnassri/metalsmith-pug/src/index.js 54:23 error 'new Buffer()' was deprecated since v6. Use 'Buffer.alloc()' or 'Buffer.from()' (use 'https://www.npmjs.com/package/safe-buffer' for '<4.5.0') instead /home/travis/build/ahmadnassri/metalsmith-pug/test/index.js 22:7 error 'fs.exists' was deprecated since v4. Use 'fs.stat()' or 'fs.access()' instead 36:7 error 'fs.exists' was deprecated since v4. Use 'fs.stat()' or 'fs.access()' instead 67:7 error 'fs.exists' was deprecated since v4. Use 'fs.stat()' or 'fs.access()' instead 122:7 error 'fs.exists' was deprecated since v4. Use 'fs.stat()' or 'fs.access()' instead 143:7 error 'fs.exists' was deprecated since v4. Use 'fs.stat()' or 'fs.access()' instead ✖ 6 problems ```

This comment was automagically generated by ci-reporter. If you see a problem, open an issue here.