@parcel/types-internal 2.13.3-dev.3418 → 2.13.3

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/lib/index.d.ts CHANGED
@@ -100,7 +100,7 @@ export interface Target {
100
100
  }
101
101
 
102
102
  /** In which environment the output should run (influces e.g. bundle loaders) */
103
- export type EnvironmentContext = "browser" | "web-worker" | "service-worker" | "worklet" | "node" | "electron-main" | "electron-renderer" | "react-client" | "react-server";
103
+ export type EnvironmentContext = "browser" | "web-worker" | "service-worker" | "worklet" | "node" | "electron-main" | "electron-renderer";
104
104
 
105
105
  /** The JS module format for the bundle output */
106
106
  export type OutputFormat = "esmodule" | "commonjs" | "global";
@@ -199,9 +199,6 @@ export interface Environment {
199
199
  /** Whether <code>context</code> specifies a node context. */
200
200
  isNode(): boolean;
201
201
 
202
- /** Whether <code>context</code> specifies a server context. */
203
- isServer(): boolean;
204
-
205
202
  /** Whether <code>context</code> specifies an electron context. */
206
203
  isElectron(): boolean;
207
204
 
@@ -1740,7 +1737,6 @@ export type RuntimeAsset = {
1740
1737
  readonly dependency?: Dependency;
1741
1738
  readonly isEntry?: boolean;
1742
1739
  readonly env?: EnvironmentOptions;
1743
- readonly shouldReplaceResolution?: boolean;
1744
1740
  };
1745
1741
 
1746
1742
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/types-internal",
3
- "version": "2.13.3-dev.3418+9f297b15c",
3
+ "version": "2.13.3",
4
4
  "license": "MIT",
5
5
  "main": "src/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -16,10 +16,10 @@
16
16
  "check-ts": "tsc --noEmit lib/index.d.ts"
17
17
  },
18
18
  "dependencies": {
19
- "@parcel/diagnostic": "2.0.0-dev.1795+9f297b15c",
20
- "@parcel/feature-flags": "2.13.3-dev.3418+9f297b15c",
19
+ "@parcel/diagnostic": "2.13.3",
20
+ "@parcel/feature-flags": "2.13.3",
21
21
  "@parcel/source-map": "^2.1.1",
22
22
  "utility-types": "^3.10.0"
23
23
  },
24
- "gitHead": "9f297b15c3cc3b74136232040b3149f0baae0060"
24
+ "gitHead": "d19b1f6bdb05eb5a3085f44daae15c0fe2709ab9"
25
25
  }
package/src/index.js CHANGED
@@ -167,9 +167,7 @@ export type EnvironmentContext =
167
167
  | 'worklet'
168
168
  | 'node'
169
169
  | 'electron-main'
170
- | 'electron-renderer'
171
- | 'react-client'
172
- | 'react-server';
170
+ | 'electron-renderer';
173
171
 
174
172
  /** The JS module format for the bundle output */
175
173
  export type OutputFormat = 'esmodule' | 'commonjs' | 'global';
@@ -284,8 +282,6 @@ export interface Environment {
284
282
  isBrowser(): boolean;
285
283
  /** Whether <code>context</code> specifies a node context. */
286
284
  isNode(): boolean;
287
- /** Whether <code>context</code> specifies a server context. */
288
- isServer(): boolean;
289
285
  /** Whether <code>context</code> specifies an electron context. */
290
286
  isElectron(): boolean;
291
287
  /** Whether <code>context</code> specifies a worker context. */
@@ -1725,7 +1721,6 @@ export type RuntimeAsset = {|
1725
1721
  +dependency?: Dependency,
1726
1722
  +isEntry?: boolean,
1727
1723
  +env?: EnvironmentOptions,
1728
- +shouldReplaceResolution?: boolean,
1729
1724
  |};
1730
1725
 
1731
1726
  /**