node-opcua-file-transfer 2.186.3 → 2.186.7
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.
|
@@ -9,8 +9,8 @@ export interface AbstractFs {
|
|
|
9
9
|
writeFile(path: PathLike | number, data: string | NodeJS.ArrayBufferView, options: WriteFileOptions, callback: NoParamCallback): void;
|
|
10
10
|
readFile(path: PathLike | number, options: {
|
|
11
11
|
encoding: BufferEncoding;
|
|
12
|
-
flag?:
|
|
13
|
-
} |
|
|
12
|
+
flag?: OpenMode;
|
|
13
|
+
} | BufferEncoding, callback: (err: NodeJS.ErrnoException | null, data: string) => void): void;
|
|
14
14
|
existsSync(filename: string): boolean;
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=abstract_fs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abstract_fs.d.ts","sourceRoot":"","sources":["../../source/common/abstract_fs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE5F,MAAM,WAAW,UAAU;IACvB,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,cAAc,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,IAAI,CAAC;IAEhG,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,KAAK,CAAC;IAEhC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,cAAc,GAAG,IAAI,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI,CAAC;IAE/G,KAAK,CAAC,OAAO,SAAS,MAAM,CAAC,eAAe,EACxC,EAAE,EAAE,MAAM,EACV,MAAM,EAA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J,IAAI,EAAE,QAAQ,GAAG,MAAM,EACvB,OAAO,EAAE;QAAE,QAAQ,EAAE,cAAc,CAAC;QAAC,IAAI,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,cAAc,EACvE,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,cAAc,GAAG,IAAI,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,GACpE,IAAI,CAAC;IAGR,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-file-transfer",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.186.
|
|
4
|
+
"version": "2.186.7",
|
|
5
5
|
"description": "pure nodejs OPCUA SDK - module file-transfer",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "tsc -b",
|
|
@@ -20,31 +20,31 @@
|
|
|
20
20
|
"node": ">=22.13.0"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"node-opcua-address-space": "2.186.
|
|
24
|
-
"node-opcua-address-space-base": "2.186.
|
|
25
|
-
"node-opcua-assert": "2.
|
|
26
|
-
"node-opcua-basic-types": "2.186.
|
|
27
|
-
"node-opcua-binary-stream": "2.186.
|
|
23
|
+
"node-opcua-address-space": "2.186.7",
|
|
24
|
+
"node-opcua-address-space-base": "2.186.7",
|
|
25
|
+
"node-opcua-assert": "2.186.7",
|
|
26
|
+
"node-opcua-basic-types": "2.186.7",
|
|
27
|
+
"node-opcua-binary-stream": "2.186.7",
|
|
28
28
|
"node-opcua-constants": "2.185.0",
|
|
29
|
-
"node-opcua-data-model": "2.186.
|
|
30
|
-
"node-opcua-data-value": "2.186.
|
|
31
|
-
"node-opcua-debug": "2.
|
|
32
|
-
"node-opcua-nodeid": "2.186.
|
|
33
|
-
"node-opcua-pseudo-session": "2.186.
|
|
34
|
-
"node-opcua-service-call": "2.186.
|
|
35
|
-
"node-opcua-service-read": "2.186.
|
|
36
|
-
"node-opcua-service-translate-browse-path": "2.186.
|
|
37
|
-
"node-opcua-status-code": "2.186.
|
|
38
|
-
"node-opcua-variant": "2.186.
|
|
29
|
+
"node-opcua-data-model": "2.186.7",
|
|
30
|
+
"node-opcua-data-value": "2.186.7",
|
|
31
|
+
"node-opcua-debug": "2.186.7",
|
|
32
|
+
"node-opcua-nodeid": "2.186.7",
|
|
33
|
+
"node-opcua-pseudo-session": "2.186.7",
|
|
34
|
+
"node-opcua-service-call": "2.186.7",
|
|
35
|
+
"node-opcua-service-read": "2.186.7",
|
|
36
|
+
"node-opcua-service-translate-browse-path": "2.186.7",
|
|
37
|
+
"node-opcua-status-code": "2.186.7",
|
|
38
|
+
"node-opcua-variant": "2.186.7"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"memfs": "^4.
|
|
42
|
-
"node-opcua": "2.186.
|
|
43
|
-
"node-opcua-client": "2.186.
|
|
44
|
-
"node-opcua-leak-detector": "2.
|
|
41
|
+
"memfs": "^4.79.0",
|
|
42
|
+
"node-opcua": "2.186.7",
|
|
43
|
+
"node-opcua-client": "2.186.7",
|
|
44
|
+
"node-opcua-leak-detector": "2.186.7",
|
|
45
45
|
"node-opcua-nodesets": "2.185.0",
|
|
46
46
|
"node-opcua-test-helpers": "2.184.0",
|
|
47
|
-
"node-opcua-utils": "2.186.
|
|
47
|
+
"node-opcua-utils": "2.186.7"
|
|
48
48
|
},
|
|
49
49
|
"author": "Etienne Rossignon",
|
|
50
50
|
"license": "MIT",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"internet of things"
|
|
62
62
|
],
|
|
63
63
|
"homepage": "http://node-opcua.github.io/",
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "8a4f79f3ff854bf6bed6dce299ad56809093aa5b",
|
|
65
65
|
"files": [
|
|
66
66
|
"dist",
|
|
67
67
|
"source"
|
|
@@ -34,9 +34,14 @@ export interface AbstractFs {
|
|
|
34
34
|
callback: NoParamCallback
|
|
35
35
|
): void;
|
|
36
36
|
|
|
37
|
+
// `flag` is OpenMode (string | number) and the shorthand form is BufferEncoding, not
|
|
38
|
+
// string: node's own fs must satisfy this interface, and @types/node 26 widened readFile's
|
|
39
|
+
// `flag` from string to OpenMode. Declaring it narrower left no overload of fs.readFile
|
|
40
|
+
// compatible in either direction, so `new FileTypeData({}, file)` could no longer fall
|
|
41
|
+
// back to node:fs.
|
|
37
42
|
readFile(
|
|
38
43
|
path: PathLike | number,
|
|
39
|
-
options: { encoding: BufferEncoding; flag?:
|
|
44
|
+
options: { encoding: BufferEncoding; flag?: OpenMode } | BufferEncoding,
|
|
40
45
|
callback: (err: NodeJS.ErrnoException | null, data: string) => void
|
|
41
46
|
): void;
|
|
42
47
|
// readFile(path: PathLike | number, options: { encoding?: null; flag?: string; } | undefined | null, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void;
|