Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

Location:
imaps-frontend/node_modules/reflect.getprototypeof
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/reflect.getprototypeof/.eslintrc

    rd565449 r0c6b92a  
    66        "rules": {
    77                "id-length": 0,
    8                 "max-statements": [2, 20],
     8                "max-statements": [2, 25],
    99                "new-cap": [2, {
    1010                        "capIsNewExceptions": [
  • imaps-frontend/node_modules/reflect.getprototypeof/CHANGELOG.md

    rd565449 r0c6b92a  
    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.0.7](https://github.com/es-shims/Reflect.getPrototypeOf/compare/v1.0.6...v1.0.7) - 2024-11-23
     9
     10### Commits
     11
     12- [Fix] cache `Object.prototype[__proto__]` getter [`68acea1`](https://github.com/es-shims/Reflect.getPrototypeOf/commit/68acea171951197f83bb107af9e186ce68a5a78f)
     13- [Tests] remove unused test file [`055596a`](https://github.com/es-shims/Reflect.getPrototypeOf/commit/055596aa2e050e08d35f8f19aa642e9b61a54f7f)
     14- [actions] split out node 10-20, and 20+ [`99a57c2`](https://github.com/es-shims/Reflect.getPrototypeOf/commit/99a57c2551d11de70ea90b934e02b04ff3cec6c0)
     15- [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `auto-changelog`, `tape` [`fe4bb92`](https://github.com/es-shims/Reflect.getPrototypeOf/commit/fe4bb92a4d629e629f42f76567d837f8f17643a4)
     16- [Deps] update `es-abstract`, `globalthis`, `which-builtin-type` [`867aeb3`](https://github.com/es-shims/Reflect.getPrototypeOf/commit/867aeb3c434ee03fd819da09d23a32a2c71290dc)
     17- [Tests] replace `aud` with `npm audit` [`5129c11`](https://github.com/es-shims/Reflect.getPrototypeOf/commit/5129c112e18e3475afe42a836ac5d4d7ddfcfc18)
     18- [Deps] remove unused dep; add missing dev dep [`23cf537`](https://github.com/es-shims/Reflect.getPrototypeOf/commit/23cf537aeac98bf27a8d39e24048e1c9fa4df7a7)
     19- [Dev Deps] add missing peer dep [`18862fa`](https://github.com/es-shims/Reflect.getPrototypeOf/commit/18862fa57d2aa86825998db935ac6ffe23dec113)
    720
    821## [v1.0.6](https://github.com/es-shims/Reflect.getPrototypeOf/compare/v1.0.5...v1.0.6) - 2024-03-16
  • imaps-frontend/node_modules/reflect.getprototypeof/implementation.js

    rd565449 r0c6b92a  
    66var whichBuiltinType = require('which-builtin-type');
    77var $TypeError = require('es-errors/type');
     8var callBind = require('call-bind');
     9var gOPD = require('gopd');
    810
    911var $gPO = GetIntrinsic('%Object.getPrototypeOf%', true);
     
    1113
    1214var hasProto = [].__proto__ === Array.prototype; // eslint-disable-line no-proto
     15
     16var dunderGetter = !$gPO && hasProto && gOPD && gOPD(Object.prototype, '__proto__');
     17var getDunder = dunderGetter && dunderGetter.get && callBind(dunderGetter.get);
    1318
    1419module.exports = function getPrototypeOf(O) {
     
    2126        }
    2227
    23         if (hasProto) {
    24                 // eslint-disable-next-line no-proto
    25                 var proto = O.__proto__;
     28        if (getDunder) {
     29                var proto = getDunder(O);
    2630                if (proto || proto === null) {
    2731                        return proto;
  • imaps-frontend/node_modules/reflect.getprototypeof/package.json

    rd565449 r0c6b92a  
    11{
    22        "name": "reflect.getprototypeof",
    3         "version": "1.0.6",
     3        "version": "1.0.7",
    44        "description": "An ES2015 mostly-spec-compliant `Reflect.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible",
    55        "main": "index.js",
     
    2323                "tests-only": "nyc tape 'test/**/*.js'",
    2424                "test": "npm run tests-only",
    25                 "posttest": "aud --production",
     25                "posttest": "npx npm@'>=10.2' audit --production",
    2626                "version": "auto-changelog && git add CHANGELOG.md",
    2727                "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
     
    5959                "call-bind": "^1.0.7",
    6060                "define-properties": "^1.2.1",
    61                 "es-abstract": "^1.23.1",
     61                "es-abstract": "^1.23.5",
    6262                "es-errors": "^1.3.0",
    6363                "get-intrinsic": "^1.2.4",
    64                 "globalthis": "^1.0.3",
    65                 "which-builtin-type": "^1.1.3"
     64                "gopd": "^1.0.1",
     65                "which-builtin-type": "^1.1.4"
    6666        },
    6767        "devDependencies": {
    68                 "@es-shims/api": "^2.4.2",
    69                 "@ljharb/eslint-config": "^21.1.0",
    70                 "aud": "^2.0.4",
    71                 "auto-changelog": "^2.4.0",
     68                "@es-shims/api": "^2.5.1",
     69                "@ljharb/eslint-config": "^21.1.1",
     70                "auto-changelog": "^2.5.0",
     71                "encoding": "^0.1.13",
    7272                "eslint": "=8.8.0",
    7373                "evalmd": "^0.0.19",
     74                "functions-have-names": "^1.2.3",
    7475                "in-publish": "^2.0.1",
    7576                "npmignore": "^0.3.1",
    7677                "nyc": "^10.3.2",
    7778                "safe-publish-latest": "^2.0.0",
    78                 "tape": "^5.7.5"
     79                "tape": "^5.9.0"
    7980        },
    8081        "auto-changelog": {
     
    9091                        ".github/workflows"
    9192                ]
     93        },
     94        "testling": {
     95                "files": "test/implementation.js"
    9296        }
    9397}
  • imaps-frontend/node_modules/reflect.getprototypeof/polyfill.js

    rd565449 r0c6b92a  
    55var $TypeError = require('es-errors/type');
    66
     7var callBind = require('call-bind');
     8var gOPD = require('gopd');
     9
    710var implementation = require('./implementation');
    811
    912var hasProto = [].__proto__ === Array.prototype; // eslint-disable-line no-proto
     13
     14var dunderGetter = hasProto && gOPD && gOPD(Object.prototype, '__proto__');
     15var getDunder = dunderGetter && dunderGetter.get && callBind(dunderGetter.get);
    1016
    1117var getProto = function getPrototypeOf(value) {
     
    1319                throw new $TypeError('Reflect.getPrototypeOf called on non-object');
    1420        }
    15         return value.__proto__; // eslint-disable-line no-proto
     21        // eslint-disable-next-line no-proto
     22        return getDunder ? getDunder(value) : value.__proto__;
    1623};
    1724
  • imaps-frontend/node_modules/reflect.getprototypeof/test/tests.js

    rd565449 r0c6b92a  
    2323        t.equal(getPrototypeOf([]), Array.prototype);
    2424        t.equal(getPrototypeOf({}), Object.prototype);
     25
     26        var obj = { __proto__: null };
     27        if ('toString' in obj) {
     28                t.comment('no null objects in this engine');
     29                t.equal(getPrototypeOf(obj), Object.prototype, '"null" object has Object.prototype as [[Prototype]]');
     30        } else {
     31                t.equal(getPrototypeOf(obj), null, 'null object has null [[Prototype]]');
     32        }
    2533};
Note: See TracChangeset for help on using the changeset viewer.