Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump test262, actions/setup-node v4 #1304

Merged
merged 3 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Build and test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
- run: npm install
- run: npm test
- run: npm run test:test262
4 changes: 2 additions & 2 deletions acorn-loose/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {readFile, writeFile} from "node:fs/promises"
import buble from "@rollup/plugin-buble"
import {promises as fs} from "node:fs"

const copy = (from, to) => ({
async writeBundle() { await fs.writeFile(to, await fs.readFile(from)) }
async writeBundle() { await writeFile(to, await readFile(from)) }
})

export default {
Expand Down
4 changes: 2 additions & 2 deletions acorn-walk/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {readFile, writeFile} from "node:fs/promises"
import buble from "@rollup/plugin-buble"
import {promises as fs} from "node:fs"

const copy = (from, to) => ({
async writeBundle() { await fs.writeFile(to, await fs.readFile(from)) }
async writeBundle() { await writeFile(to, await readFile(from)) }
})

export default {
Expand Down
4 changes: 2 additions & 2 deletions acorn/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {readFile, writeFile} from "node:fs/promises"
import buble from "@rollup/plugin-buble"
import {promises as fs} from "node:fs"

const copy = (from, to) => ({
async writeBundle() { await fs.writeFile(to, await fs.readFile(from)) }
async writeBundle() { await writeFile(to, await readFile(from)) }
})

export default [
Expand Down
3 changes: 3 additions & 0 deletions bin/test262.unsupported-features
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
decorators
explicit-resource-management
regexp-modifiers
import-assertions
import-attributes
12 changes: 12 additions & 0 deletions bin/test262.whitelist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language/import/import-assertions/README.md (default)
language/import/import-assertions/README.md (strict mode)
language/import/import-attributes/README.md (default)
language/import/import-attributes/README.md (strict mode)
language/module-code/import-assertions/README.md (default)
language/module-code/import-assertions/README.md (strict mode)
language/module-code/import-attributes/README.md (default)
language/module-code/import-attributes/README.md (strict mode)
language/expressions/dynamic-import/import-assertions/README.md (default)
language/expressions/dynamic-import/import-assertions/README.md (strict mode)
language/expressions/dynamic-import/import-attributes/README.md (default)
language/expressions/dynamic-import/import-attributes/README.md (strict mode)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"eslint-plugin-n": "^16.3.1",
"eslint-plugin-promise": "^6.1.1",
"rollup": "^3.29.2",
"test262": "git+https://github.com/tc39/test262.git#59bad89898333fdadf4af25519e7bdb43ec295ac",
"test262": "git+https://github.com/tc39/test262.git#c3a326ace810e7c80a4e1b8df8c8b704ed223c28",
"test262-parser-runner": "^0.5.0"
}
}