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

@balena/es-version

Package Overview
Dependencies
Maintainers
3
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.2 to 1.0.3-build-es2023-db4a7d2af00194a422431a73e3d57c2f5bd5382e-1

5

build/index.d.ts

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

'es2022' = 9,
'esnext' = 10
'es2023' = 10,
'esnext' = 11
}
export declare type ValidVersion = keyof typeof validVersions;
export type ValidVersion = keyof typeof validVersions;
export declare const set: (version: ValidVersion) => void;
export declare const get: (supportedVersions?: ValidVersion[]) => ValidVersion;
export {};
"use strict";
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", { value: true });
exports.get = exports.set = void 0;

@@ -16,3 +16,4 @@ var validVersions;

validVersions[validVersions["es2022"] = 9] = "es2022";
validVersions[validVersions["esnext"] = 10] = "esnext";
validVersions[validVersions["es2023"] = 10] = "es2023";
validVersions[validVersions["esnext"] = 11] = "esnext";
})(validVersions || (validVersions = {}));

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

24

package.json
{
"name": "@balena/es-version",
"version": "1.0.2",
"version": "1.0.3-build-es2023-db4a7d2af00194a422431a73e3d57c2f5bd5382e-1",
"description": "This module provides the ability to specify the default es version to include for balena modules.",

@@ -17,4 +17,4 @@ "browser": "build/index.js",

"scripts": {
"lint": "balena-lint src test",
"lint-fix": "balena-lint --fix src test",
"lint": "balena-lint -t tsconfig.test.json src test",
"lint-fix": "balena-lint -t tsconfig.test.json --fix src test",
"pretest": "npm run build && npx tsc --noEmit --project tsconfig.test.json",

@@ -28,11 +28,11 @@ "test": "mocha --require ts-node/register/transpile-only test/*.ts",

"devDependencies": {
"@balena/lint": "^6.2.0",
"@types/chai": "^4.3.3",
"@types/mocha": "^9.1.1",
"chai": "^4.3.6",
"@balena/lint": "^7.1.1",
"@types/chai": "^4.3.6",
"@types/mocha": "^10.0.1",
"chai": "^4.3.8",
"husky": "^4.3.8",
"lint-staged": "^11.2.6",
"mocha": "^9.2.2",
"lint-staged": "^14.0.1",
"mocha": "^10.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
"typescript": "^5.2.2"
},

@@ -46,8 +46,8 @@ "husky": {

"*.ts": [
"balena-lint --fix"
"balena-lint --fix -t tsconfig.test.json"
]
},
"versionist": {
"publishedAt": "2022-10-31T13:19:56.545Z"
"publishedAt": "2023-09-06T15:16:12.439Z"
}
}

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