Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:postmanlabs/uvm into feature/wor…
Browse files Browse the repository at this point in the history
…ker-threads
  • Loading branch information
codenirvana committed May 3, 2024
2 parents 9c9d5d4 + c7e9b71 commit ab2dbc7
Show file tree
Hide file tree
Showing 8 changed files with 10,331 additions and 2,504 deletions.
293 changes: 149 additions & 144 deletions .eslintrc

Large diffs are not rendered by default.

16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
schedule:
- cron: '0 12 * * 0'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
name: Lint
Expand All @@ -18,10 +22,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: 'npm'

- name: Install
Expand All @@ -38,10 +42,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: 'npm'

- name: Install
Expand All @@ -56,11 +60,11 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [10, 12]
node-version: [16, 18]
os: [ubuntu-latest, windows-latest]
include:
- coverage: true
node-version: 16
node-version: 20
os: ubuntu-latest

steps:
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
unreleased:
new feature:
- Replaced Node VM with Worker threads
breaking changes:
- GH-668 Dropped support for Node < v16
chores:
- Add GitHub CI and remove Travis
- GH-667 Added GitHub CI and remove Travis
- Updated ESLint rules
- Updated dependencies

2.1.1:
date: 2022-07-12
Expand Down
2 changes: 1 addition & 1 deletion lib/bridge-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const toString = String.prototype.toString;
* @param {String|Buffer} bootCode
* @return {String}
*/
/* eslint-disable max-len */
/* eslint-disable @stylistic/js/max-len */
module.exports = function (bootCode) {
return `;
(function (emit) {
Expand Down
Loading

0 comments on commit ab2dbc7

Please sign in to comment.