Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bevry/ecmascript-versions

Package Overview
Dependencies
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bevry/ecmascript-versions - npm Package Compare versions

Comparing version 3.1.1 to 3.2.0-next.1627403481.b8051f2d99b7e9a7e59f076a6dc7ebb661464324

3

edition-browsers/index.js

@@ -53,3 +53,4 @@ /**

// Add the `ES${year}` versions which are ratified in June
for (let year = 2015, edition = 6; year <= now.getFullYear(); year++, edition++) {
// Certain APIs like Node.green go into the future, so add a year or two.
for (let year = 2015, edition = 6; year <= now.getFullYear() + 2; year++, edition++) {
esVersionsByEdition.set(edition, {

@@ -56,0 +57,0 @@ version: `ES${year}`,

@@ -72,5 +72,6 @@ /**

// Add the `ES${year}` versions which are ratified in June
// Certain APIs like Node.green go into the future, so add a year or two.
for (
let year = 2015, edition = 6;
year <= now.getFullYear();
year <= now.getFullYear() + 2;
year++, edition++

@@ -77,0 +78,0 @@ ) {

@@ -53,3 +53,4 @@ /**

// Add the `ES${year}` versions which are ratified in June
for (let year = 2015, edition = 6; year <= now.getFullYear(); year++, edition++) {
// Certain APIs like Node.green go into the future, so add a year or two.
for (let year = 2015, edition = 6; year <= now.getFullYear() + 2; year++, edition++) {
esVersionsByEdition.set(edition, {

@@ -56,0 +57,0 @@ version: `ES${year}`,

@@ -58,3 +58,4 @@ "use strict";

// Add the `ES${year}` versions which are ratified in June
for (let year = 2015, edition = 6; year <= now.getFullYear(); year++, edition++) {
// Certain APIs like Node.green go into the future, so add a year or two.
for (let year = 2015, edition = 6; year <= now.getFullYear() + 2; year++, edition++) {
esVersionsByEdition.set(edition, {

@@ -61,0 +62,0 @@ version: `ES${year}`,

# History
## v3.2.0 2021 July 28
- Go two years into the future for prepping ECMAScript version information, as certain APIs like Node.green go into the future, as used by [`@bevry/nodejs-ecmascript-compatibility`](https://github.com/bevry/nodejs-ecmascript-compatibility)
## v3.1.1 2021 July 27

@@ -4,0 +8,0 @@

{
"name": "@bevry/ecmascript-versions",
"version": "3.1.1",
"version": "3.2.0-next.1627403481.b8051f2d99b7e9a7e59f076a6dc7ebb661464324",
"description": "Get all ECMAScript versions, or the ECMAScript version that was ratified on a specific date.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/bevry/es-versions",

@@ -91,3 +91,3 @@ <!-- TITLE/ -->

<script type="module">
import * as pkg from '//cdn.skypack.dev/@bevry/ecmascript-versions@^3.1.1'
import * as pkg from '//cdn.skypack.dev/@bevry/ecmascript-versions@^3.2.0'
</script>

@@ -100,3 +100,3 @@ ```

<script type="module">
import * as pkg from '//unpkg.com/@bevry/ecmascript-versions@^3.1.1'
import * as pkg from '//unpkg.com/@bevry/ecmascript-versions@^3.2.0'
</script>

@@ -109,3 +109,3 @@ ```

<script type="module">
import * as pkg from '//dev.jspm.io/@bevry/ecmascript-versions@3.1.1'
import * as pkg from '//dev.jspm.io/@bevry/ecmascript-versions@3.2.0'
</script>

@@ -112,0 +112,0 @@ ```

@@ -72,5 +72,6 @@ /**

// Add the `ES${year}` versions which are ratified in June
// Certain APIs like Node.green go into the future, so add a year or two.
for (
let year = 2015, edition = 6;
year <= now.getFullYear();
year <= now.getFullYear() + 2;
year++, edition++

@@ -77,0 +78,0 @@ ) {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc