New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 2.0.0 to 2.0.1-next.1627391368.df717d4a6c0d95938e727c8aa411ff0226759a21

6

edition-browsers/index.js

@@ -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

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