aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/lastDayOfISOWeek
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/date-fns/lastDayOfISOWeek')
-rw-r--r--node_modules/date-fns/lastDayOfISOWeek/index.d.ts4
-rw-r--r--node_modules/date-fns/lastDayOfISOWeek/index.js36
-rw-r--r--node_modules/date-fns/lastDayOfISOWeek/index.js.flow52
-rw-r--r--node_modules/date-fns/lastDayOfISOWeek/package.json5
4 files changed, 0 insertions, 97 deletions
diff --git a/node_modules/date-fns/lastDayOfISOWeek/index.d.ts b/node_modules/date-fns/lastDayOfISOWeek/index.d.ts
deleted file mode 100644
index e2533d6..0000000
--- a/node_modules/date-fns/lastDayOfISOWeek/index.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.
-
-import { lastDayOfISOWeek } from 'date-fns'
-export default lastDayOfISOWeek
diff --git a/node_modules/date-fns/lastDayOfISOWeek/index.js b/node_modules/date-fns/lastDayOfISOWeek/index.js
deleted file mode 100644
index 84f4c85..0000000
--- a/node_modules/date-fns/lastDayOfISOWeek/index.js
+++ /dev/null
@@ -1,36 +0,0 @@
-"use strict";
-
-var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = lastDayOfISOWeek;
-var _index = _interopRequireDefault(require("../lastDayOfWeek/index.js"));
-var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js"));
-/**
- * @name lastDayOfISOWeek
- * @category ISO Week Helpers
- * @summary Return the last day of an ISO week for the given date.
- *
- * @description
- * Return the last day of an ISO week for the given date.
- * The result will be in the local timezone.
- *
- * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
- *
- * @param {Date|Number} date - the original date
- * @returns {Date} the last day of an ISO week
- * @throws {TypeError} 1 argument required
- *
- * @example
- * // The last day of an ISO week for 2 September 2014 11:55:00:
- * const result = lastDayOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))
- * //=> Sun Sep 07 2014 00:00:00
- */
-function lastDayOfISOWeek(dirtyDate) {
- (0, _index2.default)(1, arguments);
- return (0, _index.default)(dirtyDate, {
- weekStartsOn: 1
- });
-}
-module.exports = exports.default; \ No newline at end of file
diff --git a/node_modules/date-fns/lastDayOfISOWeek/index.js.flow b/node_modules/date-fns/lastDayOfISOWeek/index.js.flow
deleted file mode 100644
index 4b7c616..0000000
--- a/node_modules/date-fns/lastDayOfISOWeek/index.js.flow
+++ /dev/null
@@ -1,52 +0,0 @@
-// @flow
-// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.
-
-export type Interval = {
- start: Date | number,
- end: Date | number,
-}
-
-export type Locale = {
- code?: string,
- formatDistance?: (...args: Array<any>) => any,
- formatRelative?: (...args: Array<any>) => any,
- localize?: {
- ordinalNumber: (...args: Array<any>) => any,
- era: (...args: Array<any>) => any,
- quarter: (...args: Array<any>) => any,
- month: (...args: Array<any>) => any,
- day: (...args: Array<any>) => any,
- dayPeriod: (...args: Array<any>) => any,
- },
- formatLong?: {
- date: (...args: Array<any>) => any,
- time: (...args: Array<any>) => any,
- dateTime: (...args: Array<any>) => any,
- },
- match?: {
- ordinalNumber: (...args: Array<any>) => any,
- era: (...args: Array<any>) => any,
- quarter: (...args: Array<any>) => any,
- month: (...args: Array<any>) => any,
- day: (...args: Array<any>) => any,
- dayPeriod: (...args: Array<any>) => any,
- },
- options?: {
- weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6,
- firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7,
- },
-}
-
-export type Duration = {
- years?: number,
- months?: number,
- weeks?: number,
- days?: number,
- hours?: number,
- minutes?: number,
- seconds?: number,
-}
-
-export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6
-
-declare module.exports: (date: Date | number) => Date
diff --git a/node_modules/date-fns/lastDayOfISOWeek/package.json b/node_modules/date-fns/lastDayOfISOWeek/package.json
deleted file mode 100644
index b781f96..0000000
--- a/node_modules/date-fns/lastDayOfISOWeek/package.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "sideEffects": false,
- "module": "../esm/lastDayOfISOWeek/index.js",
- "typings": "../typings.d.ts"
-} \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage