Skip to content

Bump assemblyscript from 0.17.12 to 0.20.3#320

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/assemblyscript-0.20.3
Closed

Bump assemblyscript from 0.17.12 to 0.20.3#320
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/assemblyscript-0.20.3

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 29, 2022

Bumps assemblyscript from 0.17.12 to 0.20.3.

Release notes

Sourced from assemblyscript's releases.

v0.20.3

Bug fixes

  • Add unimplemented error for first-class built-ins (#2240) (9c0db25fb64eca0aec257184d54ad6674e1d48ac)

v0.20.2

Bug fixes

  • Fix invalid assumption when compiling binary overloads (#2237) (89035f576a5f33ab6026abe8e1d9f14f84797264)
  • Fix crash on reference typed constant (#2238) (6e7c8f41826b847e0bcac73066ca5b4244a14463)

v0.20.1

Bug fixes

  • Defuse assert when flattening after diagnosed error (#2233) (1c806f57bda153e8d6e149118f8d309ea3292b62)
  • Mitigate crash on arrays of void or v128 (#2232) (b571122c396f3bb570d97aa3acd546e2e3b04792)
  • Emit a diagnostic when a --use element cannot be found (#2231) (8047b024488b74deeea5dded7efdf4b24108474d)

v0.20.0

ECMAScript modules

Fixes #1306. Migrating our dependencies to ESM made it possible to migrate the compiler and frontend as well, alongside internal utility and scripts. This is a breaking change for consumers of the compiler API (i.e. transforms), but not for command line usage. Viable strategies to account for the changes are:

  1. Migrate any code utilizing compiler APIs to ESM as well:

    import assemblyscript from "assemblyscript";
    ...
  2. Utilize a dynamic import while consuming code remains in its current module format:

    const assemblyscript = (await import("assemblyscript")).default;
    ...
    // or
    import("assemblyscript").then(({ default: assemblyscript }) => { ... });

Due to this change, older versions of Node.js may need to be upgraded (LTS v16 or stable v17 are recommended).

Running the compiler on the Web with ESM

Prior, we provided a browser SDK that made use of the AMD module format to load the components necessary to run the compiler on the Web. With the switch to ESM, it is not necessary anymore to provide a separate SDK, but native browser functionality can now be used to utilize the compiler in browsers. To ease the transition, the build system outputs an example dist/web.html template with all the right versions in <script ...> tags. Alongside, it also sets up es-module-shims for import maps support as is currently necessary to support browsers other than those based on Chromium. General outline is:

<script async src="url/to/es-module-shims"></script>
<script type="importmap">
{
  "imports": {
</tr></table> 

... (truncated)

Commits
  • 9c0db25 fix: Add unimplemented error for first-class built-ins (#2240)
  • 89035f5 fix: Fix invalid assumption when compiling binary overloads (#2237)
  • 6e7c8f4 fix: Fix crash on reference typed constant (#2238)
  • 1c806f5 fix: Defuse assert when flattening after diagnosed error (#2233)
  • b571122 fix: Mitigate crash on arrays of void or v128 (#2232)
  • 8047b02 fix: Emit a diagnostic when a --use element cannot be found (#2231)
  • a7c87e6 BREAKING CHANGE: ESM, JS bindings, triple equals and general cleanup (#2157)
  • cf5a10a Update README.md
  • fa14b3b fix: Fix assertion when assigning an object literal to an interface (#2197)
  • c740610 Disable CI on Windows (#2198)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [assemblyscript](https://github.com/AssemblyScript/assemblyscript) from 0.17.12 to 0.20.3.
- [Release notes](https://github.com/AssemblyScript/assemblyscript/releases)
- [Commits](AssemblyScript/assemblyscript@v0.17.12...v0.20.3)

---
updated-dependencies:
- dependency-name: assemblyscript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 29, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 11, 2022

Superseded by #321.

@dependabot dependabot bot closed this Apr 11, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/assemblyscript-0.20.3 branch April 11, 2022 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants