Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@naturalcycles/time-lib

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@naturalcycles/time-lib - npm Package Compare versions

Comparing version 1.6.4 to 1.6.5

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.6.5](https://github.com/NaturalCycles/time-lib/compare/v1.6.4...v1.6.5) (2019-11-09)
### Bug Fixes
* revert esModuleInterop ([f49b3b1](https://github.com/NaturalCycles/time-lib/commit/f49b3b1b600a991f2a0fb2137d9c4ea144907d44))
## [1.6.4](https://github.com/NaturalCycles/time-lib/compare/v1.6.3...v1.6.4) (2019-11-09)

@@ -2,0 +9,0 @@

12

dist-esm/dayjs.full.js

@@ -1,7 +0,7 @@

import dayjs from 'dayjs';
import isBetween from 'dayjs/plugin/isBetween';
import isSameOrAfter from 'dayjs/plugin/isSameOrAfter';
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
import relativeTime from 'dayjs/plugin/relativeTime';
import utc from 'dayjs/plugin/utc';
import * as dayjs from 'dayjs';
import * as isBetween from 'dayjs/plugin/isBetween';
import * as isSameOrAfter from 'dayjs/plugin/isSameOrAfter';
import * as isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
import * as relativeTime from 'dayjs/plugin/relativeTime';
import * as utc from 'dayjs/plugin/utc';
import { defaultPlugins } from './plugin/default';

@@ -8,0 +8,0 @@ import { isoWeekdayPlugin } from './plugin/isoWeekday';

@@ -1,2 +0,2 @@

import dayjs from 'dayjs';
import * as dayjs from 'dayjs';
import 'dayjs/plugin/isBetween';

@@ -3,0 +3,0 @@ import 'dayjs/plugin/isSameOrAfter';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const dayjs_1 = tslib_1.__importDefault(require("dayjs"));
exports.dayjs = dayjs_1.default;
const isBetween_1 = tslib_1.__importDefault(require("dayjs/plugin/isBetween"));
const isSameOrAfter_1 = tslib_1.__importDefault(require("dayjs/plugin/isSameOrAfter"));
const isSameOrBefore_1 = tslib_1.__importDefault(require("dayjs/plugin/isSameOrBefore"));
const relativeTime_1 = tslib_1.__importDefault(require("dayjs/plugin/relativeTime"));
const utc_1 = tslib_1.__importDefault(require("dayjs/plugin/utc"));
const dayjs = require("dayjs");
exports.dayjs = dayjs;
const isBetween = require("dayjs/plugin/isBetween");
const isSameOrAfter = require("dayjs/plugin/isSameOrAfter");
const isSameOrBefore = require("dayjs/plugin/isSameOrBefore");
const relativeTime = require("dayjs/plugin/relativeTime");
const utc = require("dayjs/plugin/utc");
const default_1 = require("./plugin/default");
const isoWeekday_1 = require("./plugin/isoWeekday");
const weekOfYear_1 = require("./plugin/weekOfYear");
dayjs_1.default.extend(utc_1.default);
dayjs_1.default.extend(isSameOrAfter_1.default);
dayjs_1.default.extend(isSameOrBefore_1.default);
dayjs_1.default.extend(relativeTime_1.default);
dayjs_1.default.extend(isBetween_1.default);
dayjs_1.default.extend(default_1.defaultPlugins);
dayjs_1.default.extend(isoWeekday_1.isoWeekdayPlugin);
dayjs_1.default.extend(weekOfYear_1.weekOfYearPlugin);
dayjs.extend(utc);
dayjs.extend(isSameOrAfter);
dayjs.extend(isSameOrBefore);
dayjs.extend(relativeTime);
dayjs.extend(isBetween);
dayjs.extend(default_1.defaultPlugins);
dayjs.extend(isoWeekday_1.isoWeekdayPlugin);
dayjs.extend(weekOfYear_1.weekOfYearPlugin);
// Necessary to import these files, cause they contain augmentation of Dayjs namespace

@@ -32,9 +31,9 @@ require("dayjs/plugin/isBetween");

;
dayjs_1.default.extendLocale = function (ext) {
dayjs_1.default.locale(Object.assign(Object.assign({}, dayjs_1.default().$locale()), ext));
dayjs.extendLocale = function (ext) {
dayjs.locale(Object.assign(Object.assign({}, dayjs().$locale()), ext));
};
// Default weekStart to Monday
dayjs_1.default.extendLocale({
dayjs.extendLocale({
weekStart: 1,
});
//# sourceMappingURL=dayjs.full.js.map

@@ -42,3 +42,3 @@ {

},
"version": "1.6.4",
"version": "1.6.5",
"description": "Date/time related API, based on DayJS",

@@ -45,0 +45,0 @@ "keywords": [

@@ -1,7 +0,7 @@

import dayjs from 'dayjs'
import isBetween from 'dayjs/plugin/isBetween'
import isSameOrAfter from 'dayjs/plugin/isSameOrAfter'
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore'
import relativeTime from 'dayjs/plugin/relativeTime'
import utc from 'dayjs/plugin/utc'
import * as dayjs from 'dayjs'
import * as isBetween from 'dayjs/plugin/isBetween'
import * as isSameOrAfter from 'dayjs/plugin/isSameOrAfter'
import * as isSameOrBefore from 'dayjs/plugin/isSameOrBefore'
import * as relativeTime from 'dayjs/plugin/relativeTime'
import * as utc from 'dayjs/plugin/utc'
import { defaultPlugins } from './plugin/default'

@@ -8,0 +8,0 @@ import { isoWeekdayPlugin } from './plugin/isoWeekday'

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc