{"_id":"typed-array-buffer","_rev":"2-1578da528ef86433664b33708a70f965","name":"typed-array-buffer","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"typed-array-buffer","version":"1.0.0","description":"Get the ArrayBuffer out of a TypedArray, robustly.","main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint --ext=js,mjs .","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/ljharb/typed-array-buffer.git"},"keywords":["typed array","arraybuffer","buffer"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/typed-array-buffer/issues"},"homepage":"https://github.com/ljharb/typed-array-buffer#readme","dependencies":{"call-bind":"^1.0.2","get-intrinsic":"^1.2.1","is-typed-array":"^1.1.10"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","aud":"^2.0.2","auto-changelog":"^2.4.0","available-typed-arrays":"^1.0.5","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","for-each":"^0.3.3","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.3","safe-publish-latest":"^2.0.0","tape":"^5.6.3"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"1fa952dbceeb33953a837b49291071eba7d9eea7","_id":"typed-array-buffer@1.0.0","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==","shasum":"18de3e7ed7974b0a729d3feecb94338d1472cd60","tarball":"https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz","fileCount":9,"unpackedSize":7944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6O7D8ZDpUN37oG/9CcC3kxs/y1iC6RE892zf5gL6ZsgIgIE/wdA0Z2Fvg/vAps5ncK0uSRytH5YmcLHPgIPoxJ8M="}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typed-array-buffer_1.0.0_1685995652616_0.9161208853789808"},"_hasShrinkwrap":false},"1.0.1":{"name":"typed-array-buffer","version":"1.0.1","description":"Get the ArrayBuffer out of a TypedArray, robustly.","main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"sideEffects":false,"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint --ext=js,mjs .","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/ljharb/typed-array-buffer.git"},"keywords":["typed array","arraybuffer","buffer"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/typed-array-buffer/issues"},"homepage":"https://github.com/ljharb/typed-array-buffer#readme","dependencies":{"call-bind":"^1.0.6","es-errors":"^1.3.0","is-typed-array":"^1.1.13"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","aud":"^2.0.4","auto-changelog":"^2.4.0","available-typed-arrays":"^1.0.6","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","for-each":"^0.3.3","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.1","safe-publish-latest":"^2.0.0","tape":"^5.7.4"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"typed-array-buffer@1.0.1","gitHead":"5785bb17703bb3c7b23f1c03f64d9e67d248c694","_nodeVersion":"21.6.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-RSqu1UEuSlrBhHTWC8O9FnPjOduNs4M7rJ4pRKoEjtx1zUNOPN2sSXHLDX+Y2WPbHIxbvg4JFo2DNAEfPIKWoQ==","shasum":"0608ffe6bca71bf15a45bff0ca2604107a1325f5","tarball":"https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.1.tgz","fileCount":9,"unpackedSize":8724,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxGCB97Jv6HV2qnkeeMQK+AwH5TOORMDCtecVblyYMOgIhAPceBqdqMavJixp0A8dN1UZGPmBTwbk2NmkeTvaoWzHK"}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typed-array-buffer_1.0.1_1707253420721_0.15254209721977996"},"_hasShrinkwrap":false},"1.0.2":{"name":"typed-array-buffer","version":"1.0.2","description":"Get the ArrayBuffer out of a TypedArray, robustly.","main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"sideEffects":false,"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint --ext=js,mjs .","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/ljharb/typed-array-buffer.git"},"keywords":["typed array","arraybuffer","buffer"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/typed-array-buffer/issues"},"homepage":"https://github.com/ljharb/typed-array-buffer#readme","dependencies":{"call-bind":"^1.0.7","es-errors":"^1.3.0","is-typed-array":"^1.1.13"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","@types/call-bind":"^1.0.5","@types/es-value-fixtures":"^1.4.4","@types/for-each":"^0.3.3","@types/object-inspect":"^1.8.4","@types/tape":"^5.6.4","aud":"^2.0.4","auto-changelog":"^2.4.0","available-typed-arrays":"^1.0.7","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","for-each":"^0.3.3","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.1","safe-publish-latest":"^2.0.0","tape":"^5.7.5","typescript":"next"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"typed-array-buffer@1.0.2","gitHead":"6f046d73c65fb809f49c6bc59bbc99790a1c7d68","types":"./index.d.ts","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==","shasum":"1867c5d83b20fcb5ccf32649e5e2fc7424474ff3","tarball":"https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz","fileCount":11,"unpackedSize":13085,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnyPwTzxjVGeHhsZjEs1veafafGmFEhj5HOqr7s2UbPQIhAKV7TxZz4IaMT/yUAPmy+qjtKaDhy6j8fbbE68Kv4SG6"}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typed-array-buffer_1.0.2_1708393828525_0.8465693206006739"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-05T20:07:32.615Z","1.0.0":"2023-06-05T20:07:32.869Z","modified":"2024-02-20T01:50:29.103Z","1.0.1":"2024-02-06T21:03:40.900Z","1.0.2":"2024-02-20T01:50:28.679Z"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"description":"Get the ArrayBuffer out of a TypedArray, robustly.","homepage":"https://github.com/ljharb/typed-array-buffer#readme","keywords":["typed array","arraybuffer","buffer"],"repository":{"type":"git","url":"git+https://github.com/ljharb/typed-array-buffer.git"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"bugs":{"url":"https://github.com/ljharb/typed-array-buffer/issues"},"license":"MIT","readme":"# typed-array-buffer <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nGet the ArrayBuffer out of a TypedArray, robustly.\n\nThis will work in node <= 0.10 and < 0.11.4, where there's no prototype accessor, only a nonconfigurable own property.\nIt will also work in modern engines where `TypedArray.prototype.buffer` has been deleted after this module has loaded.\n\n## Example\n\n```js\nconst typedArrayBuffer = require('typed-array-buffer');\nconst assert = require('assert');\n\nconst arr = new Uint8Array(0);\nassert.equal(arr.buffer, typedArrayBuffer(arr));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/typed-array-buffer\n[npm-version-svg]: https://versionbadg.es/ljharb/typed-array-buffer.svg\n[deps-svg]: https://david-dm.org/ljharb/typed-array-buffer.svg\n[deps-url]: https://david-dm.org/ljharb/typed-array-buffer\n[dev-deps-svg]: https://david-dm.org/ljharb/typed-array-buffer/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/typed-array-buffer#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/typed-array-buffer.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/typed-array-buffer.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/typed-array-buffer.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=typed-array-buffer\n[codecov-image]: https://codecov.io/gh/ljharb/typed-array-buffer/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/typed-array-buffer/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/typed-array-buffer\n[actions-url]: https://github.com/ljharb/typed-array-buffer/actions\n","readmeFilename":"README.md"}