@parcel/types-internal 2.12.1-canary.3358 → 2.12.1-canary.3359

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,6 +46,8 @@ export interface FileSystem {
46
46
  copyFile(source: FilePath, destination: FilePath, flags?: number): Promise<void>;
47
47
  stat(filePath: FilePath): Promise<Stats>;
48
48
  statSync(filePath: FilePath): Stats;
49
+ lstat(filePath: FilePath): Promise<Stats>;
50
+ lstatSync(filePath: FilePath): Stats;
49
51
  readdir(path: FilePath, opts?: {
50
52
  withFileTypes?: false;
51
53
  }): Promise<FilePath[]>;
@@ -62,6 +64,8 @@ export interface FileSystem {
62
64
  unlink(path: FilePath): Promise<void>;
63
65
  realpath(path: FilePath): Promise<FilePath>;
64
66
  realpathSync(path: FilePath): FilePath;
67
+ readlink(path: FilePath): Promise<FilePath>;
68
+ readlinkSync(path: FilePath): FilePath;
65
69
  exists(path: FilePath): Promise<boolean>;
66
70
  existsSync(path: FilePath): boolean;
67
71
  mkdirp(path: FilePath): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/types-internal",
3
- "version": "2.12.1-canary.3358+f53f45037",
3
+ "version": "2.12.1-canary.3359+046789362",
4
4
  "license": "MIT",
5
5
  "main": "src/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -16,10 +16,10 @@
16
16
  "check-ts": "tsc --noEmit lib/index.d.ts"
17
17
  },
18
18
  "dependencies": {
19
- "@parcel/diagnostic": "2.0.0-canary.1735+f53f45037",
20
- "@parcel/feature-flags": "2.12.1-canary.3358+f53f45037",
19
+ "@parcel/diagnostic": "2.0.0-canary.1736+046789362",
20
+ "@parcel/feature-flags": "2.12.1-canary.3359+046789362",
21
21
  "@parcel/source-map": "^2.1.1",
22
22
  "utility-types": "^3.10.0"
23
23
  },
24
- "gitHead": "f53f4503799a07e3a01452f5e53ead44c30ebc53"
24
+ "gitHead": "046789362d46cc453971642f683ef036af1b28e9"
25
25
  }
package/src/FileSystem.js CHANGED
@@ -70,6 +70,8 @@ export interface FileSystem {
70
70
  ): Promise<void>;
71
71
  stat(filePath: FilePath): Promise<Stats>;
72
72
  statSync(filePath: FilePath): Stats;
73
+ lstat(filePath: FilePath): Promise<Stats>;
74
+ lstatSync(filePath: FilePath): Stats;
73
75
  readdir(
74
76
  path: FilePath,
75
77
  opts?: {withFileTypes?: false, ...},
@@ -81,6 +83,8 @@ export interface FileSystem {
81
83
  unlink(path: FilePath): Promise<void>;
82
84
  realpath(path: FilePath): Promise<FilePath>;
83
85
  realpathSync(path: FilePath): FilePath;
86
+ readlink(path: FilePath): Promise<FilePath>;
87
+ readlinkSync(path: FilePath): FilePath;
84
88
  exists(path: FilePath): Promise<boolean>;
85
89
  existsSync(path: FilePath): boolean;
86
90
  mkdirp(path: FilePath): Promise<void>;