Skip to content

Conversation

@erikfried
Copy link
Contributor

@erikfried erikfried commented Dec 20, 2023

See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/functions-javascript-runtime-20.html
Includes support for:

  • async, await, const, and let
  • String.prototype.replaceAll()
  • ES 12 numeric separators
  • RegExp.prototype.sticky and RegExp.prototype.flags
  • RegExp.prototype@@split
  • TypedArray.from() and TypedArray.of()
  • TypedArray.prototype.every(), TypedArray.prototype.fill(), TypedArray.prototype.filter(), TypedArray.prototype.find(), TypedArray.prototype.findIndex(), TypedArray.prototype.forEach(), TypedArray.prototype.includes(), TypedArray.prototype.indexOf(), TypedArray.prototype.join(), TypedArray.prototype.lastIndexOf(),TypedArray.prototype.map(), TypedArray.prototype.reduce(), TypedArray.prototype.reduceRight(), TypedArray.prototype.reverse(), and TypedArray.prototype.some()
  • Promise.all(), Promise.allSettled(), Promise.any(), and Promise.race()
  • Dataview ES 6 prototype methods
  • Symbol ES 6 methods
  • atob() and btoa()
  • Buffer module

@codecov
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c00add2) 76.19% compared to head (b91e457) 81.48%.

❗ Current head b91e457 differs from pull request most recent head 2756efe. Consider uploading reports for the commit 2756efe to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #154      +/-   ##
==========================================
+ Coverage   76.19%   81.48%   +5.29%     
==========================================
  Files           1        1              
  Lines          63       81      +18     
  Branches        5        6       +1     
==========================================
+ Hits           48       66      +18     
  Misses         15       15              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@beeequeue beeequeue left a comment

Choose a reason for hiding this comment

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

You also need to add a $ pnpm changeset 😄

erikfried and others added 3 commits December 22, 2023 10:03
Co-authored-by: Adam Haglund <ahaglund@paypal.com>
Co-authored-by: Adam Haglund <ahaglund@paypal.com>
@erikfried erikfried requested a review from beeequeue December 22, 2023 09:13
@beeequeue beeequeue enabled auto-merge (squash) December 22, 2023 09:14
Copy link
Owner

@beeequeue beeequeue left a comment

Choose a reason for hiding this comment

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

Thank you very much for the contribution! 😄

@beeequeue beeequeue merged commit a334de0 into beeequeue:main Dec 22, 2023
@beeequeue beeequeue mentioned this pull request Dec 22, 2023
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.

2 participants