Skip to content

Commit 196652a

Browse files
committed
chore: someone broke esm
1 parent 80f0f5f commit 196652a

File tree

6 files changed

+15
-6
lines changed

6 files changed

+15
-6
lines changed

checker-cheerio/src/lib/handleFailedRequest.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { utils } from 'apify';
1+
import Apify from 'apify';
22

3+
const { utils } = Apify;
34
const { log } = utils;
45

56
/**

checker-cheerio/src/lib/handlePage.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
import { getEnv, PseudoUrl, pushData, setValue, utils } from 'apify';
1+
import Apify from 'apify';
22
import { testHtml } from './checkers.js';
33

4+
const { getEnv, PseudoUrl, pushData, setValue, utils } = Apify;
5+
46
/**
57
* @param {import('../types').CheerioActorInput} input
68
* @param {import('apify').RequestQueue} requestQueue

checker-playwright/src/lib/handleFailedRequest.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { utils } from 'apify';
1+
import Apify from 'apify';
22

3+
const { utils } = Apify;
34
const { log } = utils;
45

56
/**

checker-playwright/src/lib/handlePage.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
import { getEnv, PseudoUrl, pushData, setValue, utils } from 'apify';
1+
import Apify from 'apify';
22
import Cheerio from 'cheerio';
33
import { testHtml } from './checkers.js';
44

5+
const { getEnv, PseudoUrl, pushData, setValue, utils } = Apify;
6+
57
/**
68
* @param {import('../types').PlaywrightActorInput} input
79
* @param {import('apify').RequestQueue} requestQueue

checker-puppeteer/src/lib/handleFailedRequest.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { utils } from 'apify';
1+
import Apify from 'apify';
22

3+
const { utils } = Apify;
34
const { log } = utils;
45

56
/**

checker-puppeteer/src/lib/handlePage.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
import { getEnv, PseudoUrl, pushData, utils } from 'apify';
1+
import Apify from 'apify';
22
import Cheerio from 'cheerio';
33
import { testHtml } from './checkers.js';
44

5+
const { getEnv, PseudoUrl, pushData, utils } = Apify;
6+
57
/**
68
* @param {import('../types').PuppeteerActorInput} input
79
* @param {import('apify').RequestQueue} requestQueue

0 commit comments

Comments
 (0)