@tryghost/content-api 1.9.5 → 1.9.6

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.
@@ -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.5";
6
+ var version = "1.9.6";
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";
@@ -38,7 +38,7 @@ var devDependencies = {
38
38
  "@rollup/plugin-json": "4.1.0",
39
39
  c8: "7.11.2",
40
40
  "core-js": "3.22.5",
41
- "eslint-plugin-ghost": "2.13.0",
41
+ "eslint-plugin-ghost": "2.14.0",
42
42
  mocha: "10.0.0",
43
43
  rollup: "2.72.1",
44
44
  "rollup-plugin-babel": "4.4.0",
@@ -52,7 +52,7 @@ var devDependencies = {
52
52
  var dependencies = {
53
53
  axios: "^0.27.0"
54
54
  };
55
- var gitHead = "dd641499aeaaae6f491cc55e0f37be400f300a3c";
55
+ var gitHead = "12de80df035edcb0d174cdab5d6ba7da67c19f3d";
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.5',
276
+ version: '3.22.4',
277
277
  mode: 'global',
278
278
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
279
- license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
279
+ license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
280
280
  source: 'https://github.com/zloirock/core-js'
281
281
  });
282
282
  });
@@ -551,16 +551,15 @@ var internalState = {
551
551
  };
552
552
 
553
553
  var makeBuiltIn_1 = createCommonjsModule(function (module) {
554
+ var defineProperty = objectDefineProperty.f;
554
555
  var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
555
556
 
556
557
 
557
558
 
558
559
  var enforceInternalState = internalState.enforce;
559
560
  var getInternalState = internalState.get;
560
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
561
- var defineProperty = Object.defineProperty;
562
561
 
563
- var CONFIGURABLE_LENGTH = descriptors$1 && !fails(function () {
562
+ var CONFIGURABLE_LENGTH = !fails(function () {
564
563
  return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
565
564
  });
566
565
 
@@ -578,11 +577,6 @@ var makeBuiltIn = module.exports = function (value, name, options) {
578
577
  if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
579
578
  defineProperty(value, 'length', { value: options.arity });
580
579
  }
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;
586
580
  var state = enforceInternalState(value);
587
581
  if (!hasOwnProperty_1(state, 'source')) {
588
582
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
@@ -2332,7 +2326,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
2332
2326
  }
2333
2327
  }
2334
2328
 
2335
- _export({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
2329
+ _export({ global: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
2336
2330
  Promise: PromiseConstructor
2337
2331
  });
2338
2332
 
@@ -4842,7 +4836,7 @@ axios_1.default = default_1;
4842
4836
  var axios = axios_1;
4843
4837
 
4844
4838
  var name$1 = "@tryghost/content-api";
4845
- var version = "1.9.5";
4839
+ var version = "1.9.6";
4846
4840
  var repository = "https://github.com/TryGhost/SDK/tree/master/packages/content-api";
4847
4841
  var author = "Ghost Foundation";
4848
4842
  var license = "MIT";
@@ -4877,7 +4871,7 @@ var devDependencies = {
4877
4871
  "@rollup/plugin-json": "4.1.0",
4878
4872
  c8: "7.11.2",
4879
4873
  "core-js": "3.22.5",
4880
- "eslint-plugin-ghost": "2.13.0",
4874
+ "eslint-plugin-ghost": "2.14.0",
4881
4875
  mocha: "10.0.0",
4882
4876
  rollup: "2.72.1",
4883
4877
  "rollup-plugin-babel": "4.4.0",
@@ -4891,7 +4885,7 @@ var devDependencies = {
4891
4885
  var dependencies = {
4892
4886
  axios: "^0.27.0"
4893
4887
  };
4894
- var gitHead = "dd641499aeaaae6f491cc55e0f37be400f300a3c";
4888
+ var gitHead = "12de80df035edcb0d174cdab5d6ba7da67c19f3d";
4895
4889
  var packageInfo = {
4896
4890
  name: name$1,
4897
4891
  version: version,