@batijs/core 0.0.176 → 0.0.177

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.d.ts CHANGED
@@ -4,6 +4,7 @@ export { generateCode, loadFile, parseModule } from 'magicast';
4
4
  export { addVitePlugin } from 'magicast/helpers';
5
5
  export { default as which } from 'which';
6
6
  import { Color } from 'colorette';
7
+ export { randomBytes } from 'node:crypto';
7
8
 
8
9
  type ContentGetter = () => string | Promise<string>;
9
10
  interface VikeMeta {
package/dist/index.js CHANGED
@@ -850,7 +850,7 @@ ${t}
850
850
 
851
851
  `));let a=s?s.replace(/^(.+)/gm,"# $1")+`
852
852
  `:"",l=`${e}=${srs(n)}
853
- `;return t+a+l}function srs(t){let e="";switch(typeof t){case"string":t&&(e=JSON.stringify(t));break;case"boolean":case"number":e=String(t);break;case"undefined":e="";break;case"object":t!==null&&(e=JSON.stringify(t));break}return e}var Crs=Qx(JVr(),1);var export_which=Crs.default;export{xbt as Readme,NNs as addDependency,Jts as addVitePlugin,LNs as appendToEnv,G9 as generateCode,NIs as loadAsJson,FIs as loadAsMagicast,bbt as loadFile,IIs as loadReadme,OIs as loadRelativeFileAsMagicast,xIs as markdown,TBe as parseModule,dVr as parseReadme,FNs as setScripts,dQi as transformAndFormat,export_which as which,vVr as withIcon};
853
+ `;return t+a+l}function srs(t){let e="";switch(typeof t){case"string":t&&(e=JSON.stringify(t));break;case"boolean":case"number":e=String(t);break;case"undefined":e="";break;case"object":t!==null&&(e=JSON.stringify(t));break}return e}var Crs=Qx(JVr(),1);import{randomBytes as WNs}from"crypto";var export_which=Crs.default;export{xbt as Readme,NNs as addDependency,Jts as addVitePlugin,LNs as appendToEnv,G9 as generateCode,NIs as loadAsJson,FIs as loadAsMagicast,bbt as loadFile,IIs as loadReadme,OIs as loadRelativeFileAsMagicast,xIs as markdown,TBe as parseModule,dVr as parseReadme,WNs as randomBytes,FNs as setScripts,dQi as transformAndFormat,export_which as which,vVr as withIcon};
854
854
  /*! Bundled license information:
855
855
 
856
856
  uri-js/dist/es5/uri.all.js:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@batijs/core",
3
- "version": "0.0.176",
3
+ "version": "0.0.177",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "vitest": "^1.5.0",
31
31
  "vue-eslint-parser": "^9.4.2",
32
32
  "which": "^4.0.0",
33
- "@batijs/features": "0.0.176"
33
+ "@batijs/features": "0.0.177"
34
34
  },
35
35
  "exports": {
36
36
  ".": "./dist/index.js",