@powerlines/plugin-crypto 0.10.62 → 0.10.63
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
|
-
const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`./transpile.cjs`);let n=require(`@stryke/type-checks`),r=require(`typescript`);const i=e=>({name:`powerlines:deepkit`,setup(
|
|
2
|
-
`)}`;throw e.error(t),Error(t)}else o.diagnostics.some(e=>e.category===r.DiagnosticCategory.Warning)?e.warn(`Deepkit Type reflection transpilation warnings
|
|
3
|
-
`)}`):e.debug(`Deepkit Type reflection transpilation
|
|
1
|
+
const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`./transpile.cjs`);let n=require(`@stryke/type-checks`),r=require(`typescript`);const i=(e,i={})=>({name:`powerlines:deepkit`,setup(a){a.onLoad({filter:/\.(m|c)?tsx?$/,...i},async i=>{let a=await e.fs.read(i.path);if(!a)return null;if(i.pluginData?.isReflected)return{contents:a,loader:`ts`,pluginData:{isReflected:!0}};let o=t.transpile(e,a,i.path);if(o.diagnostics&&o.diagnostics.length>0)if(o.diagnostics.some(e=>e.category===r.DiagnosticCategory.Error)){let t=`Deepkit Type reflection transpilation errors: ${i.path} \n ${o.diagnostics.filter(e=>e.category===r.DiagnosticCategory.Error).map(e=>`-${e.file?`${e.file.fileName}:`:``} ${(0,n.isString)(e.messageText)?e.messageText:e.messageText.messageText} (at ${e.start}:${e.length})`).join(`
|
|
2
|
+
`)}`;throw e.error(t),Error(t)}else o.diagnostics.some(e=>e.category===r.DiagnosticCategory.Warning)?e.warn(`Deepkit Type reflection transpilation warnings: ${i.path} \n ${o.diagnostics.filter(e=>e.category===r.DiagnosticCategory.Warning).map(e=>`-${e.file?`${e.file.fileName}:`:``} ${(0,n.isString)(e.messageText)?e.messageText:e.messageText.messageText} (at ${e.start}:${e.length})`).join(`
|
|
3
|
+
`)}`):e.debug(`Deepkit Type reflection transpilation diagnostics: ${i.path} \n ${o.diagnostics.map(e=>`-${e.file?`${e.file.fileName}:`:``} ${(0,n.isString)(e.messageText)?e.messageText:e.messageText.messageText} (at ${e.start}:${e.length})`).join(`
|
|
4
4
|
`)}`);return{contents:o.outputText,loader:`ts`,pluginData:{isReflected:!0}}})}});exports.esbuildPlugin=i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{transpile as e}from"./transpile.mjs";import{isString as t}from"@stryke/type-checks";import{DiagnosticCategory as n}from"typescript";const r=r=>({name:`powerlines:deepkit`,setup(
|
|
2
|
-
`)}`;throw r.error(e),Error(e)}else o.diagnostics.some(e=>e.category===n.Warning)?r.warn(`Deepkit Type reflection transpilation warnings
|
|
3
|
-
`)}`):r.debug(`Deepkit Type reflection transpilation
|
|
1
|
+
import{transpile as e}from"./transpile.mjs";import{isString as t}from"@stryke/type-checks";import{DiagnosticCategory as n}from"typescript";const r=(r,i={})=>({name:`powerlines:deepkit`,setup(a){a.onLoad({filter:/\.(m|c)?tsx?$/,...i},async i=>{let a=await r.fs.read(i.path);if(!a)return null;if(i.pluginData?.isReflected)return{contents:a,loader:`ts`,pluginData:{isReflected:!0}};let o=e(r,a,i.path);if(o.diagnostics&&o.diagnostics.length>0)if(o.diagnostics.some(e=>e.category===n.Error)){let e=`Deepkit Type reflection transpilation errors: ${i.path} \n ${o.diagnostics.filter(e=>e.category===n.Error).map(e=>`-${e.file?`${e.file.fileName}:`:``} ${t(e.messageText)?e.messageText:e.messageText.messageText} (at ${e.start}:${e.length})`).join(`
|
|
2
|
+
`)}`;throw r.error(e),Error(e)}else o.diagnostics.some(e=>e.category===n.Warning)?r.warn(`Deepkit Type reflection transpilation warnings: ${i.path} \n ${o.diagnostics.filter(e=>e.category===n.Warning).map(e=>`-${e.file?`${e.file.fileName}:`:``} ${t(e.messageText)?e.messageText:e.messageText.messageText} (at ${e.start}:${e.length})`).join(`
|
|
3
|
+
`)}`):r.debug(`Deepkit Type reflection transpilation diagnostics: ${i.path} \n ${o.diagnostics.map(e=>`-${e.file?`${e.file.fileName}:`:``} ${t(e.messageText)?e.messageText:e.messageText.messageText} (at ${e.start}:${e.length})`).join(`
|
|
4
4
|
`)}`);return{contents:o.outputText,loader:`ts`,pluginData:{isReflected:!0}}})}});export{r as esbuildPlugin};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-crypto",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.63",
|
|
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": {
|
|
@@ -128,17 +128,17 @@
|
|
|
128
128
|
"files": ["dist/**/*"],
|
|
129
129
|
"keywords": ["powerlines", "storm-software", "powerlines-plugin"],
|
|
130
130
|
"dependencies": {
|
|
131
|
-
"@powerlines/plugin-env": "^0.13.
|
|
131
|
+
"@powerlines/plugin-env": "^0.13.95",
|
|
132
132
|
"@storm-software/config-tools": "^1.188.73",
|
|
133
133
|
"@stryke/path": "^0.23.2",
|
|
134
134
|
"defu": "^6.1.4",
|
|
135
|
-
"powerlines": "^0.34.
|
|
135
|
+
"powerlines": "^0.34.7",
|
|
136
136
|
"@noble/ciphers": "^2.1.1"
|
|
137
137
|
},
|
|
138
138
|
"devDependencies": {
|
|
139
|
-
"@powerlines/nx": "^0.11.
|
|
139
|
+
"@powerlines/nx": "^0.11.20",
|
|
140
140
|
"@types/node": "^24.10.4"
|
|
141
141
|
},
|
|
142
142
|
"publishConfig": { "access": "public" },
|
|
143
|
-
"gitHead": "
|
|
143
|
+
"gitHead": "ce53873ef91c416e50f703124ef7618935bff016"
|
|
144
144
|
}
|