@tryghost/content-api 1.9.6 → 1.9.7
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/cjs/content-api.js +3 -3
- package/es/content-api.js +14 -8
- package/es/content-api.js.map +1 -1
- package/package.json +3 -3
- package/umd/content-api.min.js +1 -1
- package/umd/content-api.min.js.map +1 -1
package/cjs/content-api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var axios = require('axios');
|
|
4
4
|
|
|
5
5
|
var name$1 = "@tryghost/content-api";
|
|
6
|
-
var version = "1.9.
|
|
6
|
+
var version = "1.9.7";
|
|
7
7
|
var repository = "https://github.com/TryGhost/SDK/tree/master/packages/content-api";
|
|
8
8
|
var author = "Ghost Foundation";
|
|
9
9
|
var license = "MIT";
|
|
@@ -40,7 +40,7 @@ var devDependencies = {
|
|
|
40
40
|
"core-js": "3.22.5",
|
|
41
41
|
"eslint-plugin-ghost": "2.14.0",
|
|
42
42
|
mocha: "10.0.0",
|
|
43
|
-
rollup: "2.
|
|
43
|
+
rollup: "2.73.0",
|
|
44
44
|
"rollup-plugin-babel": "4.4.0",
|
|
45
45
|
"rollup-plugin-commonjs": "10.1.0",
|
|
46
46
|
"rollup-plugin-node-resolve": "5.2.0",
|
|
@@ -52,7 +52,7 @@ var devDependencies = {
|
|
|
52
52
|
var dependencies = {
|
|
53
53
|
axios: "^0.27.0"
|
|
54
54
|
};
|
|
55
|
-
var gitHead = "
|
|
55
|
+
var gitHead = "e12b766a0086be38f83451d42518533a8ffd2c3e";
|
|
56
56
|
var packageInfo = {
|
|
57
57
|
name: name$1,
|
|
58
58
|
version: version,
|
package/es/content-api.js
CHANGED
|
@@ -273,10 +273,10 @@ var shared = createCommonjsModule(function (module) {
|
|
|
273
273
|
(module.exports = function (key, value) {
|
|
274
274
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
275
275
|
})('versions', []).push({
|
|
276
|
-
version: '3.22.
|
|
276
|
+
version: '3.22.5',
|
|
277
277
|
mode: 'global',
|
|
278
278
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
279
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.22.
|
|
279
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
|
|
280
280
|
source: 'https://github.com/zloirock/core-js'
|
|
281
281
|
});
|
|
282
282
|
});
|
|
@@ -551,15 +551,16 @@ var internalState = {
|
|
|
551
551
|
};
|
|
552
552
|
|
|
553
553
|
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
|
554
|
-
var defineProperty = objectDefineProperty.f;
|
|
555
554
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
556
555
|
|
|
557
556
|
|
|
558
557
|
|
|
559
558
|
var enforceInternalState = internalState.enforce;
|
|
560
559
|
var getInternalState = internalState.get;
|
|
560
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
561
|
+
var defineProperty = Object.defineProperty;
|
|
561
562
|
|
|
562
|
-
var CONFIGURABLE_LENGTH = !fails(function () {
|
|
563
|
+
var CONFIGURABLE_LENGTH = descriptors$1 && !fails(function () {
|
|
563
564
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
564
565
|
});
|
|
565
566
|
|
|
@@ -577,6 +578,11 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
577
578
|
if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
|
|
578
579
|
defineProperty(value, 'length', { value: options.arity });
|
|
579
580
|
}
|
|
581
|
+
if (options && hasOwnProperty_1(options, 'constructor') && options.constructor) {
|
|
582
|
+
if (descriptors$1) try {
|
|
583
|
+
defineProperty(value, 'prototype', { writable: false });
|
|
584
|
+
} catch (error) { /* empty */ }
|
|
585
|
+
} else value.prototype = undefined;
|
|
580
586
|
var state = enforceInternalState(value);
|
|
581
587
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
582
588
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
@@ -2326,7 +2332,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2326
2332
|
}
|
|
2327
2333
|
}
|
|
2328
2334
|
|
|
2329
|
-
_export({ global: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
2335
|
+
_export({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
2330
2336
|
Promise: PromiseConstructor
|
|
2331
2337
|
});
|
|
2332
2338
|
|
|
@@ -4836,7 +4842,7 @@ axios_1.default = default_1;
|
|
|
4836
4842
|
var axios = axios_1;
|
|
4837
4843
|
|
|
4838
4844
|
var name$1 = "@tryghost/content-api";
|
|
4839
|
-
var version = "1.9.
|
|
4845
|
+
var version = "1.9.7";
|
|
4840
4846
|
var repository = "https://github.com/TryGhost/SDK/tree/master/packages/content-api";
|
|
4841
4847
|
var author = "Ghost Foundation";
|
|
4842
4848
|
var license = "MIT";
|
|
@@ -4873,7 +4879,7 @@ var devDependencies = {
|
|
|
4873
4879
|
"core-js": "3.22.5",
|
|
4874
4880
|
"eslint-plugin-ghost": "2.14.0",
|
|
4875
4881
|
mocha: "10.0.0",
|
|
4876
|
-
rollup: "2.
|
|
4882
|
+
rollup: "2.73.0",
|
|
4877
4883
|
"rollup-plugin-babel": "4.4.0",
|
|
4878
4884
|
"rollup-plugin-commonjs": "10.1.0",
|
|
4879
4885
|
"rollup-plugin-node-resolve": "5.2.0",
|
|
@@ -4885,7 +4891,7 @@ var devDependencies = {
|
|
|
4885
4891
|
var dependencies = {
|
|
4886
4892
|
axios: "^0.27.0"
|
|
4887
4893
|
};
|
|
4888
|
-
var gitHead = "
|
|
4894
|
+
var gitHead = "e12b766a0086be38f83451d42518533a8ffd2c3e";
|
|
4889
4895
|
var packageInfo = {
|
|
4890
4896
|
name: name$1,
|
|
4891
4897
|
version: version,
|