@fougere/container 0.12.0-alpha.0 → 0.12.1-alpha.0

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.
@@ -1,7 +1,7 @@
1
1
  export class ContainerError extends Error {
2
2
  constructor(message) {
3
3
  super(message);
4
- this.name = new.target.name;
4
+ this.name = 'ContainerError';
5
5
  }
6
6
  static all(failures, message) {
7
7
  return new AggregateError(failures, message);
@@ -1 +1 @@
1
- {"version":3,"file":"ContainerError.js","sourceRoot":"","sources":["../src/ContainerError.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,cAAe,SAAQ,KAAK;IACvC,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,IAAI,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC;IAC9B,CAAC;IAED,MAAM,CAAC,GAAG,CAAC,QAAmB,EAAE,OAAe;QAC7C,OAAO,IAAI,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;CACF"}
1
+ {"version":3,"file":"ContainerError.js","sourceRoot":"","sources":["../src/ContainerError.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,cAAe,SAAQ,KAAK;IACvC,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,IAAI,GAAG,gBAAgB,CAAC;IAC/B,CAAC;IAED,MAAM,CAAC,GAAG,CAAC,QAAmB,EAAE,OAAe;QAC7C,OAAO,IAAI,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fougere/container",
3
- "version": "0.12.0-alpha.0",
3
+ "version": "0.12.1-alpha.0",
4
4
  "description": "Fougere's DI container: resolution by type, wired from the AST scan. Zero dependencies.",
5
5
  "keywords": [
6
6
  "fougere",
@@ -2,7 +2,7 @@ export class ContainerError extends Error {
2
2
  constructor(message: string) {
3
3
  super(message);
4
4
 
5
- this.name = new.target.name;
5
+ this.name = 'ContainerError';
6
6
  }
7
7
 
8
8
  static all(failures: unknown[], message: string): AggregateError {