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/typed-array-byte-offset
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/typed-array-byte-offset/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.3](https://github.com/inspect-js/typed-array-byte-offset/compare/v1.0.2...v1.0.3) - 2024-11-21
     9
     10### Fixed
     11
     12- [Fix] avoid relying on `__proto__` accessor [`#4`](https://github.com/inspect-js/typed-array-byte-offset/issues/4)
     13
     14### Commits
     15
     16- [types] use shared config [`10b0823`](https://github.com/inspect-js/typed-array-byte-offset/commit/10b0823ecc13b95920cfa8f27fe61af5678fb67b)
     17- [actions] split out node 10-20, and 20+ [`11554a9`](https://github.com/inspect-js/typed-array-byte-offset/commit/11554a96ca11b85c7ad87118e1d811bfde2b9f32)
     18- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/eslint-config`, `@types/object-inspect`, `auto-changelog`, `object-inspect`, `tape` [`c39dd06`](https://github.com/inspect-js/typed-array-byte-offset/commit/c39dd06d2868a724463722ff2f416b5c41171140)
     19- [Tests] run tsc and `@arethetypeswrong/cli` in CI [`0b984aa`](https://github.com/inspect-js/typed-array-byte-offset/commit/0b984aa64c86f4bcb476b716cdd16d67c39b68ca)
     20- [Tests] replace `aud` with `npm audit` [`512b59d`](https://github.com/inspect-js/typed-array-byte-offset/commit/512b59df0e567592282795bfec331193d828f2fc)
    721
    822## [v1.0.2](https://github.com/inspect-js/typed-array-byte-offset/compare/v1.0.1...v1.0.2) - 2024-02-20
  • imaps-frontend/node_modules/typed-array-byte-offset/index.js

    rd565449 r0c6b92a  
    33var forEach = require('for-each');
    44var callBind = require('call-bind');
     5var gPO = require('reflect.getprototypeof/polyfill')();
    56
    67var typedArrays = require('available-typed-arrays')();
     
    1112/** @type {Object.<typeof typedArrays, ByteOffsetGetter>} */
    1213var getters = {};
    13 var hasProto = require('has-proto')();
    1414
    1515var gOPD = require('gopd');
     
    2626                        // @ts-expect-error TS can't guarantee the callback is invoked sync
    2727                        var descriptor = gOPD(Proto, 'byteOffset');
    28                         if (!descriptor && hasProto) {
    29                                 // @ts-expect-error hush, TS, every object has a dunder proto
    30                                 var superProto = Proto.__proto__; // eslint-disable-line no-proto
     28                        if (!descriptor) {
     29                                var superProto = gPO(Proto);
    3130                                // @ts-expect-error TS can't guarantee the callback is invoked sync
    3231                                descriptor = gOPD(superProto, 'byteOffset');
  • imaps-frontend/node_modules/typed-array-byte-offset/package.json

    rd565449 r0c6b92a  
    11{
    22        "name": "typed-array-byte-offset",
    3         "version": "1.0.2",
     3        "version": "1.0.3",
    44        "description": "Robustly get the byte offset of a Typed Array",
    55        "main": "index.js",
     
    1717                "prelint": "evalmd README.md",
    1818                "lint": "eslint --ext=js,mjs .",
     19                "postlint": "tsc -p . && attw -P",
    1920                "tests-only": "nyc tape 'test/**/*.js'",
    2021                "test": "npm run tests-only",
    21                 "posttest": "aud --production",
     22                "posttest": "npx npm@'>=10.2' audit --production",
    2223                "version": "auto-changelog && git add CHANGELOG.md",
    2324                "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
     
    6263                "gopd": "^1.0.1",
    6364                "has-proto": "^1.0.3",
    64                 "is-typed-array": "^1.1.13"
     65                "is-typed-array": "^1.1.13",
     66                "reflect.getprototypeof": "^1.0.6"
    6567        },
    6668        "devDependencies": {
    67                 "@ljharb/eslint-config": "^21.1.0",
     69                "@arethetypeswrong/cli": "^0.17.0",
     70                "@ljharb/eslint-config": "^21.1.1",
     71                "@ljharb/tsconfig": "^0.2.0",
    6872                "@types/call-bind": "^1.0.5",
     73                "@types/es-abstract": "^1.17.9",
    6974                "@types/for-each": "^0.3.3",
    7075                "@types/gopd": "^1.0.3",
     
    7277                "@types/make-arrow-function": "^1.2.2",
    7378                "@types/make-generator-function": "^2.0.3",
    74                 "@types/object-inspect": "^1.8.4",
     79                "@types/object-inspect": "^1.13.0",
    7580                "@types/tape": "^5.6.4",
    76                 "aud": "^2.0.4",
    77                 "auto-changelog": "^2.4.0",
     81                "auto-changelog": "^2.5.0",
    7882                "eslint": "=8.8.0",
    7983                "evalmd": "^0.0.19",
     
    8488                "npmignore": "^0.3.1",
    8589                "nyc": "^10.3.2",
    86                 "object-inspect": "^1.13.1",
     90                "object-inspect": "^1.13.3",
    8791                "possible-typed-array-names": "^1.0.0",
    8892                "safe-publish-latest": "^2.0.0",
    89                 "tape": "^5.7.5",
    90                 "typescript": "^5.4.0-dev.20240219"
     93                "tape": "^5.9.0",
     94                "typescript": "next"
    9195        },
    9296        "engines": {
     
    106110        "publishConfig": {
    107111                "ignore": [
    108                         ".github/workflows"
     112                        ".github/workflows",
     113                        "types"
    109114                ]
    110115        }
  • imaps-frontend/node_modules/typed-array-byte-offset/test/index.js

    rd565449 r0c6b92a  
    6868                var TypedArray = global[typedArray];
    6969                if (isCallable(TypedArray)) {
     70                        // @ts-expect-error hush, TS, TAs can take an optional byte offset arg
    7071                        var arr = new TypedArray(buffer, byteOffset);
    7172                        t.equal(typedArrayByteOffset(arr), byteOffset, 'new ' + typedArray + '(new ArrayBuffer(' + length + '), ' + byteOffset + ') is typed array of byte offset ' + byteOffset);
  • imaps-frontend/node_modules/typed-array-byte-offset/tsconfig.json

    rd565449 r0c6b92a  
    11{
    2   "compilerOptions": {
    3     /* Visit https://aka.ms/tsconfig to read more about this file */
    4 
    5     /* Projects */
    6 
    7     /* Language and Environment */
    8     "target": "ESNext",                                  /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
    9     // "lib": [],                                        /* Specify a set of bundled library declaration files that describe the target runtime environment. */
    10     // "noLib": true,                                    /* Disable including any library files, including the default lib.d.ts. */
    11     "useDefineForClassFields": true,                     /* Emit ECMAScript-standard-compliant class fields. */
    12     // "moduleDetection": "auto",                        /* Control what method is used to detect module-format JS files. */
    13 
    14     /* Modules */
    15     "module": "commonjs",                                /* Specify what module code is generated. */
    16     // "rootDir": "./",                                  /* Specify the root folder within your source files. */
    17     // "moduleResolution": "node10",                     /* Specify how TypeScript looks up a file from a given module specifier. */
    18     // "baseUrl": "./",                                  /* Specify the base directory to resolve non-relative module names. */
    19     // "paths": {},                                      /* Specify a set of entries that re-map imports to additional lookup locations. */
    20     // "rootDirs": [],                                   /* Allow multiple folders to be treated as one when resolving modules. */
    21     "typeRoots": ["types"],                              /* Specify multiple folders that act like './node_modules/@types'. */
    22     "resolveJsonModule": true,                           /* Enable importing .json files. */
    23     // "allowArbitraryExtensions": true,                 /* Enable importing files with any extension, provided a declaration file is present. */
    24 
    25     /* JavaScript Support */
    26     "allowJs": true,                                     /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
    27     "checkJs": true,                                     /* Enable error reporting in type-checked JavaScript files. */
    28     "maxNodeModuleJsDepth": 0,                           /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
    29 
    30     /* Emit */
    31     "declaration": true,                                 /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
    32     "declarationMap": true,                              /* Create sourcemaps for d.ts files. */
    33     "noEmit": true,                                      /* Disable emitting files from a compilation. */
    34 
    35     /* Interop Constraints */
    36     "allowSyntheticDefaultImports": true,                /* Allow 'import x from y' when a module doesn't have a default export. */
    37     "esModuleInterop": true,                             /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
    38     "forceConsistentCasingInFileNames": true,            /* Ensure that casing is correct in imports. */
    39 
    40     /* Type Checking */
    41     "strict": true,                                      /* Enable all strict type-checking options. */
    42 
    43     /* Completeness */
    44     //"skipLibCheck": true                                 /* Skip type checking all .d.ts files. */
    45   },
    46   "exclude": [
    47     "coverage"
    48   ]
     2        "extends": "@ljharb/tsconfig",
     3        "compilerOptions": {
     4                "target": "ES2021",
     5                "maxNodeModuleJsDepth": 0,
     6        },
     7        "exclude": [
     8                "coverage",
     9        ],
    4910}
Note: See TracChangeset for help on using the changeset viewer.