@bbn/bbn 1.0.105 → 1.0.106

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/bundle.js CHANGED
@@ -3695,6 +3695,7 @@
3695
3695
  "use strict";
3696
3696
  Object.defineProperty(exports, "__esModule", { value: true });
3697
3697
  exports.calendar = void 0;
3698
+ dayjs_min_js_1.default.extend(window['dayjs_plugin_calendar']);
3698
3699
  const calendar = function (d, wrong_result = false) {
3699
3700
  if (undefined === dayjs_min_js_1.default) {
3700
3701
  return (0, fdate_js_1.fdate)(d, wrong_result);
@@ -3,6 +3,7 @@ import { fdate } from "./fdate.js";
3
3
  import { date } from "./date.js";
4
4
  import { isDate } from "../type/isDate.js";
5
5
  import { isString } from "../type/isString.js";
6
+ dayjs.extend(window['dayjs_plugin_calendar']);
6
7
  const calendar = function (d, wrong_result = false) {
7
8
  if (undefined === dayjs) {
8
9
  return fdate(d, wrong_result);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.105",
3
+ "version": "1.0.106",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",