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 3.0.3 to 3.0.4

dist-esm/dayjs.full.js

7

CHANGELOG.md

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

## [3.0.4](https://github.com/NaturalCycles/time-lib/compare/v3.0.3...v3.0.4) (2020-05-13)
### Bug Fixes
* enable "module" again ([7022a25](https://github.com/NaturalCycles/time-lib/commit/7022a257ac7c39b2548f08b74e3a61b98a449169))
## [3.0.3](https://github.com/NaturalCycles/time-lib/compare/v3.0.2...v3.0.3) (2020-05-11)

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

1

dist/dayjs.full.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.dayjs = void 0;
const dayjs = require('dayjs');

@@ -4,0 +5,0 @@ exports.dayjs = dayjs;

7

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DAYJS_TIME_HMS = exports.DAYJS_TIME_HM = exports.dayjs = void 0;
const dayjs_full_1 = require("./dayjs.full");
exports.dayjs = dayjs_full_1.dayjs;
Object.defineProperty(exports, "dayjs", { enumerable: true, get: function () { return dayjs_full_1.dayjs; } });
const default_1 = require("./plugin/default");
exports.DAYJS_TIME_HM = default_1.DAYJS_TIME_HM;
exports.DAYJS_TIME_HMS = default_1.DAYJS_TIME_HMS;
Object.defineProperty(exports, "DAYJS_TIME_HM", { enumerable: true, get: function () { return default_1.DAYJS_TIME_HM; } });
Object.defineProperty(exports, "DAYJS_TIME_HMS", { enumerable: true, get: function () { return default_1.DAYJS_TIME_HMS; } });
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultPlugins = exports.DAYJS_COMPACT_TIME_SECONDS = exports.DAYJS_COMPACT_TIME = exports.DAYJS_PRETTY_TIME_NO_SECONDS = exports.DAYJS_PRETTY_TIME = exports.DAYJS_TIME_HM = exports.DAYJS_TIME_HMS = exports.DAYJS_COMPACT_DATE = exports.DAYJS_ISO_DATE = void 0;
// todo: fix the interface extension

@@ -4,0 +5,0 @@ exports.DAYJS_ISO_DATE = 'YYYY-MM-DD';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isoWeekdayPlugin = void 0;
exports.isoWeekdayPlugin = (_opt, dayjsClass) => {

@@ -4,0 +5,0 @@ dayjsClass.prototype.isoWeekday = function (setWeekday) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.weekOfYearPlugin = void 0;
exports.weekOfYearPlugin = (_opt, dayjsClass, dayjs) => {

@@ -4,0 +5,0 @@ dayjsClass.prototype.week = function () {

{
"name": "@naturalcycles/time-lib",
"scripts": {
"//build-prod": "build-prod-esm-cjs"
"build-prod": "build-prod-esm-cjs"
},

@@ -12,3 +12,3 @@ "dependencies": {

"@naturalcycles/js-lib": "^13.0.0",
"@types/node": "^13.7.0",
"@types/node": "^14.0.1",
"jest": "^26.0.1",

@@ -28,3 +28,3 @@ "moment": "^2.24.0"

"types": "dist/index.d.ts",
"//module": "dist-esm/index.js",
"module": "dist-esm/index.js",
"sideEffects": [

@@ -43,3 +43,3 @@ "./dist-esm/dayjs.full.js"

},
"version": "3.0.3",
"version": "3.0.4",
"description": "Date/time related API, based on Day.js",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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