Skip to content

Commit

Permalink
Update deno to 1.43.x
Browse files Browse the repository at this point in the history
  • Loading branch information
nktpro committed May 1, 2024
1 parent 78ed145 commit 63221fa
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 30 deletions.
10 changes: 5 additions & 5 deletions cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ compile_app() {
local APP=${1:?"App path is required"}
local OUT=${2:?"Output path is required"}

local TEMP_DIR
TEMP_DIR=$(mktemp -d) || exit $?
# local TEMP_DIR
# TEMP_DIR=$(mktemp -d) || exit $?
deno check "${APP}"
local APP_RET
APP_RET=$(deno-app-build --allow-npm-specifier --app-path="${APP}" --out-path="${TEMP_DIR}") || exit $?
deno compile --cached-only -A --output="${OUT}" "${APP_RET}"
# local APP_RET
# APP_RET=$(deno-app-build --allow-npm-specifier --app-path="${APP}" --out-path="${TEMP_DIR}") || exit $?
deno compile --cached-only -A --output="${OUT}" "${APP}"
}

smoke_test() {
Expand Down
19 changes: 5 additions & 14 deletions deno.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"jsr:@std/yaml@^0.221.0": "jsr:@std/yaml@0.221.0",
"jsr:@wok/case@^1.0.1": "jsr:@wok/case@1.0.1",
"jsr:@wok/djwt@~3.0.2": "jsr:@wok/djwt@3.0.2",
"jsr:@wok/helmet@~1.29.5": "jsr:@wok/helmet@1.29.5",
"jsr:@wok/helmet@~1.29.6": "jsr:@wok/helmet@1.29.6",
"jsr:@wok/k8s@~1.29.0": "jsr:@wok/k8s@1.29.3+5",
"jsr:@wok/k8s@~1.29.3+5": "jsr:@wok/k8s@1.29.3+5",
"jsr:@wok/openapi-client@~1.0.0": "jsr:@wok/openapi-client@1.0.1",
Expand Down Expand Up @@ -51,10 +51,7 @@
"integrity": "64a047011cf833890a4a2ab7293ac55a1b4f5a050624ebc6a0159c357de91966"
},
"@std/cli@0.221.0": {
"integrity": "157c2f881f0f85a73d994e7668754aeeccdf597680bd9c65de9c6bcd670416ac",
"dependencies": [
"jsr:@std/assert@^0.221.0"
]
"integrity": "157c2f881f0f85a73d994e7668754aeeccdf597680bd9c65de9c6bcd670416ac"
},
"@std/collections@0.221.0": {
"integrity": "789a365bb79b06c4da79d2b93fe32ddfe03b93ab083e72c1de96303d12f84be5"
Expand Down Expand Up @@ -121,14 +118,11 @@
"jsr:@std/encoding@^0.221.0"
]
},
"@wok/helmet@1.29.5": {
"integrity": "8b7f933e9ee1a1d8b62b3517ed5637ceea2b0515116f71a127cbbae7d3cb503e",
"@wok/helmet@1.29.6": {
"integrity": "1be72cbee751463855111052da86256e1795c7d62b80e630212b6d5520e935ba",
"dependencies": [
"jsr:@std/fmt@^0.221.0",
"jsr:@std/fs@^0.221.0",
"jsr:@std/path@^0.221.0",
"jsr:@std/semver@^0.221.0",
"jsr:@std/yaml@^0.221.0",
"jsr:@wok/utils@~1.1.5"
]
},
Expand All @@ -152,10 +146,7 @@
"@wok/utils@1.1.5": {
"integrity": "2a7581c49b3d9738167e0b81018b9a014f0af11726def8534f757a0a1f549ba4",
"dependencies": [
"jsr:@std/async@~0.221.0",
"jsr:@std/streams@~0.221.0",
"jsr:@wok/k8s@~1.29.0",
"jsr:@wok/typebox@~0.32.0"
"jsr:@wok/k8s@~1.29.0"
]
},
"@wok/utils@1.2.0": {
Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
hasSuffix "/deno.lock" path
);
};
deno = hotPotPkgs.deno_1_42_x;
denort = hotPotPkgs.denort_1_42_x;
deno = hotPotPkgs.deno;
denort = hotPotPkgs.denort;
deno-app-build = hotPotPkgs.deno-app-build /* pkgs.callPackage ./nix/deno-app-build {
inherit deno denort;
} */;
Expand All @@ -46,7 +46,7 @@
compiled = pkgs.callPackage hotPot.lib.denoAppCompile {
inherit name deno denort deno-cache src deno-app-build;
appSrcPath = tsPath;
prefix-patch = ./src/patched_fetch.js;
prefix-patch = ./src/patched_fetch.ts;
};
in
compiled;
Expand Down
2 changes: 1 addition & 1 deletion src/deps/helmet.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "jsr:@wok/helmet@~1.29.5";
export * from "jsr:@wok/helmet@~1.29.6";
2 changes: 1 addition & 1 deletion src/deps/typebox.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "jsr:@wok/helmet@~1.29.5/deps/typebox";
export * from "jsr:@wok/helmet@~1.29.6/deps/typebox";

0 comments on commit 63221fa

Please sign in to comment.