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.0.0 to 1.0.1

7

CHANGELOG.md

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

## [1.0.1](https://github.com/NaturalCycles/time-lib/compare/v1.0.0...v1.0.1) (2019-05-19)
### Bug Fixes
* exporting dayjs extended ([41a5d15](https://github.com/NaturalCycles/time-lib/commit/41a5d15))
# 1.0.0 (2019-05-19)

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

6

dist/index.d.ts

@@ -1,4 +0,4 @@

import dayjs = require('dayjs');
import { DAYJS_ISO_DATE, DAYJS_PRETTY_TIME } from './dayjs.plugins';
import { DAYJS_2018_06_21, ms, nowPretty, nowUnix, since, todayIso } from './time.util';
export { dayjs, DAYJS_ISO_DATE, DAYJS_PRETTY_TIME, DAYJS_2018_06_21, nowUnix, nowPretty, todayIso, since, ms, };
import { dayjs, DAYJS_2018_06_21, ms, nowPretty, nowUnix, since, todayIso } from './time.util';
export { dayjs, // should be imported from time.util, cause it's an extended version
DAYJS_ISO_DATE, DAYJS_PRETTY_TIME, DAYJS_2018_06_21, nowUnix, nowPretty, todayIso, since, ms, };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const dayjs = require("dayjs");
exports.dayjs = dayjs;
const dayjs_plugins_1 = require("./dayjs.plugins");

@@ -9,2 +7,3 @@ exports.DAYJS_ISO_DATE = dayjs_plugins_1.DAYJS_ISO_DATE;

const time_util_1 = require("./time.util");
exports.dayjs = time_util_1.dayjs;
exports.DAYJS_2018_06_21 = time_util_1.DAYJS_2018_06_21;

@@ -11,0 +10,0 @@ exports.ms = time_util_1.ms;

import dayjs = require('dayjs');
export { dayjs };
export declare const DAYJS_2018_06_21: dayjs.Dayjs;

@@ -3,0 +4,0 @@ export declare function nowUnix(): number;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const dayjs = require("dayjs");
exports.dayjs = dayjs;
const utc = require("dayjs/plugin/utc");

@@ -5,0 +6,0 @@ const dayjs_plugins_1 = require("./dayjs.plugins");

@@ -34,3 +34,3 @@ {

},
"version": "1.0.0",
"version": "1.0.1",
"description": "Date/time related API, based on DayJS",

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

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

import dayjs = require('dayjs')
import { DAYJS_ISO_DATE, DAYJS_PRETTY_TIME } from './dayjs.plugins'
import { DAYJS_2018_06_21, ms, nowPretty, nowUnix, since, todayIso } from './time.util'
import { dayjs, DAYJS_2018_06_21, ms, nowPretty, nowUnix, since, todayIso } from './time.util'
export {
dayjs,
dayjs, // should be imported from time.util, cause it's an extended version
DAYJS_ISO_DATE,

@@ -8,0 +7,0 @@ DAYJS_PRETTY_TIME,

@@ -7,2 +7,5 @@ import dayjs = require('dayjs')

// export modified dayjs
export { dayjs }
export const DAYJS_2018_06_21 = dayjs('2018-06-21')

@@ -9,0 +12,0 @@

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