.
This commit is contained in:
parent
b964e826d5
commit
0ca2e7dc5a
6 changed files with 5 additions and 39 deletions
|
|
@ -28,15 +28,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
||||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||||
var dayjs_exports = {};
|
var dayjs_exports = {};
|
||||||
__export(dayjs_exports, {
|
__export(dayjs_exports, {
|
||||||
dayjsbr: () => dayjsbr,
|
dayjsbr: () => dayjsbr
|
||||||
duration: () => import_duration.default,
|
|
||||||
isSameOrAfter: () => import_isSameOrAfter.default,
|
|
||||||
isSameOrBefore: () => import_isSameOrBefore.default,
|
|
||||||
minMax: () => import_minMax.default,
|
|
||||||
relativeTime: () => import_relativeTime.default,
|
|
||||||
timezone: () => import_timezone.default,
|
|
||||||
utc: () => import_utc.default,
|
|
||||||
weekOfYear: () => import_weekOfYear.default
|
|
||||||
});
|
});
|
||||||
module.exports = __toCommonJS(dayjs_exports);
|
module.exports = __toCommonJS(dayjs_exports);
|
||||||
var import_dayjs = __toESM(require("dayjs"));
|
var import_dayjs = __toESM(require("dayjs"));
|
||||||
|
|
@ -61,13 +53,5 @@ dayjsbr.extend(import_relativeTime.default);
|
||||||
dayjsbr.extend(import_duration.default);
|
dayjsbr.extend(import_duration.default);
|
||||||
// Annotate the CommonJS export names for ESM import in node:
|
// Annotate the CommonJS export names for ESM import in node:
|
||||||
0 && (module.exports = {
|
0 && (module.exports = {
|
||||||
dayjsbr,
|
dayjsbr
|
||||||
duration,
|
|
||||||
isSameOrAfter,
|
|
||||||
isSameOrBefore,
|
|
||||||
minMax,
|
|
||||||
relativeTime,
|
|
||||||
timezone,
|
|
||||||
utc,
|
|
||||||
weekOfYear
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,6 @@ import z, { z as z$1 } from 'zod';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
export { Dayjs, ManipulateType } from 'dayjs';
|
export { Dayjs, ManipulateType } from 'dayjs';
|
||||||
import { v4 } from 'uuid';
|
import { v4 } from 'uuid';
|
||||||
export { default as duration } from 'dayjs/plugin/duration';
|
|
||||||
export { default as isSameOrAfter } from 'dayjs/plugin/isSameOrAfter';
|
|
||||||
export { default as isSameOrBefore } from 'dayjs/plugin/isSameOrBefore';
|
|
||||||
export { default as minMax } from 'dayjs/plugin/minMax';
|
|
||||||
export { default as relativeTime } from 'dayjs/plugin/relativeTime';
|
|
||||||
export { default as timezone } from 'dayjs/plugin/timezone';
|
|
||||||
export { default as utc } from 'dayjs/plugin/utc';
|
|
||||||
export { default as weekOfYear } from 'dayjs/plugin/weekOfYear';
|
|
||||||
|
|
||||||
declare const aleatorio: (tamanho?: number) => string;
|
declare const aleatorio: (tamanho?: number) => string;
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-comuns",
|
"name": "p-comuns",
|
||||||
"version": "0.311.0",
|
"version": "0.312.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "./dist-front/index.mjs",
|
"main": "./dist-front/index.mjs",
|
||||||
"module": "./dist-front/index.mjs",
|
"module": "./dist-front/index.mjs",
|
||||||
|
|
|
||||||
BIN
pacote.tgz
BIN
pacote.tgz
Binary file not shown.
12
src/dayjs.ts
12
src/dayjs.ts
|
|
@ -25,16 +25,6 @@ dayjsbr.extend(minMax)
|
||||||
dayjsbr.extend(relativeTime)
|
dayjsbr.extend(relativeTime)
|
||||||
dayjsbr.extend(duration)
|
dayjsbr.extend(duration)
|
||||||
|
|
||||||
export {
|
export { dayjsbr }
|
||||||
dayjsbr,
|
|
||||||
duration,
|
|
||||||
isSameOrAfter,
|
|
||||||
isSameOrBefore,
|
|
||||||
minMax,
|
|
||||||
relativeTime,
|
|
||||||
timezone,
|
|
||||||
utc,
|
|
||||||
weekOfYear,
|
|
||||||
}
|
|
||||||
|
|
||||||
export type { Dayjs }
|
export type { Dayjs }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue