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

@balena/es-version

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@balena/es-version - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2-es-2022-fa3275fbb963e1d6708a20bb9e9ff3de3aae78e7-1

5

build/index.d.ts

@@ -11,7 +11,8 @@ declare enum validVersions {

'es2021' = 8,
'esnext' = 9
'es2022' = 9,
'esnext' = 10
}
export declare type ValidVersion = keyof typeof validVersions;
export declare const set: (version: ValidVersion) => void;
export declare const get: (supportedVersions?: ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "esnext")[] | undefined) => ValidVersion;
export declare const get: (supportedVersions?: ValidVersion[]) => ValidVersion;
export {};

3

build/index.js

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

validVersions[validVersions["es2021"] = 8] = "es2021";
validVersions[validVersions["esnext"] = 9] = "esnext";
validVersions[validVersions["es2022"] = 9] = "es2022";
validVersions[validVersions["esnext"] = 10] = "esnext";
})(validVersions || (validVersions = {}));

@@ -18,0 +19,0 @@ var desiredVersionIndex = 0;

{
"name": "@balena/es-version",
"version": "1.0.1",
"version": "1.0.2-es-2022-fa3275fbb963e1d6708a20bb9e9ff3de3aae78e7-1",
"description": "This module provides the ability to specify the default es version to include for balena modules.",

@@ -27,11 +27,11 @@ "browser": "build/index.js",

"devDependencies": {
"@balena/lint": "^6.1.1",
"@types/chai": "^4.2.11",
"@types/mocha": "^9.0.0",
"chai": "^4.2.0",
"husky": "^4.2.5",
"@balena/lint": "^6.2.0",
"@types/chai": "^4.3.3",
"@types/mocha": "^9.1.1",
"chai": "^4.3.6",
"husky": "^4.3.8",
"lint-staged": "^11.2.6",
"mocha": "^9.1.3",
"ts-node": "^10.4.0",
"typescript": "^4.4.4"
"mocha": "^9.2.2",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},

@@ -49,4 +49,4 @@ "husky": {

"versionist": {
"publishedAt": "2021-11-01T13:45:37.266Z"
"publishedAt": "2022-10-31T13:19:56.545Z"
}
}

@@ -12,2 +12,4 @@ # @balena/es-version

* es2020
* es2021
* es2022
* esnext

@@ -14,0 +16,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