@bbn/bbn 1.0.103 → 1.0.104
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 +1 -1
- package/dist/fn/datetime/calendar.js +1 -1
- package/package.json +2 -2
package/dist/bundle.js
CHANGED
|
@@ -3691,7 +3691,7 @@
|
|
|
3691
3691
|
};
|
|
3692
3692
|
exports.fdate = fdate;
|
|
3693
3693
|
});
|
|
3694
|
-
define("fn/datetime/calendar", ["require", "exports", "fn/datetime/fdate", "fn/datetime/date", "fn/type/isDate", "fn/type/isString"
|
|
3694
|
+
define("fn/datetime/calendar", ["require", "exports", "../../../node_modules/dayjs/dayjs.min.js", "fn/datetime/fdate", "fn/datetime/date", "fn/type/isDate", "fn/type/isString"], function (require, exports, dayjs_min_js_1, fdate_js_1, date_js_3, isDate_js_5, isString_js_8) {
|
|
3695
3695
|
"use strict";
|
|
3696
3696
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3697
3697
|
exports.calendar = void 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import dayjs from '../../../node_modules/dayjs/dayjs.min.js';
|
|
1
2
|
import { fdate } from "./fdate.js";
|
|
2
3
|
import { date } from "./date.js";
|
|
3
4
|
import { isDate } from "../type/isDate.js";
|
|
4
5
|
import { isString } from "../type/isString.js";
|
|
5
|
-
import dayjs from '../../../node_modules/dayjs/dayjs.min.js';
|
|
6
6
|
dayjs.extend(window['dayjs_plugin_calendar']);
|
|
7
7
|
const calendar = function (d, wrong_result = false) {
|
|
8
8
|
if (undefined === dayjs) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bbn/bbn",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.104",
|
|
4
4
|
"description": "Javascript toolkit",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"type": "module",
|
|
11
11
|
"scripts": {
|
|
12
12
|
"bbn": "tsc && tsc-bundle tsconfig.json && git stage ./src/* && git stage ./*.ts && git stage ./*.json && git stage -f ./dist/* && git stage ./test/* && git commit -m \"Latest changes\" && git push && npm version patch && npm publish",
|
|
13
|
-
"test": "./node_modules/.bin/mocha",
|
|
13
|
+
"test": "./node_modules/.bin/mocha -r jsdom-global/register",
|
|
14
14
|
"wtf": "echo \"Error: no test specified\" && exit 1"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|