@parcel/types-internal 2.12.1-canary.3356 → 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.3356+96d88140e",
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.1733+96d88140e",
20
- "@parcel/feature-flags": "2.12.1-canary.3356+96d88140e",
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": "96d88140e14585945921e4a0142511c29c0f7d0f"
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>;