@powerlines/plugin-automd 0.1.154 → 0.1.155
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.cjs +1 -1
- package/dist/node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs +1 -1
- package/dist/node_modules/.pnpm/{ufo@1.6.2 → ufo@1.6.3}/node_modules/ufo/dist/index.cjs +5 -2
- package/dist/node_modules/.pnpm/{ufo@1.6.2 → ufo@1.6.3}/node_modules/ufo/dist/index.mjs +5 -2
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_pathe_M_eThtNZ = require('../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs');
|
|
3
3
|
const require_acorn = require('../../../../acorn@8.15.0/node_modules/acorn/dist/acorn.cjs');
|
|
4
|
-
const require_index = require('../../../../ufo@1.6.
|
|
4
|
+
const require_index = require('../../../../ufo@1.6.3/node_modules/ufo/dist/index.cjs');
|
|
5
5
|
let node_fs = require("node:fs");
|
|
6
6
|
node_fs = require_rolldown_runtime.__toESM(node_fs);
|
|
7
7
|
let node_module = require("node:module");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isAbsolute as isAbsolute$1 } from "../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs";
|
|
2
2
|
import { tokenizer } from "../../../../acorn@8.15.0/node_modules/acorn/dist/acorn.mjs";
|
|
3
|
-
import { joinURL } from "../../../../ufo@1.6.
|
|
3
|
+
import { joinURL } from "../../../../ufo@1.6.3/node_modules/ufo/dist/index.mjs";
|
|
4
4
|
import { builtinModules, createRequire } from "node:module";
|
|
5
5
|
import fs, { promises, realpathSync, statSync } from "node:fs";
|
|
6
6
|
import { URL as URL$1, fileURLToPath, pathToFileURL } from "node:url";
|
package/dist/node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_index = require('../../../../../ufo@1.6.
|
|
1
|
+
const require_index = require('../../../../../ufo@1.6.3/node_modules/ufo/dist/index.cjs');
|
|
2
2
|
const require_index$1 = require('../../../../../destr@2.0.5/node_modules/destr/dist/index.cjs');
|
|
3
3
|
|
|
4
4
|
//#region ../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs
|
package/dist/node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { withBase, withQuery } from "../../../../../ufo@1.6.
|
|
1
|
+
import { withBase, withQuery } from "../../../../../ufo@1.6.3/node_modules/ufo/dist/index.mjs";
|
|
2
2
|
import { destr } from "../../../../../destr@2.0.5/node_modules/destr/dist/index.mjs";
|
|
3
3
|
|
|
4
4
|
//#region ../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
//#region ../../node_modules/.pnpm/ufo@1.6.
|
|
2
|
+
//#region ../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs
|
|
3
3
|
const r = String.fromCharCode;
|
|
4
4
|
const HASH_RE = /#/g;
|
|
5
5
|
const AMPERSAND_RE = /&/g;
|
|
@@ -100,7 +100,10 @@ function withTrailingSlash(input = "", respectQueryAndFragment) {
|
|
|
100
100
|
function withBase(input, base) {
|
|
101
101
|
if (isEmptyURL(base) || hasProtocol(input)) return input;
|
|
102
102
|
const _base = withoutTrailingSlash(base);
|
|
103
|
-
if (input.startsWith(_base))
|
|
103
|
+
if (input.startsWith(_base)) {
|
|
104
|
+
const nextChar = input[_base.length];
|
|
105
|
+
if (!nextChar || nextChar === "/" || nextChar === "?") return input;
|
|
106
|
+
}
|
|
104
107
|
return joinURL(_base, input);
|
|
105
108
|
}
|
|
106
109
|
function withQuery(input, query) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/ufo@1.6.
|
|
1
|
+
//#region ../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs
|
|
2
2
|
const r = String.fromCharCode;
|
|
3
3
|
const HASH_RE = /#/g;
|
|
4
4
|
const AMPERSAND_RE = /&/g;
|
|
@@ -99,7 +99,10 @@ function withTrailingSlash(input = "", respectQueryAndFragment) {
|
|
|
99
99
|
function withBase(input, base) {
|
|
100
100
|
if (isEmptyURL(base) || hasProtocol(input)) return input;
|
|
101
101
|
const _base = withoutTrailingSlash(base);
|
|
102
|
-
if (input.startsWith(_base))
|
|
102
|
+
if (input.startsWith(_base)) {
|
|
103
|
+
const nextChar = input[_base.length];
|
|
104
|
+
if (!nextChar || nextChar === "/" || nextChar === "?") return input;
|
|
105
|
+
}
|
|
103
106
|
return joinURL(_base, input);
|
|
104
107
|
}
|
|
105
108
|
function withQuery(input, query) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-automd",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.155",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to maintain a project's markdown files using AutoMD generators.",
|
|
6
6
|
"repository": {
|
|
@@ -125,13 +125,13 @@
|
|
|
125
125
|
"c12": "^3.3.3",
|
|
126
126
|
"defu": "^6.1.4",
|
|
127
127
|
"markdown-toc": "^1.2.0",
|
|
128
|
-
"powerlines": "^0.37.
|
|
128
|
+
"powerlines": "^0.37.29"
|
|
129
129
|
},
|
|
130
130
|
"devDependencies": {
|
|
131
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
131
|
+
"@powerlines/plugin-plugin": "^0.12.107",
|
|
132
132
|
"@types/node": "^24.10.8",
|
|
133
133
|
"automd": "^0.4.2"
|
|
134
134
|
},
|
|
135
135
|
"publishConfig": { "access": "public" },
|
|
136
|
-
"gitHead": "
|
|
136
|
+
"gitHead": "13144ea8c7d2de96cf79540969e36a9157b54c23"
|
|
137
137
|
}
|