Christopher Hiller
Christopher Hiller
This updates the `mermaid-deptree` script to include the state of a package as a production, development, optional, peer, or optional-peer dependency via link styling and text. The output now also:...
## Describe the bug I ran into this exception when using `ses` to load a file from `@babel/helper-define-polyfill-provider`, containing [this line](https://github.com/babel/babel-polyfills/blob/7f024e246555e729387742eb222ebd18be28313b/packages/babel-helper-define-polyfill-provider/src/node/dependencies.ts#L8): ```js const require = createRequire(import /*::(_)*/.meta.url); // eslint-disable-line ```...
## What is the Problem Being Solved? This is the current definition of a `Policy`: https://github.com/endojs/endo/blob/a925fac6ff3efd3f8bf7f63857f05da3dd9ccdbc/packages/compartment-mapper/src/types/policy-schema.ts#L92-L123 Here is the `resources` field, which is a `Record` containing `PackagePolicy` values: https://github.com/endojs/endo/blob/a925fac6ff3efd3f8bf7f63857f05da3dd9ccdbc/packages/compartment-mapper/src/types/policy-schema.ts#L64-L90 The...
## What is the Problem Being Solved? Currently, `mapNodeModules()` accepts a policy, which—if present—it uses to _omit_ `ModuleDescriptor`s from the resulting `CompartmentDescriptor.module`. Specifically, if a _package policy_ exists for the...
I'm not sure how I missed this before, but I can note that there is no test of dynamic require which attempts the operations described below. `mapNodeModules` creates a `CompartmentMapDescriptor`...