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

@devsnicket/eunice-dependency-and-structure

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devsnicket/eunice-dependency-and-structure - npm Package Compare versions

Comparing version 2.15.0 to 2.15.1

26

createYamlFromStack/index.js

@@ -59,13 +59,21 @@ /* Copyright (c) 2018 Graham Dyson. All Rights Reserved.

return (
dependsUponProperty || itemsProperty || Object.keys(restOfItem).length
?
{
...identifier && { id: identifier },
...restOfItem,
...dependsUponProperty,
...itemsProperty,
}
:
whenStructured()
||
identifier
||
{}
);
function whenStructured() {
return (
(dependsUponProperty || itemsProperty || Object.keys(restOfItem).length)
&&
{
...identifier && { id: identifier },
...restOfItem,
...dependsUponProperty,
...itemsProperty,
}
);
}
}

@@ -72,0 +80,0 @@

@@ -65,3 +65,3 @@ {

},
"version": "2.15.0"
"version": "2.15.1"
}

@@ -44,2 +44,6 @@ /* Copyright (c) 2018 Graham Dyson. All Rights Reserved.

{
levels: [ [ {} ] ],
yaml: {},
},
{
levels:

@@ -46,0 +50,0 @@ [ [ { id: "item" } ] ],

@@ -62,2 +62,3 @@ /* Copyright (c) 2018 Graham Dyson. All Rights Reserved.

}) {
/** @type {import("../index").Item} */
const item =

@@ -64,0 +65,0 @@ {

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