@wendellhu/redi
Advanced tools
Comparing version 0.16.0 to 0.16.1
@@ -839,2 +839,5 @@ (function (global, factory) { | ||
}, | ||
has: function (id) { | ||
return _this.has(id); | ||
} | ||
}; | ||
@@ -956,3 +959,2 @@ return cb.apply(void 0, __spreadArray([accessor], args, false)); | ||
if (shouldCache === void 0) { shouldCache = true; } | ||
var ctor = item.useClass; | ||
var thing; | ||
@@ -959,0 +961,0 @@ if (item.lazy) { |
@@ -6,2 +6,3 @@ import { Dependency, DependencyOrInstance } from './dependencyCollection'; | ||
get: Injector['get']; | ||
has: Injector['has']; | ||
} | ||
@@ -8,0 +9,0 @@ /** |
@@ -220,2 +220,5 @@ var __extends = (this && this.__extends) || (function () { | ||
}, | ||
has: function (id) { | ||
return _this.has(id); | ||
} | ||
}; | ||
@@ -337,3 +340,2 @@ return cb.apply(void 0, __spreadArray([accessor], args, false)); | ||
if (shouldCache === void 0) { shouldCache = true; } | ||
var ctor = item.useClass; | ||
var thing; | ||
@@ -340,0 +342,0 @@ if (item.lazy) { |
{ | ||
"$schema": "https://raw.githubusercontent.com/wzhudev/squirrel/master/src/schema/package.schema.json", | ||
"name": "@wendellhu/redi", | ||
"version": "0.16.0", | ||
"version": "0.16.1", | ||
"description": "A dependency library for TypeScript and JavaScript, along with a binding for React.", | ||
@@ -9,3 +9,3 @@ "author": "Wenzhao Hu<wzhudev@gmail.com>", | ||
"main": "./dist/redi.js", | ||
"module": "./fesm/redi.js", | ||
"module": "./fesm/redi.mjs", | ||
"typings": "./esm/publicApi.d.ts", | ||
@@ -15,13 +15,13 @@ "sideEffects": false, | ||
"./react-bindings": { | ||
"import": "./fesm/react-bindings.js", | ||
"require": "./dist/react-bindings.js", | ||
"types": "./esm/react-bindings/publicApi.d.ts" | ||
"types": "./esm/react-bindings/publicApi.d.ts", | ||
"import": "./fesm/react-bindings.mjs", | ||
"require": "./dist/react-bindings.js" | ||
}, | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": "./fesm/redi.js", | ||
"require": "./dist/redi.js", | ||
"types": "./esm/publicApi.d.ts" | ||
"types": "./esm/publicApi.d.ts", | ||
"import": "./fesm/redi.mjs", | ||
"require": "./dist/redi.js" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
499078
5023