Christopher Hiller

Results 253 issues of Christopher Hiller
trafficstars

## What is the Problem Being Solved? Currently, if one or more modules failed to load (related: #2832 which adds a flag to disable error aggregation), `ses` throws aggregates the...

enhancement
ses

Refs: #2820 ## Description This adds the `aggregateLoadErrors` flag to the `Compartment` constructor in its `CompartmentOptions`. The default value of this flag is `true`, which retains the current behavior. If...

enhancement
next-release

## Description This fixes a situation in which a dynamically-required _relative_ path (specifically, starting with `../`) could not be resolved. It is converted to an absolute path, which is subequently...

bug

Aggregation of errors during module loading invalidations a common pattern in CJS w/r/t optional deps: ```js try { require('foo') } catch (err) { if (err.code === 'ERR_MODULE_NOT_FOUND') { // recover...

enhancement

Given #2804, I feel like we need more coverage for `Compartment.prototype.importNow`. - [ ] replicate tests using `Compartment.prototype.import` and use `Compartment.prototype.importNow` instead (where feasible; this may include both unitlike &...

test

## What is the Problem Being Solved? Avoid multiple invocations of Babel's parser when using `@endo/evasive-transform` with `ses` (via a module transform within `@endo/compartment-mapper`). This is a performance concern ##...

enhancement

## Describe the bug I'm trying to generate policy for an app (`webpack`, to be exact), and so I'm calling `@endo/compartment-mapper`'s `captureFromMap()`. This operation _fails silently_ (perhaps due to a...

bug

**DRAFT, WIP, ETC.** * * * Closes: #XXXX Refs: #XXXX ## Description > Add a description of the changes that this PR introduces and the files that are the most...

## What is the Problem Being Solved? `@endo/eslint-plugin` provides a recommended configuration, but it is only for the legacy (pre-ESLint v9) config format. ## Description of the Design [Follow this...

enhancement

Node.js has a carve-out for hashbangs/shebangs at the top of an executable file. This is not valid JS syntax, and as such, SES does not approve. In `@lavamoat/node` I had...

enhancement