@powerlines/plugin-id 0.9.685 → 0.9.687
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/components/index.cjs +1 -1
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.mts +1 -1
- package/dist/components/nanoid.cjs +1 -2
- package/dist/components/nanoid.d.cts +1 -1
- package/dist/components/nanoid.d.mts +1 -1
- package/dist/components/nanoid.mjs +1 -2
- package/dist/index.cjs +5 -7
- package/dist/index.d.cts +2 -4
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +2 -4
- package/dist/index.mjs +1 -2
- package/dist/{nanoid-Byw-VrSj.d.mts → nanoid-C8Mk3AGD.d.cts} +2 -4
- package/dist/nanoid-C8Mk3AGD.d.cts.map +1 -0
- package/dist/{nanoid-ChiPNdZd.d.cts → nanoid-Cl_yFXXW.d.mts} +2 -4
- package/dist/nanoid-Cl_yFXXW.d.mts.map +1 -0
- package/dist/{plugin-lj05_fnp.d.cts → plugin-BPzQsjaC.d.cts} +1 -3
- package/dist/plugin-BPzQsjaC.d.cts.map +1 -0
- package/dist/{plugin-lj05_fnp.d.mts → plugin-BPzQsjaC.d.mts} +1 -3
- package/dist/plugin-BPzQsjaC.d.mts.map +1 -0
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/package.json +5 -5
- package/dist/nanoid-Byw-VrSj.d.mts.map +0 -1
- package/dist/nanoid-ChiPNdZd.d.cts.map +0 -1
- package/dist/plugin-lj05_fnp.d.cts.map +0 -1
- package/dist/plugin-lj05_fnp.d.mts.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as nanoidModule } from "../nanoid-
|
|
1
|
+
import { t as nanoidModule } from "../nanoid-C8Mk3AGD.cjs";
|
|
2
2
|
export { nanoidModule };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as nanoidModule } from "../nanoid-
|
|
1
|
+
import { t as nanoidModule } from "../nanoid-Cl_yFXXW.mjs";
|
|
2
2
|
export { nanoidModule };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
let powerlines_utils = require("powerlines/utils");
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/components/nanoid.ts
|
|
5
5
|
/**
|
|
6
6
|
* Generates the nanoid module content.
|
|
7
7
|
*
|
|
@@ -101,5 +101,4 @@ export function uniqueId(param?: string | number | undefined, size?: number | un
|
|
|
101
101
|
`;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
//#endregion
|
|
105
104
|
exports.nanoidModule = nanoidModule;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as nanoidModule } from "../nanoid-
|
|
1
|
+
import { t as nanoidModule } from "../nanoid-C8Mk3AGD.cjs";
|
|
2
2
|
export { nanoidModule };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as nanoidModule } from "../nanoid-
|
|
1
|
+
import { t as nanoidModule } from "../nanoid-Cl_yFXXW.mjs";
|
|
2
2
|
export { nanoidModule };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getTypescriptFileHeader } from "powerlines/utils";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/components/nanoid.ts
|
|
4
4
|
/**
|
|
5
5
|
* Generates the nanoid module content.
|
|
6
6
|
*
|
|
@@ -100,6 +100,5 @@ export function uniqueId(param?: string | number | undefined, size?: number | un
|
|
|
100
100
|
`;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
//#endregion
|
|
104
103
|
export { nanoidModule };
|
|
105
104
|
//# sourceMappingURL=nanoid.mjs.map
|
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,14 +25,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
enumerable: true
|
|
26
26
|
}) : target, mod));
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
require(
|
|
31
|
-
require('./types/index.cjs');
|
|
28
|
+
const require_components_nanoid = require("./components/nanoid.cjs");
|
|
29
|
+
require("./components/index.cjs");
|
|
30
|
+
require("./types/index.cjs");
|
|
32
31
|
let defu = require("defu");
|
|
33
32
|
defu = __toESM(defu, 1);
|
|
34
33
|
|
|
35
|
-
|
|
34
|
+
// src/index.ts
|
|
36
35
|
/**
|
|
37
36
|
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
38
37
|
*/
|
|
@@ -60,6 +59,5 @@ function plugin(options = {}) {
|
|
|
60
59
|
};
|
|
61
60
|
}
|
|
62
61
|
|
|
63
|
-
//#endregion
|
|
64
62
|
exports.nanoidModule = require_components_nanoid.nanoidModule;
|
|
65
63
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { a as UniqueIdFormatType, i as IdPluginUserConfig, n as IdPluginOptions, r as IdPluginResolvedConfig, t as IdPluginContext } from "./plugin-
|
|
2
|
-
import { t as nanoidModule } from "./nanoid-
|
|
1
|
+
import { a as UniqueIdFormatType, i as IdPluginUserConfig, n as IdPluginOptions, r as IdPluginResolvedConfig, t as IdPluginContext } from "./plugin-BPzQsjaC.cjs";
|
|
2
|
+
import { t as nanoidModule } from "./nanoid-C8Mk3AGD.cjs";
|
|
3
3
|
import "./components/index.cjs";
|
|
4
4
|
import "./types/index.cjs";
|
|
5
5
|
import { Plugin } from "powerlines";
|
|
6
|
-
//#region src/index.d.ts
|
|
7
6
|
declare module "powerlines" {
|
|
8
7
|
interface Config {
|
|
9
8
|
id?: IdPluginOptions;
|
|
@@ -13,6 +12,5 @@ declare module "powerlines" {
|
|
|
13
12
|
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
14
13
|
*/
|
|
15
14
|
declare function plugin(options?: IdPluginOptions): Plugin<IdPluginContext>;
|
|
16
|
-
//#endregion
|
|
17
15
|
export { IdPluginContext, IdPluginOptions, IdPluginResolvedConfig, IdPluginUserConfig, UniqueIdFormatType, nanoidModule, plugin };
|
|
18
16
|
//# 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":";;;;;;YA+BY;IACR,KAAK;;;;;;iBAOO,OAAO,UAAS,kBAAuB,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { a as UniqueIdFormatType, i as IdPluginUserConfig, n as IdPluginOptions, r as IdPluginResolvedConfig, t as IdPluginContext } from "./plugin-
|
|
2
|
-
import { t as nanoidModule } from "./nanoid-
|
|
1
|
+
import { a as UniqueIdFormatType, i as IdPluginUserConfig, n as IdPluginOptions, r as IdPluginResolvedConfig, t as IdPluginContext } from "./plugin-BPzQsjaC.mjs";
|
|
2
|
+
import { t as nanoidModule } from "./nanoid-Cl_yFXXW.mjs";
|
|
3
3
|
import "./components/index.mjs";
|
|
4
4
|
import "./types/index.mjs";
|
|
5
5
|
import { Plugin } from "powerlines";
|
|
6
|
-
//#region src/index.d.ts
|
|
7
6
|
declare module "powerlines" {
|
|
8
7
|
interface Config {
|
|
9
8
|
id?: IdPluginOptions;
|
|
@@ -13,6 +12,5 @@ declare module "powerlines" {
|
|
|
13
12
|
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
14
13
|
*/
|
|
15
14
|
declare function plugin(options?: IdPluginOptions): Plugin<IdPluginContext>;
|
|
16
|
-
//#endregion
|
|
17
15
|
export { IdPluginContext, IdPluginOptions, IdPluginResolvedConfig, IdPluginUserConfig, UniqueIdFormatType, nanoidModule, plugin };
|
|
18
16
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import "./components/index.mjs";
|
|
|
3
3
|
import "./types/index.mjs";
|
|
4
4
|
import defu from "defu";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/index.ts
|
|
7
7
|
/**
|
|
8
8
|
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
9
9
|
*/
|
|
@@ -31,6 +31,5 @@ function plugin(options = {}) {
|
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
//#endregion
|
|
35
34
|
export { nanoidModule, plugin };
|
|
36
35
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { t as IdPluginContext } from "./plugin-
|
|
2
|
-
//#region src/components/nanoid.d.ts
|
|
1
|
+
import { t as IdPluginContext } from "./plugin-BPzQsjaC.cjs";
|
|
3
2
|
/**
|
|
4
3
|
* Generates the nanoid module content.
|
|
5
4
|
*
|
|
@@ -7,6 +6,5 @@ import { t as IdPluginContext } from "./plugin-lj05_fnp.mjs";
|
|
|
7
6
|
* @returns A string representing the nanoid module code.
|
|
8
7
|
*/
|
|
9
8
|
declare function nanoidModule(context: IdPluginContext): string;
|
|
10
|
-
//#endregion
|
|
11
9
|
export { nanoidModule as t };
|
|
12
|
-
//# sourceMappingURL=nanoid-
|
|
10
|
+
//# sourceMappingURL=nanoid-C8Mk3AGD.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nanoid-C8Mk3AGD.d.cts","names":[],"sources":["../src/components/nanoid.ts"],"mappings":";;;;;;;iBA2BgB,aAAa,SAAS"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { t as IdPluginContext } from "./plugin-
|
|
2
|
-
//#region src/components/nanoid.d.ts
|
|
1
|
+
import { t as IdPluginContext } from "./plugin-BPzQsjaC.mjs";
|
|
3
2
|
/**
|
|
4
3
|
* Generates the nanoid module content.
|
|
5
4
|
*
|
|
@@ -7,6 +6,5 @@ import { t as IdPluginContext } from "./plugin-lj05_fnp.cjs";
|
|
|
7
6
|
* @returns A string representing the nanoid module code.
|
|
8
7
|
*/
|
|
9
8
|
declare function nanoidModule(context: IdPluginContext): string;
|
|
10
|
-
//#endregion
|
|
11
9
|
export { nanoidModule as t };
|
|
12
|
-
//# sourceMappingURL=nanoid-
|
|
10
|
+
//# sourceMappingURL=nanoid-Cl_yFXXW.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nanoid-Cl_yFXXW.d.mts","names":[],"sources":["../src/components/nanoid.ts"],"mappings":""}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
|
-
//#region src/types/plugin.d.ts
|
|
3
2
|
type UniqueIdFormatType = "nanoid";
|
|
4
3
|
interface IdPluginOptions {
|
|
5
4
|
/**
|
|
@@ -26,6 +25,5 @@ interface IdPluginResolvedConfig extends ResolvedConfig {
|
|
|
26
25
|
id: Required<IdPluginOptions>;
|
|
27
26
|
}
|
|
28
27
|
type IdPluginContext<TResolvedConfig extends IdPluginResolvedConfig = IdPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
29
|
-
//#endregion
|
|
30
28
|
export { UniqueIdFormatType as a, IdPluginUserConfig as i, IdPluginOptions as n, IdPluginResolvedConfig as r, IdPluginContext as t };
|
|
31
|
-
//# sourceMappingURL=plugin-
|
|
29
|
+
//# sourceMappingURL=plugin-BPzQsjaC.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-BPzQsjaC.d.cts","names":[],"sources":["../src/types/plugin.ts"],"mappings":";KAoBY;UAEK;;;;;;;;;;EAUf,OAAO;;UAGQ,2BAA2B;;;;EAI1C,KAAK;;UAGU,+BAA+B;;;;EAI9C,IAAI,SAAS;;KAGH,gBACV,wBAAwB,yBAAyB,0BAC/C,cAAc"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
|
-
//#region src/types/plugin.d.ts
|
|
3
2
|
type UniqueIdFormatType = "nanoid";
|
|
4
3
|
interface IdPluginOptions {
|
|
5
4
|
/**
|
|
@@ -26,6 +25,5 @@ interface IdPluginResolvedConfig extends ResolvedConfig {
|
|
|
26
25
|
id: Required<IdPluginOptions>;
|
|
27
26
|
}
|
|
28
27
|
type IdPluginContext<TResolvedConfig extends IdPluginResolvedConfig = IdPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
29
|
-
//#endregion
|
|
30
28
|
export { UniqueIdFormatType as a, IdPluginUserConfig as i, IdPluginOptions as n, IdPluginResolvedConfig as r, IdPluginContext as t };
|
|
31
|
-
//# sourceMappingURL=plugin-
|
|
29
|
+
//# sourceMappingURL=plugin-BPzQsjaC.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-BPzQsjaC.d.mts","names":[],"sources":["../src/types/plugin.ts"],"mappings":""}
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as UniqueIdFormatType, i as IdPluginUserConfig, n as IdPluginOptions, r as IdPluginResolvedConfig, t as IdPluginContext } from "../plugin-
|
|
1
|
+
import { a as UniqueIdFormatType, i as IdPluginUserConfig, n as IdPluginOptions, r as IdPluginResolvedConfig, t as IdPluginContext } from "../plugin-BPzQsjaC.cjs";
|
|
2
2
|
export { IdPluginContext, IdPluginOptions, IdPluginResolvedConfig, IdPluginUserConfig, UniqueIdFormatType };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as UniqueIdFormatType, i as IdPluginUserConfig, n as IdPluginOptions, r as IdPluginResolvedConfig, t as IdPluginContext } from "../plugin-
|
|
1
|
+
import { a as UniqueIdFormatType, i as IdPluginUserConfig, n as IdPluginOptions, r as IdPluginResolvedConfig, t as IdPluginContext } from "../plugin-BPzQsjaC.mjs";
|
|
2
2
|
export { IdPluginContext, IdPluginOptions, IdPluginResolvedConfig, IdPluginUserConfig, UniqueIdFormatType };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as UniqueIdFormatType, i as IdPluginUserConfig, n as IdPluginOptions, r as IdPluginResolvedConfig, t as IdPluginContext } from "../plugin-
|
|
1
|
+
import { a as UniqueIdFormatType, i as IdPluginUserConfig, n as IdPluginOptions, r as IdPluginResolvedConfig, t as IdPluginContext } from "../plugin-BPzQsjaC.cjs";
|
|
2
2
|
export { IdPluginContext, IdPluginOptions, IdPluginResolvedConfig, IdPluginUserConfig, UniqueIdFormatType };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as UniqueIdFormatType, i as IdPluginUserConfig, n as IdPluginOptions, r as IdPluginResolvedConfig, t as IdPluginContext } from "../plugin-
|
|
1
|
+
import { a as UniqueIdFormatType, i as IdPluginUserConfig, n as IdPluginOptions, r as IdPluginResolvedConfig, t as IdPluginContext } from "../plugin-BPzQsjaC.mjs";
|
|
2
2
|
export { IdPluginContext, IdPluginOptions, IdPluginResolvedConfig, IdPluginUserConfig, UniqueIdFormatType };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-id",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.687",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin that provides unique identifier generation capabilities at runtime by adding the `id` builtin module.",
|
|
6
6
|
"repository": {
|
|
@@ -114,18 +114,18 @@
|
|
|
114
114
|
"files": ["dist/**/*"],
|
|
115
115
|
"keywords": ["powerlines", "storm-software", "powerlines-plugin"],
|
|
116
116
|
"dependencies": {
|
|
117
|
-
"@storm-software/config-tools": "^1.190.
|
|
117
|
+
"@storm-software/config-tools": "^1.190.151",
|
|
118
118
|
"@stryke/path": "^0.29.43",
|
|
119
119
|
"defu": "^6.1.7",
|
|
120
|
-
"powerlines": "^0.47.
|
|
120
|
+
"powerlines": "^0.47.216"
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
123
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
123
|
+
"@powerlines/plugin-plugin": "^0.12.629",
|
|
124
124
|
"@types/node": "^25.9.9"
|
|
125
125
|
},
|
|
126
126
|
"publishConfig": { "access": "public" },
|
|
127
127
|
"main": "./dist/index.cjs",
|
|
128
128
|
"module": "./dist/index.mjs",
|
|
129
129
|
"types": "./dist/index.d.cts",
|
|
130
|
-
"gitHead": "
|
|
130
|
+
"gitHead": "75efa1cc4eb8bc90093202669065576aa70fbfef"
|
|
131
131
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nanoid-Byw-VrSj.d.mts","names":[],"sources":["../src/components/nanoid.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nanoid-ChiPNdZd.d.cts","names":[],"sources":["../src/components/nanoid.ts"],"mappings":";;;;;;;;iBA2BgB,aAAa,SAAS"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-lj05_fnp.d.cts","names":[],"sources":["../src/types/plugin.ts"],"mappings":";;KAoBY;UAEK;;;;;;;;;;EAUf,OAAO;;UAGQ,2BAA2B;;;;EAI1C,KAAK;;UAGU,+BAA+B;;;;EAI9C,IAAI,SAAS;;KAGH,gBACV,wBAAwB,yBAAyB,0BAC/C,cAAc"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-lj05_fnp.d.mts","names":[],"sources":["../src/types/plugin.ts"],"mappings":""}
|