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

broccoli-output-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-output-wrapper - npm Package Compare versions

Comparing version 1.0.2 to 2.0.0

4

dist/index.d.ts
/// <reference types="node" />
import { readFileSync, existsSync, readdirSync, lstatSync, statSync, writeFileSync, appendFileSync, rmdirSync, mkdirSync } from 'fs';
declare function outputWrapper(node: any): outputWrapper.FSOperations;
declare function outputWrapper(node: any): outputWrapper.FSOutput;
export = outputWrapper;
declare namespace outputWrapper {
interface FSOperations {
interface FSOutput {
readFileSync: typeof readFileSync;

@@ -8,0 +8,0 @@ existsSync: typeof existsSync;

{
"name": "broccoli-output-wrapper",
"version": "1.0.2",
"version": "2.0.0",
"description": "Output wrapper is a library to write output file to outputpath.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -35,3 +35,3 @@ import * as fs from 'fs';

function outputWrapper (node: any): outputWrapper.FSOperations {
function outputWrapper (node: any): outputWrapper.FSOutput {
return new Proxy(fs, {

@@ -46,3 +46,3 @@ get(target: any, propertyName: string): any {

namespace outputWrapper {
export interface FSOperations {
export interface FSOutput {
readFileSync: typeof readFileSync,

@@ -49,0 +49,0 @@ existsSync: typeof existsSync,

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