@depup/contentful 11.10.7-depup.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/ADVANCED.md +283 -0
- package/CONTRIBUTING.md +109 -0
- package/LICENSE +21 -0
- package/MIGRATION.md +364 -0
- package/README.md +36 -0
- package/TYPESCRIPT.md +329 -0
- package/changes.json +30 -0
- package/dist/contentful.browser.js +10886 -0
- package/dist/contentful.browser.min.js +1 -0
- package/dist/contentful.cjs +23983 -0
- package/dist/esm/contentful.js +60 -0
- package/dist/esm/create-contentful-api.js +463 -0
- package/dist/esm/create-global-options.js +21 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/make-client.js +52 -0
- package/dist/esm/mixins/stringify-safe.js +23 -0
- package/dist/esm/paged-sync.js +118 -0
- package/dist/esm/utils/normalize-cursor-pagination-parameters.js +9 -0
- package/dist/esm/utils/normalize-cursor-pagination-response.js +23 -0
- package/dist/esm/utils/normalize-search-parameters.js +18 -0
- package/dist/esm/utils/normalize-select.js +25 -0
- package/dist/esm/utils/query-selection-set.js +14 -0
- package/dist/esm/utils/resolve-circular.js +15 -0
- package/dist/esm/utils/timeline-preview-helpers.js +33 -0
- package/dist/esm/utils/validate-params.js +65 -0
- package/dist/esm/utils/validate-search-parameters.js +11 -0
- package/dist/esm/utils/validate-timestamp.js +16 -0
- package/dist/esm/utils/validation-error.js +8 -0
- package/dist/stats-browser-min.html +4949 -0
- package/dist/types/contentful.d.ts +150 -0
- package/dist/types/create-contentful-api.d.ts +13 -0
- package/dist/types/create-global-options.d.ts +19 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/make-client.d.ts +3 -0
- package/dist/types/mixins/stringify-safe.d.ts +1 -0
- package/dist/types/paged-sync.d.ts +7 -0
- package/dist/types/types/asset-key.d.ts +7 -0
- package/dist/types/types/asset.d.ts +79 -0
- package/dist/types/types/client.d.ts +477 -0
- package/dist/types/types/collection.d.ts +42 -0
- package/dist/types/types/concept-scheme.d.ts +26 -0
- package/dist/types/types/concept.d.ts +51 -0
- package/dist/types/types/content-type.d.ts +105 -0
- package/dist/types/types/entry.d.ts +246 -0
- package/dist/types/types/index.d.ts +17 -0
- package/dist/types/types/link.d.ts +61 -0
- package/dist/types/types/locale.d.ts +30 -0
- package/dist/types/types/metadata.d.ts +13 -0
- package/dist/types/types/query/equality.d.ts +29 -0
- package/dist/types/types/query/existence.d.ts +15 -0
- package/dist/types/types/query/index.d.ts +12 -0
- package/dist/types/types/query/location.d.ts +29 -0
- package/dist/types/types/query/order.d.ts +44 -0
- package/dist/types/types/query/query.d.ts +155 -0
- package/dist/types/types/query/range.d.ts +18 -0
- package/dist/types/types/query/reference.d.ts +12 -0
- package/dist/types/types/query/search.d.ts +17 -0
- package/dist/types/types/query/select.d.ts +29 -0
- package/dist/types/types/query/set.d.ts +10 -0
- package/dist/types/types/query/subset.d.ts +20 -0
- package/dist/types/types/query/util.d.ts +32 -0
- package/dist/types/types/resource-link.d.ts +9 -0
- package/dist/types/types/space.d.ts +20 -0
- package/dist/types/types/sync.d.ts +84 -0
- package/dist/types/types/sys.d.ts +30 -0
- package/dist/types/types/tag.d.ts +32 -0
- package/dist/types/types/timeline-preview.d.ts +16 -0
- package/dist/types/utils/client-helpers.d.ts +9 -0
- package/dist/types/utils/normalize-cursor-pagination-parameters.d.ts +5 -0
- package/dist/types/utils/normalize-cursor-pagination-response.d.ts +2 -0
- package/dist/types/utils/normalize-search-parameters.d.ts +1 -0
- package/dist/types/utils/normalize-select.d.ts +1 -0
- package/dist/types/utils/query-selection-set.d.ts +1 -0
- package/dist/types/utils/resolve-circular.d.ts +4 -0
- package/dist/types/utils/timeline-preview-helpers.d.ts +7 -0
- package/dist/types/utils/validate-params.d.ts +6 -0
- package/dist/types/utils/validate-search-parameters.d.ts +1 -0
- package/dist/types/utils/validate-timestamp.d.ts +6 -0
- package/dist/types/utils/validation-error.d.ts +3 -0
- package/images/contentful-icon.png +0 -0
- package/images/dynamic-query-keys.png +0 -0
- package/images/static-query-keys.png +0 -0
- package/package.json +221 -0
package/package.json
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@depup/contentful",
|
|
3
|
+
"description": "[DepUp] Client for Contentful's Content Delivery API",
|
|
4
|
+
"version": "11.10.7-depup.0",
|
|
5
|
+
"homepage": "https://www.contentful.com/developers/documentation/content-delivery-api/",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/types/index.d.ts",
|
|
10
|
+
"import": "./dist/esm/index.js",
|
|
11
|
+
"require": "./dist/contentful.cjs"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"main": "./dist/esm/index.js",
|
|
15
|
+
"types": "dist/types/index.d.ts",
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=18"
|
|
18
|
+
},
|
|
19
|
+
"browserslist": [
|
|
20
|
+
">0.3%",
|
|
21
|
+
"Chrome >= 75",
|
|
22
|
+
"Edge >= 74",
|
|
23
|
+
"Firefox >= 73",
|
|
24
|
+
"Safari >= 13"
|
|
25
|
+
],
|
|
26
|
+
"tsd": {
|
|
27
|
+
"directory": "test/types",
|
|
28
|
+
"compilerOptions": {
|
|
29
|
+
"rootDir": "./lib",
|
|
30
|
+
"typeRoots": [
|
|
31
|
+
"./lib"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist",
|
|
37
|
+
"images",
|
|
38
|
+
"ADVANCED.md",
|
|
39
|
+
"CONTRIBUTING.md",
|
|
40
|
+
"MIGRATION.md",
|
|
41
|
+
"README.md",
|
|
42
|
+
"TYPESCRIPT.md",
|
|
43
|
+
"LICENSE",
|
|
44
|
+
"changes.json"
|
|
45
|
+
],
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "https://github.com/contentful/contentful.js.git"
|
|
49
|
+
},
|
|
50
|
+
"author": "Contentful <opensource@contentful.com>",
|
|
51
|
+
"license": "MIT",
|
|
52
|
+
"scripts": {
|
|
53
|
+
"clean": "rimraf dist",
|
|
54
|
+
"build": "npm run clean && npm run build:esm && npm run build:bundles && rm -rf dist/esm-raw",
|
|
55
|
+
"build:esm": "tsc",
|
|
56
|
+
"build:bundles": "NODE_ENV=production rollup -c",
|
|
57
|
+
"check": "npm run check:cjs && npm run check:esm && npm run check:browser && npm run check:browser-min",
|
|
58
|
+
"check:browser": "es-check es2018 ./dist/contentful.browser.js",
|
|
59
|
+
"check:browser-min": "es-check es2018 ./dist/contentful.browser.min.js",
|
|
60
|
+
"check:cjs": "es-check es2017 './dist/contentful.cjs'",
|
|
61
|
+
"check:esm": "es-check es2017 --module './dist/esm/*.js'",
|
|
62
|
+
"docs:build": "typedoc --options typedoc.json",
|
|
63
|
+
"docs:watch": "npm run docs:build -- --watch",
|
|
64
|
+
"docs:publish": "npm run docs:build && ./node_modules/contentful-sdk-jsdoc/bin/publish-docs.sh contentful.js contentful",
|
|
65
|
+
"lint": "eslint lib test",
|
|
66
|
+
"prettier": "prettier --write '**/*.{jsx,js,ts,tsx}'",
|
|
67
|
+
"prettier:check": "prettier --check '**/*.{jsx,js,ts,tsx}'",
|
|
68
|
+
"pretest": "rimraf coverage",
|
|
69
|
+
"test": "npm run test:unit && npm run test:integration && npm run lint && npm run test:types",
|
|
70
|
+
"test:unit": "vitest --run ./test/unit",
|
|
71
|
+
"test:unit:watch": "vitest ./test/unit",
|
|
72
|
+
"test:integration": "vitest --run ./test/integration",
|
|
73
|
+
"test:integration:watch": "vitest ./test/integration",
|
|
74
|
+
"test:size": "size-limit",
|
|
75
|
+
"test:demo-projects": "npm run test:demo-node && npm run test:demo-browser",
|
|
76
|
+
"test:demo-node": "rimraf ./test/output-integration/node/node-modules && npm --prefix ./test/output-integration/node ci && npm --prefix ./test/output-integration/node test",
|
|
77
|
+
"test:demo-browser": "rimraf ./test/output-integration/browser/node-modules && npm --prefix ./test/output-integration/browser ci && npm --prefix ./test/output-integration/browser run setup-test-env && npm --prefix ./test/output-integration/browser run test",
|
|
78
|
+
"test:types": "tsd",
|
|
79
|
+
"test:prepush": "npm run build && npm run test:unit && npm run test:types",
|
|
80
|
+
"semantic-release": "semantic-release",
|
|
81
|
+
"precommit": "npm run lint && npm run prettier:check",
|
|
82
|
+
"prepush": "npm run test:prepush"
|
|
83
|
+
},
|
|
84
|
+
"dependencies": {
|
|
85
|
+
"@contentful/content-source-maps": "^0.12.1",
|
|
86
|
+
"@contentful/rich-text-types": "^17.2.5",
|
|
87
|
+
"axios": "^1.13.6",
|
|
88
|
+
"contentful-resolve-response": "^1.9.7",
|
|
89
|
+
"contentful-sdk-core": "^9.4.5",
|
|
90
|
+
"json-stringify-safe": "^5.0.1",
|
|
91
|
+
"tslib": "^2.8.1",
|
|
92
|
+
"type-fest": "^5.4.4"
|
|
93
|
+
},
|
|
94
|
+
"devDependencies": {
|
|
95
|
+
"@babel/plugin-transform-runtime": "^7.24.7",
|
|
96
|
+
"@babel/preset-env": "^7.24.3",
|
|
97
|
+
"@eslint/js": "^9.15.0",
|
|
98
|
+
"@optimize-lodash/rollup-plugin": "^6.0.0",
|
|
99
|
+
"@rollup/plugin-alias": "^5.1.0",
|
|
100
|
+
"@rollup/plugin-babel": "^6.1.0",
|
|
101
|
+
"@rollup/plugin-commonjs": "^26.0.1",
|
|
102
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
103
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
104
|
+
"@rollup/plugin-replace": "^5.0.5",
|
|
105
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
106
|
+
"@semantic-release/changelog": "^6.0.1",
|
|
107
|
+
"@size-limit/file": "^11.1.6",
|
|
108
|
+
"@types/json-stringify-safe": "^5.0.0",
|
|
109
|
+
"@types/node": "^25.0.10",
|
|
110
|
+
"contentful-sdk-jsdoc": "^3.1.2",
|
|
111
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
112
|
+
"es-check": "^7.0.0",
|
|
113
|
+
"eslint": "^9.15.0",
|
|
114
|
+
"fast-copy": "^3.0.2",
|
|
115
|
+
"husky": "^9.0.11",
|
|
116
|
+
"lint-staged": "^15.2.10",
|
|
117
|
+
"prettier": "^3.8.1",
|
|
118
|
+
"process": "^0.11.10",
|
|
119
|
+
"rimraf": "^5.0.0",
|
|
120
|
+
"rollup": "^4.13.0",
|
|
121
|
+
"rollup-plugin-visualizer": "^5.12.0",
|
|
122
|
+
"semantic-release": "^25.0.3",
|
|
123
|
+
"size-limit": "^11.1.6",
|
|
124
|
+
"tsd": "^0.31.0",
|
|
125
|
+
"typedoc": "^0.26.4",
|
|
126
|
+
"typescript": "^5.6.3",
|
|
127
|
+
"typescript-eslint": "^8.55.0",
|
|
128
|
+
"vitest": "^3.2.4"
|
|
129
|
+
},
|
|
130
|
+
"config": {
|
|
131
|
+
"commitizen": {
|
|
132
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"lint-staged": {
|
|
136
|
+
"*.{js,jsx,ts,tsx}": [
|
|
137
|
+
"prettier --write",
|
|
138
|
+
"eslint --fix"
|
|
139
|
+
],
|
|
140
|
+
"*.md": [
|
|
141
|
+
"prettier --write"
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"size-limit": [
|
|
145
|
+
{
|
|
146
|
+
"path": "./dist/contentful.browser.js",
|
|
147
|
+
"limit": "85 Kb"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"path": "./dist/contentful.browser.min.js",
|
|
151
|
+
"limit": "45 Kb"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"release": {
|
|
155
|
+
"branches": [
|
|
156
|
+
"master",
|
|
157
|
+
{
|
|
158
|
+
"name": "next",
|
|
159
|
+
"channel": "next",
|
|
160
|
+
"prerelease": true
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"plugins": [
|
|
164
|
+
[
|
|
165
|
+
"@semantic-release/commit-analyzer",
|
|
166
|
+
{
|
|
167
|
+
"releaseRules": [
|
|
168
|
+
{
|
|
169
|
+
"type": "build",
|
|
170
|
+
"scope": "deps",
|
|
171
|
+
"release": "patch"
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"@semantic-release/release-notes-generator",
|
|
177
|
+
"@semantic-release/npm",
|
|
178
|
+
"@semantic-release/changelog",
|
|
179
|
+
"@semantic-release/github"
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
"keywords": [
|
|
183
|
+
"depup",
|
|
184
|
+
"dependency-bumped",
|
|
185
|
+
"updated-deps",
|
|
186
|
+
"contentful"
|
|
187
|
+
],
|
|
188
|
+
"depup": {
|
|
189
|
+
"changes": {
|
|
190
|
+
"@contentful/content-source-maps": {
|
|
191
|
+
"from": "^0.11.33",
|
|
192
|
+
"to": "^0.12.1"
|
|
193
|
+
},
|
|
194
|
+
"@contentful/rich-text-types": {
|
|
195
|
+
"from": "^16.6.1",
|
|
196
|
+
"to": "^17.2.5"
|
|
197
|
+
},
|
|
198
|
+
"axios": {
|
|
199
|
+
"from": "^1.13.5",
|
|
200
|
+
"to": "^1.13.6"
|
|
201
|
+
},
|
|
202
|
+
"contentful-resolve-response": {
|
|
203
|
+
"from": "^1.9.4",
|
|
204
|
+
"to": "^1.9.7"
|
|
205
|
+
},
|
|
206
|
+
"contentful-sdk-core": {
|
|
207
|
+
"from": "^9.4.4",
|
|
208
|
+
"to": "^9.4.5"
|
|
209
|
+
},
|
|
210
|
+
"type-fest": {
|
|
211
|
+
"from": "^4.0.0",
|
|
212
|
+
"to": "^5.4.4"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"depsUpdated": 6,
|
|
216
|
+
"originalPackage": "contentful",
|
|
217
|
+
"originalVersion": "11.10.7",
|
|
218
|
+
"processedAt": "2026-03-17T22:56:33.562Z",
|
|
219
|
+
"smokeTest": "passed"
|
|
220
|
+
}
|
|
221
|
+
}
|