@atlaspack/types-internal 2.14.1-dev.135 → 2.14.1-dev.137

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,5 +1,53 @@
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
+
16
+ ## 2.14.6
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies [[`30f6017`](https://github.com/atlassian-labs/atlaspack/commit/30f60175ba4d272c5fc193973c63bc298584775b)]:
21
+ - @atlaspack/feature-flags@2.15.1
22
+
23
+ ## 2.14.5
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [[`a1773d2`](https://github.com/atlassian-labs/atlaspack/commit/a1773d2a62d0ef7805ac7524621dcabcc1afe929)]:
28
+ - @atlaspack/feature-flags@2.15.0
29
+
30
+ ## 2.14.4
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [[`e0f5337`](https://github.com/atlassian-labs/atlaspack/commit/e0f533757bd1019dbd108a04952c87da15286e09)]:
35
+ - @atlaspack/feature-flags@2.14.4
36
+
37
+ ## 2.14.3
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [[`11d6f16`](https://github.com/atlassian-labs/atlaspack/commit/11d6f16b6397dee2f217167e5c98b39edb63f7a7)]:
42
+ - @atlaspack/feature-flags@2.14.3
43
+
44
+ ## 2.14.2
45
+
46
+ ### Patch Changes
47
+
48
+ - Updated dependencies [[`9b85d3e`](https://github.com/atlassian-labs/atlaspack/commit/9b85d3e645b10bd027eed2304afc970a5ba40062), [`17b9579`](https://github.com/atlassian-labs/atlaspack/commit/17b9579484eced0ed8f23e2aba6d23b3c7238c39), [`8f4e6c1`](https://github.com/atlassian-labs/atlaspack/commit/8f4e6c1b0e7c1fd48624afda48c1dcc599f1460f)]:
49
+ - @atlaspack/feature-flags@2.14.2
50
+
3
51
  ## 2.14.1
4
52
 
5
53
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -937,9 +937,18 @@ export interface Config {
937
937
  * of the passed searchPath.
938
938
  */
939
939
  getConfigFrom<T>(searchPath: FilePath, filePaths: Array<FilePath>, options?: {
940
+ /**
941
+ * @deprecated Use `readTracking` instead.
942
+ */
940
943
  packageKey?: string;
941
944
  parse?: boolean;
942
945
  exclude?: boolean;
946
+ } | {
947
+ /**
948
+ * If specified, this function will return a proxy object that will track reads to
949
+ * config fields and only register invalidations for when those keys change.
950
+ */
951
+ readTracking?: boolean;
943
952
  }): Promise<ConfigResultWithFilePath<T> | null | undefined>;
944
953
 
945
954
  /** 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.1-dev.135+6dc3b3a03",
3
+ "version": "2.14.1-dev.137+67cb517ae",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "main": "src/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -16,11 +16,11 @@
16
16
  "check-ts": "tsc --noEmit lib/index.d.ts"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/diagnostic": "2.14.1-dev.135+6dc3b3a03",
20
- "@atlaspack/feature-flags": "2.14.1-dev.135+6dc3b3a03",
19
+ "@atlaspack/diagnostic": "2.14.1-dev.137+67cb517ae",
20
+ "@atlaspack/feature-flags": "2.14.1-dev.137+67cb517ae",
21
21
  "@parcel/source-map": "^2.1.1",
22
22
  "utility-types": "^3.10.0"
23
23
  },
24
24
  "type": "commonjs",
25
- "gitHead": "6dc3b3a03b9ce13c1fb3a68b46227bda0e859f44"
25
+ "gitHead": "67cb517ae793046fb5a0d2ef02ba74510fefccf3"
26
26
  }
package/src/index.js CHANGED
@@ -976,11 +976,22 @@ export interface Config {
976
976
  getConfigFrom<T>(
977
977
  searchPath: FilePath,
978
978
  filePaths: Array<FilePath>,
979
- options?: {|
980
- packageKey?: string,
981
- parse?: boolean,
982
- exclude?: boolean,
983
- |},
979
+ options?:
980
+ | {|
981
+ /**
982
+ * @deprecated Use `readTracking` instead.
983
+ */
984
+ packageKey?: string,
985
+ parse?: boolean,
986
+ exclude?: boolean,
987
+ |}
988
+ | {|
989
+ /**
990
+ * If specified, this function will return a proxy object that will track reads to
991
+ * config fields and only register invalidations for when those keys change.
992
+ */
993
+ readTracking?: boolean,
994
+ |},
984
995
  ): Promise<?ConfigResultWithFilePath<T>>;
985
996
  /** Finds the nearest package.json from the config's searchPath. */
986
997
  getPackage(): Promise<?PackageJSON>;