@oro-dxeco/playwright-aws-lambda 0.9.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CODEOWNERS CHANGED
@@ -1,2 +1,3 @@
1
- * @jupiterone/integrations-tooling
1
+ * @jupiterone/janus
2
+
2
3
  CODEOWNERS @jupiterone/security
package/README.md CHANGED
@@ -15,7 +15,7 @@ npm install playwright-core playwright-aws-lambda --save
15
15
 
16
16
  ## Usage
17
17
 
18
- This package works with the `nodejs10.x`, `nodejs12.x` and `nodejs14.x` AWS Lambda runtimes
18
+ This package works with the `nodejs10.x`, `nodejs12.x`, `nodejs14.x`, `nodejs16.x` and `nodejs18.x` AWS Lambda runtimes
19
19
  out of the box.
20
20
 
21
21
  ```javascript
package/cortex.yaml ADDED
@@ -0,0 +1,14 @@
1
+ openapi: 3.0.1
2
+ info:
3
+ title: playwright-aws-lambda
4
+ description: >-
5
+ Support for running Microsoft's Playwrite on AWS Lambda and Google Cloud
6
+ functions
7
+ x-cortex-git:
8
+ github:
9
+ repository: JupiterOne/playwright-aws-lambda
10
+ x-cortex-owners:
11
+ - type: group
12
+ name: JupiterOne/janus
13
+ x-cortex-service-groups: tier-4
14
+ x-cortex-tag: playwright-aws-lambda
@@ -6,6 +6,7 @@ function isLambdaRuntimeEnvironment() {
6
6
  'AWS_Lambda_nodejs12.x',
7
7
  'AWS_Lambda_nodejs14.x',
8
8
  'AWS_Lambda_nodejs16.x',
9
+ 'AWS_Lambda_nodejs18.x',
9
10
  ].includes(process.env.AWS_EXECUTION_ENV);
10
11
  }
11
12
  exports.default = isLambdaRuntimeEnvironment;
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "@oro-dxeco/playwright-aws-lambda",
3
- "version": "0.9.1",
3
+ "version": "0.11.0",
4
4
  "description": "Support for running Microsoft's Playwrite on AWS Lambda and Google Cloud functions",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/JupiterOne/playwright-aws-lambda"
8
+ },
9
+ "license": "MIT",
5
10
  "main": "./dist/src/",
6
11
  "author": "ORO <oro_dxeco@jp.oro.com>",
7
- "license": "MIT",
8
12
  "publishConfig": {
9
13
  "access": "public"
10
14
  },
@@ -12,8 +16,8 @@
12
16
  "node": ">= 8.0.0"
13
17
  },
14
18
  "scripts": {
15
- "compile-src-cjs": "tsc --declaration --declarationDir ./dist -p tsconfig-src-cjs.json && npx cpx ./src/bin/* ./dist/src/bin",
16
- "precompile-src": "npx rimraf dist",
19
+ "compile-src-cjs": "tsc --declaration --declarationDir ./dist -p tsconfig-src-cjs.json && cpx ./src/bin ./dist/src",
20
+ "precompile-src": "rimraf ./dist",
17
21
  "compile-src": "npm run compile-src-cjs",
18
22
  "lint": "tslint --format codeFrame --project tsconfig.json 'src/**/*.ts' 'test/**/*.ts'",
19
23
  "pretest": "npm run lint",
@@ -31,6 +35,7 @@
31
35
  "@types/debug": "^4.1.5",
32
36
  "@types/jest": "^26.0.9",
33
37
  "@types/node": "~14",
38
+ "cpx": "^1.5.0",
34
39
  "husky": "^4.2.5",
35
40
  "jest": "^26.3.0",
36
41
  "lint-staged": "10.2.11",
@@ -39,6 +44,7 @@
39
44
  "playwright-core": "^1.3.0",
40
45
  "pngjs": "^5.0.0",
41
46
  "prettier": "^2.0.5",
47
+ "rimraf": "^5.0.5",
42
48
  "ts-jest": "^26.2.0",
43
49
  "tslint": "^6.1.3",
44
50
  "tslint-config-prettier": "^1.18.0",
Binary file
Binary file
Binary file