@ealmansi/jagger
Advanced tools
Comparing version 0.1.21 to 0.1.22
@@ -1,22 +0,2 @@ | ||
/** | ||
* | ||
*/ | ||
export declare namespace Jagger { | ||
abstract class Module { | ||
} | ||
abstract class Component { | ||
} | ||
interface Provider<Params extends any[], Type> { | ||
(...args: Params): Type; | ||
} | ||
function instance<Class extends new (...args: any) => any>(klass: Class): { | ||
(...args: ConstructorParameters<Class>): InstanceType<Class>; | ||
}; | ||
function as<SubType extends Type, Type>(): { | ||
(value: SubType): Type; | ||
}; | ||
function array<Values extends Array<Type>, Type>(): { | ||
(...values: Values): Array<Type>; | ||
}; | ||
} | ||
export { Jagger } from "./lib/Jagger.js"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,31 +0,2 @@ | ||
/** | ||
* | ||
*/ | ||
export var Jagger; | ||
(function (Jagger) { | ||
class Module { | ||
} | ||
Jagger.Module = Module; | ||
class Component { | ||
} | ||
Jagger.Component = Component; | ||
function instance(klass) { | ||
return function (...args) { | ||
return new klass(...args); | ||
}; | ||
} | ||
Jagger.instance = instance; | ||
function as() { | ||
return function (value) { | ||
return value; | ||
}; | ||
} | ||
Jagger.as = as; | ||
function array() { | ||
return function (...values) { | ||
return values; | ||
}; | ||
} | ||
Jagger.array = array; | ||
})(Jagger || (Jagger = {})); | ||
export { Jagger } from "./lib/Jagger.js"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@ealmansi/jagger", | ||
"version": "0.1.21", | ||
"version": "0.1.22", | ||
"description": "WIP", | ||
"files": [ | ||
"./js" | ||
"./js", | ||
"!*.test.js", | ||
"!*.test.js.map", | ||
"!*.test.d.ts", | ||
"!*.test.d.ts.map" | ||
], | ||
@@ -14,3 +18,3 @@ "type": "module", | ||
"bin": { | ||
"jagger-generate": "./js/generate.js" | ||
"jagger-generate": "./js/bin/generate.js" | ||
}, | ||
@@ -31,8 +35,9 @@ "repository": { | ||
"engines": { | ||
"node": ">=18.15" | ||
"node": ">=20" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.12.7", | ||
"prettier": "^3.0.3", | ||
"prettier": "^3.2.5", | ||
"rimraf": "^5.0.5", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.4.4" | ||
@@ -43,5 +48,6 @@ }, | ||
"dev": "tsc --build --watch", | ||
"clean": "tsc --build --clean", | ||
"test": "node --test", | ||
"clean": "tsc --build --clean && rimraf ./js ./tsconfig.tsbuildinfo", | ||
"format": "prettier --write ./ts" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
66413
43
5
683
1