Socket
Socket
Sign inDemoInstall

create-test-object

Package Overview
Dependencies
2
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

10

index.js
const modifyObjects = require("modify-objects");
const filterProperties = require("./FilterProperties.js");
var allProperties = [];
module.exports = function (obj, propertiesType) {
var allProperties = [];
for (let i = 0; i <= propertiesType.length - 1; i++) {
allProperties.concat(filterProperties[propertiesType[i]]);
const temp = filterProperties[propertiesType[i]];
for (let j = 0; j <= temp.length - 1; j++) {
allProperties.push(temp[j]);
}
}
return modifyObjects(obj, allProperties);
}
{
"name": "create-test-object",
"version": "1.0.1",
"version": "1.0.2",
"description": "filter objects",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc