Skip to content

Commit eb4ba32

Browse files
joyeecheungdanielleadams
authored andcommitted
src: remove the unused PackageConfig class
PR-URL: #45478 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 47607d9 commit eb4ba32

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/env.h

-18
Original file line numberDiff line numberDiff line change
@@ -93,24 +93,6 @@ class Worker;
9393

9494
namespace loader {
9595
class ModuleWrap;
96-
97-
struct PackageConfig {
98-
enum class Exists { Yes, No };
99-
enum class IsValid { Yes, No };
100-
enum class HasMain { Yes, No };
101-
enum class HasName { Yes, No };
102-
enum PackageType : uint32_t { None = 0, CommonJS, Module };
103-
104-
const Exists exists;
105-
const IsValid is_valid;
106-
const HasMain has_main;
107-
const std::string main;
108-
const HasName has_name;
109-
const std::string name;
110-
const PackageType type;
111-
112-
v8::Global<v8::Value> exports;
113-
};
11496
} // namespace loader
11597

11698
class Environment;

0 commit comments

Comments
 (0)