@atlaskit/util-service-support 7.1.0 → 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 +14 -0
- package/compass.yml +38 -0
- package/constants/package.json +7 -0
- package/dist/cjs/constants.js +12 -0
- package/dist/cjs/index.js +13 -7
- package/dist/es2019/constants.js +4 -0
- package/dist/es2019/index.js +1 -4
- package/dist/esm/constants.js +4 -0
- package/dist/esm/index.js +1 -4
- package/dist/types/constants.d.ts +4 -0
- package/dist/types/index.d.ts +1 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
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
|
+
|
|
3
17
|
## 7.1.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
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,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
|
|
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
|
|
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");
|
package/dist/es2019/index.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
export * from './types';
|
|
2
2
|
export * from './serviceResources';
|
|
3
|
-
|
|
4
|
-
import * as multipartServiceUtils from './multipartServiceUtils';
|
|
5
|
-
export const utils = serviceUtils;
|
|
6
|
-
export const multipartUtils = multipartServiceUtils;
|
|
3
|
+
export { utils, multipartUtils } from './constants';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
export * from './types';
|
|
2
2
|
export * from './serviceResources';
|
|
3
|
-
|
|
4
|
-
import * as multipartServiceUtils from './multipartServiceUtils';
|
|
5
|
-
export var utils = serviceUtils;
|
|
6
|
-
export var multipartUtils = multipartServiceUtils;
|
|
3
|
+
export { utils, multipartUtils } from './constants';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
export * from './types';
|
|
2
2
|
export * from './serviceResources';
|
|
3
|
-
|
|
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