decap-cms-lib-util 2.16.0-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.
- package/CHANGELOG.md +601 -0
- package/LICENSE +22 -0
- package/README.md +22 -0
- package/dist/decap-cms-lib-util.js +3 -0
- package/dist/decap-cms-lib-util.js.LICENSE.txt +15 -0
- package/dist/decap-cms-lib-util.js.map +1 -0
- package/dist/esm/API.js +177 -0
- package/dist/esm/APIError.js +47 -0
- package/dist/esm/APIUtils.js +48 -0
- package/dist/esm/AccessTokenError.js +41 -0
- package/dist/esm/Cursor.js +135 -0
- package/dist/esm/EditorialWorkflowError.js +43 -0
- package/dist/esm/asyncLock.js +45 -0
- package/dist/esm/backendUtil.js +98 -0
- package/dist/esm/getBlobSHA.js +19 -0
- package/dist/esm/git-lfs.js +123 -0
- package/dist/esm/implementation.js +304 -0
- package/dist/esm/index.js +403 -0
- package/dist/esm/loadScript.js +27 -0
- package/dist/esm/localForage.js +25 -0
- package/dist/esm/path.js +93 -0
- package/dist/esm/promise.js +23 -0
- package/dist/esm/types/semaphore.d.js +1 -0
- package/dist/esm/unsentRequest.js +123 -0
- package/package.json +29 -0
- package/src/API.ts +220 -0
- package/src/APIError.ts +17 -0
- package/src/APIUtils.ts +38 -0
- package/src/AccessTokenError.ts +11 -0
- package/src/Cursor.ts +178 -0
- package/src/EditorialWorkflowError.ts +12 -0
- package/src/__tests__/api.spec.js +12 -0
- package/src/__tests__/apiUtils.spec.js +74 -0
- package/src/__tests__/asyncLock.spec.js +85 -0
- package/src/__tests__/backendUtil.spec.js +97 -0
- package/src/__tests__/implementation.spec.js +58 -0
- package/src/__tests__/path.spec.js +53 -0
- package/src/__tests__/unsentRequest.spec.js +19 -0
- package/src/asyncLock.ts +43 -0
- package/src/backendUtil.ts +120 -0
- package/src/getBlobSHA.ts +12 -0
- package/src/git-lfs.ts +133 -0
- package/src/implementation.ts +573 -0
- package/src/index.ts +210 -0
- package/src/loadScript.js +24 -0
- package/src/localForage.ts +21 -0
- package/src/path.ts +86 -0
- package/src/promise.ts +21 -0
- package/src/types/semaphore.d.ts +5 -0
- package/src/unsentRequest.js +133 -0
- package/webpack.config.js +3 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,601 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# 2.16.0-beta.0 (2023-08-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* rename packages ([#6863](https://github.com/decaporg/decap-cms/issues/6863)) ([d515e7b](https://github.com/decaporg/decap-cms/commit/d515e7bd33216a775d96887b08c4f7b1962941bb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.15.2-beta.0](https://github.com/decaporg/decap-cms/compare/decap-cms-lib-util@2.15.1...decap-cms-lib-util@2.15.2-beta.0) (2023-07-27)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [2.15.1](https://github.com/decaporg/decap-cms/compare/decap-cms-lib-util@2.15.0...decap-cms-lib-util@2.15.1) (2022-04-13)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [2.15.0](https://github.com/decaporg/decap-cms/compare/decap-cms-lib-util@2.14.0...decap-cms-lib-util@2.15.0) (2021-12-28)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* **backend-gitlab:** initial GraphQL support ([#6059](https://github.com/decaporg/decap-cms/issues/6059)) ([1523a41](https://github.com/decaporg/decap-cms/commit/1523a4140a3d2f4cc01a1548514ae17bc1ad504e))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
# [2.14.0](https://github.com/decaporg/decap-cms/compare/decap-cms-lib-util@2.13.3...decap-cms-lib-util@2.14.0) (2021-10-18)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Features
|
|
48
|
+
|
|
49
|
+
* display author of changes in workflow tab ([#5780](https://github.com/decaporg/decap-cms/issues/5780)) ([3f607e4](https://github.com/decaporg/decap-cms/commit/3f607e41d9c4d8fe5329a9ab6841cada7742825e))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
## [2.13.3](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.13.2...decap-cms-lib-util@2.13.3) (2021-06-01)
|
|
56
|
+
|
|
57
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
## [2.13.2](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.13.1...decap-cms-lib-util@2.13.2) (2021-05-31)
|
|
64
|
+
|
|
65
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
## [2.13.1](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.13.0...decap-cms-lib-util@2.13.1) (2021-05-19)
|
|
72
|
+
|
|
73
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
# [2.13.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.12.3...decap-cms-lib-util@2.13.0) (2021-04-04)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### Features
|
|
83
|
+
|
|
84
|
+
* **open-authoring:** add alwaysFork option ([#5204](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/5204)) ([7b19e30](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/7b19e30dd2a310dbc20ccb6fcca45d5cbde1014b))
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
## [2.12.3](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.12.2...decap-cms-lib-util@2.12.3) (2021-02-10)
|
|
91
|
+
|
|
92
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
## [2.12.2](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.12.1...decap-cms-lib-util@2.12.2) (2021-02-01)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Bug Fixes
|
|
102
|
+
|
|
103
|
+
* **backend:** allow calling 'json' again on 403 failure ([#4880](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/4880)) ([1034086](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/1034086ff603e28e3a37c8157a74cbc625f658f9))
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
## [2.12.1](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.12.0...decap-cms-lib-util@2.12.1) (2020-12-13)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
### Bug Fixes
|
|
113
|
+
|
|
114
|
+
* **lib-util:** update js-sha256 import ([#4699](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/4699)) ([60f7e0b](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/60f7e0bba67c6555acba3e04039c49f10cf51f6b))
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
# [2.12.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.11.5...decap-cms-lib-util@2.12.0) (2020-11-26)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
### Features
|
|
124
|
+
|
|
125
|
+
* add azure devops backend ([#4427](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/4427)) ([4e6dc88](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/4e6dc88efb1dae4cf6137730c3b4fb6d0f75a8cc))
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
## [2.11.5](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.11.4...decap-cms-lib-util@2.11.5) (2020-09-20)
|
|
132
|
+
|
|
133
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
## [2.11.4](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.11.3...decap-cms-lib-util@2.11.4) (2020-09-15)
|
|
140
|
+
|
|
141
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
## 2.11.3 (2020-09-08)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
### Reverts
|
|
151
|
+
|
|
152
|
+
* Revert "chore(release): publish" ([828bb16](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/828bb16415b8c22a34caa19c50c38b24ffe9ceae))
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
## 2.11.2 (2020-08-20)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### Reverts
|
|
162
|
+
|
|
163
|
+
* Revert "chore(release): publish" ([8262487](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/82624879ccbcb16610090041db28f00714d924c8))
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
## 2.11.1 (2020-07-27)
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
### Reverts
|
|
173
|
+
|
|
174
|
+
* Revert "chore(release): publish" ([118d50a](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/118d50a7a70295f25073e564b5161aa2b9883056))
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
# [2.11.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.10.0...decap-cms-lib-util@2.11.0) (2020-06-18)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
### Bug Fixes
|
|
184
|
+
|
|
185
|
+
* handle token expiry ([#3847](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3847)) ([285c940](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/285c940562548d7bc88de244123ba87ff66fba65))
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### Features
|
|
189
|
+
|
|
190
|
+
* add backend status down indicator ([#3889](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3889)) ([a50edc7](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/a50edc70553ad6afa1acee6a51996ad226443f8c))
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
# [2.10.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.9.4...decap-cms-lib-util@2.10.0) (2020-06-01)
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
### Features
|
|
200
|
+
|
|
201
|
+
* add pre save/ post save hooks ([#3812](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3812)) ([812716e](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/812716e18b09a716547f128b783c8e6f3d54cc5b))
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
## [2.9.4](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.9.3...decap-cms-lib-util@2.9.4) (2020-05-19)
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
### Bug Fixes
|
|
211
|
+
|
|
212
|
+
* clear fetch timeout on successful response ([#3768](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3768)) ([088b1a8](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/088b1a8ab626498382d6305fa46d174d4f5ba755))
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
## [2.9.3](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.9.2...decap-cms-lib-util@2.9.3) (2020-04-21)
|
|
219
|
+
|
|
220
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
## [2.9.2](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.9.1...decap-cms-lib-util@2.9.2) (2020-04-01)
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
### Bug Fixes
|
|
230
|
+
|
|
231
|
+
* move common api functions to a separate file ([#3511](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3511)) ([49098de](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/49098de27f053e51aa3d936d09adae3a7186c6ae))
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
## [2.9.1](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.9.0...decap-cms-lib-util@2.9.1) (2020-04-01)
|
|
238
|
+
|
|
239
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
# [2.9.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.8.0...decap-cms-lib-util@2.9.0) (2020-03-12)
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
### Features
|
|
249
|
+
|
|
250
|
+
* add media lib virtualization ([#3381](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3381)) ([92e7601](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/92e76011e7a9e8b5370088b0a2c065df66b5f7fb))
|
|
251
|
+
* **backend-github:** add pagination ([#3379](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3379)) ([39f1307](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/39f1307e3a36447da8c9b3ca79b1d7db52ea1a19))
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
# [2.8.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.7.1...decap-cms-lib-util@2.8.0) (2020-02-25)
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
### Features
|
|
261
|
+
|
|
262
|
+
* **core:** align GitHub metadata handling with other backends ([#3316](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3316)) ([7e0a8ad](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/7e0a8ad532012576dc5e40bd4e9d54522e307123)), closes [#3292](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3292)
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
## [2.7.1](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.7.0...decap-cms-lib-util@2.7.1) (2020-02-14)
|
|
269
|
+
|
|
270
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
# [2.7.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.6.2...decap-cms-lib-util@2.7.0) (2020-02-10)
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
### Bug Fixes
|
|
280
|
+
|
|
281
|
+
* filter paginated results ([#3216](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3216)) ([0a482b1](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/0a482b10049bcfa022b81165cabf4512d77e0b88))
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
### Features
|
|
285
|
+
|
|
286
|
+
* field based media/public folders ([#3208](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3208)) ([97bc0c8](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/97bc0c8dc489e736f89d748ba832d78400fe4332))
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
### Reverts
|
|
290
|
+
|
|
291
|
+
* Revert "chore(release): publish" ([a015d1d](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/a015d1d92a4b1c0130c44fcef1c9ecdb157a0f07))
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
## [2.6.2](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.6.1...decap-cms-lib-util@2.6.2) (2020-01-24)
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
### Bug Fixes
|
|
301
|
+
|
|
302
|
+
* **backend-git-gateway:** re-write GitHub pagination links ([#3135](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3135)) ([834f6b9](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/834f6b9e457f3738ce0f240ddd4cc160aff9e2f5))
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
## [2.6.1](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.6.0...decap-cms-lib-util@2.6.1) (2020-01-22)
|
|
309
|
+
|
|
310
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
# [2.6.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.5.2...decap-cms-lib-util@2.6.0) (2020-01-21)
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
### Features
|
|
320
|
+
|
|
321
|
+
* **backend-bitbucket:** Add Git-LFS support ([#3118](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3118)) ([a48c02d](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/a48c02d852ca5e11055da3a14cefae8d17a68498))
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
## [2.5.2](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.5.1...decap-cms-lib-util@2.5.2) (2020-01-16)
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
### Bug Fixes
|
|
331
|
+
|
|
332
|
+
* use string endsWith to filter by extension ([#3097](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/3097)) ([6a13a85](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/6a13a85e269c8f299f71b3f5ee45fc5d34f75822))
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
## [2.5.1](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.5.0...decap-cms-lib-util@2.5.1) (2020-01-14)
|
|
339
|
+
|
|
340
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
# [2.5.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.5.0-beta.0...decap-cms-lib-util@2.5.0) (2020-01-07)
|
|
347
|
+
|
|
348
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
# [2.5.0-beta.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.4.0...decap-cms-lib-util@2.5.0-beta.0) (2019-12-18)
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
### Features
|
|
358
|
+
|
|
359
|
+
* bundle assets with content ([#2958](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/2958)) ([2b41d8a](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/2b41d8a838a9c8a6b21cde2ddd16b9288334e298))
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
# [2.4.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.4.0-beta.5...decap-cms-lib-util@2.4.0) (2019-12-18)
|
|
366
|
+
|
|
367
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
# [2.4.0-beta.5](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.4.0-beta.4...decap-cms-lib-util@2.4.0-beta.5) (2019-11-26)
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
### Bug Fixes
|
|
377
|
+
|
|
378
|
+
* **backend-github:** editorial workflow commits ([#2867](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/2867)) ([86adca3](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/86adca3a18f25ab74d1c6702bafab250f005ceec))
|
|
379
|
+
* **backend-github:** prepend collection name ([#2878](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/2878)) ([465f463](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/465f4639597f258d5aa2c1b65e9d2c16023ee7ae))
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
# [2.4.0-beta.4](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.4.0-beta.3...decap-cms-lib-util@2.4.0-beta.4) (2019-09-26)
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
### Bug Fixes
|
|
389
|
+
|
|
390
|
+
* **github-backend:** handle race condition in editorial workflow ([#2658](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/2658)) ([97f1f84](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/97f1f84))
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
# [2.4.0-beta.3](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.4.0-beta.2...decap-cms-lib-util@2.4.0-beta.3) (2019-09-04)
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
### Features
|
|
400
|
+
|
|
401
|
+
* **backend-github:** GitHub GraphQL API support ([#2456](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/2456)) ([ece136c](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/ece136c))
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
# [2.4.0-beta.2](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.4.0-beta.1...decap-cms-lib-util@2.4.0-beta.2) (2019-08-24)
|
|
408
|
+
|
|
409
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
# [2.4.0-beta.1](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.4.0-beta.0...decap-cms-lib-util@2.4.0-beta.1) (2019-08-24)
|
|
416
|
+
|
|
417
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
# [2.4.0-beta.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.3.3...decap-cms-lib-util@2.4.0-beta.0) (2019-07-24)
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
### Features
|
|
427
|
+
|
|
428
|
+
* **backend-github:** Open Authoring ([#2430](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/2430)) ([edf0a3a](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/edf0a3a))
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
## [2.3.3](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.3.2...decap-cms-lib-util@2.3.3) (2019-07-24)
|
|
435
|
+
|
|
436
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
## [2.3.2](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.3.2-beta.0...decap-cms-lib-util@2.3.2) (2019-04-10)
|
|
443
|
+
|
|
444
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
## [2.3.2-beta.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.3.1...decap-cms-lib-util@2.3.2-beta.0) (2019-04-05)
|
|
451
|
+
|
|
452
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
## [2.3.1](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.3.1-beta.1...decap-cms-lib-util@2.3.1) (2019-03-29)
|
|
459
|
+
|
|
460
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
## [2.3.1-beta.1](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.3.1-beta.0...decap-cms-lib-util@2.3.1-beta.1) (2019-03-26)
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
### Bug Fixes
|
|
470
|
+
|
|
471
|
+
* export on decap-cms and maps on esm ([#2244](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/2244)) ([6ffd13b](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/6ffd13b))
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
## [2.3.1-beta.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.3.0...decap-cms-lib-util@2.3.1-beta.0) (2019-03-25)
|
|
478
|
+
|
|
479
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
# [2.3.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.2.0...decap-cms-lib-util@2.3.0) (2019-03-22)
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
### Features
|
|
489
|
+
|
|
490
|
+
* add ES module builds ([#2215](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/2215)) ([d142b32](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/d142b32))
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
# [2.2.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.2.0-beta.0...decap-cms-lib-util@2.2.0) (2019-03-22)
|
|
497
|
+
|
|
498
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
# [2.2.0-beta.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.1.3-beta.0...decap-cms-lib-util@2.2.0-beta.0) (2019-03-21)
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
### Features
|
|
508
|
+
|
|
509
|
+
* provide usable UMD builds for all packages ([#2141](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/2141)) ([82cc794](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/82cc794))
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
## [2.1.3-beta.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.1.2...decap-cms-lib-util@2.1.3-beta.0) (2019-03-15)
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
### Features
|
|
519
|
+
|
|
520
|
+
* upgrade to Emotion 10 ([#2166](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/2166)) ([ccef446](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/ccef446))
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
## [2.1.2](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.1.1...decap-cms-lib-util@2.1.2) (2019-02-26)
|
|
527
|
+
|
|
528
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
## [2.1.1](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.1.0...decap-cms-lib-util@2.1.1) (2018-11-29)
|
|
535
|
+
|
|
536
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
<a name="2.1.0"></a>
|
|
543
|
+
# [2.1.0](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.0.5...decap-cms-lib-util@2.1.0) (2018-09-06)
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
### Bug Fixes
|
|
547
|
+
|
|
548
|
+
* remove alert modal from localForage error case ([#1676](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/1676)) ([4f3116d](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/4f3116d))
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
### Features
|
|
552
|
+
|
|
553
|
+
* **media:** add external media library support, Uploadcare integration ([#1602](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/issues/1602)) ([0596904](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/commit/0596904))
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
<a name="2.0.5"></a>
|
|
559
|
+
## [2.0.5](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.0.4...decap-cms-lib-util@2.0.5) (2018-08-24)
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
565
|
+
|
|
566
|
+
<a name="2.0.4"></a>
|
|
567
|
+
## [2.0.4](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.0.3...decap-cms-lib-util@2.0.4) (2018-08-07)
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
573
|
+
|
|
574
|
+
<a name="2.0.3"></a>
|
|
575
|
+
## [2.0.3](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.0.2...decap-cms-lib-util@2.0.3) (2018-08-01)
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
581
|
+
|
|
582
|
+
<a name="2.0.2"></a>
|
|
583
|
+
## [2.0.2](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-lib-util/compare/decap-cms-lib-util@2.0.1...decap-cms-lib-util@2.0.2) (2018-07-28)
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
**Note:** Version bump only for package decap-cms-lib-util
|
|
589
|
+
|
|
590
|
+
<a name="2.0.1"></a>
|
|
591
|
+
## 2.0.1 (2018-07-26)
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
<a name="2.0.0"></a>
|
|
596
|
+
# 2.0.0 (2018-07-26)
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
### Bug Fixes
|
|
600
|
+
|
|
601
|
+
* **bitbucket:** fix rebasing mistakes in bitbucket backend and deps ([#1522](https://github.com/decaporg/decap-cms/issues/1522)) ([bdfd944](https://github.com/decaporg/decap-cms/commit/bdfd944))
|
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Copyright (c) 2016 Netlify <decap@p-m.si>
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
+
a copy of this software and associated documentation files (the
|
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
+
the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be
|
|
14
|
+
included in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Lib Util
|
|
2
|
+
|
|
3
|
+
Shared utilities to handle various `decap-cms-backend-*` backends operations.
|
|
4
|
+
|
|
5
|
+
## Code structure
|
|
6
|
+
|
|
7
|
+
This structure should be the same for backends.
|
|
8
|
+
|
|
9
|
+
At first, look at `Implementation`. This is File Management System API and has factory method for `AuthComponent`.
|
|
10
|
+
|
|
11
|
+
### File Management System API
|
|
12
|
+
|
|
13
|
+
An abstraction layer between the CMS and Git-repository manager API.
|
|
14
|
+
|
|
15
|
+
Used as backend in [cms-core](https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-core/README.md).
|
|
16
|
+
|
|
17
|
+
### Low-level abstractions for Git-repository manager API:
|
|
18
|
+
|
|
19
|
+
- `API` - used for Entry files
|
|
20
|
+
- `git-lfs` - used for Media files
|
|
21
|
+
- and over halpful utilities
|
|
22
|
+
|