New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lowkie

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lowkie - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

10

lib/schema.js

@@ -187,5 +187,6 @@ 'use strict';

}
// console.log({flattened})
if (flattened[`${ ref.path }.ref`]) {
let name = pluralize(flattened[`${ref.path}.ref`]);
let toPopulate = collections.filter(collection => collection.name === name)[0];
let name = pluralize(flattened[`${ref.path}.ref`]).toLowerCase();
let toPopulate = collections.filter(collection => collection.name.toLowerCase() === name)[0];
let _id = flattenedDoc[ref.path];

@@ -198,4 +199,5 @@ if (_id) {

let reference = flattened[refpath];
let name = pluralize(reference);
let toPopulate = collections.filter(collection => collection.name === name)[0];
let name = pluralize(reference).toLowerCase();
let toPopulate = collections.filter(collection => collection.name.toLowerCase() === name)[ 0 ];
// console.log({toPopulate,reference,refpath,name})
let nestedIndex = 0;

@@ -202,0 +204,0 @@ let entityPath = refpath.substring(0, refpath.indexOf('.ref'));

2

package.json
{
"name": "lowkie",
"version": "1.3.1",
"version": "1.3.2",
"license": "MIT",

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