@bjia56/portable-python
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -8,2 +8,5 @@ "use strict"; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __commonJS = (cb, mod) => function __require() { | ||
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; | ||
}; | ||
var __export = (target, all) => { | ||
@@ -51,2 +54,62 @@ for (var name in all) | ||
// package.json | ||
var require_package = __commonJS({ | ||
"package.json"(exports, module2) { | ||
module2.exports = { | ||
name: "@bjia56/portable-python", | ||
version: "0.1.4", | ||
description: "Portable Python", | ||
main: "./dist/index.js", | ||
module: "./dist/index.mjs", | ||
types: "./dist/index.d.ts", | ||
files: [ | ||
"dist" | ||
], | ||
scripts: { | ||
build: "cp ../../README.md . && tsup", | ||
prepublishOnly: "npm run build", | ||
test: 'echo "Error: no test specified" && exit 1' | ||
}, | ||
repository: { | ||
type: "git", | ||
url: "git+https://github.com/bjia56/portable-python.git" | ||
}, | ||
keywords: [ | ||
"python" | ||
], | ||
author: "Brett Jia", | ||
license: "Apache-2.0", | ||
bugs: { | ||
url: "https://github.com/bjia56/portable-python/issues" | ||
}, | ||
homepage: "https://github.com/bjia56/portable-python", | ||
dependencies: { | ||
"adm-zip": "^0.5.10" | ||
}, | ||
devDependencies: { | ||
"@types/adm-zip": "^0.5.5", | ||
"ts-node": "^10.9.1", | ||
tsup: "^8.0.1", | ||
typescript: "^5.3.2" | ||
}, | ||
portablePython: { | ||
versions: [ | ||
"3.10.13", | ||
"3.9.18", | ||
"3.9.17", | ||
"3.8.18", | ||
"3.8.17" | ||
], | ||
versionBuilds: { | ||
"3.10.13": "v3.10.13-build.3", | ||
"3.9.18": "v3.9.18-beta.4", | ||
"3.9.17": "v3.9.17-build.4", | ||
"3.8.18": "v3.8.18-build.0", | ||
"3.8.17": "v3.8.17-build.3" | ||
} | ||
} | ||
}; | ||
} | ||
}); | ||
// src/index.ts | ||
@@ -64,2 +127,3 @@ var src_exports = {}; | ||
var import_adm_zip = __toESM(require("adm-zip")); | ||
var packageJson = require_package(); | ||
var DL_PLATFORM = (() => { | ||
@@ -85,16 +149,4 @@ if ((0, import_os.platform)() == "win32") { | ||
})(); | ||
var VERSIONS = [ | ||
"3.10.13", | ||
"3.9.18", | ||
"3.9.17", | ||
"3.8.18", | ||
"3.8.17" | ||
]; | ||
var VERSION_BUILDS = /* @__PURE__ */ new Map([ | ||
["3.10.13", "v3.10.13-build.3"], | ||
["3.9.18", "v3.9.18-beta.4"], | ||
["3.9.17", "v3.9.17-build.4"], | ||
["3.8.18", "v3.8.18-build.0"], | ||
["3.8.17", "v3.8.17-build.3"] | ||
]); | ||
var VERSIONS = packageJson["versions"]; | ||
var VERSION_BUILDS = packageJson["versionBuilds"]; | ||
function pickVersion(version) { | ||
@@ -101,0 +153,0 @@ for (let i = 0; i < VERSIONS.length; ++i) { |
{ | ||
"name": "@bjia56/portable-python", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Portable Python", | ||
@@ -37,3 +37,19 @@ "main": "./dist/index.js", | ||
"typescript": "^5.3.2" | ||
}, | ||
"portablePython": { | ||
"versions": [ | ||
"3.10.13", | ||
"3.9.18", | ||
"3.9.17", | ||
"3.8.18", | ||
"3.8.17" | ||
], | ||
"versionBuilds": { | ||
"3.10.13": "v3.10.13-build.3", | ||
"3.9.18": "v3.9.18-beta.4", | ||
"3.9.17": "v3.9.17-build.4", | ||
"3.8.18": "v3.8.18-build.0", | ||
"3.8.17": "v3.8.17-build.3" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38390
519