fs-stream-sync 2.0.11 → 2.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,70 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.15](https://github.com/bluelovers/ws-iconv/compare/fs-stream-sync@2.0.14...fs-stream-sync@2.0.15) (2022-09-28)
7
+
8
+
9
+
10
+ ### 🚨 Tests
11
+
12
+ * **snap:** update snapshot ([50c9082](https://github.com/bluelovers/ws-iconv/commit/50c90823b7b65aa3f10f14b771327e81f0905f6e))
13
+
14
+
15
+ ### 🔖 Miscellaneous
16
+
17
+ * . ([dceda31](https://github.com/bluelovers/ws-iconv/commit/dceda31798222a650c62f9bd688b9fa55b915cc7))
18
+ * . ([d63dc4f](https://github.com/bluelovers/ws-iconv/commit/d63dc4f45321ac9d9f2811a1565ade6aaff0ffe1))
19
+
20
+
21
+
22
+ ## [2.0.14](https://github.com/bluelovers/ws-iconv/compare/fs-stream-sync@2.0.11...fs-stream-sync@2.0.14) (2022-08-11)
23
+
24
+
25
+ ### ♻️ Chores
26
+
27
+ * update jest.config.js ([520edae](https://github.com/bluelovers/ws-iconv/commit/520edae6273f468fb194a76486b80432b4d69758))
28
+
29
+
30
+ ### 📌 Dependencies
31
+
32
+ * update deps ([6443574](https://github.com/bluelovers/ws-iconv/commit/6443574492a2305365e4d063efe1959010ee67be))
33
+
34
+
35
+ ### 🔖 Miscellaneous
36
+
37
+ * . ([9f40e1b](https://github.com/bluelovers/ws-iconv/commit/9f40e1bd5c0e7ce5c336f5bbd3583224b25bd988))
38
+
39
+
40
+
41
+
42
+
43
+ ## [2.0.13](https://github.com/bluelovers/ws-iconv/compare/fs-stream-sync@2.0.11...fs-stream-sync@2.0.13) (2022-08-11)
44
+
45
+
46
+ ### ♻️ Chores
47
+
48
+ * update jest.config.js ([520edae](https://github.com/bluelovers/ws-iconv/commit/520edae6273f468fb194a76486b80432b4d69758))
49
+
50
+
51
+ ### 📌 Dependencies
52
+
53
+ * update deps ([6443574](https://github.com/bluelovers/ws-iconv/commit/6443574492a2305365e4d063efe1959010ee67be))
54
+
55
+
56
+
57
+
58
+
59
+ ## [2.0.12](https://github.com/bluelovers/ws-iconv/compare/fs-stream-sync@2.0.11...fs-stream-sync@2.0.12) (2022-08-11)
60
+
61
+
62
+ ### 📌 Dependencies
63
+
64
+ * update deps ([6443574](https://github.com/bluelovers/ws-iconv/commit/6443574492a2305365e4d063efe1959010ee67be))
65
+
66
+
67
+
68
+
69
+
6
70
  ## [2.0.11](https://github.com/bluelovers/ws-iconv/compare/fs-stream-sync@2.0.9...fs-stream-sync@2.0.11) (2022-05-11)
7
71
 
8
72
 
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  export type { PathLike } from 'fs';
3
- export declare type IFsPath = string | Buffer;
3
+ export type IFsPath = string | Buffer;
4
4
  export interface IFsStreamOptions {
5
5
  flags?: string;
6
6
  /**
@@ -31,7 +31,7 @@ export interface IFsReadStreamOptions extends IFsStreamOptions {
31
31
  */
32
32
  highWaterMark?: number;
33
33
  }
34
- export declare type IFsWriteStreamOptions = IFsStreamOptions;
34
+ export type IFsWriteStreamOptions = IFsStreamOptions;
35
35
  export interface IFsStreamState {
36
36
  destroyed: boolean;
37
37
  sync: boolean;
package/lib/internal.d.ts CHANGED
@@ -6,7 +6,7 @@ import { SyncWriteStream } from '../write-sync';
6
6
  import { IFsStreamData } from './interface';
7
7
  import fs from 'fs';
8
8
  export declare const SYM_FS_STREAM_DATA: unique symbol;
9
- export declare type IThisFsStream = WriteStream | ReadStream | SyncWriteStream | SyncReadStream;
9
+ export type IThisFsStream = WriteStream | ReadStream | SyncWriteStream | SyncReadStream;
10
10
  export declare function open(thisArgv: IThisFsStream, argv?: any[]): void;
11
11
  export declare function _error_emit<T extends Error>(thisArgv: IThisFsStream, e: T): void;
12
12
  export declare function __close(thisArgv: IThisFsStream): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fs-stream-sync",
3
- "version": "2.0.11",
3
+ "version": "2.0.15",
4
4
  "description": "File System SyncWriteStream/SyncReadStream implementation from Node.js Core",
5
5
  "keywords": [
6
6
  "File System",
@@ -21,7 +21,8 @@
21
21
  },
22
22
  "repository": {
23
23
  "type": "git",
24
- "url": "git+https://github.com/bluelovers/ws-iconv.git"
24
+ "url": "git+https://github.com/bluelovers/ws-iconv.git",
25
+ "directory": "packages/fs-stream-sync"
25
26
  },
26
27
  "license": "ISC",
27
28
  "author": "bluelovers",
@@ -31,6 +32,11 @@
31
32
  },
32
33
  "scripts": {
33
34
  "test": "echo \"Error: no test specified\"",
35
+ "test:jest": "jest --passWithNoTests",
36
+ "test:jest:snapshot": "yarn run test:jest -- -u",
37
+ "test:snapshot": "yarn run test -- -u",
38
+ "test:tsd": "ynpx tsd",
39
+ "preversion": "yarn run test",
34
40
  "prepublishOnly_": "yarn run prepublishOnly:check-bin && yarn run test",
35
41
  "prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
36
42
  "prepublishOnly:update": "yarn run ncu && yarn run sort-package-json",
@@ -41,5 +47,5 @@
41
47
  "@types/node": "*",
42
48
  "tslib": "^2"
43
49
  },
44
- "gitHead": "6552242829a533ddf68c35d459d28224c3bc7c07"
50
+ "gitHead": "c54b78be7ae362b781aab2b56fde91a129da893f"
45
51
  }