diff --git a/.gitignore b/.gitignore index 4c04346..4df1981 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ _/amazon/.aws-sam *.tgz examples/**/package-lock.json examples/**/.serverless +docker diff --git a/_/amazon/events/example.com.json b/_/amazon/events/example.com.json index 3420325..dd37dc8 100644 --- a/_/amazon/events/example.com.json +++ b/_/amazon/events/example.com.json @@ -3,14 +3,14 @@ "url": "https://example.com", "expected": { "title": "Example Domain", - "screenshot": "835f3ccc8fdbcb3a4a067666f1e9648e9e513570" + "screenshot": "e610a8be5568f23c453b08928460aae3ae0b4b0a" } }, { "url": "https://get.webgl.org", "expected": { "remove": "logo-container", - "screenshot": "7b4110af7294ae55452d636dd8e900574b21ea2d" + "screenshot": "ec6c79a571b4cb5727c6fc23f9da30de3868138c" } } ] diff --git a/_/ansible/ansible.cfg b/_/ansible/ansible.cfg old mode 100755 new mode 100644 diff --git a/_/ansible/inventory.ini b/_/ansible/inventory.ini index 46f630c..48bb846 100644 --- a/_/ansible/inventory.ini +++ b/_/ansible/inventory.ini @@ -4,9 +4,9 @@ [localhost:vars] ansible_connection=local ansible_python_interpreter=python -image=ami-08d090f841c8435e9 +image=ami-06c68f701d8090592 region=us-east-1 -instance_size=c6i.12xlarge +instance_size=c7i.12xlarge [aws] @@ -14,4 +14,4 @@ instance_size=c6i.12xlarge ansible_connection=ssh ansible_python_interpreter=auto_silent ansible_ssh_private_key_file=ansible.pem -chromium_revision=1262506 +chromium_revision=1300313 diff --git a/_/ansible/plays/chromium.yml b/_/ansible/plays/chromium.yml index b42c740..cea1a74 100644 --- a/_/ansible/plays/chromium.yml +++ b/_/ansible/plays/chromium.yml @@ -236,12 +236,6 @@ path: /srv/source/chromium/src/out/Headless state: directory - - name: Mounting Build Directory in Memory - become: true - become_user: root - shell: | - mount --types tmpfs --options size=24G,nr_inodes=128k,mode=1777 tmpfs /srv/source/chromium/src/out/Headless - - name: Creating Headless Chromium Configuration copy: content: | diff --git a/bin/chromium.br b/bin/chromium.br index b7a18a2..2db10f7 100644 Binary files a/bin/chromium.br and b/bin/chromium.br differ diff --git a/bin/swiftshader.tar.br b/bin/swiftshader.tar.br index a7485ce..5221cf0 100644 Binary files a/bin/swiftshader.tar.br and b/bin/swiftshader.tar.br differ diff --git a/package-lock.json b/package-lock.json index 614be92..b2be086 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,25 +1,25 @@ { "name": "@sparticuz/chromium", - "version": "123.0.1", + "version": "126.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@sparticuz/chromium", - "version": "123.0.1", + "version": "126.0.0", "license": "MIT", "dependencies": { "follow-redirects": "^1.15.6", - "tar-fs": "^3.0.5" + "tar-fs": "^3.0.6" }, "devDependencies": { "@tsconfig/node20": "^20.1.4", "@tsconfig/strictest": "^2.0.5", "@types/follow-redirects": "^1.14.4", - "@types/node": "^20.12.7", + "@types/node": "^20.14.10", "@types/tar-fs": "^2.0.4", "clean-modules": "^3.0.5", - "typescript": "^5.4.5" + "typescript": "^5.5.3" }, "engines": { "node": ">= 16" @@ -47,9 +47,9 @@ } }, "node_modules/@types/node": { - "version": "20.12.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz", - "integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==", + "version": "20.14.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.10.tgz", + "integrity": "sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -270,9 +270,9 @@ } }, "node_modules/tar-fs": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.5.tgz", - "integrity": "sha512-JOgGAmZyMgbqpLwct7ZV8VzkEB6pxXFBVErLtb+XCOqzc6w1xiWKI9GVd6bwk68EX7eJ4DWmfXVmq8K2ziZTGg==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz", + "integrity": "sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==", "dependencies": { "pump": "^3.0.0", "tar-stream": "^3.1.5" @@ -299,9 +299,9 @@ "dev": true }, "node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", + "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 11e0851..b2382a1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sparticuz/chromium", - "version": "123.0.1", + "version": "126.0.0", "description": "Chromium Binary for Serverless Platforms", "keywords": [ "aws", @@ -37,16 +37,16 @@ }, "dependencies": { "follow-redirects": "^1.15.6", - "tar-fs": "^3.0.5" + "tar-fs": "^3.0.6" }, "devDependencies": { "@tsconfig/node20": "^20.1.4", "@tsconfig/strictest": "^2.0.5", "@types/follow-redirects": "^1.14.4", - "@types/node": "^20.12.7", + "@types/node": "^20.14.10", "@types/tar-fs": "^2.0.4", "clean-modules": "^3.0.5", - "typescript": "^5.4.5" + "typescript": "^5.5.3" }, "engines": { "node": ">= 16"