bare 1.28.0 → 1.28.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,20 +9,22 @@ npm i -g bare
9
9
  ## Usage
10
10
 
11
11
  ```console
12
- bare [flags] <filename> [...args]
12
+ bare [flags] [filename] [...args]
13
13
 
14
14
  Evaluate a script or start a REPL session if no script is provided.
15
15
 
16
16
  Arguments:
17
- <filename> The name of a script to evaluate
18
- [...args] Additional arguments made available to the script
17
+ [filename] Optional. The name of a script to evaluate
18
+ [...args] Additional arguments made available to the script
19
19
 
20
20
  Flags:
21
- --version|-v Print the Bare version
22
- --eval|-e <script> Evaluate an inline script
23
- --print|-p <script> Evaluate an inline script and print the result
24
- --inspect Activate the inspector
25
- --help|-h Show help
21
+ --version|-v Print the Bare version
22
+ --eval|-e <script> Evaluate an inline script
23
+ --print|-p <script> Evaluate an inline script and print the result
24
+ --inspect Activate the inspector
25
+ --inspect-port <port> Configure the port on which the inspector will run (default: 9229)
26
+ --expose-gc Expose garbage collection APIs
27
+ --help|-h Show help
26
28
  ```
27
29
 
28
30
  The specified `<script>` or `<filename>` is run using `Module.load()`. For more information on the module system and the supported formats, see <https://github.com/holepunchto/bare-module>.
package/bin/bare CHANGED
File without changes
package/index.d.ts CHANGED
@@ -29,7 +29,7 @@ interface Bare extends EventEmitter<BareEvents> {
29
29
  readonly pid: number
30
30
  exitCode: number
31
31
  readonly version: string
32
- readonly versions: { readonly [package: string]: string }
32
+ readonly versions: { readonly [library: string]: string }
33
33
 
34
34
  exit(code?: number): never
35
35
  suspend(linger?: number): void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare",
3
- "version": "1.28.0",
3
+ "version": "1.28.3",
4
4
  "description": "Small and modular JavaScript runtime for desktop and mobile",
5
5
  "exports": {
6
6
  ".": {
@@ -28,8 +28,8 @@
28
28
  "url": "https://github.com/holepunchto/bare/issues"
29
29
  },
30
30
  "homepage": "https://github.com/holepunchto/bare",
31
- "dependencies": {
32
- "bare-runtime": "1.28.0"
31
+ "optionalDependencies": {
32
+ "bare-runtime": "1.28.3"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "bare-buffer": "*",