Skip to content

Commit

Permalink
regen
Browse files Browse the repository at this point in the history
  • Loading branch information
justjake committed Sep 2, 2024
1 parent a052cba commit ab3d206
Show file tree
Hide file tree
Showing 76 changed files with 58 additions and 158 deletions.
3 changes: 1 addition & 2 deletions doc/@jitl/quickjs-asmjs-mjs-release-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ Variant-specific Emscripten build flags:
"--pre-js $(TEMPLATES)/pre-extension.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s WASM=0",
"-s SINGLE_FILE=1",
"-s STACK_SIZE=32MB"
"-s SINGLE_FILE=1"
]
```

Expand Down
1 change: 0 additions & 1 deletion doc/@jitl/quickjs-ng-wasmfile-debug-asyncify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ Variant-specific Emscripten build flags:
"--pre-js $(TEMPLATES)/pre-sourceMapJson.js",
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s 5MB",
"-O3"
]
```
Expand Down
1 change: 0 additions & 1 deletion doc/@jitl/quickjs-ng-wasmfile-debug-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ Variant-specific Emscripten build flags:
"--pre-js $(TEMPLATES)/pre-sourceMapJson.js",
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s 5MB",
"-DQTS_SANITIZE_LEAK",
"-fsanitize=leak",
"-g2"
Expand Down
3 changes: 1 addition & 2 deletions doc/@jitl/quickjs-ng-wasmfile-release-asyncify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ Variant-specific Emscripten build flags:
"--closure 1",
"-s FILESYSTEM=0",
"--pre-js $(TEMPLATES)/pre-extension.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s 5MB"
"--pre-js $(TEMPLATES)/pre-wasmMemory.js"
]
```

Expand Down
3 changes: 1 addition & 2 deletions doc/@jitl/quickjs-ng-wasmfile-release-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ Variant-specific Emscripten build flags:
"--closure 1",
"-s FILESYSTEM=0",
"--pre-js $(TEMPLATES)/pre-extension.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s 5MB"
"--pre-js $(TEMPLATES)/pre-wasmMemory.js"
]
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ Variant-specific Emscripten build flags:
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s SINGLE_FILE=1",
"-s 5MB",
"-O3"
]
```
Expand Down
1 change: 0 additions & 1 deletion doc/@jitl/quickjs-singlefile-browser-debug-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ Variant-specific Emscripten build flags:
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s SINGLE_FILE=1",
"-s 5MB",
"-DQTS_SANITIZE_LEAK",
"-fsanitize=leak",
"-g2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ Variant-specific Emscripten build flags:
"-s FILESYSTEM=0",
"--pre-js $(TEMPLATES)/pre-extension.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s SINGLE_FILE=1",
"-s 5MB"
"-s SINGLE_FILE=1"
]
```

Expand Down
3 changes: 1 addition & 2 deletions doc/@jitl/quickjs-singlefile-browser-release-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ Variant-specific Emscripten build flags:
"-s FILESYSTEM=0",
"--pre-js $(TEMPLATES)/pre-extension.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s SINGLE_FILE=1",
"-s 5MB"
"-s SINGLE_FILE=1"
]
```

Expand Down
1 change: 0 additions & 1 deletion doc/@jitl/quickjs-singlefile-cjs-debug-asyncify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ Variant-specific Emscripten build flags:
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s SINGLE_FILE=1",
"-s 5MB",
"-O3"
]
```
Expand Down
1 change: 0 additions & 1 deletion doc/@jitl/quickjs-singlefile-cjs-debug-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ Variant-specific Emscripten build flags:
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s SINGLE_FILE=1",
"-s 5MB",
"-DQTS_SANITIZE_LEAK",
"-fsanitize=leak",
"-g2"
Expand Down
3 changes: 1 addition & 2 deletions doc/@jitl/quickjs-singlefile-cjs-release-asyncify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ Variant-specific Emscripten build flags:
"-s FILESYSTEM=0",
"--pre-js $(TEMPLATES)/pre-extension.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s SINGLE_FILE=1",
"-s 5MB"
"-s SINGLE_FILE=1"
]
```

Expand Down
3 changes: 1 addition & 2 deletions doc/@jitl/quickjs-singlefile-cjs-release-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ Variant-specific Emscripten build flags:
"-s FILESYSTEM=0",
"--pre-js $(TEMPLATES)/pre-extension.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s SINGLE_FILE=1",
"-s 5MB"
"-s SINGLE_FILE=1"
]
```

Expand Down
1 change: 0 additions & 1 deletion doc/@jitl/quickjs-singlefile-mjs-debug-asyncify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ Variant-specific Emscripten build flags:
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s SINGLE_FILE=1",
"-s 5MB",
"-O3"
]
```
Expand Down
1 change: 0 additions & 1 deletion doc/@jitl/quickjs-singlefile-mjs-debug-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ Variant-specific Emscripten build flags:
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s SINGLE_FILE=1",
"-s 5MB",
"-DQTS_SANITIZE_LEAK",
"-fsanitize=leak",
"-g2"
Expand Down
3 changes: 1 addition & 2 deletions doc/@jitl/quickjs-singlefile-mjs-release-asyncify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ Variant-specific Emscripten build flags:
"-s FILESYSTEM=0",
"--pre-js $(TEMPLATES)/pre-extension.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s SINGLE_FILE=1",
"-s 5MB"
"-s SINGLE_FILE=1"
]
```

Expand Down
3 changes: 1 addition & 2 deletions doc/@jitl/quickjs-singlefile-mjs-release-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ Variant-specific Emscripten build flags:
"-s FILESYSTEM=0",
"--pre-js $(TEMPLATES)/pre-extension.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s SINGLE_FILE=1",
"-s 5MB"
"-s SINGLE_FILE=1"
]
```

Expand Down
1 change: 0 additions & 1 deletion doc/@jitl/quickjs-wasmfile-debug-asyncify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ Variant-specific Emscripten build flags:
"--pre-js $(TEMPLATES)/pre-sourceMapJson.js",
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s 5MB",
"-O3"
]
```
Expand Down
1 change: 0 additions & 1 deletion doc/@jitl/quickjs-wasmfile-debug-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ Variant-specific Emscripten build flags:
"--pre-js $(TEMPLATES)/pre-sourceMapJson.js",
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s 5MB",
"-DQTS_SANITIZE_LEAK",
"-fsanitize=leak",
"-g2"
Expand Down
3 changes: 1 addition & 2 deletions doc/@jitl/quickjs-wasmfile-release-asyncify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ Variant-specific Emscripten build flags:
"--closure 1",
"-s FILESYSTEM=0",
"--pre-js $(TEMPLATES)/pre-extension.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s 5MB"
"--pre-js $(TEMPLATES)/pre-wasmMemory.js"
]
```

Expand Down
3 changes: 1 addition & 2 deletions doc/@jitl/quickjs-wasmfile-release-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ Variant-specific Emscripten build flags:
"--closure 1",
"-s FILESYSTEM=0",
"--pre-js $(TEMPLATES)/pre-extension.js",
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
"-s 5MB"
"--pre-js $(TEMPLATES)/pre-wasmMemory.js"
]
```

Expand Down
2 changes: 1 addition & 1 deletion doc/quickjs-emscripten-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ Compiled to pure Javascript, no WebAssembly required.
| library | quickjs | The original [bellard/quickjs](https://github.com/bellard/quickjs) library. Version [2024-02-14+36911f0d](https://github.com/bellard/quickjs/commit/36911f0d3ab1a4c190a4d5cbe7c2db225a455389) vendored to quickjs-emscripten on 2024-06-15. |
| releaseMode | release | Optimized for performance; use when building/deploying your application. |
| syncMode | sync | The default, normal build. Note that both variants support regular async functions. |
| emscriptenInclusion | asmjs | The C library code is compiled to Javascript, no WebAssembly used. Sometimes called "asmjs". This is the slowest possible option, and is intended for constrained environments that do not support WebAssembly, like quickjs-for-quickjs. |
| emscriptenInclusion | asmjs | The C library code is compiled to Javascript, no WebAssembly used. Sometimes called "asmjs". This is the slowest possible option, and is intended for constrained environments that do not support WebAssembly, like quickjs-for-quickjs. |
| exports | import | Has these package.json export conditions |

***
Expand Down
8 changes: 4 additions & 4 deletions doc/quickjs-emscripten-core/classes/QuickJSAsyncContext.md
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ socket.on("data", chunk => {

#### Source

[packages/quickjs-emscripten-core/src/context.ts:1423](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1423)
[packages/quickjs-emscripten-core/src/context.ts:1431](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1431)

***

Expand Down Expand Up @@ -505,7 +505,7 @@ socket.write(dataLifetime?.value)

#### Source

[packages/quickjs-emscripten-core/src/context.ts:1406](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1406)
[packages/quickjs-emscripten-core/src/context.ts:1414](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1414)

***

Expand Down Expand Up @@ -643,7 +643,7 @@ See [EvalFlags](../exports.md#evalflags) for number semantics

#### Source

[packages/quickjs-emscripten-core/src/context.ts:1432](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1432)
[packages/quickjs-emscripten-core/src/context.ts:1440](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1440)

***

Expand Down Expand Up @@ -1611,7 +1611,7 @@ properties.

#### Source

[packages/quickjs-emscripten-core/src/context.ts:1428](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1428)
[packages/quickjs-emscripten-core/src/context.ts:1436](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1436)

***

Expand Down
8 changes: 4 additions & 4 deletions doc/quickjs-emscripten-core/classes/QuickJSContext.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ socket.on("data", chunk => {

#### Source

[packages/quickjs-emscripten-core/src/context.ts:1423](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1423)
[packages/quickjs-emscripten-core/src/context.ts:1431](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1431)

***

Expand Down Expand Up @@ -521,7 +521,7 @@ socket.write(dataLifetime?.value)

#### Source

[packages/quickjs-emscripten-core/src/context.ts:1406](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1406)
[packages/quickjs-emscripten-core/src/context.ts:1414](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1414)

***

Expand Down Expand Up @@ -625,7 +625,7 @@ interrupted, the error will have name `InternalError` and message

#### Source

[packages/quickjs-emscripten-core/src/context.ts:1432](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1432)
[packages/quickjs-emscripten-core/src/context.ts:1440](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1440)

***

Expand Down Expand Up @@ -1469,7 +1469,7 @@ properties.

#### Source

[packages/quickjs-emscripten-core/src/context.ts:1428](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1428)
[packages/quickjs-emscripten-core/src/context.ts:1436](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1436)

***

Expand Down
4 changes: 2 additions & 2 deletions doc/quickjs-emscripten-core/exports.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ by the runtime.

### InterruptHandler

> **InterruptHandler**: (`runtime`) => `boolean` \| `undefined`
> **InterruptHandler**: (`runtime`) => `boolean` \| `undefined` \| `void`
Callback called regularly while the VM executes code.
Determines if a VM's execution should be interrupted.
Expand All @@ -248,7 +248,7 @@ Determines if a VM's execution should be interrupted.

#### Returns

`boolean` \| `undefined`
`boolean` \| `undefined` \| `void`

`true` to interrupt JS execution inside the VM.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ Error thrown if [QuickJSContext#unwrapResult](../../../classes/QuickJSContext.md

- [Extends](QuickJSUnwrapError.md#extends)
- [Constructors](QuickJSUnwrapError.md#constructors)
- [new QuickJSUnwrapError(cause, context)](QuickJSUnwrapError.md#new-quickjsunwraperrorcause-context)
- [new QuickJSUnwrapError(cause)](QuickJSUnwrapError.md#new-quickjsunwraperrorcause)
- [Properties](QuickJSUnwrapError.md#properties)
- [cause](QuickJSUnwrapError.md#cause)
- [context?](QuickJSUnwrapError.md#context)
- [name](QuickJSUnwrapError.md#name)

## Extends
Expand All @@ -24,16 +23,14 @@ Error thrown if [QuickJSContext#unwrapResult](../../../classes/QuickJSContext.md

## Constructors

### new QuickJSUnwrapError(cause, context)
### new QuickJSUnwrapError(cause)

> **new QuickJSUnwrapError**(`cause`, `context`?): [`QuickJSUnwrapError`](QuickJSUnwrapError.md)
> **new QuickJSUnwrapError**(`cause`): [`QuickJSUnwrapError`](QuickJSUnwrapError.md)
#### Parameters

**cause**: `unknown`

**context?**: [`QuickJSContext`](../../../classes/QuickJSContext.md)

#### Returns

[`QuickJSUnwrapError`](QuickJSUnwrapError.md)
Expand All @@ -58,16 +55,6 @@ Error thrown if [QuickJSContext#unwrapResult](../../../classes/QuickJSContext.md

***

### context?

> **context**?: [`QuickJSContext`](../../../classes/QuickJSContext.md)
#### Source

[packages/quickjs-emscripten-core/src/errors.ts:10](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/errors.ts#L10)

***

### name

> **name**: `string` = `"QuickJSUnwrapError"`
Expand Down
8 changes: 4 additions & 4 deletions doc/quickjs-emscripten/classes/QuickJSAsyncContext.md
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ socket.on("data", chunk => {

#### Source

[packages/quickjs-emscripten-core/src/context.ts:1423](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1423)
[packages/quickjs-emscripten-core/src/context.ts:1431](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1431)

***

Expand Down Expand Up @@ -505,7 +505,7 @@ socket.write(dataLifetime?.value)

#### Source

[packages/quickjs-emscripten-core/src/context.ts:1406](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1406)
[packages/quickjs-emscripten-core/src/context.ts:1414](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1414)

***

Expand Down Expand Up @@ -643,7 +643,7 @@ See [EvalFlags](../exports.md#evalflags) for number semantics

#### Source

[packages/quickjs-emscripten-core/src/context.ts:1432](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1432)
[packages/quickjs-emscripten-core/src/context.ts:1440](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1440)

***

Expand Down Expand Up @@ -1611,7 +1611,7 @@ properties.

#### Source

[packages/quickjs-emscripten-core/src/context.ts:1428](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1428)
[packages/quickjs-emscripten-core/src/context.ts:1436](https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/context.ts#L1436)

***

Expand Down
Loading

0 comments on commit ab3d206

Please sign in to comment.