kanun 0.1.5 → 0.1.6

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.cjs CHANGED
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  }) : target, mod));
27
27
 
28
28
  //#endregion
29
- let dayjs_plugin_customParseFormat = require("dayjs/plugin/customParseFormat");
30
- dayjs_plugin_customParseFormat = __toESM(dayjs_plugin_customParseFormat);
29
+ let dayjs_plugin_customParseFormat_js = require("dayjs/plugin/customParseFormat.js");
30
+ dayjs_plugin_customParseFormat_js = __toESM(dayjs_plugin_customParseFormat_js);
31
31
  let dayjs = require("dayjs");
32
32
  dayjs = __toESM(dayjs);
33
33
 
@@ -2451,7 +2451,7 @@ var ValidationRule = class extends IRuleContract {
2451
2451
 
2452
2452
  //#endregion
2453
2453
  //#region src/Rules/ExtendedRules.ts
2454
- dayjs.default.extend(dayjs_plugin_customParseFormat.default);
2454
+ dayjs.default.extend(dayjs_plugin_customParseFormat_js.default);
2455
2455
  var ExtendedRules = class extends ValidationRule {
2456
2456
  /**
2457
2457
  * The validator instance.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import customParseFormat from "dayjs/plugin/customParseFormat";
1
+ import customParseFormat from "dayjs/plugin/customParseFormat.js";
2
2
  import dayjs from "dayjs";
3
3
 
4
4
  //#region src/Rules/baseRule.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kanun",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Framework-agnostic TypeScript-first validation library.",
5
5
  "type": "module",
6
6
  "files": [