heading-case 1.0.4 → 1.0.7

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 CHANGED
@@ -1,3 +1,5 @@
1
+ import * as __rspack_external_fs from "fs";
2
+ import { __webpack_require__ } from "./rslib-runtime.js";
1
3
  import node_fs from "node:fs";
2
4
  import node_process from "node:process";
3
5
  import node_os from "node:os";
@@ -5,9 +7,8 @@ import node_tty from "node:tty";
5
7
  import path_0, { basename, dirname, normalize, posix, relative as external_path_relative, resolve, sep } from "path";
6
8
  import { fileURLToPath } from "url";
7
9
  import { createRequire } from "module";
8
- import * as __rspack_external_fs from "fs";
9
- var __webpack_modules__ = {
10
- "./node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": function(module) {
10
+ __webpack_require__.add({
11
+ "./node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js" (module) {
11
12
  let p = process || {}, argv = p.argv || [], env = p.env || {};
12
13
  let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || "win32" === p.platform || (p.stdout || {}).isTTY && "dumb" !== env.TERM || !!env.CI);
13
14
  let formatter = (open, close, replace = open)=>(input)=>{
@@ -73,7 +74,7 @@ var __webpack_modules__ = {
73
74
  module.exports = createColors();
74
75
  module.exports.createColors = createColors;
75
76
  },
76
- "./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
77
+ "./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js" (module, __unused_rspack_exports, __webpack_require__) {
77
78
  const pico = __webpack_require__("./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js");
78
79
  const utils = __webpack_require__("./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js");
79
80
  function picomatch(glob, options, returnState = false) {
@@ -86,7 +87,7 @@ var __webpack_modules__ = {
86
87
  Object.assign(picomatch, pico);
87
88
  module.exports = picomatch;
88
89
  },
89
- "./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js": function(module) {
90
+ "./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js" (module) {
90
91
  const WIN_SLASH = '\\\\/';
91
92
  const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
92
93
  const DOT_LITERAL = '\\.';
@@ -246,7 +247,7 @@ var __webpack_modules__ = {
246
247
  }
247
248
  };
248
249
  },
249
- "./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js": function(module, __unused_webpack_exports, __webpack_require__) {
250
+ "./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js" (module, __unused_rspack_exports, __webpack_require__) {
250
251
  const constants = __webpack_require__("./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js");
251
252
  const utils = __webpack_require__("./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js");
252
253
  const { MAX_LENGTH, POSIX_REGEX_SOURCE, REGEX_NON_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_BACKREF, REPLACEMENTS } = constants;
@@ -1034,7 +1035,7 @@ var __webpack_modules__ = {
1034
1035
  };
1035
1036
  module.exports = parse;
1036
1037
  },
1037
- "./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js": function(module, __unused_webpack_exports, __webpack_require__) {
1038
+ "./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js" (module, __unused_rspack_exports, __webpack_require__) {
1038
1039
  const scan = __webpack_require__("./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js");
1039
1040
  const parse = __webpack_require__("./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js");
1040
1041
  const utils = __webpack_require__("./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js");
@@ -1167,7 +1168,7 @@ var __webpack_modules__ = {
1167
1168
  picomatch.constants = constants;
1168
1169
  module.exports = picomatch;
1169
1170
  },
1170
- "./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js": function(module, __unused_webpack_exports, __webpack_require__) {
1171
+ "./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js" (module, __unused_rspack_exports, __webpack_require__) {
1171
1172
  const utils = __webpack_require__("./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js");
1172
1173
  const { CHAR_ASTERISK, CHAR_AT, CHAR_BACKWARD_SLASH, CHAR_COMMA, CHAR_DOT, CHAR_EXCLAMATION_MARK, CHAR_FORWARD_SLASH, CHAR_LEFT_CURLY_BRACE, CHAR_LEFT_PARENTHESES, CHAR_LEFT_SQUARE_BRACKET, CHAR_PLUS, CHAR_QUESTION_MARK, CHAR_RIGHT_CURLY_BRACE, CHAR_RIGHT_PARENTHESES, CHAR_RIGHT_SQUARE_BRACKET } = __webpack_require__("./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js");
1173
1174
  const isPathSeparator = (code)=>code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
@@ -1435,7 +1436,7 @@ var __webpack_modules__ = {
1435
1436
  };
1436
1437
  module.exports = scan;
1437
1438
  },
1438
- "./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js": function(__unused_webpack_module, exports, __webpack_require__) {
1439
+ "./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js" (__unused_rspack_module, exports, __webpack_require__) {
1439
1440
  const { REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL } = __webpack_require__("./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js");
1440
1441
  exports.isObject = (val)=>null !== val && 'object' == typeof val && !Array.isArray(val);
1441
1442
  exports.hasRegexChars = (str)=>REGEX_SPECIAL_CHARS.test(str);
@@ -1443,11 +1444,11 @@ var __webpack_modules__ = {
1443
1444
  exports.escapeRegex = (str)=>str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
1444
1445
  exports.toPosixSlashes = (str)=>str.replace(REGEX_BACKSLASH, '/');
1445
1446
  exports.isWindows = ()=>{
1446
- if ('undefined' != typeof navigator && navigator.platform) {
1447
+ if ("u" > typeof navigator && navigator.platform) {
1447
1448
  const platform = navigator.platform.toLowerCase();
1448
1449
  return 'win32' === platform || 'windows' === platform;
1449
1450
  }
1450
- if ('undefined' != typeof process && process.platform) return 'win32' === process.platform;
1451
+ if ("u" > typeof process && process.platform) return 'win32' === process.platform;
1451
1452
  return false;
1452
1453
  };
1453
1454
  exports.removeBackslashes = (str)=>str.replace(REGEX_REMOVE_BACKSLASH, (match)=>'\\' === match ? '' : match);
@@ -1479,46 +1480,14 @@ var __webpack_modules__ = {
1479
1480
  return last;
1480
1481
  };
1481
1482
  }
1482
- };
1483
- var __webpack_module_cache__ = {};
1484
- function __webpack_require__(moduleId) {
1485
- var cachedModule = __webpack_module_cache__[moduleId];
1486
- if (void 0 !== cachedModule) return cachedModule.exports;
1487
- var module = __webpack_module_cache__[moduleId] = {
1488
- exports: {}
1489
- };
1490
- __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1491
- return module.exports;
1492
- }
1493
- (()=>{
1494
- __webpack_require__.n = (module)=>{
1495
- var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
1496
- __webpack_require__.d(getter, {
1497
- a: getter
1498
- });
1499
- return getter;
1500
- };
1501
- })();
1502
- (()=>{
1503
- __webpack_require__.d = (exports, definition)=>{
1504
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
1505
- enumerable: true,
1506
- get: definition[key]
1507
- });
1508
- };
1509
- })();
1510
- (()=>{
1511
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
1512
- })();
1513
- var picocolors = __webpack_require__("./node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
1514
- var picocolors_default = /*#__PURE__*/ __webpack_require__.n(picocolors);
1483
+ });
1515
1484
  function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : node_process.argv) {
1516
1485
  const prefix = flag.startsWith('-') ? '' : 1 === flag.length ? '-' : '--';
1517
1486
  const position = argv.indexOf(prefix + flag);
1518
1487
  const terminatorPosition = argv.indexOf('--');
1519
1488
  return -1 !== position && (-1 === terminatorPosition || position < terminatorPosition);
1520
1489
  }
1521
- const { env } = node_process;
1490
+ const { env: env } = node_process;
1522
1491
  let flagForceColor;
1523
1492
  if (hasFlag('no-color') || hasFlag('no-colors') || hasFlag('color=false') || hasFlag('color=never')) flagForceColor = 0;
1524
1493
  else if (hasFlag('color') || hasFlag('colors') || hasFlag('color=true') || hasFlag('color=always')) flagForceColor = 1;
@@ -2256,7 +2225,7 @@ var Builder = class {
2256
2225
  return this;
2257
2226
  }
2258
2227
  };
2259
- var picomatch = __webpack_require__("./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js");
2228
+ const picomatch = __webpack_require__("./node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js");
2260
2229
  const isReadonlyArray = Array.isArray;
2261
2230
  const isWin = "win32" === process.platform;
2262
2231
  const ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
@@ -2546,10 +2515,14 @@ const dict = [
2546
2515
  ...Object.values(products_namespaceObject),
2547
2516
  ...Object.values(softwares_namespaceObject),
2548
2517
  'Angular',
2518
+ 'Agent Skills',
2519
+ 'API Report File',
2549
2520
  'App Router',
2550
2521
  'Create React App',
2551
2522
  'Cloudflare Pages',
2552
2523
  'CSS Modules',
2524
+ 'Coding Agent',
2525
+ 'Coding Agents',
2553
2526
  'Docusaurus',
2554
2527
  'Docusaurus Faster',
2555
2528
  'EJS',
@@ -2600,6 +2573,8 @@ const dict = [
2600
2573
  'Zephyr',
2601
2574
  'Zephyr Cloud'
2602
2575
  ];
2576
+ const picocolors = __webpack_require__("./node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
2577
+ var picocolors_default = /*#__PURE__*/ __webpack_require__.n(picocolors);
2603
2578
  async function globMarkdownFiles(cwd) {
2604
2579
  return glob([
2605
2580
  '**/*.md',
@@ -0,0 +1,38 @@
1
+ var __webpack_modules__ = {};
2
+ var __webpack_module_cache__ = {};
3
+ function __webpack_require__(moduleId) {
4
+ var cachedModule = __webpack_module_cache__[moduleId];
5
+ if (void 0 !== cachedModule) return cachedModule.exports;
6
+ var module = __webpack_module_cache__[moduleId] = {
7
+ exports: {}
8
+ };
9
+ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
10
+ return module.exports;
11
+ }
12
+ __webpack_require__.m = __webpack_modules__;
13
+ (()=>{
14
+ __webpack_require__.add = function(modules) {
15
+ Object.assign(__webpack_require__.m, modules);
16
+ };
17
+ })();
18
+ (()=>{
19
+ __webpack_require__.n = (module)=>{
20
+ var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
21
+ __webpack_require__.d(getter, {
22
+ a: getter
23
+ });
24
+ return getter;
25
+ };
26
+ })();
27
+ (()=>{
28
+ __webpack_require__.d = (exports, definition)=>{
29
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
30
+ enumerable: true,
31
+ get: definition[key]
32
+ });
33
+ };
34
+ })();
35
+ (()=>{
36
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
37
+ })();
38
+ export { __webpack_require__ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "heading-case",
3
- "version": "1.0.4",
4
- "repository": "https://github.com/rspack-contrib/heading-case",
3
+ "version": "1.0.7",
4
+ "repository": "https://github.com/rstackjs/heading-case",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "exports": {
@@ -30,8 +30,8 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@biomejs/biome": "^1.9.4",
33
- "@rslib/core": "^0.18.2",
34
- "@types/node": "^22.19.1",
33
+ "@rslib/core": "^0.19.4",
34
+ "@types/node": "^22.19.7",
35
35
  "case-police": "^2.1.1",
36
36
  "picocolors": "^1.1.1",
37
37
  "rslog": "^1.3.2",
@@ -39,7 +39,7 @@
39
39
  "tinyglobby": "^0.2.15",
40
40
  "typescript": "^5.9.3"
41
41
  },
42
- "packageManager": "pnpm@10.24.0",
42
+ "packageManager": "pnpm@10.28.2",
43
43
  "publishConfig": {
44
44
  "access": "public",
45
45
  "registry": "https://registry.npmjs.org/"