Skip to content

Commit

Permalink
src: remove the unused PackageConfig class
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
joyeecheung authored and danielleadams committed Jan 3, 2023
1 parent 2c595da commit 9c39b5e
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/env.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,24 +93,6 @@ class Worker;

namespace loader {
class ModuleWrap;

struct PackageConfig {
enum class Exists { Yes, No };
enum class IsValid { Yes, No };
enum class HasMain { Yes, No };
enum class HasName { Yes, No };
enum PackageType : uint32_t { None = 0, CommonJS, Module };

const Exists exists;
const IsValid is_valid;
const HasMain has_main;
const std::string main;
const HasName has_name;
const std::string name;
const PackageType type;

v8::Global<v8::Value> exports;
};
} // namespace loader

class Environment;
Expand Down

0 comments on commit 9c39b5e

Please sign in to comment.