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

@oldendev/testplugin

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oldendev/testplugin - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

13

.eslintrc.json

@@ -10,3 +10,16 @@ {

"ecmaVersion": "latest"
},
"globals": {
"api": "readonly",
"application": "readonly",
"config": "readonly",
"context": "readonly",
"node": "readonly",
"npm": "readonly",
"lib": "readonly",
"db": "readonly",
"bus": "readonly",
"domain": "readonly",
"metarhia": "readonly"
}
}

8

lib/crud.js

@@ -1,11 +0,13 @@

/* eslint-disable no-loop-func */
'use strict';
module.exports = (init) => (context) => {
module.exports = (init) => {
const iface = {};
const { entities } = init;
for (const [entity, data] of Object.entries(entities)) {
iface['schema' + entity] = async () => ({ context, data });
iface['schema' + entity] = (context) => async () => ({
context,
data,
});
}
return iface;
};
{
"name": "@oldendev/testplugin",
"version": "1.1.5",
"version": "1.1.6",
"description": "CRUD plugin for Metarhia impress, metasql",

@@ -5,0 +5,0 @@ "main": "testPlugin.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