GithubHelp home page GithubHelp logo

node-releases's Introduction

Node.js releases data

All data is located in data directory.

data/processed contains envs.json with node.js releases data preprocessed to be used by Browserslist and other projects. Each version in this file contains only necessary info: version, release date, LTS flag/name, and security flag.

data/release-schedule contains release-schedule.json with node.js releases date and end of life date.

Installation

npm install node-releases

node-releases's People

Contributors

actions-user avatar ai avatar bnb avatar chicoxyzzy avatar existentialism avatar jimmywarting avatar nschonni avatar sibiraj-s avatar vostrik avatar wbobeirne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

node-releases's Issues

Error: Unexpected token

I am using Svelte with Nollup, when i'm trying to build my project with dev configuration, it throw this error (view the image to know where the error is):

image

ParseError: /node_modules/node-releases/data/release-schedule/release-schedule.json
SyntaxError: Unexpected token (1:7)
    {"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2024-04-30","codename":"Gallium"},"v17":{"start":"2021-10-19","maintenance":"2022-04-01","end":"2022-06-01"},"v18":{"start":"2022-04-19","lts":"2022-10-25","maintenance":"2023-10-18","end":"2025-04-30","codename":""}}
           ^
    at compileModule (/home/risal/WebProjects/si-mantu-mantap-web/hosting/node_modules/nollup/lib/impl/NollupCompiler.js:211:19)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async compileModule (/home/risal/WebProjects/si-mantu-mantap-web/hosting/node_modules/nollup/lib/impl/NollupCompiler.js:208:13)
    at async compileModule (/home/risal/WebProjects/si-mantu-mantap-web/hosting/node_modules/nollup/lib/impl/NollupCompiler.js:208:13)
    at async compileModule (/home/risal/WebProjects/si-mantu-mantap-web/hosting/node_modules/nollup/lib/impl/NollupCompiler.js:208:13)
    at async compileModule (/home/risal/WebProjects/si-mantu-mantap-web/hosting/node_modules/nollup/lib/impl/NollupCompiler.js:208:13)
    at async compileModule (/home/risal/WebProjects/si-mantu-mantap-web/hosting/node_modules/nollup/lib/impl/NollupCompiler.js:208:13)
    at async compileModule (/home/risal/WebProjects/si-mantu-mantap-web/hosting/node_modules/nollup/lib/impl/NollupCompiler.js:208:13)
    at async compileInputTarget (/home/risal/WebProjects/si-mantu-mantap-web/hosting/node_modules/nollup/lib/impl/NollupCompiler.js:243:5)

Node 13.10.1 missing from env.json

Looks like the process isn't grabbing the latest patch, and still has 13.10.0 in the env.json
Is the idea of the env.json contains just the latest patch version for each Major.Minor, or is there some other issue i'm hitting?

Include extra fields

Add extra info from allVersions.json file when fetching it, specifically v8 version.

Automate publish of new versions

Nightly has added info for Node.js 20.3.0 two weeks ago, but latest published version in npm is of one month ago with info up to Node.js 20.2.0. I think publish of new packages should be done automatically as part of the nightly script.

Also, I think versioning of package should be the same of the highest Node.js version, or the date info was fetch (2023.6.25, for example), to make it easier to identify.

Licensing

I believe that I took CC license from somewhere on nodejs.org. Does this license fits well for Browserslist and other libraries and software which use node-releases/browserslist? I'm not an expert in this.

cc @ai

Add a JavaScript module for easier access to data

While looking to implement this for nodejs/i18n, I found myself looking at what Browserlist was doing, and re-implementing it.
EX:

const schedule = require(node-releases).schedule // expose the release-schedule.json object
const nodejs = require(node-releases).nodejs// expose the release-schedule.json object

Other useful functions would be to have the functions to just return active releases

Version 2.0

I want to release a new major version of node-releases with data/raw removed as it's never used by other packages as noted in #27. One thing I want to add to data/processed is v8 version as it would be useful to compare Node.js and v8 versions (for possible future https://github.com/kangax/compat-table update). As far as I understand, modules field is a Node ABI version which could be useful too. Not sure if we need security field. Does someone rely on it? Please let me know if some of these changes may affect you!

LICENSE file

Hello :)

Could you please add a LICENSE file to the project?

Release 2.0.6 not available through npmjs registry

I see [email protected] was published today, within the last hour:

image

While this version is visible on the package's page on npmjs.com, it seems that it can't be downloaded:

image

The package @types/eslint had a similar issue last week, which I believe turned out to be an npmjs problem ultimately. But while that package was clearly missing the README and other files, this one is not.

Does anyone know what's going on with version 2.0.6 on npmjs.com?

EDIT: it looks like the README is missing. The package's page on http://npmjs.com seems to be empty:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.