Comments (4)
@rogueturnip the project currently uses babel for backward compatibility with node 4 and being able to use ES6 JS syntax. Babel transforms async/await
to generators, that's how it works with older versions of node.
I could create an @next tag on npm that works only with Node 7+ (just like Koa), and drop generators transformation, will that solve any specific issues you may be facing?
from agenda-rest.
That would be a perfect solution. I didn't realize that was what being done by babel.
from agenda-rest.
@rogueturnip done, there is now a next
branch and a next
tag on npm
:
npm install agenda-rest@next
you'd need node 7.6+ for this version.
Please feel free to re-open if you faced any further issues.
from agenda-rest.
UPDATE
The current babel setup uses the "env"
preset and "node": "current"
, hence only adding the transforms needed for the node version that is being used. Accordingly, the @next
tag and the corresponding branch (deleted) are now obsolete.
from agenda-rest.
Related Issues (20)
- How to secure the rest endpoint HOT 11
- Provide information about the CLI arguments in the documentation HOT 3
- [Question] How good or bad it would be if we replace the command line options with a config json which the agenda-rest service can use when we launch it? HOT 2
- The job fails when specifying port number, parameters and query strings.
- Allow options as a parameter when creating jobs. HOT 3
- More maintainers for agenda-rest + npm package HOT 27
- How do I deploy this on heroku? HOT 1
- POST to /job/every consistently 'overwrites' last job instance with same name HOT 1
- Implement support for passing agenda settings via the CLI
- There is a mismatch between the npm package version and the sour code package.json.
- Implement GitHub actions.
- Migrate tests to Mocha
- Missing documentation on how to define jobs HOT 4
- got 404,why HOT 2
- Cannot find module './settings'
- How to repeat job at Friday at 5am for every week HOT 2
- Must run on port 8080? Failure ECONNREFUSED 127.0.0.1:8080 HOT 3
- Not maintained anymore? HOT 6
- How to introduce logging
- Agenda-rest has been slow lately HOT 1
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 agenda-rest.