Ignore:
Timestamp:
01/21/25 03:08:24 (3 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

Location:
imaps-frontend/node_modules/is-date-object
Files:
2 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/is-date-object/.eslintrc

    r0c6b92a r79a0317  
    55
    66        "rules": {
    7                 "max-statements": [2, 12]
     7                //"max-statements": [2, 12]
    88        }
    99}
  • imaps-frontend/node_modules/is-date-object/CHANGELOG.md

    r0c6b92a r79a0317  
    55The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
    66and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
     7
     8## [v1.1.0](https://github.com/inspect-js/is-date-object/compare/v1.0.5...v1.1.0) - 2024-12-12
     9
     10### Commits
     11
     12- [actions] reuse common workflows [`35c5af0`](https://github.com/inspect-js/is-date-object/commit/35c5af06344e8707b82f0ae24821e0a2a0cfb02d)
     13- [meta] use `npmignore` to autogenerate an npmignore file [`db6113c`](https://github.com/inspect-js/is-date-object/commit/db6113c3b98c9be87038d9b11a39166554f6c2b0)
     14- [New] add types [`4f1d9b3`](https://github.com/inspect-js/is-date-object/commit/4f1d9b3d1908d5bfd536128fe8fa49e16fd48761)
     15- [actions] split out node 10-20, and 20+ [`c9a1e4f`](https://github.com/inspect-js/is-date-object/commit/c9a1e4f1fd50277ef85f04ee293795e433436f8c)
     16- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `safe-publish-latest`, `tape` [`35a2864`](https://github.com/inspect-js/is-date-object/commit/35a2864ac5913ae6d14d80398cc5910abf4c528d)
     17- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`b670bca`](https://github.com/inspect-js/is-date-object/commit/b670bcafec01141b5f2ba6e3ea22bde4124d0a2e)
     18- [actions] update rebase action to use reusable workflow [`d6bb341`](https://github.com/inspect-js/is-date-object/commit/d6bb34105613962581bfd7509ee7cc02110b6890)
     19- [actions] update codecov uploader [`f850678`](https://github.com/inspect-js/is-date-object/commit/f8506786159dc9072c62c77e6609ad7db14551af)
     20- [Robustness] use `call-bound` [`18ed326`](https://github.com/inspect-js/is-date-object/commit/18ed326470e86ffc66ea3cd3e642f44a7036948e)
     21- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `core-js`, `npmignore`, `tape` [`f0e792f`](https://github.com/inspect-js/is-date-object/commit/f0e792f7b13b0f9567fbb607fc90278e52377a0f)
     22- [meta] add `exports` field [`342351f`](https://github.com/inspect-js/is-date-object/commit/342351f37f3ed823ea7d7da2aa32099e6eb00852)
     23- [Tests] replace `aud` with `npm audit` [`9b9b9cf`](https://github.com/inspect-js/is-date-object/commit/9b9b9cf665114a211b682402e10486bf2c89bdfa)
     24- [Deps] update `has-tostringtag` [`1bc37ab`](https://github.com/inspect-js/is-date-object/commit/1bc37ab6e8122aecc2a4283e1b3920c61c8d272e)
     25- [meta] add `sideEffects` flag [`86d3a16`](https://github.com/inspect-js/is-date-object/commit/86d3a16d65376ac84d98c8aa55ff7b01cfd01ee9)
     26- [Dev Deps] add missing peer dep [`fee274d`](https://github.com/inspect-js/is-date-object/commit/fee274dc177e09823cb69dbcb805cbd4be7a386e)
    727
    828## [v1.0.5](https://github.com/inspect-js/is-date-object/compare/v1.0.4...v1.0.5) - 2021-08-05
  • imaps-frontend/node_modules/is-date-object/index.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var getDay = Date.prototype.getDay;
     3var callBound = require('call-bound');
     4
     5var getDay = callBound('Date.prototype.getDay');
     6/** @type {import('.')} */
    47var tryDateObject = function tryDateGetDayCall(value) {
    58        try {
    6                 getDay.call(value);
     9                getDay(value);
    710                return true;
    811        } catch (e) {
     
    1114};
    1215
    13 var toStr = Object.prototype.toString;
     16/** @type {(value: unknown) => string} */
     17var toStr = callBound('Object.prototype.toString');
    1418var dateClass = '[object Date]';
    1519var hasToStringTag = require('has-tostringtag/shams')();
    1620
     21/** @type {import('.')} */
    1722module.exports = function isDateObject(value) {
    1823        if (typeof value !== 'object' || value === null) {
    1924                return false;
    2025        }
    21         return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;
     26        return hasToStringTag ? tryDateObject(value) : toStr(value) === dateClass;
    2227};
  • imaps-frontend/node_modules/is-date-object/package.json

    r0c6b92a r79a0317  
    11{
    2         "name": "is-date-object",
    3         "version": "1.0.5",
    4         "author": "Jordan Harband",
    5         "funding": {
    6                 "url": "https://github.com/sponsors/ljharb"
    7         },
    8         "description": "Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.",
    9         "license": "MIT",
    10         "main": "index.js",
    11         "scripts": {
    12                 "prepublishOnly": "safe-publish-latest",
    13                 "prepublish": "not-in-publish || npm run prepublishOnly",
    14                 "pretest": "npm run lint",
    15                 "test": "npm run tests-only && npm run test:corejs",
    16                 "tests-only": "nyc tape 'test/**/*.js'",
    17                 "test:corejs": "nyc tape test-corejs.js",
    18                 "posttest": "aud --production",
    19                 "lint": "eslint .",
    20                 "version": "auto-changelog && git add CHANGELOG.md",
    21                 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
    22         },
    23         "repository": {
    24                 "type": "git",
    25                 "url": "git://github.com/inspect-js/is-date-object.git"
    26         },
    27         "keywords": [
    28                 "Date",
    29                 "ES6",
    30                 "toStringTag",
    31                 "@@toStringTag",
    32                 "Date object"
    33         ],
    34         "dependencies": {
    35                 "has-tostringtag": "^1.0.0"
    36         },
    37         "devDependencies": {
    38                 "@ljharb/eslint-config": "^17.6.0",
    39                 "aud": "^1.1.5",
    40                 "auto-changelog": "^2.3.0",
    41                 "core-js": "^3.12.0",
    42                 "eslint": "^7.32.0",
    43                 "foreach": "^2.0.5",
    44                 "indexof": "^0.0.1",
    45                 "is": "^3.3.0",
    46                 "nyc": "^10.3.2",
    47                 "safe-publish-latest": "^1.1.4",
    48                 "tape": "^5.3.0"
    49         },
    50         "testling": {
    51                 "files": "test/index.js",
    52                 "browsers": [
    53                         "iexplore/6.0..latest",
    54                         "firefox/3.0..6.0",
    55                         "firefox/15.0..latest",
    56                         "firefox/nightly",
    57                         "chrome/4.0..10.0",
    58                         "chrome/20.0..latest",
    59                         "chrome/canary",
    60                         "opera/10.0..latest",
    61                         "opera/next",
    62                         "safari/4.0..latest",
    63                         "ipad/6.0..latest",
    64                         "iphone/6.0..latest",
    65                         "android-browser/4.2"
    66                 ]
    67         },
    68         "engines": {
    69                 "node": ">= 0.4"
    70         },
    71         "auto-changelog": {
    72                 "output": "CHANGELOG.md",
    73                 "template": "keepachangelog",
    74                 "unreleased": false,
    75                 "commitLimit": false,
    76                 "backfillLimit": false,
    77                 "hideCredit": true
    78         }
     2  "_from": "is-date-object@^1.0.5",
     3  "_id": "is-date-object@1.1.0",
     4  "_inBundle": false,
     5  "_integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==",
     6  "_location": "/is-date-object",
     7  "_phantomChildren": {},
     8  "_requested": {
     9    "type": "range",
     10    "registry": true,
     11    "raw": "is-date-object@^1.0.5",
     12    "name": "is-date-object",
     13    "escapedName": "is-date-object",
     14    "rawSpec": "^1.0.5",
     15    "saveSpec": null,
     16    "fetchSpec": "^1.0.5"
     17  },
     18  "_requiredBy": [
     19    "/es-to-primitive",
     20    "/which-builtin-type"
     21  ],
     22  "_resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz",
     23  "_shasum": "ad85541996fc7aa8b2729701d27b7319f95d82f7",
     24  "_spec": "is-date-object@^1.0.5",
     25  "_where": "/home/stevetosak/Proekt/IMaps/imaps-frontend/node_modules/es-to-primitive",
     26  "author": {
     27    "name": "Jordan Harband"
     28  },
     29  "auto-changelog": {
     30    "output": "CHANGELOG.md",
     31    "template": "keepachangelog",
     32    "unreleased": false,
     33    "commitLimit": false,
     34    "backfillLimit": false,
     35    "hideCredit": true
     36  },
     37  "bugs": {
     38    "url": "https://github.com/inspect-js/is-date-object/issues"
     39  },
     40  "bundleDependencies": false,
     41  "dependencies": {
     42    "call-bound": "^1.0.2",
     43    "has-tostringtag": "^1.0.2"
     44  },
     45  "deprecated": false,
     46  "description": "Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.",
     47  "devDependencies": {
     48    "@arethetypeswrong/cli": "^0.17.1",
     49    "@ljharb/eslint-config": "^21.1.1",
     50    "@ljharb/tsconfig": "^0.2.2",
     51    "@types/core-js": "^2.5.8",
     52    "@types/tape": "^5.6.5",
     53    "auto-changelog": "^2.5.0",
     54    "core-js": "^3.39.0",
     55    "encoding": "^0.1.13",
     56    "eslint": "=8.8.0",
     57    "in-publish": "^2.0.1",
     58    "indexof": "^0.0.1",
     59    "is": "^3.3.0",
     60    "npmignore": "^0.3.1",
     61    "nyc": "^10.3.2",
     62    "safe-publish-latest": "^2.0.0",
     63    "tape": "^5.9.0",
     64    "typescript": "^5.8.0-dev.20241212"
     65  },
     66  "engines": {
     67    "node": ">= 0.4"
     68  },
     69  "exports": {
     70    ".": "./index.js",
     71    "./package.json": "./package.json"
     72  },
     73  "funding": {
     74    "url": "https://github.com/sponsors/ljharb"
     75  },
     76  "homepage": "https://github.com/inspect-js/is-date-object#readme",
     77  "keywords": [
     78    "Date",
     79    "ES6",
     80    "toStringTag",
     81    "@@toStringTag",
     82    "Date object"
     83  ],
     84  "license": "MIT",
     85  "main": "index.js",
     86  "name": "is-date-object",
     87  "publishConfig": {
     88    "ignore": [
     89      ".github/workflows",
     90      "test-corejs.js"
     91    ]
     92  },
     93  "repository": {
     94    "type": "git",
     95    "url": "git://github.com/inspect-js/is-date-object.git"
     96  },
     97  "scripts": {
     98    "lint": "eslint --ext=js,mjs .",
     99    "postlint": "tsc && attw -P",
     100    "posttest": "npx npm@'>= 10.2' audit --production",
     101    "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
     102    "prepack": "npmignore --auto --commentLines=autogenerated",
     103    "prepublish": "not-in-publish || npm run prepublishOnly",
     104    "prepublishOnly": "safe-publish-latest",
     105    "pretest": "npm run lint",
     106    "test": "npm run tests-only && npm run test:corejs",
     107    "test:corejs": "nyc tape test-corejs.js",
     108    "tests-only": "nyc tape 'test/**/*.js'",
     109    "version": "auto-changelog && git add CHANGELOG.md"
     110  },
     111  "sideEffects": false,
     112  "testling": {
     113    "files": "test/index.js",
     114    "browsers": [
     115      "iexplore/6.0..latest",
     116      "firefox/3.0..6.0",
     117      "firefox/15.0..latest",
     118      "firefox/nightly",
     119      "chrome/4.0..10.0",
     120      "chrome/20.0..latest",
     121      "chrome/canary",
     122      "opera/10.0..latest",
     123      "opera/next",
     124      "safari/4.0..latest",
     125      "ipad/6.0..latest",
     126      "iphone/6.0..latest",
     127      "android-browser/4.2"
     128    ]
     129  },
     130  "version": "1.1.0"
    79131}
  • imaps-frontend/node_modules/is-date-object/test/index.js

    r0c6b92a r79a0317  
    66
    77test('not Dates', function (t) {
     8        // @ts-expect-error
    89        t.notOk(isDate(), 'undefined is not Date');
    910        t.notOk(isDate(null), 'null is not Date');
     
    2223test('@@toStringTag', { skip: !hasToStringTag }, function (t) {
    2324        var realDate = new Date();
     25        /** @type {{ toString(): unknown; valueOf(): unknown; [Symbol.toStringTag]?: string; }} */
    2426        var fakeDate = {
    2527                toString: function () { return String(realDate); },
Note: See TracChangeset for help on using the changeset viewer.