@powerlines/plugin-marked 0.1.641 → 0.1.642
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/index.cjs +3 -5
- package/dist/index.d.cts +0 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.mjs +1 -2
- package/dist/types/plugin.d.cts +0 -2
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +0 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
2
|
+
// \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,13 +25,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
enumerable: true
|
|
26
26
|
}) : target, mod));
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
require('./types/index.cjs');
|
|
28
|
+
require("./types/index.cjs");
|
|
30
29
|
let defu = require("defu");
|
|
31
30
|
defu = __toESM(defu, 1);
|
|
32
31
|
let marked = require("marked");
|
|
33
32
|
|
|
34
|
-
|
|
33
|
+
// src/index.ts
|
|
35
34
|
/**
|
|
36
35
|
* Marked Plugin
|
|
37
36
|
*
|
|
@@ -62,5 +61,4 @@ const plugin = (options = {}) => {
|
|
|
62
61
|
};
|
|
63
62
|
};
|
|
64
63
|
|
|
65
|
-
//#endregion
|
|
66
64
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MarkedPluginContext, MarkedPluginOptions, MarkedPluginResolvedConfig, MarkedPluginUserConfig } from "./types/plugin.cjs";
|
|
2
2
|
import "./types/index.cjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
marked?: MarkedPluginOptions;
|
|
@@ -19,6 +18,5 @@ declare module "powerlines" {
|
|
|
19
18
|
* @returns A Powerlines plugin instance.
|
|
20
19
|
*/
|
|
21
20
|
declare const plugin: <TContext extends MarkedPluginContext = MarkedPluginContext>(options?: MarkedPluginOptions) => Plugin<TContext>;
|
|
22
|
-
//#endregion
|
|
23
21
|
export { MarkedPluginContext, MarkedPluginOptions, MarkedPluginResolvedConfig, MarkedPluginUserConfig, plugin };
|
|
24
22
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;YA0BY;IACR,SAAS;;;;;;;;;;;;;;cAeA,SACX,iBAAiB,sBAAsB,qBAEvC,UAAS,wBACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MarkedPluginContext, MarkedPluginOptions, MarkedPluginResolvedConfig, MarkedPluginUserConfig } from "./types/plugin.mjs";
|
|
2
2
|
import "./types/index.mjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
marked?: MarkedPluginOptions;
|
|
@@ -19,6 +18,5 @@ declare module "powerlines" {
|
|
|
19
18
|
* @returns A Powerlines plugin instance.
|
|
20
19
|
*/
|
|
21
20
|
declare const plugin: <TContext extends MarkedPluginContext = MarkedPluginContext>(options?: MarkedPluginOptions) => Plugin<TContext>;
|
|
22
|
-
//#endregion
|
|
23
21
|
export { MarkedPluginContext, MarkedPluginOptions, MarkedPluginResolvedConfig, MarkedPluginUserConfig, plugin };
|
|
24
22
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import "./types/index.mjs";
|
|
|
2
2
|
import defu from "defu";
|
|
3
3
|
import { marked } from "marked";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* Marked Plugin
|
|
8
8
|
*
|
|
@@ -33,6 +33,5 @@ const plugin = (options = {}) => {
|
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
//#endregion
|
|
37
36
|
export { plugin };
|
|
38
37
|
//# sourceMappingURL=index.mjs.map
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
2
|
import { MarkedExtension, MarkedOptions, marked } from "marked";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
type MarkedPluginOptions = MarkedOptions & MarkedExtension;
|
|
5
4
|
type MarkedPluginUserConfig = UserConfig & {
|
|
6
5
|
marked?: MarkedPluginOptions;
|
|
@@ -14,6 +13,5 @@ type MarkedPluginContext<TResolvedConfig extends MarkedPluginResolvedConfig = Ma
|
|
|
14
13
|
use: typeof marked.use;
|
|
15
14
|
};
|
|
16
15
|
};
|
|
17
|
-
//#endregion
|
|
18
16
|
export { MarkedPluginContext, MarkedPluginOptions, MarkedPluginResolvedConfig, MarkedPluginUserConfig };
|
|
19
17
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;KAqBY,sBAAsB,gBAAgB;KAEtC,yBAAyB;EACnC,SAAS;;KAGC,6BAA6B;EACvC,QAAQ;;KAGE,oBACV,wBAAwB,6BACtB,8BACA,cAAc;EAChB;IACE,QAAQ,aAAa,WAAW,QAAQ,mBAAmB;IAC3D,YAAY,OAAO"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MarkedExtension, MarkedOptions, marked } from "marked";
|
|
2
2
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
type MarkedPluginOptions = MarkedOptions & MarkedExtension;
|
|
5
4
|
type MarkedPluginUserConfig = UserConfig & {
|
|
6
5
|
marked?: MarkedPluginOptions;
|
|
@@ -14,6 +13,5 @@ type MarkedPluginContext<TResolvedConfig extends MarkedPluginResolvedConfig = Ma
|
|
|
14
13
|
use: typeof marked.use;
|
|
15
14
|
};
|
|
16
15
|
};
|
|
17
|
-
//#endregion
|
|
18
16
|
export { MarkedPluginContext, MarkedPluginOptions, MarkedPluginResolvedConfig, MarkedPluginUserConfig };
|
|
19
17
|
//# sourceMappingURL=plugin.d.mts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-marked",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.642",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Powerlines plugin to use the Marked markdown compiler to generate HTML.",
|
|
6
6
|
"keywords": ["marked", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -94,15 +94,15 @@
|
|
|
94
94
|
"@stryke/path": "^0.29.43",
|
|
95
95
|
"@stryke/types": "^0.12.44",
|
|
96
96
|
"defu": "^6.1.7",
|
|
97
|
-
"powerlines": "^0.47.
|
|
97
|
+
"powerlines": "^0.47.215"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
100
|
+
"@powerlines/plugin-plugin": "^0.12.628",
|
|
101
101
|
"@types/node": "^25.9.9",
|
|
102
102
|
"marked": "^17.0.6"
|
|
103
103
|
},
|
|
104
104
|
"peerDependencies": { "marked": ">=17.0.4" },
|
|
105
105
|
"peerDependenciesMeta": { "marked": { "optional": false } },
|
|
106
106
|
"publishConfig": { "access": "public" },
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
|
|
108
108
|
}
|