Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ealmansi/jagger

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ealmansi/jagger - npm Package Compare versions

Comparing version 0.1.21 to 0.1.22

js/bin/generate.d.ts

22

js/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc