Huge News!Announcing our $40M Series B led by Abstract Ventures.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.0 to 1.3.1

5

lib/schema.js

@@ -55,3 +55,3 @@ 'use strict';

validateDocument(original_document) {
let _document = flatten(original_document);
let _document = Object.assign({}, flatten(original_document), original_document);
_document = Object.keys(_document).reduce((result, key) => {

@@ -73,3 +73,3 @@ if (_document[key]) {

}
} else if (typeof original_document[key] === 'object' && typeof this.flattenedScheme[key] === 'function' && this.flattenedScheme[key] === Object) { //schema type mixed
} else if (typeof original_document[ key ] === 'object' && typeof this.flattenedScheme[ key ] === 'function' && this.flattenedScheme[ key ] === Object) { //schema type mixed
result[key] = original_document[key];

@@ -79,2 +79,3 @@ }

}, { _id: _document._id });
this.default_defs.forEach(key => {

@@ -81,0 +82,0 @@ let documentKey = key.substring(0, key.indexOf('.default'));

19

package.json
{
"name": "lowkie",
"version": "1.3.0",
"version": "1.3.1",
"license": "MIT",
"main": "index.js",
"maintainers": [{
"maintainers": [
{
"name": "janbialostok",

@@ -34,7 +35,9 @@ "email": "janbialostok@gmail.com"

},
"contributors": [{
"name": "Jan Bialostok",
"email": "janbialostok@gmail.com",
"url": "https://github.com/janbialostok"
}],
"contributors": [
{
"name": "Jan Bialostok",
"email": "janbialostok@gmail.com",
"url": "https://github.com/janbialostok"
}
],
"dependencies": {

@@ -101,2 +104,2 @@ "babel-polyfill": "^6.23.0",

]
}
}

@@ -1,1 +0,1 @@

{"filename":"/home/janbialostok/Developer/github/modules/lowkie/test/mock/sampledb.json","collections":[],"databaseVersion":1.1,"engineVersion":1.1,"autosave":false,"autosaveInterval":5000,"autosaveHandle":null,"throttledSaves":true,"options":{"serializationMethod":"normal","destructureDelimiter":"$<\n"},"persistenceMethod":"fs","persistenceAdapter":null,"verbose":false,"events":{"init":[null],"loaded":[],"flushChanges":[],"close":[],"changes":[],"warning":[]},"ENV":"NODEJS"}
{"filename":"/Users/yawjosephetse/Developer/github/typesettin/lowkie/test/mock/sampledb.json","collections":[],"databaseVersion":1.1,"engineVersion":1.1,"autosave":false,"autosaveInterval":5000,"autosaveHandle":null,"throttledSaves":true,"options":{"serializationMethod":"normal","destructureDelimiter":"$<\n"},"persistenceMethod":"fs","persistenceAdapter":null,"verbose":false,"events":{"init":[null],"loaded":[],"flushChanges":[],"close":[],"changes":[],"warning":[]},"ENV":"NODEJS"}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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