@atlaspack/types-internal 2.14.6 → 2.14.8
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 +13 -0
- package/lib/index.d.ts +9 -0
- package/package.json +2 -2
- package/src/index.js +16 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaspack/types-internal
|
|
2
2
|
|
|
3
|
+
## 2.14.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#595](https://github.com/atlassian-labs/atlaspack/pull/595) [`51aba5f`](https://github.com/atlassian-labs/atlaspack/commit/51aba5fc0e49235ee06bbc3c376f48c3e7da5c4b) Thanks [@yamadapc](https://github.com/yamadapc)! - Add bundleId to write bundle request results
|
|
8
|
+
|
|
9
|
+
## 2.14.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`209692f`](https://github.com/atlassian-labs/atlaspack/commit/209692ffb11eae103a0d65c5e1118a5aa1625818), [`f4da1e1`](https://github.com/atlassian-labs/atlaspack/commit/f4da1e120e73eeb5e8b8927f05e88f04d6148c7b)]:
|
|
14
|
+
- @atlaspack/feature-flags@2.16.0
|
|
15
|
+
|
|
3
16
|
## 2.14.6
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/lib/index.d.ts
CHANGED
|
@@ -936,9 +936,18 @@ export interface Config {
|
|
|
936
936
|
* of the passed searchPath.
|
|
937
937
|
*/
|
|
938
938
|
getConfigFrom<T>(searchPath: FilePath, filePaths: Array<FilePath>, options?: {
|
|
939
|
+
/**
|
|
940
|
+
* @deprecated Use `readTracking` instead.
|
|
941
|
+
*/
|
|
939
942
|
packageKey?: string;
|
|
940
943
|
parse?: boolean;
|
|
941
944
|
exclude?: boolean;
|
|
945
|
+
} | {
|
|
946
|
+
/**
|
|
947
|
+
* If specified, this function will return a proxy object that will track reads to
|
|
948
|
+
* config fields and only register invalidations for when those keys change.
|
|
949
|
+
*/
|
|
950
|
+
readTracking?: boolean;
|
|
942
951
|
}): Promise<ConfigResultWithFilePath<T> | null | undefined>;
|
|
943
952
|
|
|
944
953
|
/** Finds the nearest package.json from the config's searchPath. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/types-internal",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.8",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@atlaspack/diagnostic": "2.14.1",
|
|
20
|
-
"@atlaspack/feature-flags": "2.
|
|
20
|
+
"@atlaspack/feature-flags": "2.16.0",
|
|
21
21
|
"@parcel/source-map": "^2.1.1",
|
|
22
22
|
"utility-types": "^3.10.0"
|
|
23
23
|
},
|
package/src/index.js
CHANGED
|
@@ -975,11 +975,22 @@ export interface Config {
|
|
|
975
975
|
getConfigFrom<T>(
|
|
976
976
|
searchPath: FilePath,
|
|
977
977
|
filePaths: Array<FilePath>,
|
|
978
|
-
options?:
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
978
|
+
options?:
|
|
979
|
+
| {|
|
|
980
|
+
/**
|
|
981
|
+
* @deprecated Use `readTracking` instead.
|
|
982
|
+
*/
|
|
983
|
+
packageKey?: string,
|
|
984
|
+
parse?: boolean,
|
|
985
|
+
exclude?: boolean,
|
|
986
|
+
|}
|
|
987
|
+
| {|
|
|
988
|
+
/**
|
|
989
|
+
* If specified, this function will return a proxy object that will track reads to
|
|
990
|
+
* config fields and only register invalidations for when those keys change.
|
|
991
|
+
*/
|
|
992
|
+
readTracking?: boolean,
|
|
993
|
+
|},
|
|
983
994
|
): Promise<?ConfigResultWithFilePath<T>>;
|
|
984
995
|
/** Finds the nearest package.json from the config's searchPath. */
|
|
985
996
|
getPackage(): Promise<?PackageJSON>;
|