Socket
Socket
Sign inDemoInstall

macroable

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

macroable - npm Package Compare versions

Comparing version 6.0.2 to 6.0.3

4

build/index.d.ts

@@ -57,3 +57,3 @@ /**

*/
static macro<T extends typeof Macroable>(this: T, name: string, callback: MacroFn<InstanceType<T>, any[], any>): void;
static macro<T extends typeof Macroable, K extends string>(this: T, name: string, callback: GetMacroFn<InstanceType<T>, K>): void;
/**

@@ -87,3 +87,3 @@ * Return the existing macro or null if it doesn't exists

*/
static getter<T extends typeof Macroable>(this: T, name: string, callback: GetterFn<InstanceType<T>, any>, singleton?: boolean): void;
static getter<T extends typeof Macroable, K extends string>(this: T, name: string, callback: GetGetterFn<InstanceType<T>, K>, singleton?: boolean): void;
/**

@@ -90,0 +90,0 @@ * Return the existing getter or null if it doesn't exists

{
"name": "macroable",
"version": "6.0.2",
"version": "6.0.3",
"description": "A simple ES6 class that can be extended to provide macros and getters functionality",

@@ -5,0 +5,0 @@ "main": "build/index.js",

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