@powerlines/plugin-crypto 0.9.11 → 0.9.13

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.
@@ -1,4 +1,4 @@
1
- import { a as CryptoPluginContext } from '../index-DHmlsdWC.cjs';
1
+ import { a as CryptoPluginContext } from '../index-BPhr80Se.cjs';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -1,4 +1,4 @@
1
- import { a as CryptoPluginContext } from '../index-DHmlsdWC.js';
1
+ import { a as CryptoPluginContext } from '../index-BPhr80Se.js';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -1,5 +1,5 @@
1
1
  export { cryptoModule } from './crypto.cjs';
2
- import '../index-DHmlsdWC.cjs';
2
+ import '../index-BPhr80Se.cjs';
3
3
  import '@alloy-js/core/jsx-runtime';
4
4
  import '@deepkit/type';
5
5
  import '@stryke/capnp';
@@ -1,5 +1,5 @@
1
1
  export { cryptoModule } from './crypto.js';
2
- import '../index-DHmlsdWC.js';
2
+ import '../index-BPhr80Se.js';
3
3
  import '@alloy-js/core/jsx-runtime';
4
4
  import '@deepkit/type';
5
5
  import '@stryke/capnp';
@@ -15,7 +15,7 @@ import { PackageJson } from '@stryke/types/package-json';
15
15
  import { Jiti } from 'jiti';
16
16
  import { ParserOptions, ParseResult } from 'oxc-parser';
17
17
  import { Range } from 'semver';
18
- import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
18
+ import { UnpluginContext, UnpluginBuildContext, UnpluginMessage, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
19
19
  import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
20
20
  import ts from 'typescript';
21
21
  import { PrimitiveJsonValue } from '@stryke/json/types';
@@ -982,6 +982,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
982
982
  * A logging function for the Powerlines engine
983
983
  */
984
984
  log: LogFn;
985
+ /**
986
+ * A logging function for fatal messages
987
+ */
988
+ fatal: (message: string | UnpluginMessage) => void;
989
+ /**
990
+ * A logging function for error messages
991
+ */
992
+ error: (message: string | UnpluginMessage) => void;
993
+ /**
994
+ * A logging function for warning messages
995
+ */
996
+ warn: (message: string | UnpluginMessage) => void;
997
+ /**
998
+ * A logging function for informational messages
999
+ */
1000
+ info: (message: string | UnpluginMessage) => void;
1001
+ /**
1002
+ * A logging function for debug messages
1003
+ */
1004
+ debug: (message: string | UnpluginMessage) => void;
1005
+ /**
1006
+ * A logging function for trace messages
1007
+ */
1008
+ trace: (message: string | UnpluginMessage) => void;
985
1009
  /**
986
1010
  * The metadata information
987
1011
  */
@@ -15,7 +15,7 @@ import { PackageJson } from '@stryke/types/package-json';
15
15
  import { Jiti } from 'jiti';
16
16
  import { ParserOptions, ParseResult } from 'oxc-parser';
17
17
  import { Range } from 'semver';
18
- import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
18
+ import { UnpluginContext, UnpluginBuildContext, UnpluginMessage, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
19
19
  import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
20
20
  import ts from 'typescript';
21
21
  import { PrimitiveJsonValue } from '@stryke/json/types';
@@ -982,6 +982,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
982
982
  * A logging function for the Powerlines engine
983
983
  */
984
984
  log: LogFn;
985
+ /**
986
+ * A logging function for fatal messages
987
+ */
988
+ fatal: (message: string | UnpluginMessage) => void;
989
+ /**
990
+ * A logging function for error messages
991
+ */
992
+ error: (message: string | UnpluginMessage) => void;
993
+ /**
994
+ * A logging function for warning messages
995
+ */
996
+ warn: (message: string | UnpluginMessage) => void;
997
+ /**
998
+ * A logging function for informational messages
999
+ */
1000
+ info: (message: string | UnpluginMessage) => void;
1001
+ /**
1002
+ * A logging function for debug messages
1003
+ */
1004
+ debug: (message: string | UnpluginMessage) => void;
1005
+ /**
1006
+ * A logging function for trace messages
1007
+ */
1008
+ trace: (message: string | UnpluginMessage) => void;
985
1009
  /**
986
1010
  * The metadata information
987
1011
  */
@@ -1,5 +1,5 @@
1
- import { C as CryptoPluginOptions, P as Plugin, a as CryptoPluginContext } from '../index-DHmlsdWC.cjs';
2
- export { c as CryptoPluginResolvedConfig, b as CryptoPluginUserConfig } from '../index-DHmlsdWC.cjs';
1
+ import { C as CryptoPluginOptions, P as Plugin, a as CryptoPluginContext } from '../index-BPhr80Se.cjs';
2
+ export { c as CryptoPluginResolvedConfig, b as CryptoPluginUserConfig } from '../index-BPhr80Se.cjs';
3
3
  export { cryptoModule } from '../components/crypto.cjs';
4
4
  import '@alloy-js/core/jsx-runtime';
5
5
  import '@deepkit/type';
@@ -1,5 +1,5 @@
1
- import { C as CryptoPluginOptions, P as Plugin, a as CryptoPluginContext } from '../index-DHmlsdWC.js';
2
- export { c as CryptoPluginResolvedConfig, b as CryptoPluginUserConfig } from '../index-DHmlsdWC.js';
1
+ import { C as CryptoPluginOptions, P as Plugin, a as CryptoPluginContext } from '../index-BPhr80Se.js';
2
+ export { c as CryptoPluginResolvedConfig, b as CryptoPluginUserConfig } from '../index-BPhr80Se.js';
3
3
  export { cryptoModule } from '../components/crypto.js';
4
4
  import '@alloy-js/core/jsx-runtime';
5
5
  import '@deepkit/type';
@@ -1,4 +1,4 @@
1
- export { a as CryptoPluginContext, C as CryptoPluginOptions, c as CryptoPluginResolvedConfig, b as CryptoPluginUserConfig } from '../index-DHmlsdWC.cjs';
1
+ export { a as CryptoPluginContext, C as CryptoPluginOptions, c as CryptoPluginResolvedConfig, b as CryptoPluginUserConfig } from '../index-BPhr80Se.cjs';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -1,4 +1,4 @@
1
- export { a as CryptoPluginContext, C as CryptoPluginOptions, c as CryptoPluginResolvedConfig, b as CryptoPluginUserConfig } from '../index-DHmlsdWC.js';
1
+ export { a as CryptoPluginContext, C as CryptoPluginOptions, c as CryptoPluginResolvedConfig, b as CryptoPluginUserConfig } from '../index-BPhr80Se.js';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -1,4 +1,4 @@
1
- export { a as CryptoPluginContext, C as CryptoPluginOptions, c as CryptoPluginResolvedConfig, b as CryptoPluginUserConfig } from '../index-DHmlsdWC.cjs';
1
+ export { a as CryptoPluginContext, C as CryptoPluginOptions, c as CryptoPluginResolvedConfig, b as CryptoPluginUserConfig } from '../index-BPhr80Se.cjs';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -1,4 +1,4 @@
1
- export { a as CryptoPluginContext, C as CryptoPluginOptions, c as CryptoPluginResolvedConfig, b as CryptoPluginUserConfig } from '../index-DHmlsdWC.js';
1
+ export { a as CryptoPluginContext, C as CryptoPluginOptions, c as CryptoPluginResolvedConfig, b as CryptoPluginUserConfig } from '../index-BPhr80Se.js';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-crypto",
3
- "version": "0.9.11",
3
+ "version": "0.9.13",
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": {
@@ -116,17 +116,17 @@
116
116
  "files": ["dist/**/*"],
117
117
  "keywords": ["powerlines", "storm-software", "powerlines-plugin"],
118
118
  "dependencies": {
119
- "@powerlines/plugin-env": "^0.13.8",
119
+ "@powerlines/plugin-env": "^0.13.10",
120
120
  "@storm-software/config-tools": "^1.188.19",
121
121
  "@stryke/path": "^0.18.5",
122
122
  "defu": "^6.1.4",
123
- "powerlines": "^0.17.0"
123
+ "powerlines": "^0.19.0"
124
124
  },
125
125
  "devDependencies": {
126
- "@powerlines/nx": "^0.10.2",
126
+ "@powerlines/nx": "^0.10.4",
127
127
  "@storm-software/tsup": "^0.2.17",
128
128
  "@types/node": "^22.19.0"
129
129
  },
130
130
  "publishConfig": { "access": "public" },
131
- "gitHead": "27064ac269a2d34c5b9371105cdd58bf6ebe85b4"
131
+ "gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
132
132
  }