playwright-aws-lambda
Advanced tools
Comparing version 0.8.0 to 0.9.0
@@ -8,2 +8,2 @@ import * as playwright from 'playwright-core'; | ||
export declare function launchChromium(launchOptions?: Partial<LaunchOptions>): Promise<playwright.ChromiumBrowser>; | ||
export declare const loadFont: (input: string) => Promise<unknown>; | ||
export declare const loadFont: (input: string) => Promise<void>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function isLambdaRuntimeEnvironment() { | ||
return ['AWS_Lambda_nodejs10.x', 'AWS_Lambda_nodejs12.x', 'AWS_Lambda_nodejs14.x'].includes(process.env.AWS_EXECUTION_ENV); | ||
return [ | ||
'AWS_Lambda_nodejs10.x', | ||
'AWS_Lambda_nodejs12.x', | ||
'AWS_Lambda_nodejs14.x', | ||
'AWS_Lambda_nodejs16.x', | ||
].includes(process.env.AWS_EXECUTION_ENV); | ||
} | ||
exports.default = isLambdaRuntimeEnvironment; |
{ | ||
"name": "playwright-aws-lambda", | ||
"version": "0.8.0", | ||
"version": "0.9.0", | ||
"description": "Support for running Microsoft's Playwrite on AWS Lambda and Google Cloud functions", | ||
@@ -25,3 +25,3 @@ "main": "./dist/src/", | ||
"dependencies": { | ||
"lambdafs": "^1.3.0" | ||
"lambdafs": "^2.1.1" | ||
}, | ||
@@ -28,0 +28,0 @@ "peerDependencies": { |
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
44056930
292
+ Addedlambdafs@2.1.1(transitive)
- Removedlambdafs@1.3.0(transitive)
Updatedlambdafs@^2.1.1