Comments (7)
Just noticed that AWS has made Node 16 generally available, which makes this even more timely, no?
from lambda-local.
Any progress on this?
from lambda-local.
AWS is now supporting Node 18 as well....
from lambda-local.
Feel free to contribute by submitting a PR. It's not really useful to just remind me that it would be nice to find the time to do that.
from lambda-local.
Feel free to contribute by submitting a PR. It's not really useful to just remind me that it would be nice to find the time to do that.
I do understand the time constraints, and I wish I could :( I did try to get something working locally to figure it out, however I'm afraid my JavaScript / NodeJS skills are not up to this particular task, or I absolutely would have :(
from lambda-local.
I can provide a pull request for ES module support, but there are two caveats:
- watch mode will not be supported for ES modules as the loader cache can't be invalidated (nodejs/node#49442)
- to keep downward compatibility with NodeJS < 16, the dynamic import for the ES module has to be wrapped in an eval statement (microsoft/TypeScript#43329 (comment))
from lambda-local.
Closed in #230. Thanks again @tdanecker.
Released in 2.1.0
from lambda-local.
Related Issues (20)
- this package allows you to run a lambda Smart Home service endpoint?? HOT 1
- lambda-local, when run with --wait-empty-event-loop, throws "No such module: timer_wrap" HOT 5
- Why is `event` property required in payload?
- Allow object in clientContext HOT 1
- How to suppress irrelevant warnings about AWS credentials HOT 3
- Possibility to override context properties like functionName HOT 1
- Content-type header should not be required for get requests HOT 1
- execute function returns a Winston LogEntry object instead of Lambda result
- Downgrade commander.js HOT 1
- Getting "Unsupported URL Scheme" error when using "esm" option.
- Update package.json engines HOT 2
- Bug introduced when going from 2.0.3 to 2.1.1 HOT 2
- Pass clientContext via CLI?
- Watch mode on ESM HOT 3
- [Question] Verbose mode on CLI eats all other logs
- Feature Request: Option to add a separator between invocations for local server option
- Why is streamifyResponse polyfill missing an argument? HOT 1
- "Expected object, received string" for queryStringParameters
- Error on importing event even with ESM flag
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lambda-local.