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

@sparticuz/chromium

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sparticuz/chromium - npm Package Compare versions

Comparing version 113.0.0 to 113.0.1

4

build/helper.d.ts
export declare const isValidUrl: (input: string) => boolean;
/**
* Determines if the running instance is inside an AWS Lambda container.
* @returns
* AWS_EXECUTION_ENV is for native Lambda instances
* AWS_LAMBDA_JS_RUNTIME is for netlify instances
* @returns boolean indicating if the running instance is inside a Lambda container
*/
export declare const isRunningInAwsLambda: () => boolean;
export declare const downloadAndExtract: (url: string) => Promise<string>;

@@ -20,3 +20,5 @@ "use strict";

* Determines if the running instance is inside an AWS Lambda container.
* @returns
* AWS_EXECUTION_ENV is for native Lambda instances
* AWS_LAMBDA_JS_RUNTIME is for netlify instances
* @returns boolean indicating if the running instance is inside a Lambda container
*/

@@ -28,2 +30,6 @@ const isRunningInAwsLambda = () => {

}
else if (process.env["AWS_LAMBDA_JS_RUNTIME"] &&
/^nodejs/.test(process.env["AWS_LAMBDA_JS_RUNTIME"]) === true) {
return true;
}
return false;

@@ -30,0 +36,0 @@ };

{
"name": "@sparticuz/chromium",
"version": "113.0.0",
"version": "113.0.1",
"description": "Chromium Binary for Serverless Platforms",

@@ -46,3 +46,3 @@ "keywords": [

"@types/follow-redirects": "^1.14.1",
"@types/node": "^18.16.3",
"@types/node": "^18.16.4",
"@types/tar-fs": "^2.0.1",

@@ -49,0 +49,0 @@ "clean-modules": "^2.0.6",

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