{
  "manifest": {
    "name": "safe-array-concat",
    "version": "1.1.2",
    "description": "`Array.prototype.concat`, but made safe by ignoring Symbol.isConcatSpreadable",
    "main": "index.js",
    "exports": {
      ".": "./index.js",
      "./package.json": "./package.json"
    },
    "sideEffects": false,
    "scripts": {
      "prepack": "npmignore --auto --commentLines=autogenerated",
      "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)\")\"",
      "prelint": "npm run tsc",
      "lint": "eslint --ext=js,mjs .",
      "tsc": "tsc -p .",
      "posttsc": "attw -P",
      "postlint": "evalmd README.md",
      "prepublish": "not-in-publish || npm run prepublishOnly",
      "prepublishOnly": "safe-publish-latest",
      "pretest": "npm run lint",
      "tests-only": "nyc tape test",
      "test": "npm run tests-only",
      "posttest": "aud --production"
    },
    "keywords": [
      "safe",
      "Array",
      "concat",
      "push",
      "isConcatSpreadable"
    ],
    "author": {
      "name": "Jordan Harband",
      "email": "ljharb@gmail.com"
    },
    "funding": {
      "url": "https://github.com/sponsors/ljharb"
    },
    "license": "MIT",
    "repository": {
      "type": "git",
      "url": "git+https://github.com/ljharb/safe-array-concat.git"
    },
    "bugs": {
      "url": "https://github.com/ljharb/safe-array-concat/issues"
    },
    "homepage": "https://github.com/ljharb/safe-array-concat#readme",
    "devDependencies": {
      "@arethetypeswrong/cli": "^0.15.1",
      "@ljharb/eslint-config": "^21.1.0",
      "@ljharb/tsconfig": "^0.2.0",
      "@types/call-bind": "^1.0.5",
      "@types/get-intrinsic": "^1.2.2",
      "@types/has-symbols": "^1.0.2",
      "@types/isarray": "^2.0.2",
      "@types/mock-property": "^1.0.2",
      "@types/tape": "^5.6.4",
      "aud": "^2.0.4",
      "auto-changelog": "^2.4.0",
      "eslint": "=8.8.0",
      "evalmd": "^0.0.19",
      "in-publish": "^2.0.1",
      "mock-property": "^1.0.3",
      "npmignore": "^0.3.1",
      "nyc": "^10.3.2",
      "safe-publish-latest": "^2.0.0",
      "set-function-length": "^1.2.2",
      "tape": "^5.7.5",
      "typescript": "next"
    },
    "dependencies": {
      "call-bind": "^1.0.7",
      "get-intrinsic": "^1.2.4",
      "has-symbols": "^1.0.3",
      "isarray": "^2.0.5"
    },
    "auto-changelog": {
      "output": "CHANGELOG.md",
      "template": "keepachangelog",
      "unreleased": false,
      "commitLimit": false,
      "backfillLimit": false,
      "hideCredit": true
    },
    "publishConfig": {
      "ignore": [
        ".github/workflows"
      ]
    },
    "engines": {
      "node": ">=0.4"
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-safe-array-concat-1.1.2-81d77ee0c4e8b863635227c721278dd524c20edb-integrity/node_modules/safe-array-concat/package.json",
    "readmeFilename": "README.md",
    "readme": "# safe-array-concat <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\n`Array.prototype.concat`, but made safe by ignoring Symbol.isConcatSpreadable\n\n## Getting started\n\n```sh\nnpm install --save safe-array-concat\n```\n\n## Usage/Examples\n\n```js\nvar safeConcat = require('safe-array-concat');\nvar assert = require('assert');\n\nassert.deepEqual([].concat([1, 2], 3, [[4]]), [1, 2, 3, [4]], 'arrays spread as expected with normal concat');\nassert.deepEqual(safeConcat([1, 2], 3, [[4]]), [1, 2, 3, [4]], 'arrays spread as expected with safe concat');\n\nString.prototype[Symbol.isConcatSpreadable] = true;\nassert.deepEqual([].concat('foo', Object('bar')), ['foo', 'b', 'a', 'r'], 'spreadable String objects are spread with normal concat!!!');\nassert.deepEqual(safeConcat('foo', Object('bar')), ['foo', Object('bar')], 'spreadable String objects are not spread with safe concat');\n\nArray.prototype[Symbol.isConcatSpreadable] = false;\nassert.deepEqual([].concat([1, 2], 3, [[4]]), [[], [1, 2], 3, [[4]]], 'non-concat-spreadable arrays do not spread with normal concat!!!');\nassert.deepEqual(safeConcat([1, 2], 3, [[4]]), [1, 2, 3, [4]], 'non-concat-spreadable arrays still spread with safe concat');\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/safe-array-concat\n[npm-version-svg]: https://versionbadg.es/ljharb/safe-array-concat.svg\n[deps-svg]: https://david-dm.org/ljharb/safe-array-concat.svg\n[deps-url]: https://david-dm.org/ljharb/safe-array-concat\n[dev-deps-svg]: https://david-dm.org/ljharb/safe-array-concat/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/safe-array-concat#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/safe-array-concat.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/safe-array-concat.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/safe-array-concat.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=safe-array-concat\n[codecov-image]: https://codecov.io/gh/ljharb/safe-array-concat/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/safe-array-concat/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/safe-array-concat\n[actions-url]: https://github.com/ljharb/safe-array-concat/actions\n",
    "licenseText": "MIT License\n\nCopyright (c) 2023 Jordan Harband\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.1.2.tgz#81d77ee0c4e8b863635227c721278dd524c20edb",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.1.2.tgz",
    "hash": "81d77ee0c4e8b863635227c721278dd524c20edb",
    "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==",
    "registry": "npm",
    "packageName": "safe-array-concat",
    "cacheIntegrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q== sha1-gdd+4MTouGNjUifHISeN1STCDts="
  },
  "registry": "npm",
  "hash": "81d77ee0c4e8b863635227c721278dd524c20edb"
}