New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sparticuz/chromium

Package Overview
Dependencies
Maintainers
1
Versions
44
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 110.0.0 to 110.0.1

7

build/helper.js

@@ -5,5 +5,6 @@ "use strict";

const node_fs_1 = require("node:fs");
const node_https_1 = require("node:https");
const follow_redirects_1 = require("follow-redirects");
const node_os_1 = require("node:os");
const tar_fs_1 = require("tar-fs");
const node_url_1 = require("node:url");
const isValidUrl = (input) => {

@@ -19,5 +20,7 @@ try {

const downloadAndExtract = async (url) => new Promise((resolve, reject) => {
const getOptions = (0, node_url_1.parse)(url);
getOptions.maxBodyLength = 60 * 1024 * 1024; // 60mb
const destDir = `${(0, node_os_1.tmpdir)()}/chromium-pack`;
const extractObj = (0, tar_fs_1.extract)(destDir);
(0, node_https_1.get)(url, (response) => {
follow_redirects_1.https.get(url, (response) => {
response.pipe(extractObj);

@@ -24,0 +27,0 @@ extractObj.on('finish', () => {

{
"name": "@sparticuz/chromium",
"version": "110.0.0",
"version": "110.0.1",
"description": "Chromium Binary for Serverless Platforms",
"keywords": [
"aws",
"browser",
"chrome",
"chromium",
"lambda",
"puppeteer",
"playwright",
"serverless"
],
"homepage": "https://github.com/Sparticuz/chromium",
"bugs": {
"url": "https://github.com/Sparticuz/chromium/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/Sparticuz/chromium.git"
},
"license": "MIT",
"author": {
"name": "Kyle McNally"
},
"license": "MIT",
"description": "Chromium Binary for Serverless Platforms",
"type": "commonjs",
"main": "build/index.js",
"types": "build/index.d.ts",
"type": "commonjs",
"files": [

@@ -16,11 +34,13 @@ "bin",

],
"engines": {
"node": ">= 14.18.0"
},
"scripts": {
"test": "make clean && make && make pretest && make test",
"build": "rm -rf build && tsc -p tsconfig.json"
"build": "rm -rf build && tsc -p tsconfig.json",
"test": "make clean && make && make pretest && make test"
},
"dependencies": {
"follow-redirects": "^1.15.2",
"tar-fs": "^2.1.1"
},
"devDependencies": {
"@tsconfig/node14": "^1.0.3",
"@types/follow-redirects": "^1.14.1",
"@types/node": "^18.11.18",

@@ -31,34 +51,5 @@ "@types/tar-fs": "^2.0.1",

},
"bugs": {
"url": "https://github.com/Sparticuz/chromium/issues"
},
"homepage": "https://github.com/Sparticuz/chromium",
"repository": {
"type": "git",
"url": "git://github.com/Sparticuz/chromium.git"
},
"keywords": [
"aws",
"browser",
"chrome",
"chromium",
"lambda",
"puppeteer",
"playwright",
"serverless"
],
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"printWidth": 140,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"dependencies": {
"tar-fs": "^2.1.1"
"engines": {
"node": ">= 14.18.0"
}
}
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