@bevry/ecmascript-versions
Advanced tools
Comparing version 2.0.0 to 2.0.1-next.1627391368.df717d4a6c0d95938e727c8aa411ff0226759a21
@@ -40,8 +40,10 @@ /** | ||
}); | ||
// ES4 was abandoned | ||
// December 2009 | ||
esVersionMap.set(4, { | ||
esVersionMap.set(5, { | ||
version: 'ES5', | ||
ratified: new Date('2009-12-01'), | ||
edition: 4, | ||
edition: 5, | ||
}); | ||
// ES5.1 doesn't count | ||
// Add the `ES${year}` versions which are ratified in June | ||
@@ -48,0 +50,0 @@ for (let year = 2015, edition = 6; year <= now.getFullYear(); year++, edition++) { |
@@ -65,8 +65,10 @@ /** | ||
}) | ||
// ES4 was abandoned | ||
// December 2009 | ||
esVersionMap.set(4, { | ||
esVersionMap.set(5, { | ||
version: 'ES5', | ||
ratified: new Date('2009-12-01'), | ||
edition: 4, | ||
edition: 5, | ||
}) | ||
// ES5.1 doesn't count | ||
// Add the `ES${year}` versions which are ratified in June | ||
@@ -73,0 +75,0 @@ for ( |
@@ -40,8 +40,10 @@ /** | ||
}); | ||
// ES4 was abandoned | ||
// December 2009 | ||
esVersionMap.set(4, { | ||
esVersionMap.set(5, { | ||
version: 'ES5', | ||
ratified: new Date('2009-12-01'), | ||
edition: 4, | ||
edition: 5, | ||
}); | ||
// ES5.1 doesn't count | ||
// Add the `ES${year}` versions which are ratified in June | ||
@@ -48,0 +50,0 @@ for (let year = 2015, edition = 6; year <= now.getFullYear(); year++, edition++) { |
@@ -45,8 +45,10 @@ "use strict"; | ||
}); | ||
// ES4 was abandoned | ||
// December 2009 | ||
esVersionMap.set(4, { | ||
esVersionMap.set(5, { | ||
version: 'ES5', | ||
ratified: new Date('2009-12-01'), | ||
edition: 4, | ||
edition: 5, | ||
}); | ||
// ES5.1 doesn't count | ||
// Add the `ES${year}` versions which are ratified in June | ||
@@ -53,0 +55,0 @@ for (let year = 2015, edition = 6; year <= now.getFullYear(); year++, edition++) { |
# History | ||
## v2.0.1 2021 July 27 | ||
- ES5 edition number was incorrectly set to `4`, it is now `5` | ||
## v2.0.0 2021 July 26 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "@bevry/ecmascript-versions", | ||
"version": "2.0.0", | ||
"version": "2.0.1-next.1627391368.df717d4a6c0d95938e727c8aa411ff0226759a21", | ||
"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", |
@@ -84,3 +84,3 @@ <!-- TITLE/ --> | ||
<script type="module"> | ||
import * as pkg from '//cdn.skypack.dev/@bevry/ecmascript-versions@^2.0.0' | ||
import * as pkg from '//cdn.skypack.dev/@bevry/ecmascript-versions@^2.0.1' | ||
</script> | ||
@@ -93,3 +93,3 @@ ``` | ||
<script type="module"> | ||
import * as pkg from '//unpkg.com/@bevry/ecmascript-versions@^2.0.0' | ||
import * as pkg from '//unpkg.com/@bevry/ecmascript-versions@^2.0.1' | ||
</script> | ||
@@ -102,3 +102,3 @@ ``` | ||
<script type="module"> | ||
import * as pkg from '//dev.jspm.io/@bevry/ecmascript-versions@2.0.0' | ||
import * as pkg from '//dev.jspm.io/@bevry/ecmascript-versions@2.0.1' | ||
</script> | ||
@@ -105,0 +105,0 @@ ``` |
@@ -65,8 +65,10 @@ /** | ||
}) | ||
// ES4 was abandoned | ||
// December 2009 | ||
esVersionMap.set(4, { | ||
esVersionMap.set(5, { | ||
version: 'ES5', | ||
ratified: new Date('2009-12-01'), | ||
edition: 4, | ||
edition: 5, | ||
}) | ||
// ES5.1 doesn't count | ||
// Add the `ES${year}` versions which are ratified in June | ||
@@ -73,0 +75,0 @@ for ( |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
41280
596
1