chore: remove $std alias (#2548)
This commit is contained in:
@@ -34,12 +34,7 @@
|
|||||||
"imports": {
|
"imports": {
|
||||||
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
|
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
|
||||||
"$marked-mangle": "https://esm.sh/marked-mangle@1.0.1",
|
"$marked-mangle": "https://esm.sh/marked-mangle@1.0.1",
|
||||||
"$std/": "https://deno.land/std@0.216.0/",
|
|
||||||
"@astral/astral": "jsr:@astral/astral@^0.4.0",
|
"@astral/astral": "jsr:@astral/astral@^0.4.0",
|
||||||
"fresh": "./src/mod.ts",
|
|
||||||
"fresh/compat": "./src/compat/mod.ts",
|
|
||||||
"fresh/dev": "./src/dev/mod.ts",
|
|
||||||
"fresh/runtime": "./src/runtime/shared.ts",
|
|
||||||
"@fresh/plugin-tailwind": "./plugin-tailwindcss/src/mod.ts",
|
"@fresh/plugin-tailwind": "./plugin-tailwindcss/src/mod.ts",
|
||||||
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.10.3",
|
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.10.3",
|
||||||
"@preact/signals": "npm:@preact/signals@^1.2.3",
|
"@preact/signals": "npm:@preact/signals@^1.2.3",
|
||||||
@@ -50,17 +45,22 @@
|
|||||||
"@std/encoding": "jsr:@std/encoding@^1.0.0-rc.1",
|
"@std/encoding": "jsr:@std/encoding@^1.0.0-rc.1",
|
||||||
"@std/expect": "jsr:@std/expect@^0.224.4",
|
"@std/expect": "jsr:@std/expect@^0.224.4",
|
||||||
"@std/fmt": "jsr:@std/fmt@^0.225.3",
|
"@std/fmt": "jsr:@std/fmt@^0.225.3",
|
||||||
|
"@std/front-matter": "jsr:@std/front-matter@^0.224.2",
|
||||||
"@std/fs": "jsr:@std/fs@^0.229.1",
|
"@std/fs": "jsr:@std/fs@^0.229.1",
|
||||||
"@std/html": "jsr:@std/html@^0.224.2",
|
"@std/html": "jsr:@std/html@^0.224.2",
|
||||||
"@std/jsonc": "jsr:@std/jsonc@^0.224.1",
|
"@std/jsonc": "jsr:@std/jsonc@^0.224.1",
|
||||||
"@std/media-types": "jsr:@std/media-types@^1.0.0-rc.1",
|
"@std/media-types": "jsr:@std/media-types@^1.0.0-rc.1",
|
||||||
"@std/path": "jsr:@std/path@^0.225.2",
|
"@std/path": "jsr:@std/path@^0.225.2",
|
||||||
"@std/semver": "jsr:@std/semver@^0.224.2",
|
"@std/semver": "jsr:@std/semver@^0.224.3",
|
||||||
"@std/streams": "jsr:@std/streams@^0.224.3",
|
"@std/streams": "jsr:@std/streams@^0.224.3",
|
||||||
"autoprefixer": "npm:autoprefixer@10.4.17",
|
"autoprefixer": "npm:autoprefixer@10.4.17",
|
||||||
"cssnano": "npm:cssnano@6.0.3",
|
"cssnano": "npm:cssnano@6.0.3",
|
||||||
"esbuild": "npm:esbuild@0.20.2",
|
"esbuild": "npm:esbuild@0.20.2",
|
||||||
"esbuild-wasm": "npm:esbuild-wasm@0.20.2",
|
"esbuild-wasm": "npm:esbuild-wasm@0.20.2",
|
||||||
|
"fresh": "./src/mod.ts",
|
||||||
|
"fresh/compat": "./src/compat/mod.ts",
|
||||||
|
"fresh/dev": "./src/dev/mod.ts",
|
||||||
|
"fresh/runtime": "./src/runtime/shared.ts",
|
||||||
"linkedom": "npm:linkedom@^0.16.11",
|
"linkedom": "npm:linkedom@^0.16.11",
|
||||||
"postcss": "npm:postcss@8.4.35",
|
"postcss": "npm:postcss@8.4.35",
|
||||||
"preact": "npm:preact@^10.22.0",
|
"preact": "npm:preact@^10.22.0",
|
||||||
|
|||||||
@@ -32,7 +32,6 @@
|
|||||||
"jsr:@std/path@0.223.0": "jsr:@std/path@0.223.0",
|
"jsr:@std/path@0.223.0": "jsr:@std/path@0.223.0",
|
||||||
"jsr:@std/path@^0.225.1": "jsr:@std/path@0.225.2",
|
"jsr:@std/path@^0.225.1": "jsr:@std/path@0.225.2",
|
||||||
"jsr:@std/path@^0.225.2": "jsr:@std/path@0.225.2",
|
"jsr:@std/path@^0.225.2": "jsr:@std/path@0.225.2",
|
||||||
"jsr:@std/semver@^0.224.2": "jsr:@std/semver@0.224.2",
|
|
||||||
"jsr:@std/streams@^0.224.3": "jsr:@std/streams@0.224.3",
|
"jsr:@std/streams@^0.224.3": "jsr:@std/streams@0.224.3",
|
||||||
"jsr:@zip-js/zip-js@2.7.41": "jsr:@zip-js/zip-js@2.7.41",
|
"jsr:@zip-js/zip-js@2.7.41": "jsr:@zip-js/zip-js@2.7.41",
|
||||||
"npm:@preact/signals@1.2.3": "npm:@preact/signals@1.2.3_preact@10.22.0",
|
"npm:@preact/signals@1.2.3": "npm:@preact/signals@1.2.3_preact@10.22.0",
|
||||||
@@ -185,9 +184,6 @@
|
|||||||
"jsr:@std/assert@^0.226.0"
|
"jsr:@std/assert@^0.226.0"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"@std/semver@0.224.2": {
|
|
||||||
"integrity": "955c1b9d32aa3b12a98fa045f36f438b906cc5239e6135c85ec9303f2cf26af6"
|
|
||||||
},
|
|
||||||
"@std/streams@0.224.3": {
|
"@std/streams@0.224.3": {
|
||||||
"integrity": "38755b17defdb8a7f617acb7242ea029ac83a5deeb289b5820a3650cb031e2f6"
|
"integrity": "38755b17defdb8a7f617acb7242ea029ac83a5deeb289b5820a3650cb031e2f6"
|
||||||
},
|
},
|
||||||
@@ -1676,12 +1672,13 @@
|
|||||||
"jsr:@std/encoding@^1.0.0-rc.1",
|
"jsr:@std/encoding@^1.0.0-rc.1",
|
||||||
"jsr:@std/expect@^0.224.4",
|
"jsr:@std/expect@^0.224.4",
|
||||||
"jsr:@std/fmt@^0.225.3",
|
"jsr:@std/fmt@^0.225.3",
|
||||||
|
"jsr:@std/front-matter@^0.224.2",
|
||||||
"jsr:@std/fs@^0.229.1",
|
"jsr:@std/fs@^0.229.1",
|
||||||
"jsr:@std/html@^0.224.2",
|
"jsr:@std/html@^0.224.2",
|
||||||
"jsr:@std/jsonc@^0.224.1",
|
"jsr:@std/jsonc@^0.224.1",
|
||||||
"jsr:@std/media-types@^1.0.0-rc.1",
|
"jsr:@std/media-types@^1.0.0-rc.1",
|
||||||
"jsr:@std/path@^0.225.2",
|
"jsr:@std/path@^0.225.2",
|
||||||
"jsr:@std/semver@^0.224.2",
|
"jsr:@std/semver@^0.224.3",
|
||||||
"jsr:@std/streams@^0.224.3",
|
"jsr:@std/streams@^0.224.3",
|
||||||
"npm:@preact/signals@^1.2.3",
|
"npm:@preact/signals@^1.2.3",
|
||||||
"npm:autoprefixer@10.4.17",
|
"npm:autoprefixer@10.4.17",
|
||||||
|
|||||||
+6
-6
@@ -9,11 +9,6 @@
|
|||||||
"imports": {
|
"imports": {
|
||||||
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
|
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
|
||||||
"$marked-mangle": "https://esm.sh/marked-mangle@1.1.7",
|
"$marked-mangle": "https://esm.sh/marked-mangle@1.1.7",
|
||||||
"$std/": "https://deno.land/std@0.216.0/",
|
|
||||||
"fresh": "../src/mod.ts",
|
|
||||||
"fresh/dev": "../src/dev/mod.ts",
|
|
||||||
"fresh/runtime": "../src/runtime/shared.ts",
|
|
||||||
"fresh/compat": "../src/compat/mod.ts",
|
|
||||||
"@fresh/plugin-tailwind": "../plugin-tailwindcss/src/mod.ts",
|
"@fresh/plugin-tailwind": "../plugin-tailwindcss/src/mod.ts",
|
||||||
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.10.3",
|
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.10.3",
|
||||||
"@preact/signals": "npm:@preact/signals@^1.2.3",
|
"@preact/signals": "npm:@preact/signals@^1.2.3",
|
||||||
@@ -21,8 +16,9 @@
|
|||||||
"@std/datetime": "jsr:@std/datetime@^0.224.0",
|
"@std/datetime": "jsr:@std/datetime@^0.224.0",
|
||||||
"@std/encoding": "jsr:@std/encoding",
|
"@std/encoding": "jsr:@std/encoding",
|
||||||
"@std/fmt": "jsr:@std/fmt",
|
"@std/fmt": "jsr:@std/fmt",
|
||||||
|
"@std/front-matter": "jsr:@std/front-matter@^0.224.2",
|
||||||
"@std/fs": "jsr:@std/fs",
|
"@std/fs": "jsr:@std/fs",
|
||||||
"@std/html": "jsr:@std/html@^0.224.0",
|
"@std/html": "jsr:@std/html@^0.224.2",
|
||||||
"@std/jsonc": "jsr:@std/jsonc@^0.221.0",
|
"@std/jsonc": "jsr:@std/jsonc@^0.221.0",
|
||||||
"@std/media-types": "jsr:@std/media-types@^0.221.0",
|
"@std/media-types": "jsr:@std/media-types@^0.221.0",
|
||||||
"@std/path": "jsr:@std/path",
|
"@std/path": "jsr:@std/path",
|
||||||
@@ -31,6 +27,10 @@
|
|||||||
"cssnano": "npm:cssnano@6.0.3",
|
"cssnano": "npm:cssnano@6.0.3",
|
||||||
"esbuild": "npm:esbuild@0.20.2",
|
"esbuild": "npm:esbuild@0.20.2",
|
||||||
"esbuild-wasm": "npm:esbuild-wasm@0.20.2",
|
"esbuild-wasm": "npm:esbuild-wasm@0.20.2",
|
||||||
|
"fresh": "../src/mod.ts",
|
||||||
|
"fresh/compat": "../src/compat/mod.ts",
|
||||||
|
"fresh/dev": "../src/dev/mod.ts",
|
||||||
|
"fresh/runtime": "../src/runtime/shared.ts",
|
||||||
"postcss": "npm:postcss@8.4.35",
|
"postcss": "npm:postcss@8.4.35",
|
||||||
"preact": "npm:preact@^10.22.0",
|
"preact": "npm:preact@^10.22.0",
|
||||||
"preact-render-to-string": "npm:preact-render-to-string@^6.4.2",
|
"preact-render-to-string": "npm:preact-render-to-string@^6.4.2",
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
import type { RouteConfig } from "fresh";
|
import type { RouteConfig } from "fresh";
|
||||||
import { format, parse } from "$std/semver/mod.ts";
|
import { format, parse } from "@std/semver";
|
||||||
import VERSIONS from "../../versions.json" with { type: "json" };
|
import VERSIONS from "../../versions.json" with { type: "json" };
|
||||||
import { extname } from "$std/path/mod.ts";
|
import { extname } from "@std/path";
|
||||||
import { define } from "../utils/state.ts";
|
import { define } from "../utils/state.ts";
|
||||||
|
|
||||||
const BASE_URL = "https://raw.githubusercontent.com/denoland/fresh/";
|
const BASE_URL = "https://raw.githubusercontent.com/denoland/fresh/";
|
||||||
|
|||||||
@@ -7,10 +7,10 @@ import "https://esm.sh/prismjs@1.29.0/components/prism-json.js?no-check";
|
|||||||
import "https://esm.sh/prismjs@1.29.0/components/prism-bash.js?no-check";
|
import "https://esm.sh/prismjs@1.29.0/components/prism-bash.js?no-check";
|
||||||
import "https://esm.sh/prismjs@1.29.0/components/prism-yaml.js?no-check";
|
import "https://esm.sh/prismjs@1.29.0/components/prism-yaml.js?no-check";
|
||||||
|
|
||||||
export { extract as frontMatter } from "$std/front_matter/yaml.ts";
|
export { extractYaml as frontMatter } from "@std/front-matter";
|
||||||
|
|
||||||
import * as Marked from "https://esm.sh/marked@7.0.2";
|
import * as Marked from "https://esm.sh/marked@7.0.2";
|
||||||
import { escape as escapeHtml } from "$std/html/entities.ts";
|
import { escape as escapeHtml } from "@std/html";
|
||||||
import { mangle } from "$marked-mangle";
|
import { mangle } from "$marked-mangle";
|
||||||
|
|
||||||
Marked.marked.use(mangle());
|
Marked.marked.use(mangle());
|
||||||
|
|||||||
Reference in New Issue
Block a user