Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pet Daemon: Merge Master (January, 2024) #1998

Merged
merged 278 commits into from
Jan 26, 2024

Conversation

kriskowal
Copy link
Member

This just brings the endo branch back into sync with master.

turadg and others added 30 commits October 17, 2023 19:20
fixup tsconfig.json
… package

This extracts everything from `@endo/bundle-source/src/transform.js` into a new package (formerly `@endo/transforms`).

LavaMoat has need to consume the SES-censorship-evasion functionality, and it would be cumbersome to try to use `@endo/bundle-source` for this.
This jettisons `src/transform.js` and consumes `@endo/evasive-transform` instead.
This normalizes linebreaks to `lf`.  Sorry, Windows contributors.

Additionally, forces `.snap` and `.agar` to be binary, if not already recognized as such.
feat: support `M.raw()` in method guards
Much like #1803, this adds `types` conditional exports where appropriate.
The `proxiedExports` param to the `execute` function cannot be `Object`, which is the literal `Object`.  It must be _some_ kind of `Object`, however, a `Record` is suitable.

However, the property can be a `PropertyKey` if the exports come from CommonJS and can only be a `string` if the exports come from ESM. Use `string` for now and we can widen the type later.
kriskowal and others added 13 commits January 19, 2024 10:41
```console
$ echo "Node.js" && node test/bench-main.js && echo "XS" && ~/.esvu/bin/xs -m test/bench-main.js
Node.js
encodes 10775.74909090909 characters per millisecond
JS encodes 23130.176470588234 characters per millisecond
decodes 48752.36084452975 bytes per millisecond
JS decodes 43007.671875 bytes per millisecond
XS
encodes 577272.2727272727 characters per millisecond
JS encodes 1335.143596377749 characters per millisecond
decodes 396777.0553505535 bytes per millisecond
JS decodes 1093.7360890302066 bytes per millisecond
```
* Capture results
* Make two passes per scenario
* Clarify full vs. short-input scenarios and run both against the same
  loop body
It should eventually be an endo export, possibly in its own package
(just not in `common`, which itself depends upon `ses`).
This addresses the `@ts-ignore` found in `makeFauxModuleExportsNamespace()`, which was renamed from `makeFeauxModuleExportsNamespace()`, because "féaux" translates to "loyal supporters" and not "fake" or "false" like was presumably intended.

I am not so bold to rename it `makeErsatzModuleExportsNamespace()`, despite "ersatz" being a wholly superior word to either of the above alternatives.
@kriskowal kriskowal force-pushed the kriskowal-endo-merge-master-2024-01 branch from 3070134 to 73c7511 Compare January 23, 2024 02:08
@kriskowal kriskowal force-pushed the kriskowal-endo-merge-master-2024-01 branch from 080ddda to 6569aca Compare January 23, 2024 23:58
@kriskowal kriskowal force-pushed the kriskowal-endo-merge-master-2024-01 branch from 6569aca to c642187 Compare January 24, 2024 00:04
@kriskowal kriskowal force-pushed the kriskowal-endo-merge-master-2024-01 branch 2 times, most recently from 3bf87e0 to 7269ac9 Compare January 25, 2024 06:25
@kriskowal kriskowal force-pushed the kriskowal-endo-merge-master-2024-01 branch from 7269ac9 to 3eaba38 Compare January 25, 2024 21:10
@kriskowal kriskowal marked this pull request as ready for review January 25, 2024 21:33
@kriskowal kriskowal requested review from kumavis and rekmarks January 25, 2024 21:33
Copy link
Member

@kumavis kumavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jesus take the wheel group

@kriskowal kriskowal merged commit 2ea904c into endo Jan 26, 2024
14 checks passed
@kriskowal kriskowal deleted the kriskowal-endo-merge-master-2024-01 branch January 26, 2024 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.