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 4.0.0 to 4.0.1

4

build/index.js

@@ -22,3 +22,3 @@ "use strict";

constructor() {
if (!this.constructor.hasOwnProperty('macros') || !this.constructor.hasOwnProperty('getters')) {
if (!this.constructor['macros'] || !this.constructor['getters']) {
throw new Error('Set static properties "macros = {}" and "getters = {}" on the class for the macroable to work.');

@@ -112,3 +112,1 @@ }

exports.Macroable = Macroable;
Macroable.macros = {};
Macroable.getters = {};
{
"name": "macroable",
"version": "4.0.0",
"version": "4.0.1",
"description": "A simple ES6 class that can be extended to provide macros and getters functionality",

@@ -30,8 +30,8 @@ "main": "build/index.js",

"@adonisjs/mrm-preset": "^2.2.3",
"@types/node": "^12.12.21",
"@types/node": "^13.1.1",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"del-cli": "^3.0.0",
"eslint": "^6.7.2",
"eslint-plugin-adonis": "^1.0.4",
"eslint": "^6.8.0",
"eslint-plugin-adonis": "^1.0.5",
"husky": "^3.1.0",

@@ -42,3 +42,3 @@ "japa": "^3.0.1",

"ts-node": "^8.5.4",
"typescript": "^3.7.3"
"typescript": "^3.7.4"
},

@@ -45,0 +45,0 @@ "dependencies": {},

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