runtime-compiler 2.1.0 → 2.1.1

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.
Files changed (2) hide show
  1. package/index.d.ts +4 -0
  2. package/package.json +6 -6
package/index.d.ts CHANGED
@@ -9,6 +9,10 @@ export type InferDependency<T extends {
9
9
  [_]: any
10
10
  }> = T[typeof _];
11
11
  /**
12
+ * Global cache that resets after builds
13
+ */
14
+ export declare let cache: WeakSet<any>;
15
+ /**
12
16
  * Inject a local dependency.
13
17
  * Use in `default` and `build` mode.
14
18
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runtime-compiler",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Universal compiler system",
5
5
  "keywords": [],
6
6
  "repository": {},
@@ -8,13 +8,13 @@
8
8
  "license": "MIT",
9
9
  "type": "module",
10
10
  "exports": {
11
- "./utils": "./utils.js",
12
- "./call": "./call.js",
13
- "./config/loader/hydrate": "./config/loader/hydrate.js",
14
11
  ".": "./index.js",
15
- "./config/loader/build": "./config/loader/build.js",
12
+ "./call": "./call.js",
13
+ "./utils": "./utils.js",
16
14
  "./config/mode/hydrate": "./config/mode/hydrate.js",
15
+ "./config/mode/build": "./config/mode/build.js",
17
16
  "./config": "./config/index.js",
18
- "./config/mode/build": "./config/mode/build.js"
17
+ "./config/loader/hydrate": "./config/loader/hydrate.js",
18
+ "./config/loader/build": "./config/loader/build.js"
19
19
  }
20
20
  }