@atlaskit/util-service-support 7.0.1 → 7.2.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 CHANGED
@@ -1,11 +1,43 @@
1
1
  # @atlaskit/util-service-support
2
2
 
3
+ ## 7.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`e8071bab93879`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e8071bab93879) -
8
+ Refactor packages with custom root `src/index` barrel logic to use dedicated entry modules (for
9
+ example `main`, `types`, `constants`, `screen`, and package-specific entrypoints) while keeping
10
+ public exports stable. This aligns the packages with barrel-file ratcheting by reducing custom
11
+ logic in root barrels and removing now-safe packages from the prohibited barrel-file list.
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
17
+ ## 7.1.0
18
+
19
+ ### Minor Changes
20
+
21
+ - [`cd097a2111788`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd097a2111788) -
22
+ Republish packages depending on `@atlaskit/react-compiler-gating` so their published dependency
23
+ reference is updated to the renamed `@atlaskit/react-compiler-gating` scope.
24
+
25
+ The earlier rename of `@atlassian/react-compiler-gating` to `@atlaskit/react-compiler-gating` only
26
+ bumped the renamed package itself, so dependent packages were never republished and their
27
+ published versions still referenced the old `@atlassian/react-compiler-gating` name, which is not
28
+ available in the public npm registry. This minor bump republishes all affected packages with the
29
+ corrected dependency.
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies
34
+
3
35
  ## 7.0.1
4
36
 
5
37
  ### Patch Changes
6
38
 
7
39
  - [`ee28cf33718b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee28cf33718b0) -
8
- Add @atlassian/react-compiler-gating as a runtime dependency to enable React Compiler platform
40
+ Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform
9
41
  gating.
10
42
  - Updated dependencies
11
43
 
@@ -26,10 +26,10 @@
26
26
  "path": "../../../platform/feature-flags/afm-cc/tsconfig.json"
27
27
  },
28
28
  {
29
- "path": "../../../react-ufo/atlaskit/afm-cc/tsconfig.json"
29
+ "path": "../../../react-compiler/react-compiler-gating/afm-cc/tsconfig.json"
30
30
  },
31
31
  {
32
- "path": "../../../react-compiler/react-compiler-gating/afm-cc/tsconfig.json"
32
+ "path": "../../../react-ufo/atlaskit/afm-cc/tsconfig.json"
33
33
  }
34
34
  ]
35
35
  }
@@ -26,10 +26,10 @@
26
26
  "path": "../../../platform/feature-flags/afm-products/tsconfig.json"
27
27
  },
28
28
  {
29
- "path": "../../../react-ufo/atlaskit/afm-products/tsconfig.json"
29
+ "path": "../../../react-compiler/react-compiler-gating/afm-products/tsconfig.json"
30
30
  },
31
31
  {
32
- "path": "../../../react-compiler/react-compiler-gating/afm-products/tsconfig.json"
32
+ "path": "../../../react-ufo/atlaskit/afm-products/tsconfig.json"
33
33
  }
34
34
  ]
35
35
  }
package/compass.yml ADDED
@@ -0,0 +1,38 @@
1
+ configVersion: 1
2
+ id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/a1e03a66-d1dd-47ee-bb9f-febb12cd5374
3
+ name: '@atlaskit/util-service-support'
4
+ ownerId: ari:cloud:identity::team/9be50a1a-a131-434b-9432-e114277205af # AFM Experience (Greg Power)
5
+ labels:
6
+ - platform-code
7
+ - platform-afm
8
+ typeId: OTHER
9
+ fields:
10
+ tier: 4
11
+ lifecycle: Active
12
+ isMonorepoProject: true
13
+ links:
14
+ - name: Root Repository
15
+ type: REPOSITORY
16
+ url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
17
+ - name: Slack Channel
18
+ type: CHAT_CHANNEL
19
+ url: https://atlassian.enterprise.slack.com/archives/CL6HC337Z # #help-afm
20
+ - name: Util Service Support
21
+ type: REPOSITORY
22
+ url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/elements/util-service-support
23
+ customFields:
24
+ - name: Department
25
+ type: text
26
+ value: Eng - Dev Infra
27
+ - name: Technical Owner
28
+ type: user
29
+ value: ari:cloud:identity::user/557058:b8ef8c49-c789-4d00-a432-41c7b91a004b # Raja Bellebon
30
+ - name: Required Reviewers Opt In
31
+ type: boolean
32
+ value: true
33
+ - name: Reviewer Selection Mechanism
34
+ type: text
35
+ value: random(2)
36
+ - name: Required Reviewer Approvals
37
+ type: number
38
+ value: 1
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "@atlaskit/util-service-support/constants",
3
+ "main": "../dist/cjs/constants.js",
4
+ "module": "../dist/esm/constants.js",
5
+ "module:es2019": "../dist/es2019/constants.js",
6
+ "types": "../dist/types/constants.d.ts"
7
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.utils = exports.multipartUtils = void 0;
8
+ var serviceUtils = _interopRequireWildcard(require("./serviceUtils"));
9
+ var multipartServiceUtils = _interopRequireWildcard(require("./multipartServiceUtils"));
10
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
11
+ var utils = exports.utils = serviceUtils;
12
+ var multipartUtils = exports.multipartUtils = multipartServiceUtils;
package/dist/cjs/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
- var _typeof = require("@babel/runtime/helpers/typeof");
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
@@ -8,7 +7,18 @@ var _exportNames = {
8
7
  utils: true,
9
8
  multipartUtils: true
10
9
  };
11
- exports.utils = exports.multipartUtils = void 0;
10
+ Object.defineProperty(exports, "multipartUtils", {
11
+ enumerable: true,
12
+ get: function get() {
13
+ return _constants.multipartUtils;
14
+ }
15
+ });
16
+ Object.defineProperty(exports, "utils", {
17
+ enumerable: true,
18
+ get: function get() {
19
+ return _constants.utils;
20
+ }
21
+ });
12
22
  var _types = require("./types");
13
23
  Object.keys(_types).forEach(function (key) {
14
24
  if (key === "default" || key === "__esModule") return;
@@ -33,8 +43,4 @@ Object.keys(_serviceResources).forEach(function (key) {
33
43
  }
34
44
  });
35
45
  });
36
- var serviceUtils = _interopRequireWildcard(require("./serviceUtils"));
37
- var multipartServiceUtils = _interopRequireWildcard(require("./multipartServiceUtils"));
38
- function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
39
- var utils = exports.utils = serviceUtils;
40
- var multipartUtils = exports.multipartUtils = multipartServiceUtils;
46
+ var _constants = require("./constants");
@@ -0,0 +1,4 @@
1
+ import * as serviceUtils from './serviceUtils';
2
+ import * as multipartServiceUtils from './multipartServiceUtils';
3
+ export const utils = serviceUtils;
4
+ export const multipartUtils = multipartServiceUtils;
@@ -1,6 +1,3 @@
1
1
  export * from './types';
2
2
  export * from './serviceResources';
3
- import * as serviceUtils from './serviceUtils';
4
- import * as multipartServiceUtils from './multipartServiceUtils';
5
- export const utils = serviceUtils;
6
- export const multipartUtils = multipartServiceUtils;
3
+ export { utils, multipartUtils } from './constants';
@@ -0,0 +1,4 @@
1
+ import * as serviceUtils from './serviceUtils';
2
+ import * as multipartServiceUtils from './multipartServiceUtils';
3
+ export var utils = serviceUtils;
4
+ export var multipartUtils = multipartServiceUtils;
package/dist/esm/index.js CHANGED
@@ -1,6 +1,3 @@
1
1
  export * from './types';
2
2
  export * from './serviceResources';
3
- import * as serviceUtils from './serviceUtils';
4
- import * as multipartServiceUtils from './multipartServiceUtils';
5
- export var utils = serviceUtils;
6
- export var multipartUtils = multipartServiceUtils;
3
+ export { utils, multipartUtils } from './constants';
@@ -0,0 +1,4 @@
1
+ import * as serviceUtils from './serviceUtils';
2
+ import * as multipartServiceUtils from './multipartServiceUtils';
3
+ export declare const utils: typeof serviceUtils;
4
+ export declare const multipartUtils: typeof multipartServiceUtils;
@@ -1,7 +1,4 @@
1
1
  export * from './types';
2
2
  export * from './serviceResources';
3
- import * as serviceUtils from './serviceUtils';
4
- import * as multipartServiceUtils from './multipartServiceUtils';
5
- export declare const utils: typeof serviceUtils;
6
- export declare const multipartUtils: typeof multipartServiceUtils;
3
+ export { utils, multipartUtils } from './constants';
7
4
  export type { RequestServiceResult, PartsGenerator, MultiPartFetchResult, BodyResult, } from './multipartServiceUtils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/util-service-support",
3
- "version": "7.0.1",
3
+ "version": "7.2.0",
4
4
  "description": "A library of support classes for integrating React components with REST HTTP services",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -17,7 +17,7 @@
17
17
  "react-compiler": {
18
18
  "enabled": true,
19
19
  "gating": {
20
- "source": "@atlassian/react-compiler-gating",
20
+ "source": "@atlaskit/react-compiler-gating",
21
21
  "importSpecifierName": "isReactCompilerActivePlatform"
22
22
  }
23
23
  },
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@atlaskit/platform-feature-flags": "^2.0.0",
31
- "@atlaskit/react-ufo": "^7.1.0",
32
- "@atlassian/react-compiler-gating": "^0.2.0",
31
+ "@atlaskit/react-compiler-gating": "^0.2.0",
32
+ "@atlaskit/react-ufo": "^7.3.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "meros": "^1.3.0"
35
35
  },