@tapjs/processinfo
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -1,3 +0,4 @@ | ||
export declare const saveLineLengths: (filename: string, content: string) => void; | ||
/// <reference types="node" /> | ||
export declare const saveLineLengths: (filename: string, content?: string | Buffer) => void; | ||
export declare const getLineLengths: (filename: string) => number[] | undefined; | ||
//# sourceMappingURL=line-lengths.d.ts.map |
@@ -12,2 +12,6 @@ "use strict"; | ||
const saveLineLengths = (filename, content) => { | ||
if (content === undefined) | ||
return; | ||
if (typeof content === 'object') | ||
content = String(content); | ||
if (filename.startsWith('file://')) | ||
@@ -14,0 +18,0 @@ filename = (0, url_1.fileURLToPath)(filename); |
@@ -1,3 +0,4 @@ | ||
export declare const saveLineLengths: (filename: string, content: string) => void; | ||
/// <reference types="node" /> | ||
export declare const saveLineLengths: (filename: string, content?: string | Buffer) => void; | ||
export declare const getLineLengths: (filename: string) => number[] | undefined; | ||
//# sourceMappingURL=line-lengths.d.ts.map |
@@ -9,2 +9,6 @@ // TODO: Refactor once https://github.com/nodejs/node/issues/48460 fixed | ||
export const saveLineLengths = (filename, content) => { | ||
if (content === undefined) | ||
return; | ||
if (typeof content === 'object') | ||
content = String(content); | ||
if (filename.startsWith('file://')) | ||
@@ -11,0 +15,0 @@ filename = fileURLToPath(filename); |
{ | ||
"name": "@tapjs/processinfo", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "dist" |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
375284
3019