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

hadron-document

Package Overview
Dependencies
Maintainers
1
Versions
546
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hadron-document - npm Package Compare versions

Comparing version 0.27.0 to 0.28.0

8

lib/element.js

@@ -152,9 +152,9 @@ 'use strict';

generateObject() {
if (this.currentValue) {
return this.currentValue;
}
if (this.currentType === 'Array') {
return ObjectGenerator.generateArray(this.elements);
}
return ObjectGenerator.generate(this.elements);
if (this.elements) {
return ObjectGenerator.generate(this.elements);
}
return this.currentValue;
}

@@ -161,0 +161,0 @@

@@ -7,3 +7,3 @@ {

"homepage": "https://github.com/mongodb-js/hadron-document",
"version": "0.27.0",
"version": "0.28.0",
"repository": {

@@ -10,0 +10,0 @@ "type": "git",

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