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

date-fns-tz

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

date-fns-tz - npm Package Compare versions

Comparing version 3.0.0-beta.0 to 3.0.0-beta.1

2

esm/format/index.js

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

import { format as dateFnsFormat } from 'date-fns/format.js'
import { format as dateFnsFormat } from 'date-fns/format'
import formatters from './formatters/index.js'

@@ -3,0 +3,0 @@ import toDate from '../toDate/index.js'

// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
import fn from '../../format/index.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP'

@@ -6,0 +6,0 @@ var format = convertToFP(fn, 2)

// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
import fn from '../../formatInTimeZone/index.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP'

@@ -6,0 +6,0 @@ var formatInTimeZone = convertToFP(fn, 3)

// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
import fn from '../../formatInTimeZone/index.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP'

@@ -6,0 +6,0 @@ var formatInTimeZoneWithOptions = convertToFP(fn, 4)

// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
import fn from '../../format/index.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP'

@@ -6,0 +6,0 @@ var formatWithOptions = convertToFP(fn, 3)

// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
import fn from '../../getTimezoneOffset/index.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP'

@@ -6,0 +6,0 @@ var getTimezoneOffset = convertToFP(fn, 2)

// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
import fn from '../../toDate/index.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP'

@@ -6,0 +6,0 @@ var toDate = convertToFP(fn, 1)

// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
import fn from '../../toDate/index.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP'

@@ -6,0 +6,0 @@ var toDateWithOptions = convertToFP(fn, 2)

// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
import fn from '../../utcToZonedTime/index.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP'

@@ -6,0 +6,0 @@ var utcToZonedTime = convertToFP(fn, 2)

// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
import fn from '../../utcToZonedTime/index.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP'

@@ -6,0 +6,0 @@ var utcToZonedTimeWithOptions = convertToFP(fn, 3)

// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
import fn from '../../zonedTimeToUtc/index.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP'

@@ -6,0 +6,0 @@ var zonedTimeToUtc = convertToFP(fn, 2)

// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
import fn from '../../zonedTimeToUtc/index.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP.js'
import { convertToFP } from 'date-fns/fp/_lib/convertToFP'

@@ -6,0 +6,0 @@ var zonedTimeToUtcWithOptions = convertToFP(fn, 3)

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

import { getTimezoneOffsetInMilliseconds } from 'date-fns/_lib/getTimezoneOffsetInMilliseconds.js'
import { getTimezoneOffsetInMilliseconds } from 'date-fns/_lib/getTimezoneOffsetInMilliseconds'
import tzParseTimezone from '../_lib/tzParseTimezone/index.js'

@@ -3,0 +3,0 @@ import tzPattern from '../_lib/tzPattern/index.js'

@@ -7,3 +7,3 @@ "use strict";

exports["default"] = format;
var _format = require("date-fns/format.js");
var _format = require("date-fns/format");
var _index = _interopRequireDefault(require("./formatters/index.js"));

@@ -10,0 +10,0 @@ var _index2 = _interopRequireDefault(require("../toDate/index.js"));

@@ -8,3 +8,3 @@ "use strict";

var _index = _interopRequireDefault(require("../../format/index.js"));
var _convertToFP = require("date-fns/fp/_lib/convertToFP.js");
var _convertToFP = require("date-fns/fp/_lib/convertToFP");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -11,0 +11,0 @@ // This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.

@@ -8,3 +8,3 @@ "use strict";

var _index = _interopRequireDefault(require("../../formatInTimeZone/index.js"));
var _convertToFP = require("date-fns/fp/_lib/convertToFP.js");
var _convertToFP = require("date-fns/fp/_lib/convertToFP");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -11,0 +11,0 @@ // This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.

@@ -8,3 +8,3 @@ "use strict";

var _index = _interopRequireDefault(require("../../formatInTimeZone/index.js"));
var _convertToFP = require("date-fns/fp/_lib/convertToFP.js");
var _convertToFP = require("date-fns/fp/_lib/convertToFP");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -11,0 +11,0 @@ // This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.

@@ -8,3 +8,3 @@ "use strict";

var _index = _interopRequireDefault(require("../../format/index.js"));
var _convertToFP = require("date-fns/fp/_lib/convertToFP.js");
var _convertToFP = require("date-fns/fp/_lib/convertToFP");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -11,0 +11,0 @@ // This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.

@@ -8,3 +8,3 @@ "use strict";

var _index = _interopRequireDefault(require("../../getTimezoneOffset/index.js"));
var _convertToFP = require("date-fns/fp/_lib/convertToFP.js");
var _convertToFP = require("date-fns/fp/_lib/convertToFP");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -11,0 +11,0 @@ // This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.

@@ -8,3 +8,3 @@ "use strict";

var _index = _interopRequireDefault(require("../../toDate/index.js"));
var _convertToFP = require("date-fns/fp/_lib/convertToFP.js");
var _convertToFP = require("date-fns/fp/_lib/convertToFP");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -11,0 +11,0 @@ // This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.

@@ -8,3 +8,3 @@ "use strict";

var _index = _interopRequireDefault(require("../../toDate/index.js"));
var _convertToFP = require("date-fns/fp/_lib/convertToFP.js");
var _convertToFP = require("date-fns/fp/_lib/convertToFP");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -11,0 +11,0 @@ // This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.

@@ -8,3 +8,3 @@ "use strict";

var _index = _interopRequireDefault(require("../../utcToZonedTime/index.js"));
var _convertToFP = require("date-fns/fp/_lib/convertToFP.js");
var _convertToFP = require("date-fns/fp/_lib/convertToFP");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -11,0 +11,0 @@ // This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.

@@ -8,3 +8,3 @@ "use strict";

var _index = _interopRequireDefault(require("../../utcToZonedTime/index.js"));
var _convertToFP = require("date-fns/fp/_lib/convertToFP.js");
var _convertToFP = require("date-fns/fp/_lib/convertToFP");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -11,0 +11,0 @@ // This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.

@@ -8,3 +8,3 @@ "use strict";

var _index = _interopRequireDefault(require("../../zonedTimeToUtc/index.js"));
var _convertToFP = require("date-fns/fp/_lib/convertToFP.js");
var _convertToFP = require("date-fns/fp/_lib/convertToFP");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -11,0 +11,0 @@ // This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.

@@ -8,3 +8,3 @@ "use strict";

var _index = _interopRequireDefault(require("../../zonedTimeToUtc/index.js"));
var _convertToFP = require("date-fns/fp/_lib/convertToFP.js");
var _convertToFP = require("date-fns/fp/_lib/convertToFP");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -11,0 +11,0 @@ // This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.

{
"name": "date-fns-tz",
"version": "3.0.0-beta.0",
"version": "3.0.0-beta.1",
"sideEffects": false,

@@ -19,2 +19,5 @@ "description": "Time zone support for date-fns v3 with the Intl API",

"repository": "https://github.com/marnusw/date-fns-tz",
"engine": {
"node": ">= 0.11"
},
"type": "commonjs",

@@ -21,0 +24,0 @@ "main": "index.js",

@@ -7,3 +7,3 @@ "use strict";

exports["default"] = toDate;
var _getTimezoneOffsetInMilliseconds = require("date-fns/_lib/getTimezoneOffsetInMilliseconds.js");
var _getTimezoneOffsetInMilliseconds = require("date-fns/_lib/getTimezoneOffsetInMilliseconds");
var _index = _interopRequireDefault(require("../_lib/tzParseTimezone/index.js"));

@@ -10,0 +10,0 @@ var _index2 = _interopRequireDefault(require("../_lib/tzPattern/index.js"));

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