Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

chore: disable npm audit in e2e tests on platform 2

Martin Adámekf6d5fa0d9353
diff --git a/test/e2e/automatic-persist-value/actor/Dockerfile b/test/e2e/automatic-persist-value/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/automatic-persist-value/actor/Dockerfile
+++ b/test/e2e/automatic-persist-value/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/autoscaling-max-tasks-per-minute/actor/Dockerfile b/test/e2e/autoscaling-max-tasks-per-minute/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/autoscaling-max-tasks-per-minute/actor/Dockerfile
+++ b/test/e2e/autoscaling-max-tasks-per-minute/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/cheerio-default-ts/actor/Dockerfile b/test/e2e/cheerio-default-ts/actor/Dockerfile
index 1d478b132..c5d7deb68 100644
--- a/test/e2e/cheerio-default-ts/actor/Dockerfile
+++ b/test/e2e/cheerio-default-ts/actor/Dockerfile
@@ -16,7 +16,7 @@ COPY --from=builder /usr/src/app/main.js ./
# install only prod deps
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/cheerio-default/actor/Dockerfile b/test/e2e/cheerio-default/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/cheerio-default/actor/Dockerfile
+++ b/test/e2e/cheerio-default/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/cheerio-enqueue-links-base/actor/Dockerfile b/test/e2e/cheerio-enqueue-links-base/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/cheerio-enqueue-links-base/actor/Dockerfile
+++ b/test/e2e/cheerio-enqueue-links-base/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/cheerio-enqueue-links/actor/Dockerfile b/test/e2e/cheerio-enqueue-links/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/cheerio-enqueue-links/actor/Dockerfile
+++ b/test/e2e/cheerio-enqueue-links/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/cheerio-ignore-ssl-errors/actor/Dockerfile b/test/e2e/cheerio-ignore-ssl-errors/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/cheerio-ignore-ssl-errors/actor/Dockerfile
+++ b/test/e2e/cheerio-ignore-ssl-errors/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/cheerio-initial-cookies/actor/Dockerfile b/test/e2e/cheerio-initial-cookies/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/cheerio-initial-cookies/actor/Dockerfile
+++ b/test/e2e/cheerio-initial-cookies/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/cheerio-max-requests/actor/Dockerfile b/test/e2e/cheerio-max-requests/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/cheerio-max-requests/actor/Dockerfile
+++ b/test/e2e/cheerio-max-requests/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/cheerio-page-info/actor/Dockerfile b/test/e2e/cheerio-page-info/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/cheerio-page-info/actor/Dockerfile
+++ b/test/e2e/cheerio-page-info/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/cheerio-throw-on-ssl-errors/actor/Dockerfile b/test/e2e/cheerio-throw-on-ssl-errors/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/cheerio-throw-on-ssl-errors/actor/Dockerfile
+++ b/test/e2e/cheerio-throw-on-ssl-errors/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/input-json5/actor/Dockerfile b/test/e2e/input-json5/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/input-json5/actor/Dockerfile
+++ b/test/e2e/input-json5/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/jsdom-default-ts/actor/Dockerfile b/test/e2e/jsdom-default-ts/actor/Dockerfile
index 1d478b132..c5d7deb68 100644
--- a/test/e2e/jsdom-default-ts/actor/Dockerfile
+++ b/test/e2e/jsdom-default-ts/actor/Dockerfile
@@ -16,7 +16,7 @@ COPY --from=builder /usr/src/app/main.js ./
# install only prod deps
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/jsdom-react-ts/actor/Dockerfile b/test/e2e/jsdom-react-ts/actor/Dockerfile
index 1d478b132..c5d7deb68 100644
--- a/test/e2e/jsdom-react-ts/actor/Dockerfile
+++ b/test/e2e/jsdom-react-ts/actor/Dockerfile
@@ -16,7 +16,7 @@ COPY --from=builder /usr/src/app/main.js ./
# install only prod deps
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/linkedom-default-ts/actor/Dockerfile b/test/e2e/linkedom-default-ts/actor/Dockerfile
index 1d478b132..c5d7deb68 100644
--- a/test/e2e/linkedom-default-ts/actor/Dockerfile
+++ b/test/e2e/linkedom-default-ts/actor/Dockerfile
@@ -16,7 +16,7 @@ COPY --from=builder /usr/src/app/main.js ./
# install only prod deps
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/migration/actor/Dockerfile b/test/e2e/migration/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/migration/actor/Dockerfile
+++ b/test/e2e/migration/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/request-queue-zero-concurrency/actor/Dockerfile b/test/e2e/request-queue-zero-concurrency/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/request-queue-zero-concurrency/actor/Dockerfile
+++ b/test/e2e/request-queue-zero-concurrency/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \
diff --git a/test/e2e/request-skip-navigation/actor/Dockerfile b/test/e2e/request-skip-navigation/actor/Dockerfile
index fa53f99dc..4874669fc 100644
--- a/test/e2e/request-skip-navigation/actor/Dockerfile
+++ b/test/e2e/request-skip-navigation/actor/Dockerfile
@@ -5,7 +5,7 @@ COPY package*.json ./
RUN npm --quiet set progress=false \
&& npm install --only=prod --no-optional --no-audit \
- && npm update \
+ && npm update --no-audit \
&& echo "Installed NPM packages:" \
&& (npm list --only=prod --no-optional --all || true) \
&& echo "Node.js version:" \