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

@file-services/types

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@file-services/types - npm Package Compare versions

Comparing version 0.4.6 to 0.4.7

cjs/constants.d.ts

12

cjs/base-api.d.ts

@@ -19,2 +19,8 @@ /// <reference types="node" />

/**
* Synchronously copies src to dest.
* Param flags is used as modifiers for copy operation. Default: 0 (dest is overwritten if it already exists)
* flags = FileSystemConstants.COPYFILE_EXCL will cause copy operation to fail if dest already exists.
*/
copyFileSync(src: string, dest: string, flags?: number): void;
/**
* Read the entire contents of a file as a string.

@@ -76,2 +82,8 @@ * If `encoding` isn't specified, 'utf8' is assumed.

/**
* Asynchronously copies src to dest.
* Param flags is used as modifiers for copy operation. Default: 0 (dest is overwritten if it already exists)
* flags = FileSystemConstants.COPYFILE_EXCL will cause copy operation to fail if dest already exists.
*/
copyFile(src: string, dest: string, flags?: number): Promise<void>;
/**
* Read the entire contents of a file as a string.

@@ -78,0 +90,0 @@ * If `encoding` isn't specified, 'utf8' is assumed.

1

cjs/index.d.ts

@@ -5,2 +5,3 @@ export * from './base-api';

export * from './watch-api';
export * from './constants';
//# sourceMappingURL=index.d.ts.map
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./constants"));
//# sourceMappingURL=index.js.map

4

package.json
{
"name": "@file-services/types",
"description": "Common file system interfaces",
"version": "0.4.6",
"version": "0.4.7",
"main": "cjs/index.js",

@@ -24,3 +24,3 @@ "types": "cjs/index.d.ts",

"sideEffects": false,
"gitHead": "e8d923d4e5bd5553276b195acd5a9d794eb733c0"
"gitHead": "801ee42213735758dfacaedcf14537635f89e3d0"
}

@@ -20,2 +20,9 @@ import { IWatchService } from './watch-api'

/**
* Synchronously copies src to dest.
* Param flags is used as modifiers for copy operation. Default: 0 (dest is overwritten if it already exists)
* flags = FileSystemConstants.COPYFILE_EXCL will cause copy operation to fail if dest already exists.
*/
copyFileSync(src: string, dest: string, flags?: number): void
/**
* Read the entire contents of a file as a string.

@@ -89,2 +96,9 @@ * If `encoding` isn't specified, 'utf8' is assumed.

/**
* Asynchronously copies src to dest.
* Param flags is used as modifiers for copy operation. Default: 0 (dest is overwritten if it already exists)
* flags = FileSystemConstants.COPYFILE_EXCL will cause copy operation to fail if dest already exists.
*/
copyFile(src: string, dest: string, flags?: number): Promise<void>
/**
* Read the entire contents of a file as a string.

@@ -91,0 +105,0 @@ * If `encoding` isn't specified, 'utf8' is assumed.

@@ -5,1 +5,2 @@ export * from './base-api'

export * from './watch-api'
export * from './constants'

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc