Comparing version 3.1.1 to 3.2.0
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { PathLike } from 'node:fs'; | ||
import { writeFile } from 'node:fs/promises'; | ||
type Data = Parameters<typeof writeFile>[1]; | ||
export declare class Writer { | ||
#private; | ||
constructor(filename: PathLike); | ||
write(data: string): Promise<void>; | ||
write(data: Data): Promise<void>; | ||
} | ||
export {}; |
{ | ||
"name": "steno", | ||
"version": "3.1.1", | ||
"version": "3.2.0", | ||
"description": "Specialized fast async file writer", | ||
@@ -37,3 +37,3 @@ "keywords": [ | ||
"scripts": { | ||
"test": "npm run build && xv lib", | ||
"test": "node --import tsx/esm --test src/test.ts", | ||
"build": "del-cli lib && tsc", | ||
@@ -56,4 +56,4 @@ "lint": "eslint src --ext .ts --ignore-path .gitignore", | ||
"husky": "^8.0.3", | ||
"typescript": "^5.2.2", | ||
"xv": "^2.1.1" | ||
"tsx": "^4.7.0", | ||
"typescript": "^5.2.2" | ||
}, | ||
@@ -60,0 +60,0 @@ "engines": { |
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
6435
79