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

ecklf-tmp-runtime-test

Package Overview
Dependencies
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ecklf-tmp-runtime-test - npm Package Compare versions

Comparing version 1.0.139 to 1.0.140

19

dist/index.js

@@ -29,7 +29,2 @@ "use strict";

const { files, entrypoint, workPath, config, meta } = options;
(0, build_utils_1.debug)(`1, ${JSON.stringify({
entrypoint,
workPath,
files,
})}`);
yield (0, rust_toolchain_1.installRustToolchain)();

@@ -73,12 +68,8 @@ (0, build_utils_1.debug)('Creating file system');

const bin = node_path_1.default.join(targetDirectory, BUILDER_DEBUG ? 'debug' : 'release', (0, utils_1.getExecutableName)(binaryName));
/* const lambdaOptions = await getLambdaOptionsFromFunction({ */
/* sourceFile, */
/* config, */
/* }); */
const lambdaOptions = yield (0, build_utils_1.getLambdaOptionsFromFunction)({
sourceFile: `${workPath}/${entrypoint}`,
config,
});
const bootstrap = (0, utils_1.getExecutableName)('bootstrap');
const lambda = new build_utils_1.Lambda({
files: Object.assign(Object.assign({}, extraFiles), { [bootstrap]: new build_utils_1.FileFsRef({ mode: 0o755, fsPath: bin }) }),
handler: bootstrap,
runtime: 'provided',
});
const lambda = new build_utils_1.Lambda(Object.assign({ files: Object.assign(Object.assign({}, extraFiles), { [bootstrap]: new build_utils_1.FileFsRef({ mode: 0o755, fsPath: bin }) }), handler: bootstrap, runtime: 'provided' }, lambdaOptions));
lambda.zipBuffer = yield lambda.createZip();

@@ -85,0 +76,0 @@ if (isBundledRoute()) {

{
"name": "ecklf-tmp-runtime-test",
"version": "1.0.139",
"version": "1.0.140",
"description": "Rust runtime for Vercel Functions.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/vercel-community/rust",

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