@balena/es-version
Advanced tools
Comparing version 1.0.2 to 1.0.3-build-es2023-db4a7d2af00194a422431a73e3d57c2f5bd5382e-1
@@ -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; |
{ | ||
"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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
18193
82
2