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

@lcap/builder

Package Overview
Dependencies
Maintainers
20
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lcap/builder - npm Package Compare versions

Comparing version 1.1.0-beta.4 to 1.1.0-beta.5

12

lib/build/gen-nasl-extension-config.js

@@ -61,4 +61,4 @@ "use strict";

concept: 'FrontendLibrary',
name: 'mobile',
type: 'mobile',
name: 'h5',
type: 'h5',
frameworkKind,

@@ -69,7 +69,7 @@ viewComponents: [],

viewComponents.forEach((c) => {
const typeKind = ['both', 'pc', 'mobile'].indexOf(c.type) !== -1 ? c.type : 'pc';
const typeKind = ['both', 'pc', 'h5'].indexOf(c.type) !== -1 ? c.type : 'pc';
if (typeKind === 'pc') {
pcFeLibrary.viewComponents.push(c);
}
else if (typeKind === 'mobile') {
else if (typeKind === 'h5') {
mobileFeLibrary.viewComponents.push(c);

@@ -83,7 +83,7 @@ }

logics.forEach((c) => {
const typeKind = ['both', 'pc', 'mobile'].indexOf(c.type) !== -1 ? c.type : 'pc';
const typeKind = ['both', 'pc', 'h5'].indexOf(c.type) !== -1 ? c.type : 'pc';
if (typeKind === 'pc') {
pcFeLibrary.logics.push(c);
}
else if (typeKind === 'mobile') {
else if (typeKind === 'h5') {
mobileFeLibrary.logics.push(c);

@@ -90,0 +90,0 @@ }

{
"name": "@lcap/builder",
"version": "1.1.0-beta.4",
"version": "1.1.0-beta.5",
"description": "lcap builder utils",

@@ -5,0 +5,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