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

dir-compare

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dir-compare - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

build/types.d.ts

2

build/src/fileCompareHandler/default/defaultFileCompare.d.ts
/// <reference types="node" />
import fs from 'fs';
import { Options } from '../..';
import { Options } from '../../../types';
/**

@@ -5,0 +5,0 @@ * Compares two files by content.

@@ -1,2 +0,2 @@

import { Options } from '../../..';
import { Options } from '../../../../types';
import { LineBatch } from '../lineReader/LineBatch';

@@ -3,0 +3,0 @@ interface RestLines {

@@ -1,4 +0,4 @@

import { Options } from "../../..";
import { Options } from "../../../../types";
import { CompareLinesResult } from "./CompareLinesResult";
export declare function compareLines(lines1: string[], lines2: string[], options: Options): CompareLinesResult;
//# sourceMappingURL=compareLines.d.ts.map
/// <reference types="node" />
import fs from 'fs';
import { Options } from '../..';
import { Options } from '../../../types';
export default function compareAsync(path1: string, stat1: fs.Stats, path2: string, stat2: fs.Stats, options: Options): Promise<boolean>;
//# sourceMappingURL=compareAsync.d.ts.map
/// <reference types="node" />
import fs from 'fs';
import { Options } from '../..';
import { Options } from '../../../types';
export default function compareSync(path1: string, stat1: fs.Stats, path2: string, stat2: fs.Stats, options: Options): boolean;
//# sourceMappingURL=compareSync.d.ts.map
{
"name": "dir-compare",
"version": "3.1.2",
"version": "3.1.3",
"description": "Node JS directory compare",
"main": "build/src/index.js",
"types": "src/index.d.ts",
"types": "build/types.d.ts",
"repository": {

@@ -17,3 +17,4 @@ "type": "git",

"files": [
"build/src"
"build/src",
"build/types.d.ts"
],

@@ -23,3 +24,3 @@ "scripts": {

"clean": "rm -rf build && rm -rf .nyc_output && rm -rf coverage",
"copydeps": "copyfiles \"test/expected/**\" test/testdir.tar \"test/extended/res/**\" build",
"copydeps": "copyfiles \"test/expected/**\" test/testdir.tar \"test/extended/res/**\" types.d.ts build",
"build": "tsc && npm run lint && npm run copydeps",

@@ -26,0 +27,0 @@ "lint": "eslint ./src ./test --ext .ts,.js",

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

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