You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/ISSUE_TEMPLATE/bug_report.yml
+5-13
Original file line number
Diff line number
Diff line change
@@ -10,27 +10,19 @@ body:
10
10
options:
11
11
- label: I have searched the existing issues
12
12
required: true
13
-
- label: I am not using version 13.x of node (if so, please upgrade)
13
+
- label: My issue title is descriptive and specific to the problem (i.e. search-engine friendly)
14
+
required: true
15
+
- label: I understand what an "MRE" is, and why providing one is important. (If not, [read this](https://stackoverflow.com/help/minimal-reproducible-example))
14
16
required: true
15
17
16
18
- type: textarea
17
19
attributes:
18
-
label: Description of the problem
19
-
validations:
20
-
required: false
21
-
22
-
- type: textarea
23
-
attributes:
24
-
label: Recipe for reproducing
25
-
description: '**IMPORTANT**: Failure to provide a [Minimal, Complete, and Verifiable](https://stackoverflow.com/help/minimal-reproducible-example) example will result in this issue being closed without further review.'
20
+
label: MRE and Description
21
+
description: '**IMPORTANT**: Failure to provide an MRE is likely to result in your issue being closed without comment.'
Please feel free to file GitHub Issues or propose Pull Requests. We're always happy to discuss improvements to this library!
3
+
## Development
4
4
5
-
## Testing
5
+
1. Clone this repo
6
+
2.`npm install` to install dev dependencies
7
+
3. VSCode is the recommended dev environment
6
8
7
-
```shell
8
-
npm test
9
-
```
9
+
- Includes "Build Watcher" and "Test Watcher" tasks (Terminal pane)
10
+
- (optional) Install the recommended extensions (Extensions sidebar)
11
+
12
+
4. Before submitting your PR, make sure tests pass:
10
13
11
-
## Releasing
14
+
-`npm test && npm run test:node`
12
15
13
-
Releases are supposed to be done from master, version bumping is automated through [`standard-version`](https://github.com/conventional-changelog/standard-version):
16
+
## README updates
17
+
18
+
**Do not edit README.md manually**. To make changes to the README:
19
+
20
+
1. Edit README_js.md
21
+
2. Run `npm run docs` to regenerate README.md
22
+
3. If using VSCode, it's
23
+
24
+
## Testing
14
25
15
26
```shell
16
-
npm run release -- --dry-run # verify output manually
17
-
npm run release # follow the instructions from the output of this command
|[`buffer`]|`Array \| Buffer` If specified, uuid will be written here in byte-form, starting at `offset`|
295
+
|[`buffer`]|`Uint8Array` If provided, binary UUID is written into the array, starting at `offset`|
296
296
|[`offset` = 0]|`Number` Index to start writing UUID bytes in `buffer`|
297
297
|_returns_| UUID `String` if no `buffer` is specified, otherwise returns `buffer`|
298
298
@@ -367,7 +367,7 @@ Create an RFC version 7 (random) UUID
367
367
|[`options.random = (random)`]|`Array` of 16 random bytes (0-255) used to generate other fields, above |
368
368
|[`options.rng`]| Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |
369
369
|[`options.seq = (random)`]| 32-bit sequence `Number` between 0 - 0xffffffff. This may be provided to help ensure uniqueness for UUIDs generated within the same millisecond time interval. Default = random value. |
370
-
|[`buffer`]|`Array \| Buffer` If specified, uuid will be written here in byte-form, starting at `offset`|
370
+
|[`buffer`]|`Uint8Array` If provided, binary UUID is written into the array, starting at `offset`|
371
371
|[`offset` = 0]|`Number` Index to start writing UUID bytes in `buffer`|
372
372
|_returns_| UUID `String` if no `buffer` is specified, otherwise returns `buffer`|
|[`buffer`]|`Array \| Buffer` If specified, uuid will be written here in byte-form, starting at `offset`|
304
+
|[`buffer`]|`Uint8Array` If provided, binary UUID is written into the array, starting at `offset`|
305
305
|[`offset` = 0]|`Number` Index to start writing UUID bytes in `buffer`|
306
306
|_returns_| UUID `String` if no `buffer` is specified, otherwise returns `buffer`|
307
307
@@ -376,7 +376,7 @@ Create an RFC version 7 (random) UUID
376
376
|[`options.random = (random)`]|`Array` of 16 random bytes (0-255) used to generate other fields, above |
377
377
|[`options.rng`]| Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |
378
378
|[`options.seq = (random)`]| 32-bit sequence `Number` between 0 - 0xffffffff. This may be provided to help ensure uniqueness for UUIDs generated within the same millisecond time interval. Default = random value. |
379
-
|[`buffer`]|`Array \| Buffer` If specified, uuid will be written here in byte-form, starting at `offset`|
379
+
|[`buffer`]|`Uint8Array` If provided, binary UUID is written into the array, starting at `offset`|
380
380
|[`offset` = 0]|`Number` Index to start writing UUID bytes in `buffer`|
381
381
|_returns_| UUID `String` if no `buffer` is specified, otherwise returns `buffer`|
0 commit comments