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

@pzlr/build-core

Package Overview
Dependencies
Maintainers
3
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pzlr/build-core - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

24

lib/declaration.js

@@ -97,7 +97,3 @@ 'use strict';

toJSON() {
if (this.mixin) {
return Sugar.Object.select(this, ['mixin']);
}
return Sugar.Object.select(this, ['name', 'parent', 'dependencies', 'libs']);
return Sugar.Object.select(this, ['name', this.mixin ? 'mixin' : 'parent', 'dependencies', 'libs']);
}

@@ -112,14 +108,12 @@

} else {
if (this.parent) {
res += `\n\t.extends('${this.parent}')`;
}
} else if (this.parent) {
res += `\n\t.extends('${this.parent}')`;
}
if (this.dependencies.length) {
res += `\n\t.dependencies('${this.dependencies.join(`', '`)}')`;
}
if (this.dependencies.length) {
res += `\n\t.dependencies('${this.dependencies.join(`', '`)}')`;
}
if (this.libs.length) {
res += `\n\t.libs('${this.libs.join(`', '`)}')`;
}
if (this.libs.length) {
res += `\n\t.libs('${this.libs.join(`', '`)}')`;
}

@@ -126,0 +120,0 @@

@@ -6,3 +6,3 @@ {

"main": "index.js",
"version": "1.1.2",
"version": "1.1.3",
"license": "MIT",

@@ -9,0 +9,0 @@ "author": {

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