bare 1.28.0 → 1.28.1

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.
Files changed (2) hide show
  1. package/README.md +10 -8
  2. package/package.json +2 -2
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare",
3
- "version": "1.28.0",
3
+ "version": "1.28.1",
4
4
  "description": "Small and modular JavaScript runtime for desktop and mobile",
5
5
  "exports": {
6
6
  ".": {
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "homepage": "https://github.com/holepunchto/bare",
31
31
  "dependencies": {
32
- "bare-runtime": "1.28.0"
32
+ "bare-runtime": "1.28.1"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "bare-buffer": "*",