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

clique-seeds

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clique-seeds - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

package.json
{
"name": "clique-seeds",
"description": "A utility for creating seed data for both the server and client.",
"version": "0.0.6",
"version": "0.0.7",
"author": "Walker Ward <walker.ward1@gmail.com> ()",

@@ -6,0 +6,0 @@ "bugs": {

@@ -117,4 +117,4 @@ /**

const records = this.records[recordType];
const hasManys = Object.keys(this.records);
const belongsTo = ['rootFolder', ...hasManys.map(o => o.replace(/[s]$/, ''))];
const hasManys = ['rootFolder', ...Object.keys(this.records)];
const belongsTo = Object.keys(this.records).map(o => o.replace(/[s]$/, ''));

@@ -125,3 +125,4 @@ return records.map((record) => {

if (typeof prev[hasMany] !== 'undefined') {
prev[hasMany] = prev[hasMany].map(o => pick(o, ['id', 'type'])); // eslint-disable-line no-param-reassign
if (prev[hasMany].id) prev[hasMany] = pick(prev[hasMany], ['id', 'type']); // eslint-disable-line no-param-reassign
else prev[hasMany] = prev[hasMany].map(o => pick(o, ['id', 'type'])); // eslint-disable-line no-param-reassign
}

@@ -128,0 +129,0 @@ return prev;

Sorry, the diff of this file is too big to display

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