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/which-boxed-primitive
Files:
2 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/which-boxed-primitive/.eslintrc

    r0c6b92a r79a0317  
    33
    44        "extends": "@ljharb",
    5 
    6         "rules": {
    7                 "max-statements": [2, 12],
    8         },
    95}
  • imaps-frontend/node_modules/which-boxed-primitive/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.1](https://github.com/inspect-js/which-boxed-primitive/compare/v1.1.0...v1.1.1) - 2024-12-15
     9
     10### Commits
     11
     12- [Deps] update `is-boolean-object`, `is-number-object`, `is-string`, `is-symbol` [`5266e0c`](https://github.com/inspect-js/which-boxed-primitive/commit/5266e0cb87a814e42b4e8de9574430d27e562070)
     13- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/tsconfig`, `@types/tape` [`a660339`](https://github.com/inspect-js/which-boxed-primitive/commit/a66033981b3f2b4ba4261cf477fd5a6dc40b38d6)
     14
     15## [v1.1.0](https://github.com/inspect-js/which-boxed-primitive/compare/v1.0.2...v1.1.0) - 2024-12-02
     16
     17### Commits
     18
     19- [actions] reuse common workflows [`893df44`](https://github.com/inspect-js/which-boxed-primitive/commit/893df44f4d4ad653878aa0b470fc3437f25ad240)
     20- [meta] use `npmignore` to autogenerate an npmignore file [`bab1ff8`](https://github.com/inspect-js/which-boxed-primitive/commit/bab1ff84d391d94a419bb22a0be3d589b16732a4)
     21- [Tests] use `es-value-fixtures` and `for-each` [`ecacfa0`](https://github.com/inspect-js/which-boxed-primitive/commit/ecacfa01438228830b77fc006e3d366c8227c2b3)
     22- [New] add types [`ab38e78`](https://github.com/inspect-js/which-boxed-primitive/commit/ab38e78885752258f1e90487f2793173a3e81e5e)
     23- [actions] split out node 10-20, and 20+ [`7ee9c3c`](https://github.com/inspect-js/which-boxed-primitive/commit/7ee9c3c27b31289db6970cb2024621cdef4dc5ae)
     24- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `object-inspect`, `safe-publish-latest`, `tape` [`142215a`](https://github.com/inspect-js/which-boxed-primitive/commit/142215aeb898604e356e46708a7fad0d1113d764)
     25- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `has-symbols`, `object-inspect`, `tape` [`3559371`](https://github.com/inspect-js/which-boxed-primitive/commit/3559371556c26688418e6ea06e52dfd51cce29e7)
     26- [actions] update rebase action to use reusable workflow [`928901a`](https://github.com/inspect-js/which-boxed-primitive/commit/928901a781ddcb75cec158f3d0a273100d8f3f80)
     27- [Deps] update `is-bigint`, `is-boolean-object`, `is-number-object`, `is-string`, `is-symbol` [`f7b14be`](https://github.com/inspect-js/which-boxed-primitive/commit/f7b14bed64b6f784221dfe229b583c512d2bcb2c)
     28- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `npmignore`, `object-inspect`, `tape` [`5296738`](https://github.com/inspect-js/which-boxed-primitive/commit/5296738a192d9d006a5874dcc262080df108da62)
     29- [Deps] update `is-bigint`, `is-boolean-object`, `is-number-object`, `is-string`, `is-symbol` [`caa6d1c`](https://github.com/inspect-js/which-boxed-primitive/commit/caa6d1cb8e44c6b8100431dd643e9817f361921c)
     30- [meta] add missing `engines.node` [`ca40880`](https://github.com/inspect-js/which-boxed-primitive/commit/ca40880bb94282871229a7f1d678609b71f4d120)
     31- [Tests] replace `aud` with `npm audit` [`b0f4069`](https://github.com/inspect-js/which-boxed-primitive/commit/b0f40690697c2a963dd7100eec500f138a79f4ae)
     32- [Dev Deps] update `aud` [`8d0e336`](https://github.com/inspect-js/which-boxed-primitive/commit/8d0e336ee7385ed6a94d6362e62e25c54d155a2d)
     33- [Deps] update `is-number-object` [`eafcabf`](https://github.com/inspect-js/which-boxed-primitive/commit/eafcabf3f00c7d716bffdfc0ceeca62387349c7d)
     34- [Dev Deps] add missing peer dep [`ec4dd52`](https://github.com/inspect-js/which-boxed-primitive/commit/ec4dd520dbe77e33341d94479aec3b42817b4cbf)
    735
    836## [v1.0.2](https://github.com/inspect-js/which-boxed-primitive/compare/v1.0.1...v1.0.2) - 2020-12-14
  • imaps-frontend/node_modules/which-boxed-primitive/index.js

    r0c6b92a r79a0317  
    77var isBigInt = require('is-bigint');
    88
     9/** @type {import('.')} */
    910// eslint-disable-next-line consistent-return
    1011module.exports = function whichBoxedPrimitive(value) {
  • imaps-frontend/node_modules/which-boxed-primitive/package.json

    r0c6b92a r79a0317  
    11{
    2         "name": "which-boxed-primitive",
    3         "version": "1.0.2",
    4         "description": "Which kind of boxed JS primitive is this?",
    5         "main": "index.js",
    6         "scripts": {
    7                 "preversion": "auto-changelog",
    8                 "prepublish": "not-in-publish || safe-publish-latest",
    9                 "lint": "eslint --ext=js,mjs .",
    10                 "pretest": "npm run lint",
    11                 "tests-only": "nyc tape 'test/**/*.js'",
    12                 "test": "npm run tests-only",
    13                 "posttest": "aud --production",
    14                 "version": "auto-changelog && git add CHANGELOG.md",
    15                 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
    16         },
    17         "repository": {
    18                 "type": "git",
    19                 "url": "git+https://github.com/inspect-js/which-boxed-primitive.git"
    20         },
    21         "keywords": [
    22                 "boxed",
    23                 "primitive",
    24                 "object",
    25                 "ecmascript",
    26                 "javascript",
    27                 "which"
    28         ],
    29         "author": "Jordan Harband <ljharb@gmail.com>",
    30         "funding": {
    31                 "url": "https://github.com/sponsors/ljharb"
    32         },
    33         "license": "MIT",
    34         "bugs": {
    35                 "url": "https://github.com/inspect-js/which-boxed-primitive/issues"
    36         },
    37         "homepage": "https://github.com/inspect-js/which-boxed-primitive#readme",
    38         "dependencies": {
    39                 "is-bigint": "^1.0.1",
    40                 "is-boolean-object": "^1.1.0",
    41                 "is-number-object": "^1.0.4",
    42                 "is-string": "^1.0.5",
    43                 "is-symbol": "^1.0.3"
    44         },
    45         "devDependencies": {
    46                 "@ljharb/eslint-config": "^17.3.0",
    47                 "aud": "^1.1.3",
    48                 "auto-changelog": "^2.2.1",
    49                 "eslint": "^7.15.0",
    50                 "has-symbols": "^1.0.1",
    51                 "in-publish": "^2.0.1",
    52                 "nyc": "^10.3.2",
    53                 "object-inspect": "^1.9.0",
    54                 "safe-publish-latest": "^1.1.4",
    55                 "tape": "^5.0.1"
    56         },
    57         "auto-changelog": {
    58                 "output": "CHANGELOG.md",
    59                 "template": "keepachangelog",
    60                 "unreleased": false,
    61                 "commitLimit": false,
    62                 "backfillLimit": false,
    63                 "hideCredit": true
    64         }
     2  "_from": "which-boxed-primitive@^1.1.0",
     3  "_id": "which-boxed-primitive@1.1.1",
     4  "_inBundle": false,
     5  "_integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==",
     6  "_location": "/which-boxed-primitive",
     7  "_phantomChildren": {},
     8  "_requested": {
     9    "type": "range",
     10    "registry": true,
     11    "raw": "which-boxed-primitive@^1.1.0",
     12    "name": "which-boxed-primitive",
     13    "escapedName": "which-boxed-primitive",
     14    "rawSpec": "^1.1.0",
     15    "saveSpec": null,
     16    "fetchSpec": "^1.1.0"
     17  },
     18  "_requiredBy": [
     19    "/unbox-primitive",
     20    "/which-builtin-type"
     21  ],
     22  "_resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz",
     23  "_shasum": "d76ec27df7fa165f18d5808374a5fe23c29b176e",
     24  "_spec": "which-boxed-primitive@^1.1.0",
     25  "_where": "/home/stevetosak/Proekt/IMaps/imaps-frontend/node_modules/which-builtin-type",
     26  "author": {
     27    "name": "Jordan Harband",
     28    "email": "ljharb@gmail.com"
     29  },
     30  "auto-changelog": {
     31    "output": "CHANGELOG.md",
     32    "template": "keepachangelog",
     33    "unreleased": false,
     34    "commitLimit": false,
     35    "backfillLimit": false,
     36    "hideCredit": true
     37  },
     38  "bugs": {
     39    "url": "https://github.com/inspect-js/which-boxed-primitive/issues"
     40  },
     41  "bundleDependencies": false,
     42  "dependencies": {
     43    "is-bigint": "^1.1.0",
     44    "is-boolean-object": "^1.2.1",
     45    "is-number-object": "^1.1.1",
     46    "is-string": "^1.1.1",
     47    "is-symbol": "^1.1.1"
     48  },
     49  "deprecated": false,
     50  "description": "Which kind of boxed JS primitive is this?",
     51  "devDependencies": {
     52    "@arethetypeswrong/cli": "^0.17.1",
     53    "@ljharb/eslint-config": "^21.1.1",
     54    "@ljharb/tsconfig": "^0.2.2",
     55    "@types/for-each": "^0.3.3",
     56    "@types/object-inspect": "^1.13.0",
     57    "@types/tape": "^5.7.0",
     58    "auto-changelog": "^2.5.0",
     59    "encoding": "^0.1.13",
     60    "es-value-fixtures": "^1.5.0",
     61    "eslint": "=8.8.0",
     62    "for-each": "^0.3.3",
     63    "in-publish": "^2.0.1",
     64    "npmignore": "^0.3.1",
     65    "nyc": "^10.3.2",
     66    "object-inspect": "^1.13.3",
     67    "safe-publish-latest": "^2.0.0",
     68    "tape": "^5.9.0",
     69    "typescript": "next"
     70  },
     71  "engines": {
     72    "node": ">= 0.4"
     73  },
     74  "funding": {
     75    "url": "https://github.com/sponsors/ljharb"
     76  },
     77  "homepage": "https://github.com/inspect-js/which-boxed-primitive#readme",
     78  "keywords": [
     79    "boxed",
     80    "primitive",
     81    "object",
     82    "ecmascript",
     83    "javascript",
     84    "which"
     85  ],
     86  "license": "MIT",
     87  "main": "index.js",
     88  "name": "which-boxed-primitive",
     89  "publishConfig": {
     90    "ignore": [
     91      ".github/workflows"
     92    ]
     93  },
     94  "repository": {
     95    "type": "git",
     96    "url": "git+https://github.com/inspect-js/which-boxed-primitive.git"
     97  },
     98  "scripts": {
     99    "lint": "eslint --ext=js,mjs .",
     100    "postlint": "tsc -p . && attw -P",
     101    "posttest": "npx npm@'>=10.2' audit --production",
     102    "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
     103    "prepack": "npmignore --auto --commentLines=autogenerated",
     104    "prepublish": "not-in-publish || npm run prepublishOnly",
     105    "prepublishOnly": "safe-publish-latest",
     106    "pretest": "npm run lint",
     107    "test": "npm run tests-only",
     108    "tests-only": "nyc tape 'test/**/*.js'",
     109    "version": "auto-changelog && git add CHANGELOG.md"
     110  },
     111  "version": "1.1.1"
    65112}
  • imaps-frontend/node_modules/which-boxed-primitive/test/index.js

    r0c6b92a r79a0317  
    33var test = require('tape');
    44var inspect = require('object-inspect');
    5 var whichBoxedPrimitive = require('..');
     5var forEach = require('for-each');
     6var v = require('es-value-fixtures');
    67
    7 var debug = function (v, m) { return inspect(v) + ' ' + m; };
    8 
    9 var forEach = function (arr, func) {
    10         var i;
    11         for (i = 0; i < arr.length; ++i) {
    12                 func(arr[i], i, arr);
    13         }
    14 };
    15 
    16 var hasSymbols = require('has-symbols')();
    17 var hasBigInts = typeof BigInt === 'function';
    18 
    19 var primitives = [
    20         true,
    21         false,
    22         42,
    23         NaN,
    24         Infinity,
    25         '',
    26         'foo'
    27 ].concat(
    28         hasSymbols ? [Symbol(), Symbol.iterator] : [],
    29         hasBigInts ? BigInt(42) : []
    30 );
     8var whichBoxedPrimitive = require('../');
    319
    3210var objects = [
     
    3614        [],
    3715        {}
    38 ];
     16].concat(v.objects);
    3917
    4018test('isBoxedPrimitive', function (t) {
    4119        t.test('unboxed primitives', function (st) {
    42                 forEach([null, undefined].concat(primitives), function (primitive) {
    43                         st.equal(null, whichBoxedPrimitive(primitive), debug(primitive, 'is a primitive, but not a boxed primitive'));
     20                forEach(v.primitives, function (primitive) {
     21                        st.equal(null, whichBoxedPrimitive(primitive), inspect(primitive) + ' is a primitive, but not a boxed primitive');
    4422                });
    4523                st.end();
     
    4725
    4826        t.test('boxed primitives', function (st) {
    49                 forEach(primitives, function (primitive) {
    50                         var boxed = Object(primitive);
    51                         var expected = boxed.constructor.name;
    52                         st.equal(typeof expected, 'string', 'expected is string');
    53                         st.equal(whichBoxedPrimitive(boxed), expected, debug(boxed, 'is a boxed primitive: ' + expected));
     27                forEach(v.primitives, function (primitive) {
     28                        if (primitive != null) { // eslint-disable-line eqeqeq
     29                                var boxed = Object(primitive);
     30                                var expected = boxed.constructor.name;
     31                                st.equal(typeof expected, 'string', 'expected is string');
     32                                st.equal(whichBoxedPrimitive(boxed), expected, inspect(boxed) + ' is a boxed primitive: ' + expected);
     33                        }
    5434                });
    5535                st.end();
     
    5838        t.test('non-primitive objects', function (st) {
    5939                forEach(objects, function (object) {
    60                         st.equal(undefined, whichBoxedPrimitive(object), debug(object, 'is not a primitive, boxed or otherwise'));
     40                        st.equal(undefined, whichBoxedPrimitive(object), inspect(object) + ' is not a primitive, boxed or otherwise');
    6141                });
    6242                st.end();
Note: See TracChangeset for help on using the changeset viewer.