@vercel/fun
Advanced tools
Comparing version 1.1.0 to 1.1.1
import { Runtime } from '../../types'; | ||
export declare function init(_runtime: Runtime): Promise<void>; | ||
export declare function init({ cacheDir }: Runtime): Promise<void>; |
@@ -13,6 +13,10 @@ "use strict"; | ||
exports.init = void 0; | ||
const install_python_1 = require("../../install-python"); | ||
const runtimes_1 = require("../../runtimes"); | ||
function init(_runtime) { | ||
function init({ cacheDir }) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
yield (0, runtimes_1.initializeRuntime)(runtimes_1.runtimes.python); | ||
yield Promise.all([ | ||
(0, runtimes_1.initializeRuntime)(runtimes_1.runtimes.python), | ||
(0, install_python_1.installPython)(cacheDir, '3.6.8') | ||
]); | ||
}); | ||
@@ -19,0 +23,0 @@ } |
{ | ||
"name": "@vercel/fun", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Local Lambda development environment", | ||
@@ -13,4 +13,4 @@ "main": "dist/src/index", | ||
"postbuild": "cpy --parents src test '!**/*.ts' dist", | ||
"test": "echo \"Node.js version: $(node -v)\\n\" && yarn build && jest --verbose test/test.js", | ||
"test-codecov": "nyc npm test", | ||
"test": "echo \"Node.js version: $(node -v)\\n\" && pnpm build && jest --detectOpenHandles --verbose test/test.js", | ||
"test-codecov": "nyc pnpm test", | ||
"report-codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov", | ||
@@ -27,3 +27,3 @@ "lint:staged": "lint-staged", | ||
"async-listen": "1.2.0", | ||
"debug": "4.1.1", | ||
"debug": "4.3.4", | ||
"execa": "3.2.0", | ||
@@ -37,3 +37,3 @@ "fs-extra": "8.1.0", | ||
"promisepipe": "3.0.0", | ||
"semver": "7.3.5", | ||
"semver": "7.5.4", | ||
"stat-mode": "0.3.0", | ||
@@ -49,3 +49,3 @@ "stream-to-promise": "2.2.0", | ||
"devDependencies": { | ||
"@types/debug": "4.1.7", | ||
"@types/debug": "4.1.9", | ||
"@types/fs-extra": "8.1.0", | ||
@@ -52,0 +52,0 @@ "@types/generic-pool": "3.1.9", |
@@ -83,3 +83,3 @@ # ƒun | ||
* `python2.7` for Python Lambda functions using a downloaded Python v2.7.12 binary | ||
* `python3` for Python Lambda functions using the system `python3` binary (or fallback to `python`) | ||
* `python3` for Python Lambda functions using the system `python3` binary | ||
* `python3.6` for Python Lambda functions using a downloaded Python v3.6.8 binary | ||
@@ -86,0 +86,0 @@ * `python3.7` for Python Lambda functions using a downloaded Python v3.7.2 binary |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
159057
2200
15
+ Addeddebug@4.3.4(transitive)
+ Addedms@2.1.2(transitive)
+ Addedsemver@7.5.4(transitive)
- Removeddebug@4.1.1(transitive)
- Removedsemver@7.3.5(transitive)
Updateddebug@4.3.4
Updatedsemver@7.5.4