doc-detective-common 1.3.0 → 1.3.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 (46) hide show
  1. package/.devcontainer/devcontainer.json +37 -37
  2. package/.github/workflows/npm-publish.yml +84 -58
  3. package/.github/workflows/npm-test.yml +44 -44
  4. package/LICENSE +21 -21
  5. package/README.md +81 -81
  6. package/dev/dev.js +2 -2
  7. package/package.json +34 -34
  8. package/src/index.js +4 -4
  9. package/src/schemas/dereferenceSchemas.js +100 -100
  10. package/src/schemas/index.js +31 -31
  11. package/src/schemas/output_schemas/config_v2.schema.json +22 -15
  12. package/src/schemas/output_schemas/find_v2.schema.json +1 -1
  13. package/src/schemas/output_schemas/spec_v2.schema.json +1 -1
  14. package/src/schemas/output_schemas/startRecording_v2.schema.json +46 -46
  15. package/src/schemas/output_schemas/test_v2.schema.json +1 -1
  16. package/src/schemas/src_schemas/analytics_v1.schema.json +584 -584
  17. package/src/schemas/src_schemas/checkLink_v1.schema.json +41 -41
  18. package/src/schemas/src_schemas/checkLink_v2.schema.json +54 -54
  19. package/src/schemas/src_schemas/click_v1.schema.json +59 -59
  20. package/src/schemas/src_schemas/config_v2.schema.json +790 -775
  21. package/src/schemas/src_schemas/context_v2.schema.json +55 -55
  22. package/src/schemas/src_schemas/find_v1.schema.json +136 -136
  23. package/src/schemas/src_schemas/find_v2.schema.json +78 -78
  24. package/src/schemas/src_schemas/goTo_v1.schema.json +29 -29
  25. package/src/schemas/src_schemas/goTo_v2.schema.json +45 -45
  26. package/src/schemas/src_schemas/httpRequest_v1.schema.json +114 -114
  27. package/src/schemas/src_schemas/httpRequest_v2.schema.json +166 -166
  28. package/src/schemas/src_schemas/matchText_v1.schema.json +31 -31
  29. package/src/schemas/src_schemas/moveMouse_v1.schema.json +59 -59
  30. package/src/schemas/src_schemas/runShell_v1.schema.json +34 -34
  31. package/src/schemas/src_schemas/runShell_v2.schema.json +55 -55
  32. package/src/schemas/src_schemas/saveScreenshot_v2.schema.json +40 -40
  33. package/src/schemas/src_schemas/screenshot_v1.schema.json +47 -47
  34. package/src/schemas/src_schemas/scroll_v1.schema.json +49 -49
  35. package/src/schemas/src_schemas/setVariables_v2.schema.json +37 -37
  36. package/src/schemas/src_schemas/spec_v2.schema.json +130 -130
  37. package/src/schemas/src_schemas/startRecording_v1.schema.json +54 -54
  38. package/src/schemas/src_schemas/startRecording_v2.schema.json +46 -46
  39. package/src/schemas/src_schemas/stopRecording_v1.schema.json +19 -19
  40. package/src/schemas/src_schemas/test_v2.schema.json +143 -143
  41. package/src/schemas/src_schemas/typeKeys_v2.schema.json +50 -50
  42. package/src/schemas/src_schemas/type_v1.schema.json +61 -61
  43. package/src/schemas/src_schemas/wait_v1.schema.json +41 -41
  44. package/src/schemas/src_schemas/wait_v2.schema.json +40 -40
  45. package/src/validate.js +43 -43
  46. package/test/schema.test.js +21 -21
@@ -1,37 +1,37 @@
1
- // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2
- // README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
3
- {
4
- "name": "Ubuntu",
5
- // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6
- "image": "mcr.microsoft.com/devcontainers/base:jammy",
7
- "features": {
8
- "ghcr.io/devcontainers/features/node:1": {}
9
- },
10
-
11
- // Features to add to the dev container. More info: https://containers.dev/features.
12
- // "features": {},
13
-
14
- // Use 'forwardPorts' to make a list of ports inside the container available locally.
15
- // "forwardPorts": [],
16
-
17
- // Use 'postCreateCommand' to run commands after the container is created.
18
- "postCreateCommand": "npm i",
19
-
20
- // Configure tool-specific properties.
21
- "customizations": {
22
- // Configure properties specific to VS Code.
23
- "vscode": {
24
- // Add the IDs of extensions you want installed when the container is created.
25
- "extensions": [
26
- "github.copilot",
27
- "aaron-bond.better-comments",
28
- "esbenp.prettier-vscode",
29
- "GitHub.vscode-pull-request-github",
30
- "streetsidesoftware.code-spell-checker"
31
- ]
32
- }
33
- }
34
-
35
- // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
36
- // "remoteUser": "root"
37
- }
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2
+ // README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
3
+ {
4
+ "name": "Ubuntu",
5
+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6
+ "image": "mcr.microsoft.com/devcontainers/base:jammy",
7
+ "features": {
8
+ "ghcr.io/devcontainers/features/node:1": {}
9
+ },
10
+
11
+ // Features to add to the dev container. More info: https://containers.dev/features.
12
+ // "features": {},
13
+
14
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
15
+ // "forwardPorts": [],
16
+
17
+ // Use 'postCreateCommand' to run commands after the container is created.
18
+ "postCreateCommand": "npm i",
19
+
20
+ // Configure tool-specific properties.
21
+ "customizations": {
22
+ // Configure properties specific to VS Code.
23
+ "vscode": {
24
+ // Add the IDs of extensions you want installed when the container is created.
25
+ "extensions": [
26
+ "github.copilot",
27
+ "aaron-bond.better-comments",
28
+ "esbenp.prettier-vscode",
29
+ "GitHub.vscode-pull-request-github",
30
+ "streetsidesoftware.code-spell-checker"
31
+ ]
32
+ }
33
+ }
34
+
35
+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
36
+ // "remoteUser": "root"
37
+ }
@@ -1,58 +1,84 @@
1
- # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
- # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3
-
4
- name: Node.js Package
5
-
6
- on:
7
- release:
8
- types: [created]
9
- workflow_dispatch:
10
-
11
- jobs:
12
- test:
13
- runs-on: ${{ matrix.os }}
14
- strategy:
15
- matrix:
16
- os: [ubuntu-latest]
17
- node: [18]
18
-
19
- steps:
20
- - uses: actions/checkout@v3
21
-
22
- - uses: actions/setup-node@v3
23
- with:
24
- node-version: ${{ matrix.node }}
25
-
26
- - name: Cache node_modules
27
- uses: actions/cache@v3
28
- with:
29
- # Cache key uses the contents of `package-lock.json` to identify unique cache
30
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
31
- restore-keys: |
32
- ${{ runner.OS }}-node-
33
- path: |
34
- node_modules
35
-
36
- - run: npm ci
37
-
38
- - run: npm test
39
-
40
- publish-npm:
41
- needs: test
42
- runs-on: ubuntu-latest
43
- steps:
44
- - uses: actions/checkout@v3
45
- - uses: actions/setup-node@v3
46
- - name: Cache node_modules
47
- uses: actions/cache@v3
48
- with:
49
- # Cache key uses the contents of `package-lock.json` to identify unique cache
50
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
51
- restore-keys: |
52
- ${{ runner.OS }}-node-
53
- path: |
54
- node_modules
55
- - run: npm ci
56
- - run: npm publish
57
- env:
58
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
1
+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
+ # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3
+
4
+ name: Publish NPM package
5
+
6
+ on:
7
+ release:
8
+ types: [created]
9
+ workflow_dispatch:
10
+
11
+ jobs:
12
+ test:
13
+ runs-on: ${{ matrix.os }}
14
+ strategy:
15
+ matrix:
16
+ os:
17
+ - ubuntu-latest
18
+ - windows-latest
19
+ - macos-latest
20
+ node:
21
+ - 16
22
+ - 18
23
+ - 20
24
+
25
+ steps:
26
+ - uses: actions/checkout@v3
27
+
28
+ - uses: actions/setup-node@v3
29
+ with:
30
+ node-version: ${{ matrix.node }}
31
+
32
+ - name: Cache node_modules
33
+ uses: actions/cache@v3
34
+ with:
35
+ # Cache key uses the contents of `package-lock.json` to identify unique cache
36
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
37
+ restore-keys: |
38
+ ${{ runner.OS }}-node-
39
+ path: |
40
+ node_modules
41
+
42
+ - run: npm ci
43
+
44
+ - run: npm test
45
+
46
+ publish-npm:
47
+ name: Publish to NPM
48
+ needs: test
49
+ runs-on: ubuntu-latest
50
+ steps:
51
+ - uses: actions/checkout@v3
52
+ - uses: actions/setup-node@v3
53
+ with:
54
+ registry-url: https://registry.npmjs.org/
55
+ - name: Cache node_modules
56
+ uses: actions/cache@v3
57
+ with:
58
+ # Cache key uses the contents of `package-lock.json` to identify unique cache
59
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
60
+ restore-keys: |
61
+ ${{ runner.OS }}-node-
62
+ path: |
63
+ node_modules
64
+ - run: npm ci
65
+ - run: npm publish
66
+ env:
67
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
68
+
69
+ update-docs:
70
+ name: Update documentation
71
+ needs: publish-npm
72
+ runs-on: ubuntu-latest
73
+ steps:
74
+ - uses: actions/checkout@v3
75
+
76
+ - name: Get package version
77
+ run: echo "VERSION=$(jq -r '.version' package.json)" >> $GITHUB_ENV
78
+
79
+ - name: Trigger GitHub Action in doc-detective.github.io
80
+ run: |
81
+ curl -XPOST -H "Authorization: token ${{ secrets.DOCS_PERSONAL_ACCESS_TOKEN }}" \
82
+ -H "Accept: application/vnd.github.everest-preview+json" \
83
+ "https://api.github.com/repos/doc-detective/doc-detective.github.io/dispatches" \
84
+ -d '{"event_type": "publish-pages-event", "client_payload": {"version": "${{ env.VERSION }}"} }'
@@ -1,44 +1,44 @@
1
- name: Run tests
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- pull_request:
8
- types: [opened, reopened, synchronize]
9
- workflow_dispatch:
10
-
11
- jobs:
12
- test:
13
- runs-on: ${{ matrix.os }}
14
- strategy:
15
- matrix:
16
- os:
17
- - ubuntu-latest
18
- - windows-latest
19
- - macos-latest
20
- node:
21
- - 16
22
- - 18
23
- - 20
24
-
25
- steps:
26
- - uses: actions/checkout@v3
27
-
28
- - uses: actions/setup-node@v3
29
- with:
30
- node-version: ${{ matrix.node }}
31
-
32
- - name: Cache node_modules
33
- uses: actions/cache@v3
34
- with:
35
- # Cache key uses the contents of `package-lock.json` to identify unique cache
36
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
37
- restore-keys: |
38
- ${{ runner.OS }}-node-
39
- path: |
40
- node_modules
41
-
42
- - run: npm ci
43
-
44
- - run: npm test
1
+ name: Run tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, reopened, synchronize]
9
+ workflow_dispatch:
10
+
11
+ jobs:
12
+ test:
13
+ runs-on: ${{ matrix.os }}
14
+ strategy:
15
+ matrix:
16
+ os:
17
+ - ubuntu-latest
18
+ - windows-latest
19
+ - macos-latest
20
+ node:
21
+ - 16
22
+ - 18
23
+ - 20
24
+
25
+ steps:
26
+ - uses: actions/checkout@v3
27
+
28
+ - uses: actions/setup-node@v3
29
+ with:
30
+ node-version: ${{ matrix.node }}
31
+
32
+ - name: Cache node_modules
33
+ uses: actions/cache@v3
34
+ with:
35
+ # Cache key uses the contents of `package-lock.json` to identify unique cache
36
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
37
+ restore-keys: |
38
+ ${{ runner.OS }}-node-
39
+ path: |
40
+ node_modules
41
+
42
+ - run: npm ci
43
+
44
+ - run: npm test
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 doc-detective
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2023 doc-detective
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,81 +1,81 @@
1
- # Doc Detective Common
2
-
3
- ![Current version](https://img.shields.io/github/package-json/v/doc-detective/doc-detective-common?color=orange)
4
- [![NPM Shield](https://img.shields.io/npm/v/doc-detective-common)](https://www.npmjs.com/package/doc-detective-common)
5
- [![Discord Shield](https://img.shields.io/badge/chat-on%20discord-purple)](https://discord.gg/mSCCRAhH)
6
-
7
- Shared resources for Doc Detective projects.
8
-
9
- ## Install
10
-
11
- ```bash
12
- npm i doc-detective-common
13
- ```
14
-
15
- ## Init
16
-
17
- ```javascript
18
- const common = require("doc-detective-common");
19
- ```
20
-
21
- ## Methods
22
-
23
- ### `.validate(schemaKey: string, object: object)`
24
-
25
- Validate that `object` matches the specified [schema](#.schemas) definition.
26
-
27
- Returns an object with the following schema:
28
-
29
- ```json
30
- {
31
- "valid": boolean,
32
- "errors": [
33
- {
34
- "instancePath": string,
35
- "schemaPath": string,
36
- "keyword": string,
37
- "params": [{Object}],
38
- "message": string
39
- }
40
- ]
41
- }
42
- ```
43
-
44
- #### Usage
45
-
46
- ```js
47
- const schemaKey = "runShell_v1";
48
- const object = {
49
- action: "runShell",
50
- command: "echo $username",
51
- };
52
- console.log(common.validate(schemaKey, object));
53
- ```
54
-
55
- ## Objects
56
-
57
- ### `.schemas`
58
-
59
- JSON schema definitions for various objects used throughout Doc Detective.
60
-
61
- Schema objects are located in the [`/schemas`](https://github.com/doc-detective/doc-detective-common/tree/schema/schemas) directory and made available through the `.schemas` object.
62
-
63
- ```json
64
- {
65
- "analytics_v1": {Object},
66
- "checkLink_v1": {Object},
67
- "click_v1": {Object},
68
- "find_v1": {Object},
69
- "goTo_v1": {Object},
70
- "httpRequest_v1": {Object},
71
- "matchText_v1": {Object},
72
- "moveMouse_v1": {Object},
73
- "runShell_v1": {Object},
74
- "screenshot_v1": {Object},
75
- "scroll_v1": {Object},
76
- "startRecording_v1": {Object},
77
- "stopRecording_v1": {Object},
78
- "type_v1": {Object},
79
- "wait_v1": {Object}
80
- }
81
- ```
1
+ # Doc Detective Common
2
+
3
+ ![Current version](https://img.shields.io/github/package-json/v/doc-detective/doc-detective-common?color=orange)
4
+ [![NPM Shield](https://img.shields.io/npm/v/doc-detective-common)](https://www.npmjs.com/package/doc-detective-common)
5
+ [![Discord Shield](https://img.shields.io/badge/chat-on%20discord-purple)](https://discord.gg/mSCCRAhH)
6
+
7
+ Shared resources for Doc Detective projects.
8
+
9
+ ## Install
10
+
11
+ ```bash
12
+ npm i doc-detective-common
13
+ ```
14
+
15
+ ## Init
16
+
17
+ ```javascript
18
+ const common = require("doc-detective-common");
19
+ ```
20
+
21
+ ## Methods
22
+
23
+ ### `.validate(schemaKey: string, object: object)`
24
+
25
+ Validate that `object` matches the specified [schema](#.schemas) definition.
26
+
27
+ Returns an object with the following schema:
28
+
29
+ ```json
30
+ {
31
+ "valid": boolean,
32
+ "errors": [
33
+ {
34
+ "instancePath": string,
35
+ "schemaPath": string,
36
+ "keyword": string,
37
+ "params": [{Object}],
38
+ "message": string
39
+ }
40
+ ]
41
+ }
42
+ ```
43
+
44
+ #### Usage
45
+
46
+ ```js
47
+ const schemaKey = "runShell_v1";
48
+ const object = {
49
+ action: "runShell",
50
+ command: "echo $username",
51
+ };
52
+ console.log(common.validate(schemaKey, object));
53
+ ```
54
+
55
+ ## Objects
56
+
57
+ ### `.schemas`
58
+
59
+ JSON schema definitions for various objects used throughout Doc Detective.
60
+
61
+ Schema objects are located in the [`/schemas`](https://github.com/doc-detective/doc-detective-common/tree/schema/schemas) directory and made available through the `.schemas` object.
62
+
63
+ ```json
64
+ {
65
+ "analytics_v1": {Object},
66
+ "checkLink_v1": {Object},
67
+ "click_v1": {Object},
68
+ "find_v1": {Object},
69
+ "goTo_v1": {Object},
70
+ "httpRequest_v1": {Object},
71
+ "matchText_v1": {Object},
72
+ "moveMouse_v1": {Object},
73
+ "runShell_v1": {Object},
74
+ "screenshot_v1": {Object},
75
+ "scroll_v1": {Object},
76
+ "startRecording_v1": {Object},
77
+ "stopRecording_v1": {Object},
78
+ "type_v1": {Object},
79
+ "wait_v1": {Object}
80
+ }
81
+ ```
package/dev/dev.js CHANGED
@@ -1,3 +1,3 @@
1
- const { validate, schemas } = require("../src/index");
2
-
1
+ const { validate, schemas } = require("../src/index");
2
+
3
3
  console.log(validate("find_v2",schemas.find_v2.examples[0]))
package/package.json CHANGED
@@ -1,34 +1,34 @@
1
- {
2
- "name": "doc-detective-common",
3
- "version": "1.3.0",
4
- "description": "Shared components for Doc Detective projects. ",
5
- "main": "src/index.js",
6
- "scripts": {
7
- "dereferenceSchemas": "node ./src/schemas/dereferenceSchemas.js",
8
- "test:full": "npm run dereferenceSchemas && jest",
9
- "test": "jest"
10
- },
11
- "precommit": "test:full",
12
- "repository": {
13
- "type": "git",
14
- "url": "git+https://github.com/doc-detective/doc-detective-common.git"
15
- },
16
- "author": "Manny Silva",
17
- "license": "MIT",
18
- "bugs": {
19
- "url": "https://github.com/doc-detective/doc-detective-common/issues"
20
- },
21
- "homepage": "https://github.com/doc-detective/doc-detective-common#readme",
22
- "devDependencies": {
23
- "jest": "^29.6.4"
24
- },
25
- "dependencies": {
26
- "@apidevtools/json-schema-ref-parser": "^10.1.0",
27
- "ajv": "^8.12.0",
28
- "ajv-errors": "^3.0.0",
29
- "ajv-formats": "^2.1.1",
30
- "ajv-keywords": "^5.1.0",
31
- "pre-commit": "^1.2.2",
32
- "uuid": "^9.0.0"
33
- }
34
- }
1
+ {
2
+ "name": "doc-detective-common",
3
+ "version": "1.3.1",
4
+ "description": "Shared components for Doc Detective projects. ",
5
+ "main": "src/index.js",
6
+ "scripts": {
7
+ "dereferenceSchemas": "node ./src/schemas/dereferenceSchemas.js",
8
+ "test:full": "npm run dereferenceSchemas && jest",
9
+ "test": "jest"
10
+ },
11
+ "precommit": "test:full",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/doc-detective/doc-detective-common.git"
15
+ },
16
+ "author": "Manny Silva",
17
+ "license": "MIT",
18
+ "bugs": {
19
+ "url": "https://github.com/doc-detective/doc-detective-common/issues"
20
+ },
21
+ "homepage": "https://github.com/doc-detective/doc-detective-common#readme",
22
+ "devDependencies": {
23
+ "jest": "^29.6.4"
24
+ },
25
+ "dependencies": {
26
+ "@apidevtools/json-schema-ref-parser": "^10.1.0",
27
+ "ajv": "^8.12.0",
28
+ "ajv-errors": "^3.0.0",
29
+ "ajv-formats": "^2.1.1",
30
+ "ajv-keywords": "^5.1.0",
31
+ "pre-commit": "^1.2.2",
32
+ "uuid": "^9.0.0"
33
+ }
34
+ }
package/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
- const { schemas } = require("./schemas");
2
- const { validate } = require("./validate");
3
-
4
- exports.schemas = schemas;
1
+ const { schemas } = require("./schemas");
2
+ const { validate } = require("./validate");
3
+
4
+ exports.schemas = schemas;
5
5
  exports.validate = validate;