Skip to content

Commit 5b207d5

Browse files
committed
Update development dependencies
1 parent 5bff136 commit 5b207d5

4 files changed

Lines changed: 18 additions & 18 deletions

File tree

scripts/build_npm.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { build, emptyDir } from "https://deno.land/x/dnt@0.32.0/mod.ts";
1+
import { build, emptyDir } from "https://deno.land/x/dnt@0.32.1/mod.ts";
22
import { version } from "../version.ts";
33

44
await emptyDir("./npm");
@@ -8,7 +8,7 @@ await build({
88
outDir: "./npm",
99
shims: {
1010
deno: true, // Required for `Deno.test`, `Deno.env`, etc.
11-
domException: true, // deno.land/std@0.166.0/async/delay.ts relies on DOMException
11+
domException: true, // https://deno.land/std/async/delay.ts relies on DOMException
1212
undici: true, // Required for `fetch`
1313
},
1414
package: {

tests/engines/google_test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
import { configSync } from "https://deno.land/std@0.166.0/dotenv/mod.ts";
1+
import { loadSync } from "https://deno.land/std@0.170.0/dotenv/mod.ts";
22
import {
33
afterAll,
44
afterEach,
55
beforeAll,
66
describe,
77
it,
8-
} from "https://deno.land/std@0.166.0/testing/bdd.ts";
9-
import { delay } from "https://deno.land/std@0.166.0/async/delay.ts";
8+
} from "https://deno.land/std@0.170.0/testing/bdd.ts";
9+
import { delay } from "https://deno.land/std@0.170.0/async/delay.ts";
1010
import {
1111
assertSpyCallArg,
1212
assertSpyCalls,
1313
spy,
1414
Stub,
1515
stub,
16-
} from "https://deno.land/std@0.166.0/testing/mock.ts";
16+
} from "https://deno.land/std@0.170.0/testing/mock.ts";
1717
import {
1818
assert,
1919
assertArrayIncludes,
2020
assertEquals,
2121
assertRejects,
2222
assertStringIncludes,
23-
} from "https://deno.land/std@0.166.0/testing/asserts.ts";
23+
} from "https://deno.land/std@0.170.0/testing/asserts.ts";
2424
import { _internals } from "../../src/utils.ts";
2525
import { MissingApiKeyError } from "../../src/errors.ts";
2626
import {
@@ -31,7 +31,7 @@ import {
3131
} from "../../src/serpapi.ts";
3232
import { config } from "../../src/config.ts";
3333

34-
configSync({ export: true });
34+
loadSync({ export: true });
3535
const SERPAPI_TEST_KEY = Deno.env.get("SERPAPI_TEST_KEY") ?? "";
3636
const HAS_API_KEY = SERPAPI_TEST_KEY.length > 0;
3737
const BASE_URL = Deno.env.get("ENV_TYPE") === "local"

tests/serpapi_test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
import { configSync } from "https://deno.land/std@0.166.0/dotenv/mod.ts";
1+
import { loadSync } from "https://deno.land/std@0.170.0/dotenv/mod.ts";
22
import {
33
afterAll,
44
afterEach,
55
beforeAll,
66
describe,
77
it,
8-
} from "https://deno.land/std@0.166.0/testing/bdd.ts";
8+
} from "https://deno.land/std@0.170.0/testing/bdd.ts";
99
import {
1010
assertEquals,
1111
assertInstanceOf,
1212
assertRejects,
13-
} from "https://deno.land/std@0.166.0/testing/asserts.ts";
14-
import { Stub, stub } from "https://deno.land/std@0.166.0/testing/mock.ts";
13+
} from "https://deno.land/std@0.170.0/testing/asserts.ts";
14+
import { Stub, stub } from "https://deno.land/std@0.170.0/testing/mock.ts";
1515
import { InvalidTimeoutError, MissingApiKeyError } from "../src/errors.ts";
1616
import { getAccount, getLocations } from "../src/serpapi.ts";
1717
import { _internals } from "../src/utils.ts";
1818
import { config } from "../src/config.ts";
1919

20-
configSync({ export: true });
20+
loadSync({ export: true });
2121
const SERPAPI_TEST_KEY = Deno.env.get("SERPAPI_TEST_KEY") ?? "";
2222
const HAS_API_KEY = SERPAPI_TEST_KEY.length > 0;
2323
const BASE_URL = Deno.env.get("ENV_TYPE") === "local"

tests/utils_test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
import { configSync } from "https://deno.land/std@0.166.0/dotenv/mod.ts";
1+
import { loadSync } from "https://deno.land/std@0.170.0/dotenv/mod.ts";
22
import {
33
afterAll,
44
afterEach,
55
beforeAll,
66
describe,
77
it,
8-
} from "https://deno.land/std@0.166.0/testing/bdd.ts";
8+
} from "https://deno.land/std@0.170.0/testing/bdd.ts";
99
import {
1010
assertSpyCalls,
1111
resolvesNext,
1212
Stub,
1313
stub,
14-
} from "https://deno.land/std@0.166.0/testing/mock.ts";
14+
} from "https://deno.land/std@0.170.0/testing/mock.ts";
1515
import {
1616
assertEquals,
1717
assertMatch,
1818
assertRejects,
1919
assertThrows,
20-
} from "https://deno.land/std@0.166.0/testing/asserts.ts";
20+
} from "https://deno.land/std@0.170.0/testing/asserts.ts";
2121
import {
2222
_internals,
2323
buildUrl,
@@ -28,7 +28,7 @@ import {
2828
import { config } from "../src/config.ts";
2929
import { InvalidTimeoutError, MissingApiKeyError } from "../src/errors.ts";
3030

31-
configSync({ export: true });
31+
loadSync({ export: true });
3232
const BASE_URL = Deno.env.get("ENV_TYPE") === "local"
3333
? "http://localhost:3000"
3434
: "https://serpapi.com";

0 commit comments

Comments
 (0)