Socket
Socket
Sign inDemoInstall

@appsemble/cli

Package Overview
Dependencies
Maintainers
2
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appsemble/cli - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

9

lib/util/readResources.js

@@ -20,3 +20,3 @@ const path = require('path');

const stat = await fs.stat(resourcesDir);
if (!stat.isDirectory) {
if (!stat.isDirectory()) {
return result;

@@ -26,3 +26,8 @@ }

await Promise.all(files.map(async (filename) => {
const { config, filepath } = await explorer.load(null, path.join(resourcesDir, filename));
const fullPath = path.join(resourcesDir, filename);
const resourceStat = await fs.stat(fullPath);
if (!resourceStat.isFile()) {
return;
}
const { config, filepath } = await explorer.load(null, fullPath);
log.info('Read resource from', filepath);

@@ -29,0 +34,0 @@ result[path.parse(filename).name] = config;

{
"name": "@appsemble/cli",
"version": "0.1.2",
"version": "0.2.0",
"description": "A CLI for the Appsemble extension platform",

@@ -5,0 +5,0 @@ "homepage": "https://www.appsemble.com",

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