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

@blocklet/meta

Package Overview
Dependencies
Maintainers
2
Versions
740
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocklet/meta - npm Package Compare versions

Comparing version 1.0.32 to 1.0.33-beta.0

20

lib/fix.js

@@ -175,3 +175,3 @@ /* eslint-disable prefer-destructuring */

const fixInterfaces = (meta) => {
const fixInterfaces = (meta, removeMerged = true) => {
if (!Array.isArray(meta.interfaces)) {

@@ -181,2 +181,6 @@ meta.interfaces = [];

if (meta.interfaces.length) {
return meta;
}
const supportDynamicPathPrefix = get(meta, 'capabilities.dynamicPathPrefix', true);

@@ -217,8 +221,10 @@ const prefix = supportDynamicPathPrefix ? BLOCKLET_DYNAMIC_PATH_PREFIX : '/';

delete meta.publicUrl;
delete meta.adminUrl;
delete meta.configUrl;
delete meta.docUrl;
delete meta.exposeServices;
delete meta.capabilities;
if (removeMerged) {
delete meta.publicUrl;
delete meta.adminUrl;
delete meta.configUrl;
delete meta.docUrl;
delete meta.exposeServices;
delete meta.capabilities;
}

@@ -225,0 +231,0 @@ return meta;

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

},
"version": "1.0.32",
"version": "1.0.33-beta.0",
"description": "Library to parse/validate/fix blocklet meta",

@@ -9,0 +9,0 @@ "main": "lib/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