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

fix!: refactor v7 internal state and options logic, fixes #764 #779

Merged
merged 38 commits into from
Jul 18, 2024
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
3d7bca6
chore: rename *.js -> *.ts
broofa Jun 10, 2024
1b933c9
chore: add tsconfig file
broofa Jun 10, 2024
694cd50
chore: port parse, stringify, v1 to TS
broofa Jun 10, 2024
a69cbd1
chore: port v1ToV6, v6ToV1 to TS
broofa Jun 10, 2024
c6d8008
chore: port v4, v6ToV1 to TS
broofa Jun 10, 2024
d910db9
chore: more TS porting
broofa Jun 10, 2024
3e3abe9
chore: more TS porting
broofa Jun 10, 2024
c248e47
chore: more TS porting
broofa Jun 11, 2024
17675e8
chore: more TS porting
broofa Jun 11, 2024
95f9d5e
chore: add tsconfig and update build script
broofa Jun 11, 2024
651a959
fix: crypto imports
broofa Jun 12, 2024
fcf627d
chore: restore browser builds
broofa Jun 12, 2024
323f598
chore: move tests to src dir
broofa Jun 14, 2024
629b3df
chore: switch to node test runner
broofa Jun 17, 2024
c2da22f
chore: update test names
broofa Jun 17, 2024
1ff5491
chore: unit tests pass, switch to node test runner
broofa Jun 17, 2024
9c1f639
chore: eslint for typescript
broofa Jun 17, 2024
4d2ffa8
chore: inline source maps
broofa Jun 18, 2024
5ea99d6
chore: update imports
broofa Jun 18, 2024
20b0864
Merge branch 'main' into ts_port
broofa Jun 18, 2024
27c15df
Merge branch 'main' into ts_port
broofa Jun 18, 2024
4b7f9e1
Merge branch 'main' into ts_port
broofa Jun 18, 2024
0b4bb1a
chore: update optionalDevDependencies
broofa Jun 19, 2024
8e287d5
chore: node:crypto -> crypto
broofa Jun 19, 2024
e5a95ef
chore: update esm-browser example
broofa Jun 19, 2024
45e0d06
chore: rm unused eslint directive
broofa Jun 28, 2024
4b2af31
chore: fix browser tests
broofa Jun 28, 2024
d659b0a
chore: rm .vscode
broofa Jun 30, 2024
1d5f7c1
chore: switch eslint config to ESM
broofa Jun 30, 2024
6c0af42
chore: add vscode configuration
broofa Jun 30, 2024
8ba0686
chore: update build comment
broofa Jun 30, 2024
9be7e05
chore: rm comment from types
broofa Jun 30, 2024
574a6be
chore: update package-lock
broofa Jun 30, 2024
f8b253a
Merge branch 'main' into ts_port
broofa Jul 15, 2024
6e540f3
fix: encapsulate v7 options behavior, fixes #764
broofa Jul 16, 2024
894b629
fix: seq-related tests
broofa Jul 16, 2024
11b7f02
Merge branch 'main' into ts_fix_768
broofa Jul 17, 2024
050a7cf
fix: reset offset
broofa Jul 18, 2024
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
Prev Previous commit
Next Next commit
chore: fix browser tests
broofa committed Jun 28, 2024

Verified

This commit was signed with the committer’s verified signature.
broofa Robert Kieffer
commit 4b2af3189556a5839d1416b22c8c0421af18e684
30 changes: 17 additions & 13 deletions examples/browser-rollup/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions examples/browser-rollup/rollup.config.js
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@ module.exports = [
output: {
file: 'dist/all.js',
format: 'iife',
globals: { crypto: 'crypto' },
},
plugins,
},
@@ -16,6 +17,7 @@ module.exports = [
output: {
file: 'dist/v1.js',
format: 'iife',
globals: { crypto: 'crypto' },
},
plugins,
},
@@ -24,6 +26,7 @@ module.exports = [
output: {
file: 'dist/v4.js',
format: 'iife',
globals: { crypto: 'crypto' },
},
plugins,
},
@@ -32,6 +35,7 @@ module.exports = [
output: {
file: 'dist/v7.js',
format: 'iife',
globals: { crypto: 'crypto' },
},
plugins,
},
30 changes: 17 additions & 13 deletions examples/browser-webpack/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/browser-webpack/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
resolve: {
extensions: ['*', '.js'],
fallback: { crypto: false },
},
entry: {
all: './example-all.js',
2 changes: 1 addition & 1 deletion wdio.conf.js
Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@ const capabilities = [
},
];

exports.config = {
export const config = {
specs: ['./test/browser/browser.spec.js'],

user: process.env.BROWSERSTACK_USER,