@batijs/core 0.0.461 → 0.0.462
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.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-3TAKLMXD.js +0 -56
- package/dist/chunk-JVQRSLU3.js +0 -56
- package/dist/chunk-RBCZH3S6.js +0 -9
- package/dist/jiti-47QGSKUN.js +0 -478
- package/dist/jiti-4VHEHEJ6.js +0 -478
- package/dist/jiti-D5GFFX4C.js +0 -478
- package/dist/jiti-GY3WFVF7.js +0 -478
- package/dist/jiti-HOWX5ILP.js +0 -478
- package/dist/jiti-M7FFFMJY.js +0 -478
- package/dist/jiti-PTT4ZTBB.js +0 -31390
- package/dist/jiti-QYPC42DC.js +0 -478
- package/dist/jiti-UD6PBW7S.js +0 -31390
- package/dist/lib-NAFETZUN.js +0 -450
- package/dist/src-C44KL7DE.js +0 -9
- package/dist/src-CE4VNZ74.js +0 -1127
- package/dist/src-UC4KONXL.js +0 -9
- package/dist/src-YD6KR7KC.js +0 -1127
- package/dist/src-ZXRHWERC.js +0 -9
package/dist/index.js
CHANGED
|
@@ -1158,7 +1158,7 @@ ${t}
|
|
|
1158
1158
|
|
|
1159
1159
|
`));let a=i?i.replace(/^(.+)/gm,"# $1")+`
|
|
1160
1160
|
`:"",c=`${e}=${Aps(n)}
|
|
1161
|
-
`;return t+a+c}function Aps(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 Jps=cf(SKr(),1);import{randomBytes as eBs}from"crypto";var Vxt={name:"@batijs/core",version:"0.0.
|
|
1161
|
+
`;return t+a+c}function Aps(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 Jps=cf(SKr(),1);import{randomBytes as eBs}from"crypto";var Vxt={name:"@batijs/core",version:"0.0.462",description:"",type:"module",types:"./dist/index.d.ts",scripts:{"check-types":"tsc --noEmit",vue:"tsx src/parse/linters/vue.ts",test:"vitest run","test:ci":"vitest run",build:"tsup"},keywords:[],author:"Jo\xEBl Charles <joel.charles91@gmail.com>",repository:"https://github.com/vikejs/bati",license:"MIT",devDependencies:{"@batijs/features":"workspace:*","@types/eslint":"^9.6.1","@types/estree":"^1.0.8","@types/node":"^20.19.9","@types/which":"^3.0.4","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/utils":"^8.39.0","attributes-parser":"^2.2.3",colorette:"^2.0.20",esbuild:"^0.25.8",eslint:"^9.32.0","eslint-plugin-solid":"^0.14.5","eslint-rule-composer":"^0.3.0",espree:"^10.4.0",magicast:"^0.3.5","mdast-builder":"^1.1.1","mdast-util-from-markdown":"^2.0.2","mdast-util-to-markdown":"^2.1.2","mdast-util-to-string":"^4.0.0","mdast-util-toc":"^7.1.0",prettier:"^3.6.2",squirrelly:"^9.1.0",tsup:"^8.5.0",tsx:"^4.20.3",typescript:"^5.9.2","unplugin-purge-polyfills":"^0.1.0",vitest:"^3.2.4","vue-eslint-parser":"^10.2.0",which:"^5.0.0",yaml:"^2.8.1"},exports:{".":"./dist/index.js","./types":{types:"./global.d.ts"}},typesVersions:{"*":{types:["./global.d.ts"]}},files:["dist/"]};function Kps(){if(process.env.npm_config_user_agent)return Gps(process.env.npm_config_user_agent)}function Gps(t){let e=t.split(" ")[0],n=e.lastIndexOf("/"),i=e.substring(0,n);return{name:i==="npminstall"?"cnpm":i,version:e.substring(n+1)}}function iBs(){switch(Kps()?.name){case"pnpm":return"pnpm create vike@latest";case"yarn":return"yarn create vike@latest";case"bun":return"bun create vike@latest";default:return"npm create vike@latest ---"}}function sBs(){let t=Vxt.version.split("."),e=t[0],n=t[1],i=t.slice(2).join(".");return{version:Vxt.version,semver:[e,n,i]}}var export_which=Jps.default;export{Uxt as MarkdownV2,mSt as Readme,xps as addVitePlugin,Wjs as appendToEnv,J9s as bgBlack,ljs as bgBlackBright,H9s as bgBlue,fjs as bgBlueBright,Q9s as bgCyan,djs as bgCyanBright,K9s as bgGreen,ujs as bgGreenBright,X9s as bgMagenta,_js as bgMagentaBright,$9s as bgRed,cjs as bgRedBright,Z9s as bgWhite,mjs as bgWhiteBright,G9s as bgYellow,pjs as bgYellowBright,j9s as black,ejs as blackBright,q9s as blue,ijs as blueBright,I9s as bold,Wse as builders,hps as createColors,z9s as cyan,ajs as cyanBright,Q$r as deepMergeObject,qxt as dim,jit as formatCode,vz as generateCode,iBs as getArgs,sBs as getVersion,W9s as gray,U9s as green,rjs as greenBright,M9s as hidden,F9s as inverse,_ps as isColorSupported,O9s as italic,Njs as loadAsJson,Ojs as loadAsMagicast,dSt as loadFile,kjs as loadMarkdown,Ijs as loadPackageJson,Pjs as loadReadme,Ljs as loadRelativeFileAsMagicast,Fjs as loadYaml,V9s as magenta,sjs as magentaBright,P6s as markdown,Kps as packageManager,z$r as parseMarkdown,G5e as parseModule,Ezr as parseReadme,eBs as randomBytes,B9s as red,tjs as redBright,N9s as reset,R9s as strikethrough,Mes as transformAndFormat,L9s as underline,export_which as which,Y9s as white,ojs as whiteBright,G$r as withIcon,K$r as yellow,njs as yellowBright};
|
|
1162
1162
|
/*! Bundled license information:
|
|
1163
1163
|
|
|
1164
1164
|
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.
|
|
3
|
+
"version": "0.0.462",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"vue-eslint-parser": "^10.2.0",
|
|
39
39
|
"which": "^5.0.0",
|
|
40
40
|
"yaml": "^2.8.1",
|
|
41
|
-
"@batijs/features": "0.0.
|
|
41
|
+
"@batijs/features": "0.0.462"
|
|
42
42
|
},
|
|
43
43
|
"exports": {
|
|
44
44
|
".": "./dist/index.js",
|
package/dist/chunk-3TAKLMXD.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { createRequire as BATI_core_createRequire } from 'module';
|
|
2
|
-
import { fileURLToPath as BATI_fileURLToPath } from "node:url";
|
|
3
|
-
import { dirname as BATI_dirname } from "node:path";
|
|
4
|
-
const require = BATI_core_createRequire(import.meta.url);
|
|
5
|
-
|
|
6
|
-
const __filename = BATI_fileURLToPath(import.meta.url);
|
|
7
|
-
const __dirname = BATI_dirname(__filename);
|
|
8
|
-
|
|
9
|
-
var __create = Object.create;
|
|
10
|
-
var __defProp = Object.defineProperty;
|
|
11
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
13
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
14
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
15
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
16
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
17
|
-
}) : x)(function(x) {
|
|
18
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
19
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
20
|
-
});
|
|
21
|
-
var __esm = (fn, res) => function __init() {
|
|
22
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
23
|
-
};
|
|
24
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
25
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
26
|
-
};
|
|
27
|
-
var __export = (target, all) => {
|
|
28
|
-
for (var name in all)
|
|
29
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
30
|
-
};
|
|
31
|
-
var __copyProps = (to, from, except, desc) => {
|
|
32
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
33
|
-
for (let key of __getOwnPropNames(from))
|
|
34
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
35
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
36
|
-
}
|
|
37
|
-
return to;
|
|
38
|
-
};
|
|
39
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
40
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
41
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
42
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
43
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
44
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
45
|
-
mod
|
|
46
|
-
));
|
|
47
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
48
|
-
|
|
49
|
-
export {
|
|
50
|
-
__require,
|
|
51
|
-
__esm,
|
|
52
|
-
__commonJS,
|
|
53
|
-
__export,
|
|
54
|
-
__toESM,
|
|
55
|
-
__toCommonJS
|
|
56
|
-
};
|
package/dist/chunk-JVQRSLU3.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'module';
|
|
2
|
-
import { fileURLToPath as BATI_fileURLToPath } from "node:url";
|
|
3
|
-
import { dirname as BATI_dirname } from "node:path";
|
|
4
|
-
const require = createRequire(import.meta.url);
|
|
5
|
-
|
|
6
|
-
const __filename = BATI_fileURLToPath(import.meta.url);
|
|
7
|
-
const __dirname = BATI_dirname(__filename);
|
|
8
|
-
|
|
9
|
-
var __create = Object.create;
|
|
10
|
-
var __defProp = Object.defineProperty;
|
|
11
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
13
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
14
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
15
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
16
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
17
|
-
}) : x)(function(x) {
|
|
18
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
19
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
20
|
-
});
|
|
21
|
-
var __esm = (fn, res) => function __init() {
|
|
22
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
23
|
-
};
|
|
24
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
25
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
26
|
-
};
|
|
27
|
-
var __export = (target, all) => {
|
|
28
|
-
for (var name in all)
|
|
29
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
30
|
-
};
|
|
31
|
-
var __copyProps = (to, from, except, desc) => {
|
|
32
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
33
|
-
for (let key of __getOwnPropNames(from))
|
|
34
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
35
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
36
|
-
}
|
|
37
|
-
return to;
|
|
38
|
-
};
|
|
39
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
40
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
41
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
42
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
43
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
44
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
45
|
-
mod
|
|
46
|
-
));
|
|
47
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
48
|
-
|
|
49
|
-
export {
|
|
50
|
-
__require,
|
|
51
|
-
__esm,
|
|
52
|
-
__commonJS,
|
|
53
|
-
__export,
|
|
54
|
-
__toESM,
|
|
55
|
-
__toCommonJS
|
|
56
|
-
};
|
package/dist/chunk-RBCZH3S6.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'module';
|
|
2
|
-
import { fileURLToPath as BATI_fileURLToPath } from "node:url";
|
|
3
|
-
import { dirname as BATI_dirname } from "node:path";
|
|
4
|
-
const require = createRequire(import.meta.url);
|
|
5
|
-
|
|
6
|
-
const __filename = BATI_fileURLToPath(import.meta.url);
|
|
7
|
-
const __dirname = BATI_dirname(__filename);
|
|
8
|
-
|
|
9
|
-
var h=Object.create;var e=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var j=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var n=(a,b)=>()=>(a&&(b=a(a=0)),b);var o=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),p=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},g=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of j(b))!l.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=i(b,d))||f.enumerable});return a};var q=(a,b,c)=>(c=a!=null?h(k(a)):{},g(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a)),r=a=>g(e({},"__esModule",{value:!0}),a);export{m as a,n as b,o as c,p as d,q as e,r as f};
|