Socket
Socket
Sign inDemoInstall

flexpress

Package Overview
Dependencies
42
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

4

dist/flexpress.js

@@ -29,3 +29,3 @@ "use strict";

exports.run = () => __awaiter(this, void 0, void 0, function* () {
logger.info('Reading your projects dependencies');
logger.info('\n\nReading your projects dependencies');
const project = ProjectBuilder_1.ProjectBuilder.createProjectFromStructure();

@@ -45,3 +45,3 @@ const projectLock = projectLockBuilder.create(project.projectLockPath);

flexpressLockManager.persist(project.flexpressLockPath, projectLock);
logger.success('Some files may have been created or updated to configure your new packages');
logger.success('\nSome files may have been created or updated to configure your new packages');
logger.success('Please review, edit and commit them: these files are yours.\n');

@@ -48,0 +48,0 @@ if (postInstallOutput) {

@@ -23,5 +23,5 @@ "use strict";

count++;
queries.push(new Promise((resolve, reject) => {
queries.push(new Promise(resolve => {
this.apiClient.downloadArchive(recipe)
.then((content) => {
.then(content => {
fs.ensureDirSync(recipeCacheDir);

@@ -31,5 +31,6 @@ fs.writeFileSync(recipeArchivePath, content);

const zip = new AdmZip(recipeArchivePath);
zip.extractAllTo(recipeCacheDir);
zip.extractAllTo(recipeCacheDir, true);
resolve();
})
.catch((err) => {
.catch(err => {
throw new Error('Recipe ' + recipe.archive + ' could not be downloaded. (error: ' + err + ')');

@@ -36,0 +37,0 @@ });

@@ -5,3 +5,3 @@ {

"description": "An incremental Node.js framework to combine the simplicity of Express.js with the features of a full-stack framework",
"version": "0.0.3",
"version": "0.0.4",
"bin": "flexpress",

@@ -8,0 +8,0 @@ "scripts": {

@@ -23,3 +23,3 @@ import * as os from 'os';

export const run = async () => {
logger.info('Reading your projects dependencies');
logger.info('\n\nReading your projects dependencies');
const project = ProjectBuilder.createProjectFromStructure();

@@ -45,3 +45,3 @@ const projectLock = projectLockBuilder.create(project.projectLockPath);

logger.success('Some files may have been created or updated to configure your new packages');
logger.success('\nSome files may have been created or updated to configure your new packages');
logger.success('Please review, edit and commit them: these files are yours.\n');

@@ -48,0 +48,0 @@

@@ -36,5 +36,5 @@ import * as fs from 'fs-extra';

queries.push(new Promise<void>((resolve, reject) => {
queries.push(new Promise<void>(resolve => {
this.apiClient.downloadArchive(recipe)
.then((content) => {
.then(content => {
fs.ensureDirSync(recipeCacheDir);

@@ -45,5 +45,7 @@ fs.writeFileSync(recipeArchivePath, content);

const zip = new AdmZip(recipeArchivePath);
zip.extractAllTo(recipeCacheDir);
zip.extractAllTo(recipeCacheDir, true);
resolve();
})
.catch((err) => {
.catch(err => {
throw new Error('Recipe '+recipe.archive+' could not be downloaded. (error: '+err+')');

@@ -50,0 +52,0 @@ })

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc