@bloom-perf/yaml-pptr 2.0.2 → 3.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloom-perf/yaml-pptr",
3
- "version": "2.0.2",
3
+ "version": "3.1.0",
4
4
  "description": "A library to generate puppeteer browser controls through a YAML api.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -8,32 +8,36 @@
8
8
  "files": [
9
9
  "dist"
10
10
  ],
11
+ "engines": {
12
+ "node": ">=22.12.0"
13
+ },
11
14
  "devDependencies": {
12
- "@testdeck/mocha": "0.3.3",
13
15
  "@types/chai": "5.2.3",
14
- "@types/js-yaml": "4.0.9",
15
16
  "@types/mocha": "10.0.10",
16
- "c8": "11.0.0",
17
- "chai": "6.2.2",
18
- "cross-env": "10.1.0",
19
- "esbuild": "0.27.3",
20
- "esbuild-node-externals": "1.20.1",
21
- "mocha": "11.7.5",
22
- "prettier": "3.8.1",
23
- "puppeteer": "24.38.0",
24
- "ts-mockito": "2.6.1",
25
- "ts-node": "10.9.2",
26
- "tsx": "4.21.0",
27
- "typescript": "5.9.3"
17
+ "@types/node": "22.20.5",
18
+ "ajv": "8.20.0",
19
+ "c8": "12.0.0",
20
+ "chai": "6.3.0",
21
+ "esbuild": "0.28.2",
22
+ "esbuild-node-externals": "2.0.0",
23
+ "mocha": "12.0.3",
24
+ "prettier": "3.9.10",
25
+ "puppeteer": "25.17.0",
26
+ "tsx": "4.23.15",
27
+ "typescript": "7.0.2"
28
28
  },
29
29
  "dependencies": {
30
- "js-yaml": "^4.1.0",
30
+ "js-yaml": "^5.0.0",
31
31
  "zod": "^4.0.0"
32
32
  },
33
+ "peerDependencies": {
34
+ "puppeteer": "^25.0.0"
35
+ },
33
36
  "scripts": {
34
- "build": "rm -rf dist && node esbuild.js && tsc -p tsconfig.build.json",
35
- "test": "mocha --loader ts-node/esm -r ts-node/register test/**/*.spec.ts",
36
- "test:coverage": "c8 npm run test",
37
+ "build": "rm -rf dist && node esbuild.js && tsc -p tsconfig.build.json && tsx scripts/generate-schema.ts",
38
+ "typecheck": "tsc -p tsconfig.json",
39
+ "test": "mocha",
40
+ "test:coverage": "c8 mocha",
37
41
  "example:login": "tsx examples/login-demo/run.ts",
38
42
  "example:load": "tsx examples/load-test/run.ts"
39
43
  },