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

@bjia56/portable-python

Package Overview
Dependencies
Maintainers
0
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bjia56/portable-python - npm Package Compare versions

Comparing version 0.1.82 to 0.1.83

6

dist/index.d.ts

@@ -52,2 +52,8 @@ import { IPortablePython, IPortablePythonOptions } from "./types";

/**
* Checks if the build tag of the downloaded Python distribution is outdated (i.e.
* the tag does not match the specified release tag).
* @returns True if the tag is outdated, false otherwise.
*/
isTagOutdated(): boolean;
/**
* Will download the compressed Python installation and extract it to

@@ -54,0 +60,0 @@ * the installation directory.

@@ -134,2 +134,15 @@ "use strict";

/**
* Checks if the build tag of the downloaded Python distribution is outdated (i.e.
* the tag does not match the specified release tag).
* @returns True if the tag is outdated, false otherwise.
*/
isTagOutdated() {
const tagPath = (0, path_1.join)(this.extractPath, "build_tag.txt");
if (!(0, fs_1.existsSync)(tagPath)) {
return true;
}
const tag = (0, fs_1.readFileSync)(tagPath, "utf-8").trim();
return tag !== this.releaseTag;
}
/**
* Will download the compressed Python installation and extract it to

@@ -157,2 +170,5 @@ * the installation directory.

await (0, promises_1.rm)(downloadPath);
// Write the selected build tag to a file for debugging purposes
const tagPath = (0, path_1.join)(this.extractPath, "build_tag.txt");
await (0, promises_1.writeFile)(tagPath, this.releaseTag);
await this._installer.postInstall();

@@ -159,0 +175,0 @@ }

2

package.json
{
"name": "@bjia56/portable-python",
"version": "0.1.82",
"version": "0.1.83",
"description": "Portable Python",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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