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

@restroom-mw/files

Package Overview
Dependencies
Maintainers
3
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@restroom-mw/files - npm Package Compare versions

Comparing version 0.13.1-90283f1.56 to 0.13.1-95d4ac2.64

12

dist/index.js

@@ -82,4 +82,6 @@ "use strict";

for (let i = 0; i < allPassOutputs.length; i += 2) {
const file = result[allPassOutputs[i]];
const folder = input[allPassOutputs[i + 1]];
const file = result[allPassOutputs[i]] ||
input[allPassOutputs[i]];
const folder = result[allPassOutputs[i + 1]] ||
input[allPassOutputs[i + 1]];
if (!file) {

@@ -113,4 +115,6 @@ throw new Error(`[FILES] url not defined`);

for (let i = 0; i < allPassOutputs.length; i += 2) {
const variable = result[allPassOutputs[i]];
const file = input[allPassOutputs[i + 1]];
const variable = result[allPassOutputs[i]] ||
input[allPassOutputs[i]];
const file = result[allPassOutputs[i + 1]] ||
input[allPassOutputs[i + 1]];
if (!variable) {

@@ -117,0 +121,0 @@ throw new Error(`[FILES] variable not defined`);

{
"name": "@restroom-mw/files",
"version": "0.13.1-90283f1.56+90283f1",
"version": "0.13.1-95d4ac2.64+95d4ac2",
"description": "Utilities middleware to work with files for Restroom",

@@ -35,3 +35,3 @@ "author": "Alberto Lerda <alberto@dyne.org>",

},
"gitHead": "90283f1488839b9900327d285e6bed8876e044dd"
"gitHead": "95d4ac260cf6746f87f3ca134b9022c2a95a7d3e"
}

@@ -81,4 +81,6 @@ import {Restroom} from "@restroom-mw/core";

for (let i = 0; i < allPassOutputs.length; i += 2) {
const file = result[allPassOutputs[i]]
const folder = input[allPassOutputs[i + 1]];
const file = result[allPassOutputs[i]] ||
input[allPassOutputs[i]];
const folder = result[allPassOutputs[i + 1]] ||
input[allPassOutputs[i + 1]];

@@ -114,4 +116,6 @@ if(!file) {

for (let i = 0; i < allPassOutputs.length; i += 2) {
const variable = result[allPassOutputs[i]]
const file = input[allPassOutputs[i + 1]]
const variable = result[allPassOutputs[i]] ||
input[allPassOutputs[i]];
const file = result[allPassOutputs[i + 1]] ||
input[allPassOutputs[i + 1]];

@@ -118,0 +122,0 @@ if(!variable) {

Sorry, the diff of this file is not supported yet

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