@spinajs/di 1.2.79 → 1.2.81

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/root.d.ts CHANGED
@@ -47,7 +47,7 @@ export declare function clearCache(): void;
47
47
  */
48
48
  export declare function register<T>(type: Class<T> | Factory<T> | ResolvableObject): IBind;
49
49
  export declare function unregister<T>(type: Class<T> | Factory<T> | ResolvableObject): void;
50
- export declare function uncashe<T>(type: string | Class<T> | TypedArray<T>, parent?: boolean): void;
50
+ export declare function uncache<T>(type: string | Class<T> | TypedArray<T>, parent?: boolean): void;
51
51
  /**
52
52
  * Resolves specified type from root container.
53
53
  *
package/lib/root.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.child = exports.check = exports.has = exports.get = exports.resolve = exports.uncashe = exports.unregister = exports.register = exports.clearCache = exports.clearRegistry = exports.clear = exports.eventNames = exports.prependOnceListener = exports.prependListener = exports.listenerCount = exports.emit = exports.rawListeners = exports.listeners = exports.getMaxListeners = exports.setMaxListeners = exports.removeAllListeners = exports.off = exports.removeListener = exports.once = exports.addListener = exports.on = exports.RootContainer = void 0;
3
+ exports.child = exports.check = exports.has = exports.get = exports.resolve = exports.uncache = exports.unregister = exports.register = exports.clearCache = exports.clearRegistry = exports.clear = exports.eventNames = exports.prependOnceListener = exports.prependListener = exports.listenerCount = exports.emit = exports.rawListeners = exports.listeners = exports.getMaxListeners = exports.setMaxListeners = exports.removeAllListeners = exports.off = exports.removeListener = exports.once = exports.addListener = exports.on = exports.RootContainer = void 0;
4
4
  const container_1 = require("./container");
5
5
  /**
6
6
  * App main DI container
@@ -109,10 +109,10 @@ function unregister(type) {
109
109
  exports.RootContainer.unregister(type);
110
110
  }
111
111
  exports.unregister = unregister;
112
- function uncashe(type, parent) {
112
+ function uncache(type, parent) {
113
113
  exports.RootContainer.uncache(type, parent);
114
114
  }
115
- exports.uncashe = uncashe;
115
+ exports.uncache = uncache;
116
116
  function resolve(type, options, check) {
117
117
  return exports.RootContainer.resolve(type, options, check);
118
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spinajs/di",
3
- "version": "1.2.79",
3
+ "version": "1.2.81",
4
4
  "description": "lightweight di container ",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -39,9 +39,9 @@
39
39
  },
40
40
  "homepage": "https://github.com/spinajs/di#readme",
41
41
  "dependencies": {
42
- "@spinajs/exceptions": "^1.2.79",
42
+ "@spinajs/exceptions": "^1.2.81",
43
43
  "lodash": "^4.17.21",
44
44
  "reflect-metadata": "^0.1.13"
45
45
  },
46
- "gitHead": "ae595f5daffb88372496b6e5bf38973f07e33683"
46
+ "gitHead": "dd58385e770069586eb8814a13365ce889d46b34"
47
47
  }