@apify/actor-utils 0.1.4 → 0.1.5-beta.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.
Files changed (1) hide show
  1. package/package.json +101 -88
package/package.json CHANGED
@@ -1,96 +1,109 @@
1
1
  {
2
- "name": "@apify/actor-utils",
3
- "version": "0.1.4",
4
- "type": "module",
5
- "description": "Wrapper around Actor.pushData that survives dataset schema-validation failures by stripping offending fields and retrying. Callers pass the actual push function as pushFn.",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/apify/apify-actor-utils.git"
2
+ "name": "@apify/actor-utils",
3
+ "version": "0.1.5-beta.0",
4
+ "type": "module",
5
+ "description": "Wrapper around Actor.pushData that survives dataset schema-validation failures by stripping offending fields and retrying. Callers pass the actual push function as pushFn.",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/apify/apify-actor-utils.git"
9
+ },
10
+ "engines": {
11
+ "node": ">=22.6.0"
12
+ },
13
+ "types": "./dist/index.d.ts",
14
+ "main": "./dist/index.js",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "default": "./dist/index.js"
9
19
  },
10
- "engines": {
11
- "node": ">=22.6.0"
20
+ "./qc-logger": {
21
+ "types": "./dist/src/qc-logger/index.d.ts",
22
+ "default": "./dist/src/qc-logger/index.js"
12
23
  },
13
- "types": "./dist/index.d.ts",
14
- "main": "./dist/index.js",
15
- "exports": {
16
- ".": {
17
- "types": "./dist/index.d.ts",
18
- "default": "./dist/index.js"
19
- },
20
- "./qc-logger": {
21
- "types": "./dist/src/qc-logger/index.d.ts",
22
- "default": "./dist/src/qc-logger/index.js"
23
- },
24
- "./type-utils": {
25
- "types": "./dist/src/type-utils/index.d.ts",
26
- "default": "./dist/src/type-utils/index.js"
27
- },
28
- "./gteam-internal": {
29
- "types": "./dist/src/gteam-internal/index.d.ts",
30
- "default": "./dist/src/gteam-internal/index.js"
31
- }
24
+ "./type-utils": {
25
+ "types": "./dist/src/type-utils/index.d.ts",
26
+ "default": "./dist/src/type-utils/index.js"
32
27
  },
33
- "files": [
34
- "dist/index.js",
35
- "dist/index.js.map",
36
- "dist/index.d.ts",
37
- "dist/index.d.ts.map",
38
- "dist/src"
39
- ],
40
- "scripts": {
41
- "build": "tsc",
42
- "typecheck": "tsc --noEmit",
43
- "lint": "eslint",
44
- "lint:fix": "eslint --fix",
45
- "format": "prettier --write .",
46
- "format:check": "prettier --check .",
47
- "test": "vitest run --coverage",
48
- "check:pushdata": "node scripts/check-pushdata.mjs",
49
- "check-unused": "knip",
50
- "ci": "npm run typecheck && npm run lint && npm run format:check && npm run check:pushdata && npm test",
51
- "probe": "node scripts/probe-errors.mjs",
52
- "prepare": "husky .husky || true"
53
- },
54
- "lint-staged": {
55
- "*.js": "eslint",
56
- "*.ts": "eslint",
57
- "*.mjs": "eslint"
58
- },
59
- "devDependencies": {
60
- "@apify/eslint-config": "^1.2.0",
61
- "@apify/tsconfig": "^0.1.2",
62
- "@crawlee/core": "3.16.0",
63
- "@types/node": "^25.9.1",
64
- "@vitest/coverage-v8": "^4.0.18",
65
- "apify": "3.7.2",
66
- "apify-client": "^2.17.0",
67
- "eslint": "^9.39.4",
68
- "eslint-config-prettier": "^10.1.8",
69
- "globals": "^17.7.0",
70
- "husky": "^9.1.7",
71
- "knip": "^5.88.1",
72
- "lint-staged": "^15.5.2",
73
- "prettier": "^3.9.4",
74
- "typescript": "^6.0.3",
75
- "typescript-eslint": "^8.62.1",
76
- "vitest": "^4.0.18"
28
+ "./gteam-internal": {
29
+ "types": "./dist/src/gteam-internal/index.d.ts",
30
+ "default": "./dist/src/gteam-internal/index.js"
31
+ }
32
+ },
33
+ "files": [
34
+ "dist/index.js",
35
+ "dist/index.js.map",
36
+ "dist/index.d.ts",
37
+ "dist/index.d.ts.map",
38
+ "dist/src"
39
+ ],
40
+ "typesVersions": {
41
+ "*": {
42
+ "qc-logger": [
43
+ "dist/src/qc-logger/index.d.ts"
44
+ ],
45
+ "type-utils": [
46
+ "dist/src/type-utils/index.d.ts"
47
+ ],
48
+ "gteam-internal": [
49
+ "dist/src/gteam-internal/index.d.ts"
50
+ ]
51
+ }
52
+ },
53
+ "scripts": {
54
+ "build": "tsc",
55
+ "typecheck": "tsc --noEmit",
56
+ "lint": "eslint",
57
+ "lint:fix": "eslint --fix",
58
+ "format": "prettier --write .",
59
+ "format:check": "prettier --check .",
60
+ "test": "vitest run --coverage",
61
+ "check:pushdata": "node scripts/check-pushdata.mjs",
62
+ "check-unused": "knip",
63
+ "ci": "npm run typecheck && npm run lint && npm run format:check && npm run check:pushdata && npm test",
64
+ "probe": "node scripts/probe-errors.mjs",
65
+ "prepare": "husky .husky || true"
66
+ },
67
+ "lint-staged": {
68
+ "*.js": "eslint",
69
+ "*.ts": "eslint",
70
+ "*.mjs": "eslint"
71
+ },
72
+ "devDependencies": {
73
+ "@apify/eslint-config": "^1.2.0",
74
+ "@apify/tsconfig": "^0.1.2",
75
+ "@crawlee/core": "3.16.0",
76
+ "@types/node": "^25.9.1",
77
+ "@vitest/coverage-v8": "^4.0.18",
78
+ "apify": "3.7.2",
79
+ "apify-client": "^2.17.0",
80
+ "eslint": "^9.39.4",
81
+ "eslint-config-prettier": "^10.1.8",
82
+ "globals": "^17.7.0",
83
+ "husky": "^9.1.7",
84
+ "knip": "^5.88.1",
85
+ "lint-staged": "^15.5.2",
86
+ "prettier": "^3.9.4",
87
+ "typescript": "^6.0.3",
88
+ "typescript-eslint": "^8.62.1",
89
+ "vitest": "^4.0.18"
90
+ },
91
+ "license": "ISC",
92
+ "peerDependencies": {
93
+ "@apify/log": "^2.5.44",
94
+ "@crawlee/core": "^3.16.0",
95
+ "apify": "~3.7",
96
+ "apify-client": "~2.17"
97
+ },
98
+ "peerDependenciesMeta": {
99
+ "@crawlee/core": {
100
+ "optional": true
77
101
  },
78
- "license": "ISC",
79
- "peerDependencies": {
80
- "@apify/log": "^2.5.44",
81
- "@crawlee/core": "~3.16",
82
- "apify": "~3.7",
83
- "apify-client": "~2.17"
102
+ "apify": {
103
+ "optional": true
84
104
  },
85
- "peerDependenciesMeta": {
86
- "@crawlee/core": {
87
- "optional": true
88
- },
89
- "apify": {
90
- "optional": true
91
- },
92
- "apify-client": {
93
- "optional": true
94
- }
105
+ "apify-client": {
106
+ "optional": true
95
107
  }
108
+ }
96
109
  }