mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
meteor update --release 3.6-rc.1 failed with "No version of shell-server satisfies all constraints" (and the same for dynamic-import, allow-deny, ddp-server, facebook-oauth and google-oauth): those six are WeKan's forks in packages/, made because Meteor 3.6-rc.0 lacked the 3.5.3 security fixes, and pinned to rc.0's versions. Meteor 3.6-rc.1 carries the security fixes of 3.5.3 and 3.5.4, but not what is WeKan's own in the forks: the Admin Panel / Problems reports of refused attempts, and the crypto-RNG keys of dynamic-import and meteor shell (rc.1 still makes them with Math.random()). So the forks are kept and rebased: each is rc.1's package with WeKan's changes over rc.0's package merged three-way onto it. The 3.5.3 hunks merged away, as rc.1 has them; what remains over rc.1 is only the hooks and the keys. The versions are rc.1's with a _1 wrap number. @meteorjs/rspack moves to 3.0.0-rc.2 with the release. The Dockerfile's METEOR_RELEASE and the snap description follow. The experimental Bun build's Meteor patch applies unchanged to 3.6-rc.1; prepare-meteor.sh now checks for rc.1's tag commit and applies meteor-3.6-rc.1.patch, and the rc.0 copy is removed. tests/meteor353SecurityFixes.test.cjs and meteorForkRandomKeys.test.cjs are moved to rc.1 with their assertions kept; meteor-353-security.e2e.js passes on rc.1 in Chromium and Firefox. Thanks to xet7 !
This package implements the Module.prototype.dynamicImport(id) runtime
API needed for fetching modules dynamically from the server, so that those
modules don't have to be included in the initial JavaScript bundle.
With this package installed, supporting the dynamic import(...)
proposal is as easy as
compiling import(...) to module.dynamicImport(...).
Any version of a module that has been fetched previously will be permanently cached and should never need to be fetched again by the same client, even after the window is closed or the browser is restarted.
Meteor 1.5 is necessary for this package to work properly.