profile
viewpoint
Axetroy axetroy NanNing, China axetroy.xyz Focus on Node/Deno/Golang/Python

delete branch axetroy/blog

delete branch : renovate/antd-3.x

delete time in a day

push eventaxetroy/blog

Renovate Bot

commit sha 8e08aed6cd221def4741be889b7405681c16424a

Update dependency antd to v3.20.3

view details

push time in a day

PR merged axetroy/blog

Update dependency antd to v3.20.3

This PR contains the following updates:

Package Type Update Change
antd (source) dependencies patch 3.20.2 -> 3.20.3

Release Notes

<details> <summary>ant-design/ant-design</summary>

v3.20.3

Compare Source

  • 🚨 Revert change of Input suffix style in #​17508, since it causes other problems

  • 🚨 回滚 #​17508 中对 Input 后缀样式的修改,因其导致了其他更多问题。

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in a day

push eventaxetroy/docker-configuration

Renovate Bot

commit sha 07ee1c2b7639823c3150e9a30ec6baea3822d968

Update sameersbn/gitlab Docker tag to v10.8.4

view details

push time in 2 days

PR merged axetroy/docker-configuration

Update sameersbn/gitlab Docker tag to v10.8.4

This PR contains the following updates:

Package Update Change
sameersbn/gitlab minor 10.7.4 -> 10.8.4

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in 2 days

PR merged axetroy/docker-configuration

Update redis Docker tag to v4.0.14

This PR contains the following updates:

Package Update Change
redis patch 4.0.9-alpine -> 4.0.14-alpine

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in 2 days

push eventaxetroy/docker-configuration

Renovate Bot

commit sha 3e45f545ee072a2169379693f95e2471f70c2815

Update redis Docker tag to v4.0.14

view details

push time in 2 days

PR merged axetroy/docker-configuration

Update postgres Docker tag to v10.9

This PR contains the following updates:

Package Update Change
postgres minor 10.4-alpine -> 10.9-alpine

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in 2 days

push eventaxetroy/docker-configuration

Renovate Bot

commit sha 411abfa9ce134619d96ae528d8fdce590f87539e

Update postgres Docker tag to v10.9

view details

push time in 2 days

push eventaxetroy/docker-configuration

Renovate Bot

commit sha 37cc200ad65487b908880951fbcd16aca41619e2

Update postgres Docker tag to v9.6

view details

push time in 2 days

PR merged axetroy/docker-configuration

Update postgres Docker tag to v9.6

This PR contains the following updates:

Package Update Change
postgres minor 9.5 -> 9.6

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in 2 days

push eventaxetroy/docker-configuration

Renovate Bot

commit sha 897e9ddb8dd27864f9920dd75a9233b39e2def97

Update gitea/gitea Docker tag to v1.8.3

view details

push time in 2 days

PR merged axetroy/docker-configuration

Update gitea/gitea Docker tag to v1.8.3

This PR contains the following updates:

Package Update Change
gitea/gitea minor 1.7.6 -> 1.8.3

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in 2 days

push eventaxetroy/docker-configuration

Renovate Bot

commit sha 006d194bf6f1fa661045183f905e5345afbcffc5

Update nginx Docker tag to v1.17.1

view details

push time in 2 days

PR merged axetroy/docker-configuration

Update nginx Docker tag to v1.17.1

This PR contains the following updates:

Package Update Change
nginx minor 1.13.8-alpine -> 1.17.1-alpine

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+3 -3

0 comment

3 changed files

renovate[bot]

pr closed time in 2 days

push eventaxetroy/docker-configuration

Renovate Bot

commit sha df3e32ae9c06c476092f8caebd0d0005054c9111

Add renovate.json

view details

push time in 2 days

PR merged axetroy/docker-configuration

Configure Renovate

Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

:vertical_traffic_light: To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.


Detected Package Files

  • mongodb/docker-compose.yml (docker-compose)
  • nginx/api-proxy/docker-compose.yml (docker-compose)
  • nginx/single-page/docker-compose.yml (docker-compose)
  • nginx/static/docker-compose.yml (docker-compose)
  • node/node/docker-compose.yml (docker-compose)
  • node/pm2/docker-compose.yml (docker-compose)
  • postgres/docker-compose.yml (docker-compose)
  • redis/docker-compose.yml (docker-compose)
  • node/node/package.json (npm)
  • node/pm2/package.json (npm)

Configuration Summary

Based on the default config's presets, Renovate will:

  • Start dependency updates only once this Configure Renovate PR is merged
  • Separate major versions of dependencies into individual branches/PRs
  • Do not separate patch and minor upgrades into separate PRs for the same dependency
  • Upgrade to unstable versions only if the existing version is unstable
  • Raise PRs immediately (after branch is created)
  • Use <code>renovate/</code> as prefix for all branch names
  • If semantic commits detected, use semantic commit type <code>fix</code> for dependencies and <code>chore</code> for all others
  • Keep existing branches updated even when not scheduled
  • Disable automerging feature - wait for humans to merge all PRs
  • Ignore node_modules, bower_components, vendor and various test/tests directories
  • Update existing lock files only when <code>package.json</code> is modified
  • Autodetect whether to pin dependencies or maintain ranges
  • Rate limit PR creation to a maximum of two per hour
  • Limit to maximum 20 open PRs at any time
  • Group known monorepo packages together
  • Use curated list of recommended non-monorepo package groupings

:abcd: Would you like to change the way Renovate is upgrading your dependencies? Simply edit the renovate.json in this branch with your custom config and the list of Pull Requests in the "What to Expect" section below will be updated the next time Renovate runs.


What to Expect

With your current configuration, Renovate will create 3 Pull Requests:

<details> <summary>Update nginx Docker tag to v1.15.10</summary>

  • Schedule: "at any time"
  • Branch name: renovate/docker-nginx-1.x
  • Upgrade nginx to 1.15.10-alpine

</details>

<details> <summary>Update postgres Docker tag to v10.7</summary>

  • Schedule: "at any time"
  • Branch name: renovate/docker-postgres-10.x
  • Upgrade postgres to 10.7-alpine

</details>

<details> <summary>Update redis Docker tag to v4.0.14</summary>

  • Schedule: "at any time"
  • Branch name: renovate/docker-redis-4.x
  • Upgrade redis to 4.0.14-alpine

</details>

<br />

:children_crossing: Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or spam the project. See docs for prhourlylimit for details.


:question: Got questions? Check out Renovate's Docs, particularly the Getting Started section. If you need any further assistance then you can also request help here.


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

+5 -0

1 comment

1 changed file

renovate[bot]

pr closed time in 2 days

PullRequestEvent

push eventaxetroy/anti-redirect

Renovate Bot

commit sha 92c888b4843fccbab819c5602432f977f5a94a0c

Update dependency webpack-cli to v3.3.6

view details

push time in 2 days

PR merged axetroy/anti-redirect

Update dependency webpack-cli to v3.3.6

This PR contains the following updates:

Package Type Update Change
webpack-cli devDependencies patch 3.3.5 -> 3.3.6

Release Notes

<details> <summary>webpack/webpack-cli</summary>

v3.3.6

Compare Source

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in 2 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 61cac199d196f0ac5a8681f9c0a393db5c05d88b

chore(deps): update dependency webpack-cli to v3.3.6

view details

push time in 2 days

PR merged axetroy/vm.js

chore(deps): update dependency webpack-cli to v3.3.6

This PR contains the following updates:

Package Type Update Change
webpack-cli devDependencies patch 3.3.5 -> 3.3.6

Release Notes

<details> <summary>webpack/webpack-cli</summary>

v3.3.6

Compare Source

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 2 days

push eventaxetroy/blog

Renovate Bot

commit sha 36b4e73076d901c84d748379eb11892a2c4711f3

Update dependency antd to v3.20.2

view details

push time in 3 days

PR merged axetroy/blog

Update dependency antd to v3.20.2

This PR contains the following updates:

Package Type Update Change
antd (source) dependencies patch 3.20.1 -> 3.20.2

Release Notes

<details> <summary>ant-design/ant-design</summary>

v3.20.2

Compare Source

  • 📖 Add version description for every features. #​17373 @​muzea
  • 🐞 Fix Button transition style when loading. #​17596 @​LilyWakana
  • Cascader - 🐞 Fix not display notFoundContent when options.length is 0. #​17538 - 🐞 Fix option's loading not aligned when isLeaf is true. #​17550 - 🐞 Fix over-length text covered by arrow. #​17583
  • 🐞 Fix Input style when suffix and clear icon exist both. #​17508 @​LilyWakana
  • TypeScript - 💄 Improve type definition of Cascader's option. #​17581 @​MrHeer - 🐞 Fix type definition of Descriptions.title. #​17412 - 🐞 Fix type definition of Collapse.activeKey, Collapse.defaultActiveKey and CollapsePanel.key. #​17557 @​thylsky

  • 📖 文档中增加对组件新特性的版本说明。#​17373 @​muzea
  • 🐞 修复 Button 组件的 loading 样式问题。#​17596 @​LilyWakana
  • Cascader - 🐞 修复 options 为空时不展示空内容的问题。#​17538 - 🐞 修复 option 的 isLeaf 为 true 时 loading 样式没有对齐的问题。#​17550 - 🐞 修复文本过长被箭头遮挡的问题。#​17583
  • 🐞 修复 Input 组件存在多个后缀图标时的样式错乱问题。#​17508 @​LilyWakana
  • TypeScript - 💄 完善 Cascader 的 option 类型定义。#​17581 @​MrHeer - 🐞 修复 Descriptions 的 title 类型定义。#​17412 - 🐞 修复 Collapse 的 activeKey、defaultActiveKey 以及 Collapse.Panel 的 key 类型定义。#​17557 @​thylsky

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in 3 days

push eventaxetroy/vscode-gpm

Renovate Bot

commit sha fd2a457ead3c4a069c70fd466c727a77820cd9ab

Update dependency p-map to v3

view details

push time in 3 days

PR merged axetroy/vscode-gpm

Update dependency p-map to v3

This PR contains the following updates:

Package Type Update Change
p-map dependencies major ^2.0.0 -> ^3.0.0

Release Notes

<details> <summary>sindresorhus/p-map</summary>

v3.0.0

Compare Source

Breaking:

Enhancements:

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in 3 days

push eventaxetroy/screenshot-cli

Renovate Bot

commit sha fbc5a3b9e662631cb18e105fea4bc2c29f1bfa06

fix(deps): update dependency karma-chrome-launcher to v3

view details

push time in 3 days

PR merged axetroy/screenshot-cli

fix(deps): update dependency karma-chrome-launcher to v3

This PR contains the following updates:

Package Type Update Change
karma-chrome-launcher dependencies major ^2.2.0 -> ^3.0.0

Release Notes

<details> <summary>karma-runner/karma-chrome-launcher</summary>

v3.0.0

Compare Source

Features
  • allow overriding of the default debug port (26ae9f4), closes #​187

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+5 -18

0 comment

2 changed files

renovate[bot]

pr closed time in 3 days

issue commentdenoland/registry

Proposal: rewrite registry for namespace module

deno.land/x/abc/README.md — it’s a third-party library with a bare name (abc). What will happen to it when/if the registry switches to namespaced names?

it should be backward compatible, the original usage is unchanged

and database.json will not accept a new module.

Existing modules will be marked as deprecated in the documentation

axetroy

comment created time in 3 days

push eventaxetroy/vm.js

Renovate Bot

commit sha ccce23922cdd045fa8274e521ebb45fe5e3f3370

chore(deps): update dependency @types/webpack to v4.4.35

view details

push time in 4 days

PR merged axetroy/vm.js

chore(deps): update dependency @types/webpack to v4.4.35

This PR contains the following updates:

Package Type Update Change
@types/webpack devDependencies patch 4.4.34 -> 4.4.35

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 4 days

push eventaxetroy/redux-zero-logger

Renovate Bot

commit sha e3076ab9ec5bfe73c0ef7d5a1e13fdf7386f5be5

chore(deps): update dependency coveralls to v3.0.5

view details

push time in 5 days

PR merged axetroy/redux-zero-logger

chore(deps): update dependency coveralls to v3.0.5

This PR contains the following updates:

Package Type Update Change
coveralls devDependencies patch 3.0.4 -> 3.0.5

Release Notes

<details> <summary>nickmerwin/node-coveralls</summary>

v3.0.5

Compare Source

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in 5 days

push eventaxetroy/vm.js

Renovate Bot

commit sha bb33ff1b6db3c3c2e06dfe12995cf3ba284f0650

chore(deps): update dependency coveralls to v3.0.5

view details

push time in 5 days

PR merged axetroy/vm.js

chore(deps): update dependency coveralls to v3.0.5

This PR contains the following updates:

Package Type Update Change
coveralls devDependencies patch 3.0.4 -> 3.0.5

Release Notes

<details> <summary>nickmerwin/node-coveralls</summary>

v3.0.5

Compare Source

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 5 days

push eventaxetroy/blog

Renovate Bot

commit sha 49b6a8d3d5eb925d6eff1ec1ee2b8610f003eff1

Update dependency redux-zero to v5.0.5

view details

push time in 5 days

PR merged axetroy/blog

Update dependency redux-zero to v5.0.5

This PR contains the following updates:

Package Type Update Change
redux-zero dependencies patch 5.0.4 -> 5.0.5

Release Notes

<details> <summary>redux-zero/redux-zero</summary>

v5.0.5

Compare Source

  • Fixed connect in preact bindings to call the mapStateToProps function when the component props change, not just when the state store changes

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in 5 days

push eventaxetroy/registry

Axetroy

commit sha d5099a3eaba50d5f98f7a444ad281d094384d28e

fix invalid modules (#111)

view details

Maxwell DeMers

commit sha cbcd6c729f675702617aea4b2ade697259f9ba0f

Add deno_init to database.json (#96)

view details

Ryan Dahl

commit sha 71beba4e27bcf0c3ad4a768c5d18261dfdc20b87

Proxy response back instead of redirect

view details

Ryan Dahl

commit sha c19e030cffcf9ca076427ed33f777394fbccf565

testdata

view details

Ryan Dahl

commit sha b3bd1e8c7ea306fb0820b294b74c99f70f44fb90

Fix UnhandledPromiseRejectionWarning

view details

Ryan Dahl

commit sha 322c0c39a87bb23b4c320c50b573e17a8327bf36

Update /x/index.html

view details

Ryan Dahl

commit sha 4260c81ac8b8fca06874b2f58eb6cd0fb4e21a0f

fmt

view details

Ryan Dahl

commit sha e3fdd5e5f4ca61869d79bb8a158587f27ded6d57

Add escape hatch for large responses

view details

Ryan Dahl

commit sha 03e0776837e489a05e2a5e3e84ec788439b70331

Filter Content-Encoding Fixes https://github.com/denoland/deno_install/issues/65

view details

Jed Fox

commit sha 7b90fe8aec7aa11bf94bedc7570b2f49760f4d97

Fix syntax highlighting (#119)

view details

Oskar Oldorf

commit sha 55637901aea4cf7b944b34584af03a86b3936683

Fix links to deno, debuglog, dedupe and deno (#120)

view details

迷渡

commit sha e6a5bfbc3e6bb511fc335be00cea7e7d6ffc4ecd

Add case to database.json (#122)

view details

迷渡

commit sha 65c117bcaafc10d8955a12522ca38032a9cf2b50

Add ci module (#123)

view details

EnokMan

commit sha e30fda3a29cf60fc16d8b40242f53cf0c46d4e0d

add smtp mail sender module (#114)

view details

Ryan Dahl

commit sha 615097f80588e246de3f45f217287e36423b64f5

Use TLS 1.0 instead of 1.1 (#124) Apparently PowerShell commands on Windows do not support 1.1 https://github.com/denoland/deno_install/issues/56

view details

Jed Fox

commit sha 28ed4e769318259d8de0fbafd6b33b5953d0539e

Remove maximum width of code block (#126)

view details

axetroy

commit sha a4a64b061cac574d3060c274b34ef4b66c6874eb

Merge branch 'master' of https://github.com/denoland/registry

view details

push time in 5 days

push eventaxetroy/registry

Axetroy

commit sha d5099a3eaba50d5f98f7a444ad281d094384d28e

fix invalid modules (#111)

view details

Maxwell DeMers

commit sha cbcd6c729f675702617aea4b2ade697259f9ba0f

Add deno_init to database.json (#96)

view details

Ryan Dahl

commit sha 71beba4e27bcf0c3ad4a768c5d18261dfdc20b87

Proxy response back instead of redirect

view details

Ryan Dahl

commit sha c19e030cffcf9ca076427ed33f777394fbccf565

testdata

view details

Ryan Dahl

commit sha b3bd1e8c7ea306fb0820b294b74c99f70f44fb90

Fix UnhandledPromiseRejectionWarning

view details

Ryan Dahl

commit sha 322c0c39a87bb23b4c320c50b573e17a8327bf36

Update /x/index.html

view details

Ryan Dahl

commit sha 4260c81ac8b8fca06874b2f58eb6cd0fb4e21a0f

fmt

view details

Ryan Dahl

commit sha e3fdd5e5f4ca61869d79bb8a158587f27ded6d57

Add escape hatch for large responses

view details

Ryan Dahl

commit sha 03e0776837e489a05e2a5e3e84ec788439b70331

Filter Content-Encoding Fixes https://github.com/denoland/deno_install/issues/65

view details

Jed Fox

commit sha 7b90fe8aec7aa11bf94bedc7570b2f49760f4d97

Fix syntax highlighting (#119)

view details

Oskar Oldorf

commit sha 55637901aea4cf7b944b34584af03a86b3936683

Fix links to deno, debuglog, dedupe and deno (#120)

view details

迷渡

commit sha e6a5bfbc3e6bb511fc335be00cea7e7d6ffc4ecd

Add case to database.json (#122)

view details

迷渡

commit sha 65c117bcaafc10d8955a12522ca38032a9cf2b50

Add ci module (#123)

view details

EnokMan

commit sha e30fda3a29cf60fc16d8b40242f53cf0c46d4e0d

add smtp mail sender module (#114)

view details

Ryan Dahl

commit sha 615097f80588e246de3f45f217287e36423b64f5

Use TLS 1.0 instead of 1.1 (#124) Apparently PowerShell commands on Windows do not support 1.1 https://github.com/denoland/deno_install/issues/56

view details

Jed Fox

commit sha 28ed4e769318259d8de0fbafd6b33b5953d0539e

Remove maximum width of code block (#126)

view details

axetroy

commit sha 7d1a3f783a638fd724015a7e18323806ba8dbd88

Merge branch 'master' of https://github.com/denoland/registry into fix

view details

push time in 5 days

push eventaxetroy/customer-service-machine-learning

snyk-test

commit sha ea93231b47e24b4820a337bd2c250fe0df222674

fix: package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-LODASH-450202

view details

push time in 5 days

create barnchaxetroy/wxeact

branch : snyk-fix-0bd7da39dbc6c35d7339c9294d396f6f

created branch time in 6 days

push eventaxetroy/wxeact

snyk-test

commit sha a505b661e5c9a2c4b0cad9aa5d655e23882dc8f3

fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-LODASH-450202

view details

push time in 6 days

push eventaxetroy/greasy-scraper

snyk-test

commit sha 4a515e1f514f9e2670ba006dc1d389f2144b6149

fix: package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-LODASH-450202

view details

push time in 6 days

push eventaxetroy/deno_std

Axetroy

commit sha 85db520b60053db5dc9b56972bfb6bee506dc158

prettier: support reading code from stdin (#498)

view details

Lucas Caro

commit sha f52b3ec002ac38aa9146695283aa491bc2d115b6

add UUID module (#479)

view details

Yoshiya Hinosawa

commit sha 3ea90d54f6dad4bcc3d32e63601096a6c0ff3ce4

Upgrade to v0.11.0 (update Reader interface) (#527)

view details

Evgeniy Karagodin

commit sha 88b48945799322c0bc2f34134eed538759de4174

Remove os.userHomeDir in favor of Deno.homeDir (#523)

view details

Vincent LE GOFF

commit sha 67641b8ea5ba869854ca042e11b200b90da5fc4b

fix emptydir on windows (#531)

view details

push time in 6 days

issue openeddenoland/deno_std

Feature Require: HTTP mock tester

The current HTTP test is tested by opening the child process, which will actually listen to the port.

We should provide a way to set up a simulated HTTP server without listening to the port.

This we can test this server.

import { mock } from "https://deno.land/std/http/mock.ts";
import { serve } from "https://deno.land/std/http/server.ts";

const s = serve("0.0.0.0:8000");

const mocker = mock(s);

const response = mocker.get("/test");

// ...

The above code, it seems impossible, it is just a hypothesis of mine.

If anyone has a better idea, welcome post it.

This is the tool I wrote in Golang before. axetroy/mocker

created time in 6 days

push eventaxetroy/deno_registry

axetroy

commit sha 5aae84247b85fb08ed0b7554550dbab0d6d0c4ed

add registry

view details

push time in 6 days

push eventaxetroy/error-reporter

snyk-test

commit sha 68c654230dfd62ba4c7716d6f2019335354fb326

fix: package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-LODASH-450202

view details

push time in 6 days

push eventaxetroy/deno_registry

axetroy

commit sha 526a995f49afdc9fc20cc74f7e4ef25ecfe0671d

update

view details

push time in 6 days

push eventaxetroy/deno_registry

axetroy

commit sha c33ec6b3d20f4d79532c29c29d4dc97f77c0df8e

fix: if package not in database.json

view details

push time in 6 days

issue commentdenoland/registry

Proposal: rewrite registry for namespace module

Report progress: currently compatible with the old package in axetroy/deno_registry.

You can import like this:

import { server } from "http://localhost/x/abc/mod.ts";
import * as math from "http://localhost/x/math/mod.ts";

// or use the new way
import { server } from "http://localhost/github.com/zhmushan/abc/mod.ts";
import * as math from "http://localhost/github.com/axetroy/deno_math/mod.ts";

Welcome to share your idea.

axetroy

comment created time in 6 days

push eventaxetroy/deno_registry

axetroy

commit sha 8539b4d4de888638003856d7962bd3413b06c35c

update

view details

push time in 6 days

push eventaxetroy/deno_registry

axetroy

commit sha 60fe86e658b53e36013bc288253da7754c1715c2

feat: support old package manager.

view details

push time in 6 days

push eventaxetroy/redux-zero-persist

Axetroy

commit sha 0aef80bf904241cba9faef59f7d5359f845d26c5

Update README.md

view details

push time in 6 days

IssuesEvent

push eventaxetroy/redux-zero-persist

Axetroy

commit sha 08c6fe5012bbac85cce8698224df74d9d95761a2

Update README.md

view details

push time in 6 days

PR closed axetroy/redux-zero-persist

Update dependencies to enable Greenkeeper 🌴 greenkeeper

Let’s get started with automated dependency management for redux-zero-persist :muscle:

This pull request updates all your dependencies to their latest version. Having them all up to date really is the best starting point for keeping up with new releases. Greenkeeper will look out for further dependency updates and make sure to handle them in isolation and in real-time, but only after you merge this pull request.

Important: Greenkeeper will only start watching this repository’s dependency updates after you merge this initial pull request.


<details> <summary>🙈 How to ignore certain dependencies</summary>

You may have good reasons for not wanting to update to a certain dependency right now. In this case, you can change the dependency’s version string in the package.json file back to whatever you prefer.

To make sure Greenkeeper doesn’t nag you again on the next update, add a greenkeeper.ignore field to your package.json, containing a list of dependencies you don’t want to update.

// package.json
{
  …
  "greenkeeper": {
    "ignore": [
      "package-names",
      "you-want-me-to-ignore"
    ]
  }
}

</details> <details> <summary>👩‍💻 How to update this pull request</summary>

  # Change into your repository’s directory
  git fetch --all
  git checkout greenkeeper/initial
  npm install-test
  # Adapt your code until everything works again
  git commit -m 'chore: adapt code to updated dependencies'
  git push https://github.com/axetroy/redux-zero-persist.git greenkeeper/initial

</details> <details> <summary>✨ How do dependency updates work with Greenkeeper?</summary>

After you merge this pull request, Greenkeeper will create a new branch whenever a dependency is updated, with the new version applied. The branch creation should trigger your testing services and check whether your code still works with the new dependency version. Depending on the the results of these tests Greenkeeper will try to open meaningful and helpful pull requests and issues, so your dependencies remain working and up-to-date.

-  "underscore": "^1.6.0"
+  "underscore": "^1.7.0"

The above example shows an in-range update. 1.7.0 is included in the old ^1.6.0 range, because of the caret ^ character . When the test services report success Greenkeeper will silently delete the branch again, because no action needs to be taken – everything is fine.

However, should the tests fail, Greenkeeper will create an issue to inform you about the problem immediately.

This way, you’ll never be surprised by a dependency breaking your code. As long as everything still works, Greenkeeper will stay out of your way, and as soon as something goes wrong, you’ll be the first to know.

-  "lodash": "^3.0.0"
+  "lodash": "^4.0.0"

In this example, the new version 4.0.0 is not included in the old ^3.0.0 range. For version updates like these – let’s call them “out of range” updates – you’ll receive a pull request.

This means that you no longer need to check for new versions manually – Greenkeeper will keep you up to date automatically.

These pull requests not only serve as reminders to update: If you have solid tests and good coverage, and the pull requests passes those tests, you can very likely just merge it and release a new version of your software straight away :shipit:

To get a better idea of which ranges apply to which releases, check out the extremely useful semver calculator provided by npm. </details> <details> <summary>FAQ and help</summary>

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper. </details>


Good luck with your project and see you soon :sparkles:

Your Greenkeeper bot :palm_tree:

+3 -3

0 comment

1 changed file

greenkeeper[bot]

pr closed time in 6 days

issue closedaxetroy/redux-zero-persist

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.

closed time in 6 days

greenkeeper[bot]

push eventaxetroy/vm.js

axetroy

commit sha 2ff82ae979441b8e04837d05a863859742d89828

Updates

view details

push time in 7 days

created tagaxetroy/vm.js

tagv0.3.7

JS解释器. Javascript Interpreter

created time in 7 days

created tagaxetroy/vm.js

tagv0.3.8

JS解释器. Javascript Interpreter

created time in 7 days

push eventaxetroy/vm.js

axetroy

commit sha 849df301bbb4ec083b7cc6fdc550ec3fd9b4a148

chore: fix tsconfig

view details

axetroy

commit sha 895e52e24ad001e2c59ade122faa87c0b3bca2cc

0.3.7

view details

axetroy

commit sha 9ffea40508ccc64f495bfdde6e50cd116251177c

docs: update changelog

view details

axetroy

commit sha 5a6f2379b37939e9c33ea2790972398b12a8ad05

chore: revert nyc

view details

axetroy

commit sha 73beb253544d1defea5b7003f7c02e4b4b259516

0.3.8

view details

push time in 7 days

push eventaxetroy/vm.js

axetroy

commit sha fcb9bffda50fbb74604cb32f9a350329c0411631

Revert "chore(deps): update dependency ava to v2" This reverts commit 0567c822093582e05445994c47c892099d11707c.

view details

push time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency ava to v2

This PR contains the following updates:

Package Type Update Change
ava (source) devDependencies major 0.25.0 -> 2.2.0

Release Notes

<details> <summary>avajs/ava</summary>

v2.2.0

Compare Source

Enhancements

You can now specify an alternative config file, using the --config CLI argument. This is useful if you want to run unit tests separately from integration tests, since you can have a config file specific to your integration tests which specifies different glob patterns. 2dae2bf

Bug fixes

We're now faking the new hasColors() method for better compatibility with Node.js 12. d399797

Node.js 11

We've removed Node.js 11 from our test matrix. You should upgrade to Node.js 12. 90acbb9

All changes

v2.1.0...v2.2.0

Thanks

Thank you @​langri-sha, @​keyspress, @​cdaringe and @​okyantoro. We couldn't have done this without you!

Get involved

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v2.1.0

Compare Source

Bug fixes

  • AVA's TypeScript definition now explicitly references the Node.js definition bb44da7

Enhancements

  • Did you know you can provide human-readable timeout values? We've now documented this. 486acaf
  • We're now including all stack trace lines in the TAP output (though we still pre-process them). ac212ba
  • Logs from successful hooks are now included in the TAP output. 007c7af
  • Our ESLint plugin helper has been updated to allow extensions and glob patterns to be overridden b3c9ea7

All changes

v2.0.0...v2.1.0

Thanks

Thank you @​anishkny, @​yovasx2 and @​mihai-dinu. We couldn't have done this without you!

Get involved

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v2.0.0

Compare Source

Breaking changes

AVA now requires at least Node.js 8.9.4

Per the Node.js release schedule, the 6.x releases reach end of live on April 30th. Consequently we've removed support in AVA. We are now testing with Node.js 12 though. 3a4afc6

Test file and helper selection

We've been working on simplifying how test files and helpers are selected. First off, the files option now only accepts glob patterns. If you configured it with directories before, please add /**/* to get the previous behavior.

The files and sources options must now be arrays containing at least one pattern. It's no longer possible to override a default exclusion pattern, but we're looking at making these configurable separately.

AVA used to treat all files inside a helpers directory as test helpers. Finding these files could be really slow, however, and it also meant you couldn't have tests inside a helpers directory. Instead you can now specify glob paterns to find these helpers:

{
  "ava": {
    "helpers": [
      "**/helpers/**/*"
    ]
  }
}

Test files starting with an underscore are still recognized as helpers.

Files inside fixtures directories are no longer ignored, and will now be treated as test files. The watcher now also watches ava.config.js files.

AVA now also selects files ending with .spec.js when looking for tests, as well as looking in tests directories. 08e99e5 b1e54b1

The CLI now only takes file paths, not glob patterns.

We'd like some help updating our ESLint plugin as well.

Snapshots in CI

When you run tests locally and add a new snapshot, AVA automatically updates the .snap file. However if you forget to commit this file and then run your CI tests, they won't fail because AVA quietly updates the .snap file, just like it does locally.

With this release, AVA will fail the t.snapshot() assertion if it is run in CI and no snapshot could be found. 0804107

Assertion messages must be strings

AVA now enforces assertion messages to be strings. The message is only used when the assertion fails, and non-string values may cause AVA to crash. You may see test failures if you were accidentally passing a non-string message. 49120aa

Flow type definitions

We've decided to remove the Flow type definitions from AVA itself. We don't have anybody to maintain them and consequently they've become a blocker when adding features to AVA. c633cf0

We've set up a new repository from which we'll publish the definitions, but we need your help setting it up. If you use AVA and Flow, please join us in avajs/flow-typed#​1.

Observable typing

Test implementations may return observables. We've updated our TypeScript definition to require these to have a Symbol.observable function. c2d8218

New features

Configurable printing depth

AVA now uses the util.inspect.defaultOptions.depth option when printing objects, so you can configure the depth. 98034fb

Specify environment variables in your AVA config

You can now specify environment variables in your config, using the environmentVariables object. a53ea15

Other changes

  • We've added UntitledMacro and UntitledCbMacro types, for macro functions that will never have a .title function. Though really this just helped simplify the type definition. Thanks @​qlonik! ebf4807
  • The dependency tracking in watch mode now respects custom require hooks you install in the worker processes. Thanks @​lo1tuma! cb4c809
  • The TypeScript definition once again allows test.skip(macro) ba5cd80
  • AVA now exposes some methods to our ESLint plugin, allowing our plugin to support the new test & helper file selection. 51433be

All changes

v1.4.1...v2.0.0

Thanks

Thank you @​StoneCypher, @​LukasHechenberger, @​lo1tuma, @​htor, @​alexisfontaine and @​grnch. We couldn't have done this without you!

Get involved

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v1.4.1

Compare Source

Focusing power-assert

AVA comes with power-assert built-in, giving you more descriptive assertion messages. However it's been confusing to understand which assertions come with power-assert. To address this we've added the new t.assert() assertion. It's now the only assertion that is power-assert enabled. The assertion passes if called with a truthy value. Consider this example:

test('enhanced assertions', t => {
	const a = /foo/;
	const b = 'bar';
	const c = 'baz';
	t.assert(a.test(b) || b === c);
});

<details> <summary>AVA will output:</summary> <pre><code>6: const c = 'baz'; 7: t.assert(a.test(b) || b === c); 8: });

Value is not truthy:

false

a.test(b) || b === c => false

b === c => false

c => 'baz'

b => 'bar'

a.test(b) => false

b => 'bar'

a => /foo/</code></pre>

</details>

Our ESLint plugin has been updated to support this new assertion. Many thanks to @​eemed for implementing this! 9406470

Watch mode

Watch mode now prints the available commands. Thanks @​KompKK! cd256ac

Bug fixes

  • Filtered tests (when using --match, .skip() or .only()) are no longer included in the list of pending tests when timeouts occur or when you interrupt a test run. Thanks @​vancouverwill! 23e302a
  • We're now shimming all TTY methods in the worker processes, thanks to @​okyantoro. c1f6fdf

Documentation updates

  • We've added a note to say that, by default, AVA does not have a default test timeout. Thanks @​amokmen! 99a10a1

All changes

v1.3.1...v1.4.1

Thanks

Thank you @​eemed, @​KompKK, @​vancouverwill, @​okyantoro and @​amokmen. We couldn't have done this without you!

Get involved

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v1.4.0

Compare Source

v1.3.1

Compare Source

Bug fixes

  • We've fixed a rather embarrasing bug with t.throws() and t.throwsAsync(). If you'd set a code expectation to a number we never actually checked that the thrown error had such a code! Thanks to @​qlonik for both spotting and fixing this. 82daa5e
  • 1.2.0 contained a regression which meant that if you faked clearTimeout(), you'd break AVA. That's now been fixed. 40f331c
  • Snapshot files are now recognized as source files, so if you're using watch mode and you delete one, AVA won't rerun all your test files. d066f6f

New features

You can now use require() in ava.config.js files to load non-ES modules. 334e15b

All changes

v1.2.1...v1.3.1

Thanks

Thank you @​itaisteinherz, @​jdalton, @​kagawagao, @​KompKK, @​SleeplessByte, @​Chrisyee22 and @​qlonik for helping us with this release. We couldn't have done this without you!

Get involved

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v1.3.0

Compare Source

v1.2.1

Compare Source

This is a bug fix release. In very large projects, the options send to worker processes would exceed limits on process argument size. We're now sending the options via the inter-process communication channel. 3078892

All changes 📚

v1.2.0...v1.2.1

Get involved ✌️

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v1.2.0

Compare Source

New features

You can now set a timeout for test themselves. The test will fail if this timeout is exceeded. The timeout is reset each time an assertion is made:

test('foo', t => {
	t.timeout(100); // 100 milliseconds
	// Write your assertions here
});

b65c6d7

AVA also has a global timeout feature. The mini reporter now logs tests that were pending when those timeouts occur. Additionally, if you interrupt a test using <kbd>ctrl+c</kbd> we'll now also show the pending tests. 2b60556

Thank you @​dflupu for your hard work on this!

Bug fixes and other improvements

  • We're no longer truncating multi-line error messages 72e0762
  • Unexpected errors in the throws assertions are now reported with the correct stack trace ad087f2
  • The Debugging with VSCode recipe has been updated with the correct workspaceFolder variable 0a5fe42 and --serial argument placement edfc005

All changes 📚

v1.1.0...v1.2.0

Thanks 💌

💖 Huge thanks to @​anishkny, @​CrispusDH, @​dflupu and @​niktekusho for helping us with this release. We couldn’t have done it without you!

Get involved ✌️

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v1.1.0

Compare Source

New features

AVA now exports a meta object. Currently, you can retrieve the path of the test file being run:

import test from 'ava';

console.log('Test currently being run: ', test.meta.file);
import {meta} from 'ava';

console.log('Test currently being run: ', meta.file);

This is useful in helpers that need to know the test file. bccd297

Bug fixes and other improvements

  • t.log() now works in hooks d187712

  • Error output for improper usage of t.throws() once again links to the correct documentation dc552bc

  • We've added a section on webpack aliases to the Babel recipe c3bcbf2

  • We've updated the Vue recipe for Babel 7, and added a section on webpack aliases c3bcbf2

All changes 📚

v1.0.1...v1.1.0

Thanks 💌

💖 Huge thanks to @​fitztrev, @​forresst, @​astrob0t, @​pearofducks, @​coreyfarrell and @​dflupu for helping us with this release. We couldn’t have done it without you!

Get involved ✌️

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v1.0.1

Compare Source

AVA 1.0 🚀

Back in January we started work on the 1.0 release, taking the opportunity to upgrade to Babel 7 and follow its beta releases. It's been a year where we made massive improvements to AVA. It's also been a year with many exciting events in our personal lives. Be it honeymoons & weddings, work & friends, naturalizations and international relocations.

So, we're done. Or, rather, we're just beginning. Testing can be a drag. AVA helps you get it done. Its concise API, detailed error output, embrace of new language features and process isolation let you write tests more effectively. So you can ship more awesome code or do non-programming things.

Starting now we'll push out patches and new features more regularly. And, when the time comes, ship a 2.0 and a 3.0 and so forth. If you like what we're doing, why not try and contribute? We're a friendly bunch and we could use your help to make AVA even better.

We couldn't have gotten here without the nearly one hundred people who've contributed more, and the many more who suggested improvements, reported bugs and provided feedback. And, of course, everyone who's used AVA. Thank you for your enthusiasm and support.

Mark & Sindre

What's new & improved

Assertions
New t.throws() behavior & t.throwsAsync()

We've rewritten t.throws() so it behaves better, has better error output and lets you write better tests:

  • The assertion takes a first thrower argument. It must throw an exception, or your test fails. Throwing other values like strings also causes your test to fail.
  • The exception must be an error object.
  • The assertion returns the exception.

You have a few ways of asserting that the exception is as designed. You can pass a second argument:

  • If you pass a function it should be a constructor: the exception must be an instance of it. Previously you could pass a validation function. This is no longer possible.
  • If you pass a string: the exception's message should be equal to it.
  • If you pass a regular expression: the exception's message should match it.

The most exciting new feature though is that you can pass an expectation object. A combination of the following expectations is supported:

t.throws(fn, {code: 'ENOTFOUND'}) // err.code === 'ENOTFOUND'
t.throws(fn, {code: 9}) // err.code === 9
t.throws(fn, {instanceOf: SyntaxError}) // err instanceof SyntaxError
t.throws(fn, {is: expectedErrorInstance}) // err === expectedErrorInstance
t.throws(fn, {message: 'expected error message'}) // err.message === 'expected error message'
t.throws(fn, {message: /expected error message/}) // /expected error message/.test(err.message)
t.throws(fn, {name: 'SyntaxError'}) // err.name === 'SyntaxError'

This makes tests like these much easier to write:

// Old assertion
const err = t.throws(fn, TypeError)
t.is(err.message, 'Expected a string')

// New assertion
t.throws(fn, {
	instanceOf: TypeError,
    message: 'Expected a string'
})

We've removed promise support from t.throws() and t.notThrows(). Use the new t.throwsAsync() and t.notThrowsAsync() assertions instead. Support for observables has been removed completey.

The original behavior was both hard to explain and hard to express in Flow and TypeScript. Now, if you have a function that throws a synchronous error, use t.throws() (or t.notThrows()). If you have a promise that should reject, or an asynchronous function that should fail, use await t.throwsAsync() (or await t.notThrowsAsync()).

Generally speaking, you should be able to replace every occurence of await t.throws with await t.throwsAsync, and await t.notThrows with await t.notThrowsAsync. A transform file for jscodeshift is available in this Gist. Run it like:

$ npx jscodeshift -t https://gist.githubusercontent.com/novemberborn/c2cdc94020083a1cafe3f41e8276f983/raw/eaa64c55dfcda8006fc760054055372bb3109d1c/transform.js test.js

Change test.js to a glob pattern that matches your test files. See the jscodeshift CLI usage documentation for further details.

Bound assertion methods

Assertion methods are now bound to the test, meaning you can provide them as direct arguments to other functions. A contrived example:

const assertEach = (arr, assert) => {
  arr.forEach(value => assert(value));
};

test('all are true', t => {
  assertEach(getArray(), t.true);
});

Whilst not strictly assertions, t.plan() and t.log() are now also bound to the test.

BigInt

As part of our Node.js 10 support you can now use BigInt values in t.deepEqual() and t.snapshot(). Note that this is still a stage-3 proposal.

Babel 7

AVA now uses Babel 7, with support for babel.config.js files. We'll automatically use your project's Babel configuration. Babel options must now be specified in a testOptions object. This will allow us to add source related options in the future.

Our @ava/stage-4 preset is now accessible via ava/stage-4. We've added transforms for the latest ES2018 features where available (and even an ES2019 one!). You can also disable ava/stage-4 entirely:

package.json:

{
  "ava": {
    "babel": {
      "testOptions": {
        "presets": [
          ["ava/stage-4", false]
        ]
    }
    }
  }
}

Or, you can disable just ES module compilation:

package.json:

{
  "ava": {
    "babel": {
      "testOptions": {
        "presets": [
          ["ava/stage-4", {"modules": false}]
        ]
      }
    }
  }
}

The powerAssert option and command line flags have been removed. You can now disable AVA's test enhancements by setting compileEnhancements to false. You can also disable AVA's Babel pipeline entirely:

package.json:

{
  "ava": {
    "babel": false,
    "compileEnhancements": false
  }
}
Serial hooks and context

Hooks declared using test.serial will now execute serially. Only one of those hooks will run at a time. Other hooks run concurrently. Hooks still run in their declaration order.

Note that concurrent tests run concurrently. This means that .beforeEach() and .afterEach() hooks for those tests may also run concurrently, even if you use test.serial to declare them.

t.context can now be used in .before and .after hooks.

CLI
Pass flags to your test

AVA now forwards arguments, provided after an -- argument terminator, to the worker processes. Arguments are available from process.argv[2] onwards.

npx ava test.js -- hello world

There's a new recipe on how to use this.

Previously AVA populated process.argv[2] and process.argv[3] with some undocumented internal values. These are no longer available.

Resetting AVA's cache

The --no-cache CLI flag has been replaced by a --reset-cache command. The latter resets AVA's regular cache location. You can still disable the cache through the cache configuration option.

npx ava --reset-cache
Configuration
Introducing ava.config.js

You can now configure AVA through an ava.config.js file. It must be placed next to the package.json, and you mustn't have any "ava" options in the package.json file. Export the configuration as a default:

export default {
    babel: {
        extensions: ['js', 'jsx']
    }
};

Or export a factory function:

export default ({projectDir}) => ({
    babel: {
        extensions: ['js', 'jsx']
    }    
});

Following our convention to use ES modules in test files, we're expecting ES modules to be used in the configuration file. If this is causing difficulties please let us know in #​1820.

Configurable test & helper file extensions

You can now tell AVA to run test files with extensions other than js! For files that should be compiled using Babel you can specify babel.extensions:

package.json:

{
  "ava": {
    "babel": {
      "extensions": ["js", "jsx"]
    }
  }
}

Or define generic extensions, e.g. for use with TypeScript:

package.json:

{
  "ava": {
    "compileEnhancements": false,
    "extensions": ["ts"],
    "require": [
      "ts-node/register"
    ]
  }
}

Note that AVA still assumes test & helper files to be valid JavaScript. They're still precompiled to enable some AVA-specific enhancements. You can disable this behavior by specifying "compileEnhancements": false.

Snapshots

Adding new snapshots no longer causes the Markdown files to become malformed. Snapshots are now consistent across operating systems. If you've previously generated snapshots on Windows, you should update them using this release.

We now support BigInt and <React.Fragment> in t.snapshot(). We've also improved support for the Symbol.asyncIterator well-known symbol. Unfortunately these changes are not backwards compatible. You'll need to update your snapshots when upgrading to this release.

We've improved how AVA builds snapshot files to better support precompiled projects. Say, if you compile your TypeScript test files using tsc before running AVA on the build output. AVA will now use the source map to figure out the original filename and use that as the basis for the snapshot files. You'll have to manually remove snapshots generated by previous AVA versions.

Type definitions

The TypeScript and Flow definitions have been rewritten and much improved. The TypeScript recipe has been updated to reflect the changes, and there's a new Flow recipe too.

TypeScript

AVA recognizes TypeScript build errors when using ts-node/register.

TypeScript now type-checks additional arguments used by macros. You must type the arguments used:

import test, {Macro} from 'ava'

const failsToParse: Macro<[Buffer]> = (t, input) => {
	t.throws(parse(input))
}

failsToParse.title = (providedTitle = 'unexpected input') => `throws when parsing ${providedTitle}`

test('malformed', failsToParse, fs.readFileSync('fixtures/malformed.txt'))
test(failsToParse, '}') // ⬅️ fails to compile
Other improvements
  • You can now specify helpers — that need to be compiled by AVA — in the require configuration.
  • --fail-fast behavior has been improved. AVA now makes sure not to start new tests. Tests that are already running though will finish. Hooks will also be called. AVA now prints the number of skipped test files if an error occurs and --fail-fast is enabled.
  • AVA now uses its own Chalk instance, so AVA's color settings no longer impact the code you're testing.
  • Error serialization has been made smarter, especially if non-Error errors are encountered.
  • Uncaught exceptions and unhandled rejections are now shown with a code excerpt.
  • You should see fewer repeated test timeout messages.
  • Error messages now link to the documentation appropriate for the version of AVA you're using.
  • AVA now automatically detects whether your CI environment supports parallel builds. Each build will run a subset of all test files, while still making sure all tests get executed. See the ci-parallel-vars package for a list of supported CI environments.
  • AVA now detects when it's required from a Node.js REPL.
  • We've improved the colors for use on light terminal themes.
  • The assert module in Node.js 10 no longer crashes.
  • Source maps, generated by AVA when compiling test & helper files, now contain correct paths to the source files.
  • TTY support for process.stderr is now emulated in the worker processes.
  • The default reporter now includes files that did not declare any tests in its final output.
  • AVA now prints pending tests when timeouts occur, when using --verbose.
  • <React.Fragment> can be used in t.deepEqual.
  • title functions of macros now receive undefined rather than an empty string if no title was given in the test declaration. This means you can use default parameters.

Breaking changes since 0.25.0

Supported Node.js versions

We've published a statement with regards to which Node.js versions we intend to support. As of this release we're only supporting Node.js 6.12.3 or newer, 8.9.4 or newer, 10.0.0 or newer and 11.0.0 or newer. This does not include Node.js 7 and 9.

Tests must now have titles, and they must be unique

You can no longer do:

test(t => t.pass());

Instead all tests must have titles, and they must be unique within the test file:

test('passes', t => t.pass());

This makes it easier to pinpoint test failures and makes snapshots better too.

Note that AVA no longer infers a test title from a function name:

test(function myTest (t) {
  t.pass();
});
Modifier chaining

AVA's various test modifiers (.serial, .skip) must now be used in the correct order:

  • .serial must be used at the beginning, e.g. test.serial().
  • .only and .skip must be used at the end, e.g. test.skip(). You cannot combine them.
  • .failing must be used at the end, but can be followed by .only and .skip, e.g. test.cb.failing() and test.cb.failing.only().
  • .always can only be used after .after and .afterEach, e.g. test.after.always().
  • .todo() is only available on test and test.serial. No further modifiers can be applied.
Declaring tests

You must declare all tests and hooks at once. This was always the intent but previously AVA didn't enforce it very well. Now, once you declare a test or hook, all other tests and hooks must be declared synchronously. However you can perform some asynchronous actions before declaring your tests and hooks.

test export

We're no longer exporting the test() method as a named export. Where before you could use import {test} from 'ava', you should now write import test from 'ava'.

Set default title using parameters syntax

Macros can generate a test title. Previously, AVA would call the title function with an empty string if no title was given in the test declaration. Now, it'll pass undefined instead. This means you can use default parameters. Here's an example:

import test from 'ava'

const failsToParse = (t, input) => {
	t.throws(parse(input))
}

failsToParse.title = (providedTitle = 'unexpected input') => `throws when parsing ${providedTitle}`

test('malformed', failsToParse, fs.readFileSync('fixtures/malformed.txt'))
test(failsToParse, Buffer.from('}', 'utf8'))

This is a breaking change if you were concatenating the provided title, under the assumption that it was an empty string.

Assertions
t.throws() & t.notThrows()

Thrown exceptions (or rejection reasons) must now be error objects.

t.throws() and t.notThrows() no longer support observables or promises. For the latter, use await t.throwsAsync() and await t.notThrowsAsync() instead.

Generally speaking, you should be able to replace every occurence of await t.throws with await t.throwsAsync, and await t.notThrows with await t.notThrowsAsync. A transform file for jscodeshift is available in this Gist. Run it like:

$ npx jscodeshift -t https://gist.githubusercontent.com/novemberborn/c2cdc94020083a1cafe3f41e8276f983/raw/eaa64c55dfcda8006fc760054055372bb3109d1c/transform.js test.js

Change test.js to a glob pattern that matches your test files. See the jscodeshift CLI usage documentation for further details.

Skipping assertions

Assertions can be skipped by using .skip at the end of the assertion, e.g. t.deepEqual.skip(). You can now safely skip snapshot tests, though not whilst updating snapshots.

t.ifError()

We've removed the t.ifError() assertion. It worked the same as t.falsy(), so if you were using it please switch to t.falsy() instead.

Configuration changes

The source option has been renamed to sources. This is now consistent with files. AVA will exit with an error if it encounters the source option.

We've also removed unintentional support for init, watch and updateSnapshot options.

Babel

The "default" and "inherit" configuration values have been removed. Babel options must now be specified in a testOptions object. This will allow us to add source related options in the future.

The powerAssert option and command line flags have been removed. You can now disable AVA's test enhancements by setting compileEnhancements to false.

The Babel recipe has been updated with the latest details.

Updated type definitions

The TypeScript and Flow definitions have been rewritten. The definitions export different interfaces so you may need to update your test code as well.

TypeScript now type-checks additional arguments used by macros. You must type the arguments used.

Internals

Some other internals have changed. You shouldn't have been relying on these, though if you did we're interested in hearing about it so we can better support your use case.

  • The private t._test value has been removed
  • Some of the communication between the main process and the test workers has changed
  • Access to the options object from inside a worker process has changed
Other potential breaking changes
  • We've removed support for @std/esm, in favor of the plain esm package.
  • The ava/stage-4 preset is applied after all other plugins and presets.
  • Test implementations are now called with null as the this value.
  • All reporters write to stdout. The stdout and stderroutput from workers is written to process.stderr. AVA will insert linebreaks in process.stdout after writing a chunk to process.stderrthat does not end in a line break.
  • The --no-cache CLI flag has been replaced by a --reset-cache command. The latter resets AVA's regular cache location. You can still disable the cache through the cache configuration option.
  • We've dropped support for using generator functions as test implementations. This was a remnant of the dark days before async/await support.
  • Snapshots need to be regenerated.
  • If you pre-compile your test files, the snapshot files may be created at new file paths. You'll have to manually remove any old files.

New recipes

There's a new recipe on using ES modules. We've also added a recipe on setting up tests and how test webapps using AVA and Puppeteer.

All changes 📚

v0.25.0...v1.0.1

Thanks 💌

💖 Huge thanks to @​okyantoro, @​JasonRitchie, @​forresst, @​mdvorscak, @​kugtong33, @​motss, @​BusbyActual, @​billyjanitsch, @​Briantmorr, @​jdalton, @​malimichael, @​martypdx, @​clemtrek, @​samuelli, @​emilyschultz, @​hallettj, @​isnifer, @​Jaden-Giordano, @​good-idea, @​jamiebuilds, @​tobil, @​TheDancingCode, @​btkostner, @​CanRau, @​coreyfarrell, @​ivanschwarz, @​jagoda, @​padmaia, @​ronen, @​sh7dm, @​sharkykh, @​Phrynobatrachus, @​grant37, @​xxczaki, @​robertbernardbrown, @​lo1tuma, @​goooseman, @​wmik, @​vancouverwill, @​qlonik, @​vlajos and @​itskolli for helping us with this release. We couldn’t have done it without you!

Get involved ✌️

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 0567c822093582e05445994c47c892099d11707c

chore(deps): update dependency ava to v2

view details

push time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha d9e68414f93aeb4d33e53f664997c92e8bdad22f

Update dependency husky to v3

view details

push time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency husky to v3

This PR contains the following updates:

Package Type Update Change
husky devDependencies major 1.3.1 -> 3.0.0

Release Notes

<details> <summary>typicode/husky</summary>

v3.0.0

Compare Source

  • Fix HUSKY_SKIP_INSTALL=1 not skipping install
  • Breaking change husky requires now Git >= 2.13.2. If you're already using husky v2 and don't use an old version of Git, you can safely upgrade.

v2.7.0

Compare Source

Due to issues with Git < 2.13.2, this version is a rollback and is the same as husky v2.4.1. Changes introduced in v2.5.0 and v2.6.0 will be published in v3.0.0.

v2.6.0

Compare Source

  • Optional HUSKY_USE_YARN setting to use Yarn to run Husky
  • Add more debug information
  • Show a warning for Node <= 8.6.0

Deprecated

v2.5.0

Compare Source

  • Use more accurate git hooks directory resolution
  • Add CWD in debug messages

Deprecated

v2.4.1

Compare Source

  • Fix husky crash on install/uninstall with very old Node versions

v2.4.0

Compare Source

  • Add HUSKY_SKIP_HOOKS to skip all hooks

v2.3.0

Compare Source

  • Make HUSKY_DEBUG=1 effective like HUSKY_DEBUG=true
  • Refactor script to point to run-node/run-node rather than .bin/run-node

v2.2.0

Compare Source

  • Improve Git worktree support

v2.1.0

Compare Source

  • Improve shell script portability by using . rather than source

v2.0.0

Compare Source

  • Update dependencies
  • Update messages
  • Breaking change drop Node 6 support

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 41854e35b9b25c9f4a27faab84f103db282f8418

chore(deps): update dependency tslint to v5.18.0

view details

push time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency tslint to v5.18.0

This PR contains the following updates:

Package Type Update Change
tslint (source) devDependencies minor 5.15.0 -> 5.18.0

Release Notes

<details> <summary>palantir/tslint</summary>

v5.18.0

Compare Source

Thanks to our contributors!

  • Josh Goldberg
  • smoehrle
  • Mateusz Witkowski
  • Andy Hanson
  • John Wiseheart
  • Eran Shabi
  • Tibor Blenessy
  • AndreasGassmann
  • Ryan Waskiewicz
  • Isabelle

v5.17.0

Compare Source

Thanks to our contributors!

  • Bjorn Stromberg
  • Vitaliy Agoshkov
  • knafteN
  • Bowen Ni
  • Waseem Ahmad
  • Åsmund Grammeltvedt
  • Eric Ferreira
  • Zhen Tian
  • Tom Lakesman
  • zachkirsch

v5.16.0

Compare Source

Thanks to our contributors!

  • Oleg Artene
  • William Neely
  • Bjorn Stromberg
  • Matthew Barry
  • Neha Rathi
  • Vincent Langlet
  • rarenal
  • Greg Jednaszewski
  • Adam Postma
  • Eric Ferreira
  • Evgeniy Timokhov
  • Martin Probst

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 90657914ed765b98b22f2949535f65c405257bef

chore(deps): update dependency typescript to v3.5.3

view details

push time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency typescript to v3.5.3

This PR contains the following updates:

Package Type Update Change
typescript (source) devDependencies minor 3.4.2 -> 3.5.3

Release Notes

<details> <summary>Microsoft/TypeScript</summary>

v3.5.3

Compare Source

This update fixes an issue with declaration emit when exported entities have function properties assigned to them.

Downloads are available on:

v3.5.2

Compare Source

For new features, check out the What's new in TypeScript v3.5.2.

For the complete list of fixed issues, check out the

Downloads are available on:

Changes:

This list of changes was auto generated.

v3.5.1

Compare Source

For release notes, check out the release announcement.

For new features, check out the What's new in TypeScript v3.5.1.

For breaking changes, check out the Breaking changes in TypeScript 3.5 page.

For the complete list of fixed issues, check out the

Downloads are available on:

v3.4.5

Compare Source

This release fixes an issue when running on node installations without npm.

For the complete list of fixed issues, check out the

Downloads are available on:

v3.4.4

Compare Source

This release fixes the following issues:

Bug Original PR Port PR Summary
#​30942 #​30963 #​30966 Fixes a change in generic inference.
#​30685 #​30856 #​30966 Fixes a change in generic inference.
#​30794 #​30877 #​30904 Fixes an out-of-memory condition in a certain codebase.
#​30442 #​30857 #​30968 Fixes a change in generic inference.

For the complete list of fixed issues, check out the

Downloads are available on:

v3.4.3

Compare Source

This release forces TypeScript to clear its automatic type acquisition (ATA) cache based on patch versions. This means all consumers of TSServer can update to newer patch releases of TypeScript to clear the ATA cache if ATA has downloaded stale .d.ts files that can hang the language service.

For the complete list of fixed issues, check out the

Downloads are available on:

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 6ddfb745e356a82c747612bb58a8be40c3f80f84

chore(deps): update dependency webpack-cli to v3.3.5

view details

push time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency webpack-cli to v3.3.5

This PR contains the following updates:

Package Type Update Change
webpack-cli devDependencies patch 3.3.0 -> 3.3.5

Release Notes

<details> <summary>webpack/webpack-cli</summary>

v3.3.5

Compare Source

Full Changelog

Chore

  • remove donation section (76b75ac)
  • update pkg lock (8913928)
  • deps: update major versions (#​969)
  • packages: lock dependencies versions (#​958)
  • scripts: clean opencollective (cd54ba5)
  • scripts: clean postinstall (0c1f6b6)
  • ts: enables source map in the ts (#​961)
  • added await in order to resolve the pending promise (#​948)

CLI

Fix

  • deps: move prettier from dependencies to devDependencies (#​968)
  • change "usr strict" to "use strict" (670efc7)
  • update deps (69f364e)

v3.3.4

Compare Source

Full Changelog

New Features

Chore

Docs

  • added auto flag in docs for init command (dede7d8)

Fix

  • module not found error (a2062f2)
  • remove unused pkgs and refactor init generator (7608d4b)

Tests

Misc

v3.3.3

Compare Source

Full Changelog

New Features

  • chore: Added type definitions for the data returned by envinfo (#​921)
  • add htmlWebpackPlugin in development (88fcfa8)
  • add mergeHandler (248b9cc)
  • generators: add generated file templates (6be9291)
  • init: generate README (c090b17)
  • init: generate tsconfig (25ab7e6)
  • init: support ts in configuration (283e089)
  • init: wip typescript support (093a36d)
  • md: formats md before committing (#​851)
  • webpack-scaffold: adds Input defaults, doc & tests (0a648f7)

Chore

  • monorepo version update (69f7683)
  • update jest snapshots (efe8c2a)
  • monorepo version update (12a38be)
  • lockfile updates (2608179)
  • v.3.2.2 until mnorepo versioning (25c6e7b)
  • update utils version for init pkg (67b3dc7)
  • monorepo version update (ace0d4a)
  • lerna independent (16079a1)
  • sec fixes (b9711e8)
  • sec patch monorepo (9b78911)
  • v.3.3.3 (d577b0c)
  • ast-utils: undo return statements as per review (418c72c)
  • dep: commit lock (5a28a77)
  • dep: add eslint-plugin-prettier as dev dep (98ccd6f)
  • eslint: add eslint-prettier plugin (671abd5)
  • interfaces: minor modifications based on reviews (abb1a48)
  • lint: rm unused lint disables (ae4260a)
  • group imports (7fe04e9)
  • lint: fix code as per conflicting config (5bf847c)
  • reorder imports (0e0ba8a)
  • reorder imports (8a66c21)
  • reorder imports (57b47c3)
  • add some comments (95275ac)
  • lint: extend prettier config (5943f26)
  • lint: add eslint-config-prettier (4019049)
  • linting (ba0116a)
  • revise typo (a4597dd)
  • lint: format all files as per prettier plugin (f6992e6)
  • remove eslint disable comments (d72ac08)
  • use import instead of require (5ee4169)
  • update variable name (8e3f4ae)
  • update error message (8609b2b)
  • create questions.ts (7481974)
  • revise typo (be88ca9)
  • update lockfiles (a0216fe)
  • deps: update lock file (ea55cd5)
  • format: fix formatting using prettier (0b6437e)
  • infra: fix typo (98466d6)
  • infra: format all staged files on precommit (2a2e9a1)
  • infra: fix scripts to format files (876471c)
  • lint: fix lint warnings (#​926)
  • refactored the add-generator (80713fc)
  • migrate: replaces console with process stream (1df301d)
  • refactor: use all utils from the root file in generators (faabbfb)
  • utils: add valueType (43040fe)
  • utils: refactor util types (e7c5170)
  • fix azure (19e039f)
  • utils: refactors modify config helper (39be039)
  • utils: refactors ast utils (9f35073)
  • add types to import functions (8b88980)
  • refactor serve command action handler (d2c7ae4)
  • keep lowercase (c01a80b)
  • formatting (20ff530)
  • add errors for invalid params (27c6198)
  • cli: fixes linting err (9f1deb2)
  • utils: seperates interfaces from the core module (d0a4177)
  • remove trivial type (5e23da2)
  • create isImportPresent (a89645a)
  • use replaceWith (6a7e662)
  • update prop name (55d237b)
  • update parseMerge (b6a438d)
  • fix linting (c7c1a83)
  • format and revise code w.r.t style (e9d426d)
  • make config const (445ab31)
  • update parseMerge (cf85535)
  • pluginarrlength for length of the plugin (4872416)
  • made condition strict (88eec7c)
  • update types of the config (a2c49e2)
  • update variable name (1323bbf)
  • revise SECURITY.md (2a9e304)
  • revise SECURITY.md (9cdc357)
  • revise version support (90f397c)
  • add JSDoc descriptions (e023d23)
  • lint (cb5a15f)
  • lint (0782944)
  • lint (5778bdf)
  • ci: add node 12 (#​872)
  • cli: fixes code indentation (ff263f9)
  • cli: cleanup (ed4095f)
  • cli: remove findup-sync from package dir and move to utils (fe9c289)
  • cli: move constants to a separate file (#​798)
  • plugins.ts: added if-stmt for native plugins (fc9e259)
  • refactor: move questions to utils (915c4ab)
  • refactor: add generator (66bde9f)
  • utils: fix deprecated babylon (99304c4)
  • loop change (818e43e)
  • add sec & versioning policy (5e33f8a)
  • add-generator: changed the naming of the plugin in config file (7fbc3a4)
  • github: add sponsor button (88f2408)
  • refactor: update package list (e5c7f67)
  • style: fixed the indentation (e583aab)
  • added a generatePluginName method in generators utils (7d83453)
  • refactor: move schema to utils (2299848)
  • refactor: add generator (d901d49)
  • util: use relative for now (5a0952e)
  • utils: use absolute path (00a6348)

CLI

  • fix watch options for array config (#​892)

Docs

  • contribute: adds section seperator (cff0c55)
  • contribute: combines seperate sections for npm and yarn (aefa8eb)
  • contributing: updates the docs for the test (7656637)
  • fix link to webpack-scaffold (de0b4a0)
  • init: improve description (9856bab)
  • utils: update prettier (8b6d47b)

Fix

  • improve checking file permission (de41351)
  • chore: Minor fix (6810182)
  • use fork cause original repo is unmaintained (383125a)
  • add: apply suggestions (ccf0dce)
  • add: add handling of merge option (eb43443)
  • add: add handling of merge option (ce51a0a)
  • ci: fixes linting error in ci (cfc0117)
  • cli: updates err message (b5e1913)
  • cli: removes the comment before err handling block (ac5a53f)
  • cli: --config-register resolves relative to root (23375bd)
  • cli: removes func return in catch instance (7d31321)
  • cli: sets stack trace limit (869024f)
  • cli: err when no args passed, refactored nested conditional blocks (a9bc0bd)
  • cli: shows error message based on package manager (a3ce273)
  • cli: error when no webpack and args found (2250af0)
  • generator: fixed the support of native plugins in add command (123a150)
  • infra: fixes npm run docs (65c08e2)
  • formatting files (eb3909b)
  • remove type from inherited type (960e73a)
  • remove type from inherited type (0552f76)
  • change parser options (4e8bc76)
  • json module resolve (61697b8)
  • cli: improves error handling with args (cc64955)
  • generator: generate correct module.rule for babel & ts (263b83c)
  • generator: using configFile in configPath to get the config file name (#​883)
  • genrators/utils/style: typo & fix (f46f4e5)

Tests

  • inputvalidate: remove undefined (fb25bd2)

Misc

  • update internal docs (7071b5c)
  • add lerna publish cmnd (5c8c6a1)
  • generators: remove comment (bd06a69)
  • generators: refactor (376dcbd)
  • generators: small text improvements (782f56c)
  • generators: improve prompts (ac35a31)
  • generators: refactor init-generator (d574846)
  • generators: refactor utils (17e4511)
  • generators/utils/style: refactor (392fcfe)
  • init: refactor with async/await (1b07d2b)
  • init: small refactor (4627ea1)
  • init-generator: improve readme (f971632)
  • init-generator: small refactor (dcf44c1)
  • init-generator: use webpackOption types, improve test rules (a650e0e)
  • init-generator: improve types & defaults (fb23aa4)
  • packages: complete rebase (488b06c)
  • types: correct types (85ef3e7)

v3.3.2

Compare Source

Full Changelog

New Features

  • opencollective prompt: add option to disable it + doc (d4643ae)
  • terser: clean old files (89e6b74)
  • terser: remove leftover files (27d5b4d)
  • terser: replace after merging master (c404655)
  • replace Uglify with Terser in generators (2b8651b)
  • use terserPlugin in loaderOptionsPlugin (14f5337)
  • use terserJsPlugin for transformations during migrate (33c6185)
  • replace uglifyJsPlugin with terserPlugin in migrate (d467f3b)
  • opencollective prompt: work on windows setting atime by code (3af73a8)
  • opencollective prompt: fix typo (c2351b1)
  • opencollective prompt: remove .lastocprint file from fs (b96ad56)
  • opencollective prompt: extract weekday to variable (790d27a)
  • opencollective prompt: set terminal cols to 80 (badc32d)
  • opencollective prompt: fix azure ci (ea0039a)
  • opencollective prompt: lint (ea906d8)
  • opencollective prompt: clear package.json modifications (f080733)
  • opencollective prompt: add prompt in postinstall script (dd9d528)

Ast

  • change tooltip property from uglify to terser (ea9e4b8)
  • replace requires and inits for uglify with terser (3011a6c)
  • replace UglifyJsPlugin with TerserPlugin (21da35f)

Chore

  • cli: move constants to a separate file (#​798)
  • deps: fix security vulnerabilities (#​857)
  • deps: upgrade lerna to fix vulnerabilities & update webpack-dev-server (#​823)
  • docs: minor fixes in the docs (#​874)
  • docs: removes scaffolding docs from the root (8c1db03)
  • junit: reverting the junit.xml (80fd4fa)
  • travis: removed stable (#​871)
  • types: move to @​types/yeoman-generator (#​869)
  • addon generator to async/await (#​849)
  • v.3.1.1 (d3f8e20)
  • tests: updated test regex, some helper scripts (#​809)
  • types: add type information (#​791)
  • replace instances of uglify with terser (f9cb8ce)
  • use actual package name in comment about removing uglify (b1cf4cc)
  • align file in the same way as other terserPlugin test fixtures (b6c6484)
  • remove gitHash from package.json (2af08be)

Docs

  • code of conduct (#​873)
  • contribute: adds table of contents and info about dependencies. (#​842)
  • contributing: fixes dead link (#​835)
  • opencollective prompt: improve code clarity (55992a4)
  • packages: adds downloads/month shield (6a0375a)
  • readme: fix typos, add summary of all commands (#​845)
  • readme: adds contributors shield (958d064)
  • README: phrase change (3a11a16)
  • README: add link to webpack-scaffold-starter (e35a194)
  • README: update scaffolding links (74179b5)
  • serve: link to webpack-dev-server (cb68b1b)
  • serve: update docs to use webpack-dev-server (f7451d4)
  • replace tooltip link to terser plugin (4254730)
  • replace Uglify with Terser in comments (799577d)
  • replace UglifyJsPlugin with TerserPlugin in migrate docs (326f783)

Enh

  • webpack-scaffold: improve prompt and doc (#​794)

Fix

  • add: add types (d4ce6f2)
  • add: fix runTransform (dbc3e9e)
  • add: lint code (163b309)
  • add: add handling for topScope (1162cf5)
  • bin, serve: force default package export, add serve default (#​815)
  • init: refactored the init.ts success message (#​810)
  • opencollective prompt: fix grammar (246db42)
  • opencollective-prompt: check write permissions (5284b7e)
  • scaffold: config file is always generated at the project root (#​801)
  • utils: refactors utils (7fe3543)
  • clear up comment about default function purpose (e48507d)
  • remove unused files (ec242ab)
  • reset files (9863445)
  • replace lookups for TerserPlugin in webpack.optimise (ef23fec)

Tests

  • update snapshots (ce9fbc8)
  • replace uglify with terser in ast-utils tests (73f493f)
  • migration: typescript (#​613)

Misc

  • chore(docs): Refactors links for badges (#​859)
  • opencollective-prompt: improve grammar (e17a26d)
  • Remove tslint in favour of eslint (#​834)
  • cli: refactor functions into utils and config dirs, merge yargs options (#​781)
  • utils: refactors scaffold (0b28fb3)

v3.3.1

Compare Source

Full Changelog

New Features

  • terser: clean old files (89e6b74)
  • terser: remove leftover files (27d5b4d)
  • terser: replace after merging master (c404655)
  • replace Uglify with Terser in generators (2b8651b)
  • use terserPlugin in loaderOptionsPlugin (14f5337)
  • use terserJsPlugin for transformations during migrate (33c6185)
  • replace uglifyJsPlugin with terserPlugin in migrate (d467f3b)
  • opencollective prompt: work on windows setting atime by code (3af73a8)
  • opencollective prompt: fix typo (c2351b1)
  • opencollective prompt: remove .lastocprint file from fs (b96ad56)
  • opencollective prompt: extract weekday to variable (790d27a)
  • opencollective prompt: set terminal cols to 80 (badc32d)
  • opencollective prompt: fix azure ci (ea0039a)
  • opencollective prompt: lint (ea906d8)
  • opencollective prompt: clear package.json modifications (f080733)
  • opencollective prompt: add prompt in postinstall script (dd9d528)

Ast

  • change tooltip property from uglify to terser (ea9e4b8)
  • replace requires and inits for uglify with terser (3011a6c)
  • replace UglifyJsPlugin with TerserPlugin (21da35f)

Chore

  • cli: move constants to a separate file (#​798)
  • deps: upgrade lerna to fix vulnerabilities & update webpack-dev-server (#​823)
  • docs: removes scaffolding docs from the root (8c1db03)
  • junit: reverting the junit.xml (80fd4fa)
  • tests: updated test regex, some helper scripts (#​809)
  • types: add type information (#​791)
  • replace instances of uglify with terser (f9cb8ce)
  • use actual package name in comment about removing uglify (b1cf4cc)
  • align file in the same way as other terserPlugin test fixtures (b6c6484)
  • remove gitHash from package.json (2af08be)

Docs

  • contributing: fixes dead link (#​835)
  • opencollective prompt: improve code clarity (55992a4)
  • packages: adds downloads/month shield (6a0375a)
  • readme: adds contributors shield (958d064)
  • README: phrase change (3a11a16)
  • README: add link to webpack-scaffold-starter (e35a194)
  • README: update scaffolding links (74179b5)
  • serve: link to webpack-dev-server (cb68b1b)
  • serve: update docs to use webpack-dev-server (f7451d4)
  • replace tooltip link to terser plugin (4254730)
  • replace Uglify with Terser in comments (799577d)
  • replace UglifyJsPlugin with TerserPlugin in migrate docs (326f783)

Enh

  • webpack-scaffold: improve prompt and doc (#​794)

Fix

  • add: add types (d4ce6f2)
  • add: fix runTransform (dbc3e9e)
  • add: lint code (163b309)
  • add: add handling for topScope (1162cf5)
  • bin, serve: force default package export, add serve default (#​815)
  • init: refactored the init.ts success message (#​810)
  • scaffold: config file is always generated at the project root (#​801)
  • utils: refactors utils (7fe3543)
  • clear up comment about default function purpose (e48507d)
  • remove unused files (ec242ab)
  • reset files (9863445)
  • replace lookups for TerserPlugin in webpack.optimise (ef23fec)

Tests

  • update snapshots (ce9fbc8)
  • replace uglify with terser in ast-utils tests (73f493f)
  • migration: typescript (#​613)

Misc

  • Remove tslint in favour of eslint (#​834)
  • cli: refactor functions into utils and config dirs, merge yargs options (#​781)
  • utils: refactors scaffold (0b28fb3)

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 47e9d2f9bbfc0baa3cc2b33970f7d2d958861eac

chore(deps): update dependency parcel-bundler to v1.12.3

view details

push time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency parcel-bundler to v1.12.3

This PR contains the following updates:

Package Type Update Change
parcel-bundler devDependencies minor 1.10.0 -> 1.12.3

Release Notes

<details> <summary>parcel-bundler/parcel</summary>

v1.12.3

Compare Source

  • Downgrade all internal Babel packages to <7.4.0 because of bugs in that release.

v1.12.2

Compare Source

  • Fix depth option for detailed report

v1.12.1

Compare Source

Fixed
  • Correctly build dependency URLs (for CSS) Details
  • Fix bug with original null mappings Details
  • Regenerate all bundles and trigger an HMR page reload when a new bundle is created Details
  • Unescaped "." in regex for JSAsset Details
  • Open the specified host Details

v1.12.0

Compare Source

Added
  • CSS/SASS/LESS sourcemaps Details
  • Add Markdown support Details
  • Unhandled HMR updates should cause a page reload Details
  • Enables jsx plugin in case jsx syntax is used in js files Details
  • Add disabling of autoinstall globally via environment variable Details
  • Add support for chrome-extension:// protocol to bundle-url.js Details
  • Add support for Firefox's 'moz-extension://' protocol, to bundle-url.js Details
  • Generate source map files with long extentions (e.g. .js.map) Details
  • upgrade htmlnano dep Details
  • Default port to process.env.PORT Details
  • Inline process.browser for better code elimination Details
  • Detect files added to/removed from directories. Details
  • Implement depth option for detailed report Details
Fixed
  • Resolve package.browser in subfolders (with backslashes) Details
  • fix chokidar ignored regex Details
  • Defer throwing asset errors until after dependencies are handled. Details
  • fix(sourcemaps): Handle null mappings properly Details
  • Use Buffer.from Details
  • addURLDependency: use always relative path Details
  • reexporting + renaming when scopehoisting Details
  • Fix and reenable windows scope-hoisting tests Details
  • Fix for typescript asset invalidation Details
  • Fix hang up when a lot of parallel operation request the file system Details
  • Fix localRequire with package/path requests Details
  • Refactor htmlnano tests to test for filesize Details
  • pug Deprecated pretty Details
  • Fix pug test Details
  • Use the test to assert this.child.killed rather than checking time difference Details
  • Improve tests: symlink tests, Kotlin tests, and maybe test-util module Details
  • Handle empty html files Details
  • Fix HTMLAsset dependency tag with empty src value Details
  • Allow dotfiles to be served Details
  • Fix sourceMappingURL for bundles with multiple entry points Details
  • Fix absolute path importing in sass Details
  • Fix dependency list parsing in RustAsset for paths on Windows Details
  • For scope hoisting, Asset IDs cannot contain + or / (base64) Details
  • Send CORS headers when a file does not exist Details
  • Prevent circular deps from causing a stack overflow in HMR runtime Details
  • Fix postcss modules composes imports Details
  • fix: set default pragmaFrag option for JSX Details
  • Remove unnecessary return await Details
  • Fix scopehositing with nested dynamic imports Details
  • eslint: enable no-return-await Details
  • Throw meaningful error on undefined exports Details
  • Add helpful plugin errors Details
  • Fix HMR failure with js error on load Details

v1.11.0

Compare Source

Added
  • Add Kotlin asset support Details
  • Add --host option Details
  • Add support for HMR with elm-hot Details
  • Log dev server access for log level verbose or more Details
  • Process array of assets for JSON-LD Details
  • Extract workerfarm into separate package Details
  • Extract Logger into its own package Details
  • Extract watcher into its own package Details
  • Merge fs-watcher-child into Parcel's monorepo Details
Fixed
  • Use this.write and super.end for JSPackager Details
  • Make dynamic import name relative to the file importing it Details
  • update postcss and deps Details
  • catch css file not found Details
  • Treat webmanifest as an entry module Details
  • add debugger flag for non production builds in Elm Details
  • refactor: JSON.stringify replacer can not be boolean Details
  • Fix debug log files for certain locales Details
  • Scope hoisting renaming after babel transforms Details
  • Switch from toml to @​iarna/toml Details
  • Update deasync to 0.1.14 (Node 11 fix) Details
  • Skip external imports from processing Details
  • Don't lowercase attributes in html files Details
  • refactor: remove unnecessary not null check Details
  • Don't cache dynamic bundles that had a network error Details
  • Treeshake functions properly Details
  • Fix autoinstall of cssnano Details
  • Fix server when there is a dot in the path Details

v1.10.3

Compare Source

Fixed
  • Don't dedupe assets that are depended on in more than one bundle Details

v1.10.2

Compare Source

Added
  • Add <image> as a valid element type to bundle in <svg> tags Details
  • Resolving .postcssrc.json as a PostCSS config Details
  • Add loaders when bundling workers Details
Fixed
  • Fix hoist of modules with multiple aliases Details
  • Fix hoisting of optional require calls Details
  • Fix safari 10 compatibility for terser Details
  • Fix HMR for Pug assets Details
  • Don't load existing sourcemaps if sourcemaps are disabled Details
  • add missing --no-autoinstall flag to build command Details

v1.10.1

Compare Source

Fixed
  • Fix error when node.id is undefined instead of null

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha d46523f0b1813d59622270b3762ad9b3d894b8ef

chore(deps): update dependency ts-node to v8.3.0

view details

push time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency ts-node to v8.3.0

This PR contains the following updates:

Package Type Update Change
ts-node devDependencies minor 8.0.3 -> 8.3.0

Release Notes

<details> <summary>TypeStrong/ts-node</summary>

v8.3.0

Compare Source

Added

  • Support --prefer-ts-exts flag

v8.2.0

Compare Source

Added

  • Expand FS cache to all file system operations

Changed

  • Pass all files to "root scripts" TypeScript compiler option to improve performance

v8.1.1

Compare Source

Fixed

  • Remove realpath from TypeScript compiler to support existing use-cases without preserveSymlinks

v8.1.0

Compare Source

Added

  • Expose --log-error option for logging on TypeScript compilation issues
  • Cache file system lookup operations

Changed

  • Remove incremental and tsBuildInfoFile compiler options

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

afei

commit sha 589222c9f438da86c18e54689f4d76a8ddf27db2

NewExpression for constructor function which return object

view details

push time in 7 days

PR merged axetroy/vm.js

fix: NewExpression for constructor function which return object

更改了下if/else的顺序,以处理这种情况:

function P() {
  this.name = 1
  
  return {}
}

var p = new P()

具体见测试用例.

顺便问下,webpack.config.ts中:

externals: {
    "babel-types": "babel-types"
 }

这个用法是什么意思?😊

+31 -3

2 comments

2 changed files

wcflmy

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha d327a8cbdf4e845e651775590975c7f8cadeb35d

chore(deps): update dependency ts-loader to v6

view details

push time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency ts-loader to v6

This PR contains the following updates:

Package Type Update Change
ts-loader devDependencies major 5.4.5 -> 6.0.4

Release Notes

<details> <summary>TypeStrong/ts-loader</summary>

v6.0.4

Compare Source

v6.0.3

Compare Source

v6.0.2

Compare Source

v6.0.1

Compare Source

v6.0.0

Compare Source

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 24805c0838aa33954b980664a1d5d134e783f437

chore(deps): update dependency webpack to v4.35.3

view details

push time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency webpack to v4.35.3

This PR contains the following updates:

Package Type Update Change
webpack devDependencies minor 4.12.0 -> 4.35.3
@types/webpack devDependencies patch 4.4.0 -> 4.4.34

Release Notes

<details> <summary>webpack/webpack</summary>

v4.35.3

Compare Source

Bugfixes

  • update acorn to include import()

Performance

  • Improved runtime performance for large JSON modules

v4.35.2

Compare Source

Bugfixes

  • realResource must match absolute paths

v4.35.1

Compare Source

Bugfixes

  • add realResource condition in rule to schema
  • fixes order of loaders when using a matchResource

v4.35.0

Compare Source

Features

  • ProgressPlugin limit output to column width in terminal
  • add Watching.suspend and Watching.resume
  • add splitChunks.automaticNameMaxLength and splitChunks.cacheGroups[x].automaticNameMaxLength

Bugfixes

  • webworker target now respect publicPath when loading chunks
  • holey arrays of configs will fail the validation

v4.34.0

Compare Source

Features

  • Error message when parsing fails shows used loaders now

Bugfixes

  • importing the namespace object from non-ESM (CJS) modules no longer leads to an warning
  • Error message in HMR logging works for Firefox too now
  • Parser understands block scoping now

v4.33.0

Compare Source

Features

  • add target: "electron-preload" for electron 5
    • renderer should use target: "web" in electron 5

Bugfixes

  • fix HMR rejection of removed and readded self-accepted modules

v4.32.2

Compare Source

Bugfixes

  • fix some weird schema validation messages
  • fix problem in production mode (sideEffects + concatenation) which caused reexported values to become undefined (bug since 4.32.0)

v4.32.1

Compare Source

Bugfixes

  • reverts some changes from 4.32.0 which accidentally disabled some CommonJs features when using node: false.

v4.32.0

Compare Source

Features

  • Added this.mode to the loader API, to allow loaders to choose defaults by mode similar to webpacks options
  • Stack Trace for Errors in rejected Promises from import() now includes the stack from where the import() was called

Bugfixes

  • The Parser can now analyse identifiers in rest patterns too
    • const { a, ...rest } = obj, where rest conflicts with an imported binding etc.
  • node: false now correctly disables __dirname and __filename too
  • __dirname and __filename now no longer evaluates to something when node: false or node.__file/dirname: false is set
    • if(__dirname !== "") is no longer replaced with if(true) in such scenarios
  • prefetching chunks is no executed after the initial module evaluation
    • This allows to override i. e. __webpack_public_path__ for prefetching too
  • fixes a runtime crash when using side-effect-free modules with the DllPlugin

Contribute

  • CI tests node.js 12 now too
  • webpack-bot now merges dependabot PRs automatically when status checks succeed

v4.31.0

Compare Source

Features

  • add errors-warnings stats preset

Bugfixes

  • allow top-level return in non-ESM modules

v4.30.0

Compare Source

Features

  • add amd: false to disable AMD support
  • Compilation.hooks.finishModules now also allows async plugins
  • add output.libraryTarget: "system" to compile for SystemJs environment

Bugfixes

  • fix generating a null id when concatenating an entry module in a different chunk
  • fix unneeded chunk references when splitting modules from chunks
  • fix parsing of function name in function scope

Performance

  • Lazy require some internal files
  • Faster way to generate function headers

Contributing

  • Run prettier on examples markdown

v4.29.6

Compare Source

Bugfixes

  • typeof __webpack_require__ and require.onError is no longer evaluated to undefined and evaluation is done at runtime instead.
  • this value in module.hot.accept with imported dependency is correctly preserved.
  • webassemblyjs updated to latest version

Contributing

  • added a linting step to ensure all dependencies resolve to npm modules

v4.29.5

Compare Source

Bugfixes

  • update @webassemblyjs to remove git dependency

v4.29.4

Compare Source

Bugfixes

  • update @webassemblyjs for bugfixes

v4.29.3

Compare Source

Bugfixes

  • fixes a bug where import() context uses __webpack_require__.e, but it is not in the runtime
  • WebpackErrors now console.log correctly in node > 10

v4.29.2

Compare Source

Internal changes

  • update dependencies

v4.29.1

Compare Source

Bugfixes

  • add missing __esModule flag when modules are concatenated, but without usage information

v4.29.0

Compare Source

Important Note for npm users

This release updates some dependencies, which may trigger a npm bug. See here for the webpack issue. The npm bug has been fixed, but a new npm version has not been released yet.

For workarounds see this comment.

Eventually the fix will be to upgrade npm once the bugfix is released.

Features

  • update acorn to v6
  • limit the number of in parallel written output files to 15
  • add output.futureEmitAssets which gives the emitting logic of webpack 5
    • assets are replaced with SizeOnlySources
    • reading assets after emitting is no longer allowed
    • This allows memory to be garbage-collected

v4.28.4

Compare Source

Bugfixes

  • ProfilingPlugin creates output path if not existing
  • fixed support for arrow function functions for optimization.minimizer
  • failed hooks is now also called when run() fails

v4.28.3

Compare Source

Bugfixes

  • ProfilingPlugin creates the output folder if necessary

v4.28.2

Compare Source

Bugfixes

  • fixes a crash when multiple IgnorePlugins are used

v4.28.1

Compare Source

Bugfixes

  • fix error in IgnorePlugin when no contextRegExp is passed

v4.28.0

Compare Source

Features

  • IgnorePlugin: checkResource has an additional context argument

Bugfixes

  • Injection of node.js globals has been disabled for .mjs files as it's crashing

v4.27.1

Compare Source

Bugfixes

  • v4.27.0 accidentially introduced a breaking change. This reverts the change and restores the original behavior for splitChunks enforce.

v4.27.0

Compare Source

Features

  • When using functions as plugins they are now also called with the compiler as parameter
    • This make it possible to use arrow functions as plugins
  • splitChunks.maxSize now emits a warning when minSize > maxSize
  • Loaders have now access to a getResolve method to create their own resolver function with custom options

Bugfixes

  • splitChunks.cacheGroups.xxx.enforce now behaves as documented and enforce chunk creation
  • splitChunks.cacheGroups.xxx.enforce now no longer deletes minSize for maxSize
  • fixes a bug where splitChunks cause cacheGroups to be incorrectly merged when using the same name
    • now conditions are considered per cacheGroup
    • the correct cache group comment is displayed in stats
  • fixes a bug which causes providedExports not to be updated on rebuilds when using export * from

v4.26.1

Compare Source

Bugfixes

  • fix a bug where splitChunks.maxSize causes a hanging build
  • fix a bug where splitChunks.maxSize crashes when minSize > maxSize
  • fix a edgecase where splitChunks.maxSize can cause chunks bigger than minSize
  • remove unnecessary code from global builtin

v4.26.0

Compare Source

Features

  • Switch from uglify-es to terser as default minimizer

Note: While they are officially backward-compatible, it can still happen that a new bugs occurs with terser, which break your production builds. Make sure to validate your production builds after upgrading to this version. (Note that it's always a good idea to test your output assets before deploying.)

If you want to report bugs to terser (https://github.com/terser-js/terser), please provide a minimal repro case with minimized and non-minimized code. You can configure webpack to generate non-minimized code in production mode by setting optimization.minimize: false. When reporting a bug to terser, best report a repro case which doesn't require running webpack and is reproducible with only the terser command line.

See optimization.minimizers configuration option to switch back to uglify-es or provide additional minimize options for terser.

v4.25.1

Compare Source

Bugfixes

  • fix replacement of compile-time constant expression when expression is a wrapped expression (string prefix and/or suffix).

v4.25.0

Compare Source

Features

  • add format option to DllPlugin to allow generating formated manifest json
  • add flags to ProgressPlugin to add and remove information
    • entrypoint counter was added, but disabled by default to avoid breaking change

Bugfixes

  • fix code generation for context dependencies when replacing compile-time constant expressions
  • disable the effect of the ProvidePlugin for .mjs

v4.24.0

Compare Source

Features

  • allow to pass no dependencies to DefinePlugin runtime value
    • DefinePlugin.runtimeValue(() => {...}, true) is always evaluated
  • add module argument to DefinePlugin.runtimeValue

Bugfixes

  • update webassemblyjs dependency
  • fix bug when using entry names that look like numbers with HMR

v4.23.1

Compare Source

Bugfixes

  • add space when replacing expression with constant
    • i. e. for code like return'development'===process.env.NODE_ENV&&'foo'

v4.23.0

Compare Source

Features

  • add watchMode flag to Compiler to be able to detect watch mode in plugins
  • Prefer chunk names of entrypoints when merging chunks
  • add removedFiles property to Compiler to detect removed files

Bugfixes

  • publish declarations to npm
  • upgrade @webassemblyjs/* for bugfix
  • fix crash when using a side-effect-free wasm module in production mode

Internal changes

  • test on node.js 12
  • fix memory leak in test suite

v4.22.0

Compare Source

Features

  • Add support for evaluating && and || expressions

Bugfixes

  • fix problems where order of things where not deterministic

Performance

  • improve performance of chunk graph creation
    • this will improve rebuild performance in watch mode

v4.21.0

Compare Source

Features

  • add output.libraryTarget: "amd-require" which generates a AMD require([], ...) wrapper instead of a define([], ...) wrapper
  • support arrays of strings passed to output.library, which exposes the library to a subproperty

Bugfixes

  • fix cases where __webpack_require__.e is used at runtime but is not defined in the bundle
  • fix behavior of externals of global type

Performance

  • Some performance improvements to the chunk graph generation

v4.20.2

Compare Source

Bugfixes

  • keep comments in export default in concatenated modules

v4.20.1

Compare Source

Bugfixes

  • fix crash when using libraryTarget: "amd" without library name

v4.20.0

Compare Source

Bugfixes

  • update dependencies (webpack-sources, @​webassemblyjs/*)
  • Handle errors thrown in renderes without crashing

Internal changes

  • Extended typings
  • Update internal structure of options schema to generate typings
    • Note: this exposed an issue in webpack-cli, you need to upgrade to webpack-cli@3.1.1

v4.19.1

Compare Source

Bugfixes

  • Internal requested filename for import() with target: "electron-main" uses correct path separator on windows (This fixes a problem with filemappings in vscode)
  • devtool: "source-map" and variants generate SourceMaps when output file is .mjs
  • browser field as object is used when using target: "electron-renderer"
  • Comments near export default are preserved
  • Passing an array as externals value, now works correctly as documented

v4.19.0

Compare Source

Bugfixes

  • Create a hash of the whole runtime code for the chunk/contenthash of entry chunks
    • Before hash was (incorrectly) calculated from (some) inputs

v4.18.1

Compare Source

Bugfixes

  • Update tapable version, which fixes a memory leak

v4.18.0

Compare Source

Features

  • Upgrade webassemblyjs dependency

v4.17.3

Compare Source

Bugfixes

  • Fix exit code when multiple CLIs are installed
  • No longer recommend installing webpack-command, but still support it when installed

v4.17.2

Compare Source

Bugfixes

  • fix a spacing issue with the ProgressPlugin on some terminals
  • force-upgrade webpack-sources for performance improvement (was already in semver range)

v4.17.1

Compare Source

Bugfixes

  • fix missing reexports in export * in a concatenated module

v4.17.0

Compare Source

Features

  • allow to provide custom functions to IgnorePlugin

Bugfixes

  • remove incorrectly emitted dead code in concatenated modules
  • chunk ids contribute to [contenthash] for js assets
  • fix crash when trying to export globals in concatenated modules

v4.16.5

Compare Source

Bugfixes

  • (resource) query now works in import()
  • adding entries multiple times now overrides properly
    • This caused an issue when using webpack-hot-client and runtime chunks

v4.16.4

Compare Source

Bugfixes

  • fix chunkAsset hook in HotModuleReplacementPlugin

v4.16.3

Compare Source

Bugfixes

  • fix missing modules with chunks nested in unneeded require.ensures.

v4.16.2

Compare Source

Bugfixes

  • handle module.require like require
  • emit warnings for module.main.require and module.parent.require
  • sort reasons in stats
  • handle errors when parsing manifest in DllReferencePlugin

v4.16.1

Compare Source

Bugfixes

  • fix reversed order when using optimization.occurrenceOrder (default in production mode)
  • output.hashDigest has a more relaxed schema
  • update dependencies
  • fix typo in schema

Internal changes

  • typescript 3 rc

v4.16.0

Compare Source

Features

  • add wasm support for electron-renderer target
  • add optimization.moduleIds and optimization.chunkIds options to replace other options

Bugfixes

  • fix order of side effect evaluation for exported dependencies in side-effect-free modules
  • fix some typos
  • Support the case when passing an array to output.library.root and using a devtool
  • fix a HMR logging message issue in browser where err.stack is not set
  • add missing default extensions to the DllReferencePlugin
  • module/chunk ids in Stats now sort numerical when they are numbers
  • fix lost chunk reasons when using optimization.splitChunks.maxSize
  • fix cases where Dependency.loc is a string instead of an object

Deprecations

  • deprecated Dependency.compare in favor of compareLocations
  • optimization.namedModules is now deprecated
  • optimization.hashedModuleIds is now deprecated
  • optimization.namedChunks is now deprecated
  • optimization.occurrenceOrder is now deprecated

v4.15.1

Compare Source

Bugfixes

  • fix memory leaks when using HMR and in SplitChunksPlugin cache
  • fix undefined automaticNameDelimiter in cache groups when using maxSize
  • fix ProfilingPlugin for node.js 10 and 6

v4.15.0

Compare Source

Features:

  • add maxSize option for splitChunks (experimental)
  • add a helpful error when using wasm in a initial chunk

v4.14.0

Compare Source

Features

  • add new hook Compilation.dependencyReference to modify the dependency references

Bugfixes

  • Allow chunks to emit multiple assets to the same filename when hash matches

v4.13.0

Compare Source

Features

  • the DefinePlugin now supports runtimeValues to pass computed values with dependencies that can change over time
  • added optimization.hashedModuleIds
  • crossOrigin for chunks is only set when really needed
  • added per chunk group indicies
  • updated enhanced-resolve
    • You can now use absolute paths as keys to resolve.alias

Bugfixes

  • when delegating CLI the bin fields are used
  • when assigning indicies sync dependencies are now walked before async dependencies

v4.12.2

Compare Source

Bugfixes

  • fix crash when using invalid JSON with HMR
  • fix missing modules when a side-effect-free package is root of module concatenation
  • update chunkhash when entry-chunks list or prefetched chunks change

v4.12.1

Compare Source

Bugfixes

  • fix problem causing a stack overflow when reexporting circular
  • fix a bug causing missing modules in bundles when using splitChunks
  • run modules in correct order when using import with sideEffects: false
    • added order to DependencyReference
  • add missing support for [chunkhash] in target: "webworker"
  • fix bug causing incomplete profile (race condition) with the ProfilingPlugin

Internal changes

  • Added more types
  • lint files on commit with lint-staged

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

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

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


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+2 -2

1 comment

1 changed file

renovate[bot]

pr closed time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency ts-loader to v5.4.5

This PR contains the following updates:

Package Type Update Change
ts-loader devDependencies minor 5.3.3 -> 5.4.5

Release Notes

<details> <summary>TypeStrong/ts-loader</summary>

v5.4.5

Compare Source

v5.4.4

Compare Source

v5.4.3

Compare Source

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 3c6e2c1a7ce9bff056494aa7b1017f002d1febfa

chore(deps): update dependency ts-loader to v5.4.5

view details

push time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 522ac73a42164f161ee0523f163567806e108457

chore(deps): update dependency pretty-quick to v1.11.1

view details

push time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency pretty-quick to v1.11.1

This PR contains the following updates:

Package Type Update Change
pretty-quick devDependencies minor 1.6.0 -> 1.11.1

Release Notes

<details> <summary>azz/pretty-quick</summary>

v1.11.1

Compare Source

Bug Fixes

v1.11.0

Compare Source

Features

v1.10.0

Compare Source

Features

v1.9.0

Compare Source

Features

v1.8.1

Compare Source

Bug Fixes

v1.8.0

Compare Source

Features

v1.7.0

Compare Source

Features

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 6f271aefc99aef516b909f611771ead5a48131c6

chore(deps): update dependency parcel-bundler to v1.10.0 [security]

view details

push time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency parcel-bundler to v1.10.0 [security]

This PR contains the following updates:

Package Type Update Change
parcel-bundler devDependencies minor 1.8.1 -> 1.10.0

GitHub Vulnerability Alerts

CVE-2018-14731

An issue was discovered in HMRServer.js in Parcel parcel-bundler. Attackers are able to steal developer's code because the origin of requests is not checked by the WebSocket server, which is used for HMR (Hot Module Replacement). Anyone can receive the HMR message sent by the WebSocket server via a ws://127.0.0.1 connection (with a random TCP port number) from any origin. The random port number can be found by connecting to http://127.0.0.1 and reading the "new WebSocket" line in the source code.

GHSA-5j4m-89xf-mf5p / WS-2018-0203

Versions of parcel-bundler before 1.10.0 are missing origin validation on the websocket server.


Release Notes

<details> <summary>parcel-bundler/parcel</summary>

v1.10.0

Compare Source

Added
  • Babel 7 support Details
  • HTML Bundle loader Details
  • Process inline scripts and styles Details
  • Added LD+JSON asset Details
  • Add support for Elm assets Details
  • Support optionally bundling node_modules for --target=node Details
  • Import existing sourcemaps Details
  • Import GraphQL files from other GraphQL files Details
  • Automatically strip flow types Details
  • SugarSS Support Details
  • Minimal verbose/debug mode Details
  • User friendly error on failed entrypoint resolving Details
  • Support for SharedWorkers Details
  • Add Object Spread to default Babel transforms Details
  • Update help message for --public-url Details
  • Support HTML5 history mode routing Details
  • Split cache into multiple folders for faster FS Details
  • Support array in package.json's sideEffects property Details
  • Added stub for require.cache Details
  • Added dotenv-expand to expand env vars Details
  • Update Typescript to v3.0.0 Details
  • Add --no-content-hash option to build cli Details
Fixed
  • Exit process on Error Details
  • Fix non updating asset hashes Details
  • Fix Sass url resolving Details
  • WorkerFarm Cleanup Details
  • Fix infinite loop in resolver when using ~/... imports Details
  • Default to Dart-Sass and add backwards compatibility for node-sass Details
  • Validate if a PostCSS config is an object Details
  • VSCode syntax highlight with PostCSS in Vue Component style tag Details
  • Glob support in less imports Details
  • Generate unique certificate serial number Details
  • Keep name in sourcemaps mappings Details
  • Replace slack with spectrum badge Details
  • Use esnext with typescript and scope hoisting Details
  • Fix sourcemaps failing on refresh/hmr Details
  • Support sideEffect: false with CommonJS Details
  • Get only existing package main Details
  • Load minified built-in if available Details
  • Support error strings in workers Details
  • Terminate workerfarm when using the API Details
  • Fix comment typo Details
  • Fix dotenv package error Details
  • Don't resolve slash and tilde paths twice Details
  • bundle name hash-key generation is not environment independent Details
  • Don't modify script nodes with text/html type Details
  • Fix various windows bugs & tests Details
  • Cross-platform deterministic asset ids Details
  • allow empty string in meta Details
  • fixed watch not working when NODE_ENV is production Details
  • Incorrect casing for Logger require Details
  • fix security vuln Details
  • Remove wasm-gc from RustAsset Details

</details>


Renovate configuration

:date: Schedule: "" (UTC).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 01fe7aca7ec303417a5b003b61dc29ebe07f71a4

chore(deps): update dependency @types/lodash to v4.14.136

view details

push time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency @types/lodash to v4.14.136

This PR contains the following updates:

Package Type Update Change
@types/lodash devDependencies patch 4.14.109 -> 4.14.136

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 7c2a62e5e263a0972e440c02abd58a8ba37e4d9f

chore(deps): update dependency nyc to v14

view details

push time in 7 days

PR merged axetroy/vm.js

chore(deps): update dependency nyc to v14

This PR contains the following updates:

Package Type Update Change
nyc devDependencies major 13.3.0 -> 14.1.1

Release Notes

<details> <summary>istanbuljs/nyc</summary>

v14.1.1

Compare Source

Bug Fixes

v14.1.0

Compare Source

Bug Fixes
Features

v14.0.0

Compare Source

Bug Fixes
Features

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

0 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 979d3795b75badb412e17428364234502e566d77

chore(deps): update dependency prettier to v1.18.2

view details

push time in 7 days

PR merged axetroy/vm.js

Update dependency prettier to v1.18.2

This PR contains the following updates:

Package Type Update Change
prettier (source) devDependencies minor 1.13.5 -> 1.18.2

Release Notes

<details> <summary>prettier/prettier</summary>

v1.18.2

Compare Source

diff

v1.18.1

Compare Source

diff

  • TypeScript: Add trailing comma in tsx, only for arrow function (#​6190 by @​sosukesuzuki)

    Prettier inserts a trailing comma to single type parameter for arrow functions in tsx, since v 1.18. But, this feature inserts a trailing comma to type parameter for besides arrow functions too (e.g, function , interface). This change fix it.

    <!-- prettier-ignore -->

    // Input
    interface Interface1<T> {
      one: "one";
    }
    function function1<T>() {
      return "one";
    }
    
    // Output (Prettier 1.18.0)
    interface Interface1<T,> {
      one: "one";
    }
    function function1<T,>() {
      return "one";
    }
    
    // Output (Prettier 1.18.1)
    interface Interface1<T> {
      one: "one";
    }
    function function1<T>() {
      return "one";
    }
    
  • Config: Match dotfiles in config overrides (#​6194 by @​duailibe)

    When using overrides in the config file, Prettier was not matching dotfiles (files that start with .). This was fixed in 1.18.1

v1.18.0

Compare Source

diff

🔗 Release Notes

v1.17.1

Compare Source

diff

  • Range: Fix ranged formatting not using the correct line width (#​6050 by @​mathieulj)

    <!-- prettier-ignore -->

    // Input
    function f() {
      if (true) {
        call("this line is 79 chars", "long", "it should", "stay as single line");
      }
    }
    
    // Output (Prettier 1.17.0 run with --range-start 30 --range-end 110)
    function f() {
      if (true) {
        call(
          "this line is 79 chars",
          "long",
          "it should",
          "stay as single line"
        );
      }
    }
    
    // Output (Prettier 1.17.0 run without range)
    function f() {
      if (true) {
        call("this line is 79 chars", "long", "it should", "stay as single line");
      }
    }
    
    // Output (Prettier 1.17.1 with and without range)
    function f() {
      if (true) {
        call("this line is 79 chars", "long", "it should", "stay as single line");
      }
    }
    
  • JavaScript: Fix closure compiler typecasts ([#​5947] by @​jridgewell)

    If a closing parenthesis follows after a typecast in an inner expression, the typecast would wrap everything to the that following parenthesis.

    <!-- prettier-ignore -->

    // Input
    test(/** @&#8203;type {!Array} */(arrOrString).length);
    test(/** @&#8203;type {!Array} */((arrOrString)).length + 1);
    
    // Output (Prettier 1.17.0)
    test(/** @&#8203;type {!Array} */ (arrOrString.length));
    test(/** @&#8203;type {!Array} */ (arrOrString.length + 1));
    
    // Output (Prettier 1.17.1)
    test(/** @&#8203;type {!Array} */ (arrOrString).length);
    test(/** @&#8203;type {!Array} */ (arrOrString).length + 1);
    
  • JavaScript: respect parenthesis around optional chaining before await (#​6087 by @​evilebottnawi)

    <!-- prettier-ignore -->

    // Input
    async function myFunction() {
      var x = (await foo.bar.blah)?.hi;
    }
    
    // Output (Prettier 1.17.0)
    async function myFunction() {
      var x = await foo.bar.blah?.hi;
    }
    
    // Output (Prettier 1.17.1)
    async function myFunction() {
      var x = (await foo.bar.blah)?.hi;
    }
    
  • Handlebars: Fix {{else}}{{#if}} into {{else if}} merging (#​6080 by @​dcyriller)

    <!-- prettier-ignore -->

    // Input
    {{#if a}}
      a
    {{else}}
      {{#if c}}
        c
      {{/if}}
      e
    {{/if}}
    
    // Output (Prettier 1.17.0)
    {{#if a}}
      a
    {{else if c}}
      c
    e
    {{/if}}
    
    // Output (Prettier 1.17.1)
    Code Sample
    {{#if a}}
      a
    {{else}}
      {{#if c}}
        c
      {{/if}}
      e
    {{/if}}
    
  • JavaScript: Improved multiline closure compiler typecast comment detection (#​6070 by @​yangsu)

    Previously, multiline closure compiler typecast comments with lines that start with * weren't flagged correctly and the subsequent parenthesis were stripped. Prettier 1.17.1 fixes this issue.

    <!-- prettier-ignore -->

    // Input
    const style =/**
     * @&#8203;type {{
     *   width: number,
     * }}
    */({
      width,
    });
    
    // Output (Prettier 1.17.0)
    const style =/**
     * @&#8203;type {{
     *   width: number,
     * }}
    */ {
      width,
    };
    
    // Output (Prettier 1.17.1)
    const style =/**
     * @&#8203;type {{
     *   width: number,
     * }}
    */({
      width,
    });
    

v1.17.0

Compare Source

diff

🔗 Release Notes

v1.16.4

Compare Source

diff

  • API: Fix prettier.getSupportInfo() reporting babel parser for older versions of Prettier. (#​5826 by @​azz)

    In version 1.16.0 of Prettier, the babylon parser was renamed to babel. Unfortunately this lead to a minor breaking change: prettier.getSupportInfo('1.15.0') would report that it supported babel, not babylon, which breaks text-editor integrations. This has now been fixed.

v1.16.3

Compare Source

diff

  • TypeScript: Revert "Update typescript-estree to new package name" (#​5818 by @​ikatyang)

    There's an internal change introduced in Prettier 1.16.2, which updated typescript-estree to its new package name, but unfortunately it broke the output so we reverted it as a temporary workaround for now.

    <!-- prettier-ignore -->

    // Input
    export default {
      load<K, T>(k: K, t: T) {
        return {k, t};
      }
    }
    
    // Output (Prettier 1.16.2)
    export default {
      load(k: K, t: T) {
        return { k, t };
      }
    };
    
    // Output (Prettier 1.16.3)
    export default {
      load<K, T>(k: K, t: T) {
        return { k, t };
      }
    };
    

v1.16.2

Compare Source

diff

  • CLI: Fix CI detection to avoid unwanted TTY behavior (#​5804 by @​kachkaev)

    In Prettier 1.16.0 and 1.16.1, --list-different and --check logged every file in some CI environments, instead of just unformatted files. This unwanted behavior is now fixed.

  • HTML: Do not format non-normal whitespace as normal whitespace (#​5797 by @​ikatyang)

    Previously, only non-breaking whitespaces (U+00A0) are marked as non-normal whitespace, which means other non-normal whitespaces such as non-breaking narrow whitespaces (U+202F) could be formatted as normal whitespaces, which breaks the output. We now follow the spec to exclude all non-ASCII whitespace from whitespace normalization.

    (· represents a non-breaking narrow whitespace)

    <!-- prettier-ignore -->

    <!-- Input -->
    Prix·:·32·€
    
    <!-- Output (Prettier 1.16.1) -->
    Prix : 32 €
    
    <!-- Output (Prettier 1.16.2) -->
    Prix·:·32·€
    
  • JavaScript: Fix record type cast comment detection (#​5793 by @​yangsu)

    Previously, type cast comments with record types were ignored and prettier stripped the subsequent parens. Prettier 1.16.2 handles these cases correctly.

    <!-- prettier-ignore -->

    // Input
    const v = /** @&#8203;type {{key: number}} */ (value);
    
    // Output (Prettier 1.16.1)
    const v = /** @&#8203;type {{key: number}} */ value;
    
    // Output (Prettier 1.16.2)
    const v = /** @&#8203;type {{key: number}} */ (value);
    

v1.16.1

Compare Source

diff

  • JavaScript: Do not format functions with arguments as react hooks (#​5778 by @​SimenB)

    The formatting added in Prettier 1.16 would format any function receiving an arrow function and an array literal to match React Hook's documentation. Prettier will now format this the same as before that change if the arrow function receives any arguments.

    <!-- prettier-ignore -->

    // Input
    ["red", "white", "blue", "black", "hotpink", "rebeccapurple"].reduce(
      (allColors, color) => {
        return allColors.concat(color);
      },
      []
    );
    
    // Output (Prettier 1.16.0)
    ["red", "white", "blue", "black", "hotpink", "rebeccapurple"].reduce((
      allColors,
      color
    ) => {
      return allColors.concat(color);
    }, []);
    
    // Output (Prettier 1.16.1)
    ["red", "white", "blue", "black", "hotpink", "rebeccapurple"].reduce(
      (allColors, color) => {
        return allColors.concat(color);
      },
      []
    );
    
  • JavaScript: Add necessary parentheses for decorators (#​5785 by @​ikatyang)

    Parentheses for decorators with nested call expressions are optional for legacy decorators but they're required for decorators in the current proposal.

    <!-- prettier-ignore -->

    // Input
    class X {
      @&#8203;(computed().volatile())
      prop
    }
    
    // Output (Prettier 1.16.0)
    class X {
      @&#8203;computed().volatile()
      prop
    }
    
    // Output (Prettier 1.16.1)
    class X {
      @&#8203;(computed().volatile())
      prop
    }
    
  • TypeScript: Stable parentheses for function type in the return type of arrow function (#​5790 by @​ikatyang)

    There's a regression introduced in 1.16 that parentheses for function type in the return type of arrow function were kept adding/removing. Their parentheses are always printed now.

    <!-- prettier-ignore -->

    // Input
    const foo = (): (() => void) => (): void => null;
    const bar = (): () => void => (): void => null;
    
    // First Output (Prettier 1.16.0)
    const foo = (): () => void => (): void => null;
    const bar = (): (() => void) => (): void => null;
    
    // Second Output (Prettier 1.16.0)
    const foo = (): (() => void) => (): void => null;
    const bar = (): () => void => (): void => null;
    
    // Output (Prettier 1.16.1)
    const foo = (): (() => void) => (): void => null;
    const bar = (): (() => void) => (): void => null;
    
  • MDX: Correctly recognize inline JSX (#​5783 by @​ikatyang)

    Previously, some inline JSXs are wrongly recognized as block HTML/JSX, which causes unexpected behaviors. This issue is now fixed.

    <!-- prettier-ignore -->

    <!-- Input -->
    _foo <InlineJSX /> bar_
    
    <!-- Output (Prettier 1.16.0) -->
    _foo
    
    <InlineJSX /> bar_
    
    <!-- Output (Prettier 1.16.1) -->
    _foo <InlineJSX /> bar_
    

v1.16.0

Compare Source

diff

🔗 Release Notes

v1.15.3

Compare Source

diff

  • JavaScript: support htm (#​5565)
  • JavaScript: support logical assignment operator (#​5489)
  • JavaScript: do not add quotes for interpolation-only attributes in html templates (#​5544)
  • JavaScript: add missing parenthesis for binary in optional member (#​5543)
  • JavaScript: fix a parser regression (#​5530)
  • JavaScript: improve union types with leading comments (#​5575)
  • TypeScript: support BigInt (#​5546, #​5577)
  • TypeScript: inline method decorators should stay inlined (#​5444)
  • TypeScript: do not change module into namespace and break/hug their body correctly (#​5551)
  • TypeScript: do not add invalid semicolon for construct in interface with // prettier-ignore (#​5469)
  • HTML: do not touch comments (#​5525)
  • HTML: preserve bogus comments <! ... >/<? ... > (#​5565)
  • HTML: support IE conditional start/end comment (#​5470)
  • HTML: do not add extra indentation for js template in <script> (#​5527)
  • HTML: leading spaces for the first interpolation in <textarea> are sensitive (#​5468)
  • HTML: preserve content for element in <pre> correctly (#​5473)
  • HTML: correct column for error code frame (#​5553)
  • Angular: support interpolation in attributes (#​5573)
  • Angular: do not print colon for then and else in *ngIf (#​5542)
  • Angular/Vue: do not normalize tag/attribute names (#​5526, #​5549)
  • Vue: preserve custom block (#​5458)
  • Vue: remove unnecessary semicolon and preserve necessary semicolon for single expression in event bindings (#​5519)
  • Vue: group slot-scope correctly (#​5563)
  • Markdown: do not trim content in inline-math (#​5485)
  • Markdown: add more category to CJK regex (#​5480)
  • SCSS: update parser for performance improvements (#​5481)
  • YAML: preserve the first document head end marker --- (#​5502)
  • API: resolve ignored field correctly in .getFileInfo() with absolute filePath (#​5570)
  • API/CLI: fix a bug that caches for .js config files did not respect .clearConfigCache() (#​5558)
  • API/CLI: ignore unset in .editorconfig (#​5550)
  • CLI: report status code 0 for --list-different + --write (#​5512)
  • Standalone: fix a regression for browser compatibility (#​5560)

v1.15.2

Compare Source

diff

  • CLI: allow flag overriding (#​5390)
  • JavaScript: do not apply test call formatting to arrow function without body (#​5366)
  • JavaScript: do not duplicate comments in styled-components (#​5416)
  • JavaScript: do not indent comments behind variable declarations (#​5434)
  • JavaScript: inline property decorator should stay inline (#​5364, #​5423)
  • JavaScript: treat createSelector as function composition (#​5430)
  • Flow: do not move flow comment for function argument to its body (#​5435)
  • Flow: force-break interface body to be consistent with TypeScript interface (#​5432)
  • Flow/TypeScript: remove extra indentation for extends (#​5432)
  • TypeScript: distinguish module and namespace correctly (#​5432)
  • HTML: handle CRLF correctly (#​5393)
  • HTML: handle <pre> with interpolation (#​5400)
  • HTML: preserve content for <template> with unknown lang (#​5388)
  • HTML: preserve incomplete IE conditional comments (#​5429)
  • HTML: preserve unterminated IE conditional comments (#​5424)
  • HTML: treat capital element as custom element (#​5395)
  • Angular: add missing parens for pipe in ternary (#​5397)
  • Angular: correctly print unary expression with operator + (#​5405)
  • Angular: correctly handle parens (#​5387)
  • Angular/Vue: whitespaces between interpolation and text are sensitive (#​5396)
  • Vue: do not add invalid semicolon for v-on attribute value (#​5418)
  • SCSS: do not crash on grid value (#​5394)
  • Markdown: handle CRLF correctly (#​5414)
  • Markdown: identify CJK correctly (#​5402)
  • MDX: treat JSX code block same as in Markdown (#​5391)

v1.15.1

Compare Source

diff

  • Markdown: do not keep increasing backslashes for dollar sign (#​5358)

v1.15.0

Compare Source

diff

🔗 Release Notes

v1.14.3

Compare Source

diff

v1.14.2

Compare Source

diff

  • YAML: fix the line ending issue on Windows (#​4957)
  • TypeScript: better error message (#​4947)

v1.14.1

Compare Source

diff

  • JavaScript: add parens for unary in bind (#​4950)
  • JavaScript: format angular jasmine it("should ...", fakeAsync(() => { ... correctly. (#​4954)
  • JavaScript: Revert this/super blacklist for function composition heuristic (#​4936)
  • JavaScript: no extra space on Flow interface method named static (#​4910)
  • JavaScript: no extra line break in destructed assignment of ternary (#​4932)
  • Flow: print ObjectTypeInternalSlot with both flow/babel parsers (#​4869)
  • TypeScript: no invalid output for ImportType in TypeReference (#​4939)
  • YAML: do not throw on duplicate merge key (#​4931)
  • YAML: no duplicate comments in mappingValue (#​4931)
  • YAML: print end comment in nested mapping correctly (#​4918)
  • YAML: do not put singleline values on a separate line from the key (#​4916)
  • YAML: prefer dash as document separator (#​4921)
  • API: update support info for Flow (#​4943)
  • CLI: ignore .git, .svn and .hg directories (#​4906)
  • CLI: support TOML configuration files (#​4877)

v1.14.0

Compare Source

diff

🔗 Release Notes

v1.13.7

Compare Source

diff

  • Remove calls to eval("require") in the distributed code (#​4766)

v1.13.6

Compare Source

diff

  • Upgrade Flow parser to 0.75.0 (#​4649 and #​4727)
  • Preserve type parameters of import-types in TypeScript (#​4662)
  • Preserve parens for type casting for sub-item (#​4648)

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha c68efa8e73293dd9a2a8f0815e48e1adfc2b4935

chore(deps): update dependency @types/node to v9.6.49

view details

push time in 7 days

PR merged axetroy/vm.js

Update dependency @types/node to v9.6.49

This PR contains the following updates:

Package Type Update Change
@types/node devDependencies patch 9.6.47 -> 9.6.49

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, 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.


  • [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

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

+1 -1

1 comment

1 changed file

renovate[bot]

pr closed time in 7 days

push eventaxetroy/vm.js

Renovate Bot

commit sha 6d6f9032460c8be41b06cc8d7d496bd68da800c6

chore(deps): update dependency coveralls to v3.0.4

view details

push time in 7 days

more