{
"_id": "@rollup/pluginutils",
"_rev": "11-2b12e55c188cb83456ad9fdca67b240b",
"name": "@rollup/pluginutils",
"dist-tags": {
"latest": "4.0.0"
},
"versions": {
"3.0.0": {
"name": "@rollup/pluginutils",
"version": "3.0.0",
"publishConfig": {
"access": "public"
},
"description": "A set of utility functions commonly used by Rollup plugins",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/plugins.git"
},
"author": {
"name": "Rich Harris",
"email": "richard.a.harris@gmail.com"
},
"homepage": "https://github.com/rollup/plugins/pluginutils#readme",
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"main": "dist/index.js",
"engines": {
"node": ">= 8.0.0"
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm run build && pnpm run lint && pnpm run security",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm run test -- --verbose",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
"lint:docs": "prettier --single-quote --write README.md",
"lint:js": "eslint --fix --cache src --ext .js,.ts",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run lint && pnpm run build",
"pretest": "pnpm run build -- --sourcemap",
"security": "echo 'pnpm needs `npm audit` support'",
"test": "ava test/*.ts"
},
"keywords": [
"rollup",
"plugin",
"utils"
],
"peerDependencies": {
"rollup": "^1.20.0"
},
"dependencies": {
"estree-walker": "^0.6.1"
},
"devDependencies": {
"@types/estree": "0.0.39",
"@types/jest": "^24.0.23",
"@types/micromatch": "^3.1.1",
"@types/node": "^12.12.11",
"micromatch": "^4.0.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"typescript": "^3.7.2"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"jsnext:main": "dist/index.es.js",
"module": "dist/index.es.js",
"nyc": {
"extension": [
".js",
".ts"
]
},
"types": "types/index.d.ts",
"_id": "@rollup/pluginutils@3.0.0",
"_nodeVersion": "12.3.1",
"_npmVersion": "6.11.2",
"dist": {
"integrity": "sha512-qBbGQQaUUiId/lBU9VMeYlVLOoRNvz1fV8HWY5tiGDpI2gdPZHbmOfCjzSdXPhdq3XOfyWvXEBlIPbnM3+9ogQ==",
"shasum": "9978c9d4cd5d6908755362336f699633a3cee343",
"tarball": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.0.tgz",
"fileCount": 7,
"unpackedSize": 224428,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3ChJCRA9TVsSAnZWagAAw9UP/jINePnh4vAesWM6mcw5\n9ubaZPyNLk9ZgNovIKpJPR9ftcVcfSwje7PH6dmG1uMYdvoG1AAv81T1c13e\nltrzxgwA0iwb7i8LlxCozBc0Y/jy+QhcNVpF0gkQcKD01/CFgWmt6fN2L2zw\nPPF8okvmpTICiN/+c01af9qk54UaXq+r9pcIYjHRFxjjMo50GOMUWZVOOooE\niE3Sz0M7w6J9SIiTG3JMbZeotnHO+lzMX56X3JpCzoSywufvJGM8/5SZPZ8z\nCjCurUgsBz1QY0vopw3pZ3HBZ9e9Nf4qWBjBUI0MtDqHGin+cY+4W9lNTjFf\nAJ1868bfUMuSqsNsW81sqyhADSmM/Yky1DSXavberXKFBzrmJuuucN+RCrEn\nf2P+/EvqwFR47KmAhiLYtXJ+4h5lSBSf5Bcb6yN5dKi4OT1QEDY6kpT0JsJO\nUU6jXLESn1lJUSFGtvU8Bx85rAyb7X01N65GWQXQhUL0XwBjGPZKOC2DDMXH\nu/Kylk684Sd7lAZ1+g+RUAwJ6J7HlA9KHdFxxngG/eXE+sqEcvnXlXRxfmso\n1387+iW0pvRE9/CVmiTwvMGijr0atDyavpTtwahI1LOQpy/emoqJ63x5Mye1\nM+3l+alpWwMT1fo5p9SdEzJ8RZb87Twg3sW0Dut7QPe9847MAB7rs9+HM76t\n4EOK\r\n=djAY\r\n-----END PGP SIGNATURE-----\r\n"
},
"maintainers": [
{
"name": "shellscape",
"email": "andrew@shellscape.org"
},
{
"name": "rich_harris",
"email": "richard.a.harris@gmail.com"
},
{
"name": "guybedford",
"email": "guybedford@gmail.com"
},
{
"name": "lukastaegert",
"email": "lukas.taegert@tngtech.com"
}
],
"_npmUser": {
"name": "shellscape",
"email": "andrew@shellscape.org"
},
"directories": {},
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/pluginutils_3.0.0_1574709321452_0.07175349025188194"
},
"_hasShrinkwrap": false
},
"3.0.1": {
"name": "@rollup/pluginutils",
"version": "3.0.1",
"publishConfig": {
"access": "public"
},
"description": "A set of utility functions commonly used by Rollup plugins",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/plugins.git"
},
"author": {
"name": "Rich Harris",
"email": "richard.a.harris@gmail.com"
},
"homepage": "https://github.com/rollup/plugins/pluginutils#readme",
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"main": "dist/index.js",
"engines": {
"node": ">= 8.0.0"
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm run build && pnpm run lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm run test -- --verbose",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
"lint:docs": "prettier --single-quote --write README.md",
"lint:js": "eslint --fix --cache src --ext .js,.ts",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run lint && pnpm run build",
"pretest": "pnpm run build -- --sourcemap",
"test": "ava test/*.ts"
},
"keywords": [
"rollup",
"plugin",
"utils"
],
"peerDependencies": {
"rollup": "^1.20.0"
},
"dependencies": {
"estree-walker": "^0.6.1"
},
"devDependencies": {
"@types/estree": "0.0.39",
"@types/jest": "^24.0.23",
"@types/micromatch": "^3.1.1",
"@types/node": "^12.12.11",
"micromatch": "^4.0.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"typescript": "^3.7.2"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"module": "dist/index.es.js",
"nyc": {
"extension": [
".js",
".ts"
]
},
"types": "types/index.d.ts",
"_id": "@rollup/pluginutils@3.0.1",
"_nodeVersion": "12.3.1",
"_npmVersion": "6.11.2",
"dist": {
"integrity": "sha512-PmNurkecagFimv7ZdKCVOfQuqKDPkrcpLFxRBcQ00LYr4HAjJwhCFxBiY2Xoletll2htTIiXBg6g0Yg21h2M3w==",
"shasum": "6923a24c4a0db2917e5c77b1ed7d6721ac7fe58e",
"tarball": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.1.tgz",
"fileCount": 7,
"unpackedSize": 224948,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/o/sCRA9TVsSAnZWagAAo7IP/2DSddg6iUW3eXscsKj6\nMLeBamLLnndljTAUDfBOevDaXXKU2uXJHIqrz9v3UGe1c9qBptBDxrbwhnpc\n8dGwm0f8FZhxho2iBQyJvmupDpcSUh6+ZjMMZhvkgv/uxS5QABDfNuxC492W\nQudadQPA1HreJKaXEIFyOGyeAcQtVgZ9mqJymFha7Y7tJMZKKRHpkld6tYqn\noylbQPzYiPFMSwx0P6zQ9lfW5PMeIj0X+lTW88yOyoz02KbXFeyim1Zv9v+X\nOUj6hWnsQIq/1qXJTmZdjIxRAjlUI5xsZpQyIQFWPXR8TYz/YA+tsWuIY3wS\n+usCp1647qwEYCy2yKMTGJKtR6wtACxcLSFBXaYCGTBPYz/nFMmeAwtvujaM\n5TB1TjEn5dx/YgC1oSqUgXgtiKZvGT5pFlrYOkMdue02/74gLh/rvA98XUbS\nj1VMcvLsocGU/4IeIpzASGUh6C5+EOJRst6yJ/4+MWLxCV248r5rB7ao/fE9\nn1KPpw6ct+I48zPeQMKNqj8tUpGvvMB6IpqpWxeSYUaBhEwv5lr91NYg24oM\ngnn7vq46SOJtoO8z9J3UmjaQKaiVOGLYcLhwjepfHTRwxQ6uIZMKWNsF7Nld\nbrcK/ECZEB3JUDpFwT9bRFv9nLzMRqIjXGzf+vlPGtYSQgwG5qmABTGdIbul\nPVhF\r\n=ordD\r\n-----END PGP SIGNATURE-----\r\n"
},
"maintainers": [
{
"name": "guybedford",
"email": "guybedford@gmail.com"
},
{
"name": "lukastaegert",
"email": "lukas.taegert@tngtech.com"
},
{
"name": "rich_harris",
"email": "richard.a.harris@gmail.com"
},
{
"name": "shellscape",
"email": "andrew@shellscape.org"
}
],
"_npmUser": {
"name": "shellscape",
"email": "andrew@shellscape.org"
},
"directories": {},
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/pluginutils_3.0.1_1576964076113_0.3781919844715922"
},
"_hasShrinkwrap": false
},
"3.0.2": {
"name": "@rollup/pluginutils",
"version": "3.0.2",
"publishConfig": {
"access": "public"
},
"description": "A set of utility functions commonly used by Rollup plugins",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/plugins.git"
},
"author": {
"name": "Rich Harris",
"email": "richard.a.harris@gmail.com"
},
"homepage": "https://github.com/rollup/plugins/tree/master/packages/pluginutils#readme",
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"main": "dist/index.js",
"engines": {
"node": ">= 8.0.0"
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm run build && pnpm run lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm run test -- --verbose",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
"lint:docs": "prettier --single-quote --write README.md",
"lint:js": "eslint --fix --cache src --ext .js,.ts",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run lint && pnpm run build",
"pretest": "pnpm run build -- --sourcemap",
"test": "ava test/*.ts"
},
"keywords": [
"rollup",
"plugin",
"utils"
],
"peerDependencies": {
"rollup": "^1.20.0"
},
"dependencies": {
"estree-walker": "^0.6.1"
},
"devDependencies": {
"@types/estree": "0.0.39",
"@types/jest": "^24.0.23",
"@types/micromatch": "^3.1.1",
"@types/node": "^12.12.11",
"micromatch": "^4.0.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"typescript": "^3.7.2"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"module": "dist/index.es.js",
"nyc": {
"extension": [
".js",
".ts"
]
},
"types": "types/index.d.ts",
"_id": "@rollup/pluginutils@3.0.2",
"_nodeVersion": "12.3.1",
"_npmVersion": "6.11.2",
"dist": {
"integrity": "sha512-OOpWfnOaveki8sI5MEY20jCxVuKTPpIYRGa5dkN3RwEHX6LZM3HwAsT4yalds5CZAGzkCnbnOUz8rxXIyTm2yQ==",
"shasum": "78a8b7c614315b40784846ad0c8e67ca52385965",
"tarball": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.2.tgz",
"fileCount": 7,
"unpackedSize": 225248,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeEK+dCRA9TVsSAnZWagAA/vIP/1FZjVUMRTvyk/dAYtwb\nQpswuRDTAHH2eVk/xvt6KSI1hfut1UcP0gN/tBBBHZIL6WU+I9lBGSOXBA9x\nTAG9JB0uPuTuVCiXnsJRbv8EY/p+r8NLn8a8sdJuGeHC2a6sXWd8i3p40a1n\nn6NDAD6WAb7jI4BSr2/Z/JIBlp6OxqA2TKFP0VrvH6EdrPFnSm4LVOjMKZT1\ns5r+1oG5mSJSC0K55wW7fUTiafzY2POjJUhQ4/UpfHedFayH9excqnpAO7Ua\nrEqEYX47AKxWtXGuPOSp2dB32mny+To5fFBhQWX0zcOXP8+DUUtTgFPGc822\ne/PdbLh+1n6dCG4wer3IAyqGcDMSLHwUUpwBWOh2MIWYzeOLjXLPTpYGPdv9\nI+EaD5GbYaXtKK81jDefVm7dciJOeJmKIRmi0gExoVi7bXYMhqfs8BPkmb+/\nG1nwDkZavs86YWF0UmVrg0AA6khhaRpf/d/GY79QjhXWuk5twt7dzqHiACiA\nBdx7lnGhLoR43TkvAAOZttCG2bPvtNiigmPMYvczESwe70e+I8gRZGhmGfqT\nfd7ocMP3tKkezAvZThG8Aud1xprEKa3Uq93uJmhFF1AVziBwMzkKcsUvSm5E\nUbbKHpaikDJgPyYrS8TsmQAP0vrVb3BGLCg+tHX58Uy0eKBvQ49Uj/XDLcB8\nErMa\r\n=Dy2L\r\n-----END PGP SIGNATURE-----\r\n"
},
"maintainers": [
{
"name": "guybedford",
"email": "guybedford@gmail.com"
},
{
"name": "lukastaegert",
"email": "lukas.taegert@tngtech.com"
},
{
"name": "rich_harris",
"email": "richard.a.harris@gmail.com"
},
{
"name": "shellscape",
"email": "andrew@shellscape.org"
}
],
"_npmUser": {
"name": "shellscape",
"email": "andrew@shellscape.org"
},
"directories": {},
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/pluginutils_3.0.2_1578151837288_0.15498988958346271"
},
"_hasShrinkwrap": false
},
"3.0.3": {
"name": "@rollup/pluginutils",
"version": "3.0.3",
"publishConfig": {
"access": "public"
},
"description": "A set of utility functions commonly used by Rollup plugins",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/plugins.git"
},
"author": {
"name": "Rich Harris",
"email": "richard.a.harris@gmail.com"
},
"homepage": "https://github.com/rollup/plugins/tree/master/packages/pluginutils#readme",
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"main": "dist/index.js",
"engines": {
"node": ">= 8.0.0"
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm run build && pnpm run lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm run test -- --verbose",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
"lint:docs": "prettier --single-quote --write README.md",
"lint:js": "eslint --fix --cache src --ext .js,.ts",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run lint && pnpm run build",
"pretest": "pnpm run build -- --sourcemap",
"test": "ava"
},
"keywords": [
"rollup",
"plugin",
"utils"
],
"peerDependencies": {
"rollup": "^1.20.0"
},
"dependencies": {
"estree-walker": "^0.6.1"
},
"devDependencies": {
"@types/estree": "0.0.39",
"@types/jest": "^24.0.23",
"@types/micromatch": "^3.1.1",
"@types/node": "^12.12.11",
"micromatch": "^4.0.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"typescript": "^3.7.2"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"module": "dist/index.es.js",
"nyc": {
"extension": [
".js",
".ts"
]
},
"types": "types/index.d.ts",
"_id": "@rollup/pluginutils@3.0.3",
"_nodeVersion": "12.3.1",
"_npmVersion": "6.11.2",
"dist": {
"integrity": "sha512-lxys3KlfYU8LOGu7+UL2upa3kM9q8ISo4EK+vSqqJCLk6N74HsUZbUFiElolh4BUsv0jeMGtYDzpNrtrShE6Gg==",
"shasum": "70666fb7d44e178c25b0d45790191d85889445d2",
"tarball": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.3.tgz",
"fileCount": 7,
"unpackedSize": 228587,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFJqBCRA9TVsSAnZWagAA8bgP/RbWLoWq0yann9CUp+Lk\nYy3ZmZr6A2q2IYoxBOjNvMrRAH+Q1sHfWumYvbAZeApDSGg51sxZ0+DpX+to\nWUYlW1OHb15fSEUse4n2VZEsq5ZuI4ZCs4yvpYPY+WBEh9aYb/3qSWWo2AYy\nZmX9NlhH5LAyhaIwwBdwycAXNKlx9VyE7qFOvmV4e76wz86lHJOJMQzV4Icn\neCsFuOrArWEEW0jHCFEUheOnGJWROzrkjau5v99EWOog+wxoWYwmE561QdL2\neUo42W/xD8b/Z008dppZdsaag2Pg2br6fEKk+e/CyFBVSfYMYsdI/SAbYuod\nb2303HDlTLK+piwgUqUl1PgGWQRXQZjyDU1XeBkpN4xGOb8JW5lsCkWFxZyH\nbTyAPJWtSVyEeSdEEhIZ3SZfwVbhDQrXOp5IeL0/jcUQKDjb0gRo4c4yBnjq\ng4L3+i1YNqzdREu6h5rIYCQrtVhoce0roTiMyDHMSfdOQQ6YXgVtOJos0anM\nbiQubuAgeRxjv6/Kp6PCpYInbiD2WSS5o34z6zGBz9UPHc1yRMbPSnrT9k9t\n0pzZcdn6RwTfr1VQj/PnO2/x9U+WRUxFKnqD0dt8fdOieiNva6giDH1euCEA\nLG/+8vBqj4I/JQd4PlBUlOXDKNHEDsK7QtyY349ZLg6JBraRGf05CsZDgyo7\nDWpJ\r\n=o3Ug\r\n-----END PGP SIGNATURE-----\r\n"
},
"maintainers": [
{
"name": "guybedford",
"email": "guybedford@gmail.com"
},
{
"name": "lukastaegert",
"email": "lukas.taegert@tngtech.com"
},
{
"name": "rich_harris",
"email": "richard.a.harris@gmail.com"
},
{
"name": "shellscape",
"email": "andrew@shellscape.org"
}
],
"_npmUser": {
"name": "shellscape",
"email": "andrew@shellscape.org"
},
"directories": {},
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/pluginutils_3.0.3_1578408577079_0.8005625550818376"
},
"_hasShrinkwrap": false
},
"3.0.4": {
"name": "@rollup/pluginutils",
"version": "3.0.4",
"publishConfig": {
"access": "public"
},
"description": "A set of utility functions commonly used by Rollup plugins",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/plugins.git"
},
"author": {
"name": "Rich Harris",
"email": "richard.a.harris@gmail.com"
},
"homepage": "https://github.com/rollup/plugins/tree/master/packages/pluginutils#readme",
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"main": "dist/index.js",
"engines": {
"node": ">= 8.0.0"
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm run build && pnpm run lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm run test -- --verbose",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
"lint:docs": "prettier --single-quote --write README.md",
"lint:js": "eslint --fix --cache src --ext .js,.ts",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run lint && pnpm run build",
"pretest": "pnpm run build -- --sourcemap",
"test": "ava"
},
"keywords": [
"rollup",
"plugin",
"utils"
],
"peerDependencies": {
"rollup": "^1.20.0"
},
"dependencies": {
"estree-walker": "^0.6.1"
},
"devDependencies": {
"@types/estree": "0.0.39",
"@types/jest": "^24.0.23",
"@types/micromatch": "^3.1.1",
"@types/node": "^12.12.11",
"micromatch": "^4.0.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"typescript": "^3.7.2"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"module": "dist/index.es.js",
"nyc": {
"extension": [
".js",
".ts"
]
},
"types": "types/index.d.ts",
"_id": "@rollup/pluginutils@3.0.4",
"_nodeVersion": "12.3.1",
"_npmVersion": "6.11.2",
"dist": {
"integrity": "sha512-buc0oeq2zqQu2mpMyvZgAaQvitikYjT/4JYhA4EXwxX8/g0ZGHoGiX+0AwmfhrNqH4oJv67gn80sTZFQ/jL1bw==",
"shasum": "3a104a41a90f8d1dcf308e18f8fa402d1cc6576e",
"tarball": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.4.tgz",
"fileCount": 7,
"unpackedSize": 229186,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGOTHCRA9TVsSAnZWagAAd5oP/2tSDYJFEJHk3bYFyJG+\n0r0TjNTB43Zcf6PrWG9WXEA/lj8JRmvr7/AHzsXc+o/1u9n7B8AqiM4Zi5pV\ndDWkiUKkgX6Tt3vt+/4FXlmlDvbNI+9yWjh8a3Hkc0krY0dC4UPOUKEn7fSt\nPtsNFmJP6zUy/L3qA2RJlHMqiGAy3Lpv3C/aP/4XdyapoAmD/Mg9Gm+xt1hD\njsrhDD/A8b9SB+tW1t/wr4kxJmCNOPd5SZQPA4nwAX+wdY4gVHhjJEJIGKb/\n8UtwIhr6VHJlsb5OXTVz1hdPOjR6uqd/osb1UVGVXicjZu0A3Tih8A3k8abW\nSctfHI57gGQiZd7buPp/gY3Q+X80t+26OrjipkuEHnvnaQecJ51GQfdfCpDQ\n+9rJkBe9kHcX68MWJPhgIhERcXI60J8O3ZnrzpuKAKI2brTaUqqhRViubrRh\nh4l9ygvU0K+R/qIBhBRFnao14KZwyoSxe3zYqWX91vRPjJ+XqRBpHG5+dPTV\nlj4Ms7UupNf1+iuTKAiznm79rosHOLlWRD+zxYQoBYSlvz9H1yuOoySeQAOy\nSU5HLgXR3czntysxw0zSqF9nDPCaDoT2/cKNcIa3lN7am6/a1PJHtFJqvf9a\nvcDvSD3J5iHZFEczcXoYt9wJbi5EwOEBu7jygnYMWS1/wYdT6jgi2yQoQ8TX\n9VhA\r\n=e7K8\r\n-----END PGP SIGNATURE-----\r\n"
},
"maintainers": [
{
"name": "guybedford",
"email": "guybedford@gmail.com"
},
{
"name": "lukastaegert",
"email": "lukas.taegert@tngtech.com"
},
{
"name": "rich_harris",
"email": "richard.a.harris@gmail.com"
},
{
"name": "shellscape",
"email": "andrew@shellscape.org"
}
],
"_npmUser": {
"name": "shellscape",
"email": "andrew@shellscape.org"
},
"directories": {},
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/pluginutils_3.0.4_1578689734919_0.12885333783485597"
},
"_hasShrinkwrap": false
},
"3.0.5": {
"name": "@rollup/pluginutils",
"version": "3.0.5",
"publishConfig": {
"access": "public"
},
"description": "A set of utility functions commonly used by Rollup plugins",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/plugins.git"
},
"author": {
"name": "Rich Harris",
"email": "richard.a.harris@gmail.com"
},
"homepage": "https://github.com/rollup/plugins/tree/master/packages/pluginutils#readme",
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"main": "dist/index.js",
"engines": {
"node": ">= 8.0.0"
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm run build && pnpm run lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm run test -- --verbose",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
"lint:docs": "prettier --single-quote --write README.md",
"lint:js": "eslint --fix --cache src --ext .js,.ts",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run lint && pnpm run build",
"pretest": "pnpm run build -- --sourcemap",
"test": "ava"
},
"keywords": [
"rollup",
"plugin",
"utils"
],
"peerDependencies": {
"rollup": "^1.20.0"
},
"dependencies": {
"estree-walker": "^1.0.1"
},
"devDependencies": {
"@types/estree": "0.0.39",
"@types/jest": "^24.0.23",
"@types/micromatch": "^3.1.1",
"@types/node": "^12.12.11",
"micromatch": "^4.0.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"typescript": "^3.7.2"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"module": "dist/index.es.js",
"nyc": {
"extension": [
".js",
".ts"
]
},
"types": "types/index.d.ts",
"_id": "@rollup/pluginutils@3.0.5",
"_nodeVersion": "12.3.1",
"_npmVersion": "6.11.2",
"dist": {
"integrity": "sha512-BNNCEufh9FrTavr7gxboE43lBMgcBQLj//8vnIRJXhQaW0aYE9Noo3c8uFPf5C1Xbj9t93JqQ2pDiBLb/aPf5w==",
"shasum": "ee6b37b700999072b954213f4d2e509639d79a69",
"tarball": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.5.tgz",
"fileCount": 7,
"unpackedSize": 240759,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeK5TqCRA9TVsSAnZWagAAlM4QAIGyPhg1KdcStszNIa5Z\nfz/tHTyVvVixoKnBBnvfcK7E17yedgrmfrveGfc9ZZUzDFiVWxhwyAf55Dfa\nHc8MgzABlOrm9fojcHXIuUXYKaXFluPYGIE0jLDOniNMG1+qVKAmxNlY1vsk\n5Hr4OMLa6rKFXVAuyE5DPd0ZKIOk5lm0XljZ8RDKtnJxUOe66e8Dx9wjdPMY\nci5Mv5r9VN6H+PFlTVlK7xmXl4Vu/zwtPPfbISD+XnvbkdlP6D16+5MG52ih\nSPmo5sMo2lXs1NEF7cBf5OgZHfy2wiDtrkfwM/w1LkPJbbwv45H2jYEIf5Hr\nauSYtZ+qb0x/E3crWsM+8AEfgVxI0uJ8aRr6lyevyB76xHL/D6b27n3iGDq+\nOuSsC56cBfszlG3smO16TKxPFMhoVLBmof2RTqYbPBwxS2rMPtL9bseBbpBw\nSCNU1ZW854vhmNMQMQ/43nsxI6PtQ1IcN9caijJYzpkAJX7QITCLkB4Xbci0\n1mhWKKAHc0mwlKfQITneSLSfmzV/OGc/Dlhj2XUvg6s2Gm5XqF3K0NSZfwva\ncLAdOsRA1L0VCupJ22AYGjHfF8ZR4VZojJbGL5obLflhLxoJgG6lXplnRI8T\nt2NWyHywDfDuPQpkynZVO/w9q206/zTASla9hY5YLysLir2WanI5HoUWE+Pf\neEzS\r\n=2i0x\r\n-----END PGP SIGNATURE-----\r\n"
},
"maintainers": [
{
"name": "guybedford",
"email": "guybedford@gmail.com"
},
{
"name": "lukastaegert",
"email": "lukas.taegert@tngtech.com"
},
{
"name": "rich_harris",
"email": "richard.a.harris@gmail.com"
},
{
"name": "shellscape",
"email": "andrew@shellscape.org"
}
],
"_npmUser": {
"name": "shellscape",
"email": "andrew@shellscape.org"
},
"directories": {},
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/pluginutils_3.0.5_1579914474064_0.9723043834397107"
},
"_hasShrinkwrap": false
},
"3.0.6": {
"name": "@rollup/pluginutils",
"version": "3.0.6",
"publishConfig": {
"access": "public"
},
"description": "A set of utility functions commonly used by Rollup plugins",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/plugins.git"
},
"author": {
"name": "Rich Harris",
"email": "richard.a.harris@gmail.com"
},
"homepage": "https://github.com/rollup/plugins/tree/master/packages/pluginutils#readme",
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"main": "dist/index.js",
"engines": {
"node": ">= 8.0.0"
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm run build && pnpm run lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm run test -- --verbose",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
"lint:docs": "prettier --single-quote --write README.md",
"lint:js": "eslint --fix --cache src --ext .js,.ts",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run lint && pnpm run build",
"pretest": "pnpm run build -- --sourcemap",
"test": "ava"
},
"keywords": [
"rollup",
"plugin",
"utils"
],
"peerDependencies": {
"rollup": "^1.20.0"
},
"dependencies": {
"estree-walker": "^1.0.1"
},
"devDependencies": {
"@types/estree": "0.0.39",
"@types/jest": "^24.0.23",
"@types/micromatch": "^3.1.1",
"@types/node": "^12.12.11",
"micromatch": "^4.0.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"typescript": "^3.7.2"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"module": "dist/index.es.js",
"nyc": {
"extension": [
".js",
".ts"
]
},
"types": "types/index.d.ts",
"_id": "@rollup/pluginutils@3.0.6",
"_nodeVersion": "12.3.1",
"_npmVersion": "6.11.2",
"dist": {
"integrity": "sha512-Nb6U7sg11v8D+E4mxRxwT+UumUL7MSnwI8V1SJB3THyW2MOGD/Q6GyxLtpnjrbT3zTRPSozzDMyVZwemgldO3w==",
"shasum": "3ae0bbbce2eed53bf46b7fba8c393557c6c7f705",
"tarball": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.6.tgz",
"fileCount": 7,
"unpackedSize": 238427,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeLxITCRA9TVsSAnZWagAASbwP/A/iCxDiMbHcLd4kWCjK\nmAgedD5bujgvj4iqJVzfbe+WSHsczapzqhnhjXPSlfq3jUd3DqA3spElNANb\nIIRZYjDUybGO1VfzklXBc/fmGl0z2PZh9NGfAWrvALEuTAf451izvFRFO3aM\nzdQqcDL0PRU/J7wQee1QzhnMQGCQgfHP5wLeXGc002FXBUoj6yh5HSp3nG1h\nGmg7J4hduB9ZpKMxU4q4039g/MH6r26qj+21rxTcdBpkKLE9RRGUiXstII9I\nZzwhfr/xov9tX1uu1Z+HxZoJU0mNYHkW9QaaxcJ+t+Pv0+dCLtyImmf52ReU\n6hlAnAJxnFthGt7ZUURTHay1dssPWe2IaTrSdhwf+yP2zTBuQSNikDzL85xL\nYpArG/e/OS79EgVF760Tur49Ohey+XEupFgTN08DI0rCQWFpXbWV+c/29bMZ\ntPZuykJD59ky8kvEdQMM6lOLA1GXaQePIt8ZGhIfhId2kQZ2qh3kZxMh9wgO\nO1RkXasa3Xw22Bi1jyP7ZtfCBAq2kcZtrqW3UE3i/Imen2LAGFRBVIpMQ67T\nUhGv0bLvsBgX0ZnAQ4Db+bZ2us8QD1Kvf3pcziZ7al6DvMqVcTmSvsa/BOPR\n1i1fzVMWsEIffa+co8rbkoUOdjf6QNJbDIR1VhYPZ8SFA7UxpEkbZKdewLNk\nt87g\r\n=Kop6\r\n-----END PGP SIGNATURE-----\r\n"
},
"maintainers": [
{
"name": "guybedford",
"email": "guybedford@gmail.com"
},
{
"name": "lukastaegert",
"email": "lukas.taegert@tngtech.com"
},
{
"name": "rich_harris",
"email": "richard.a.harris@gmail.com"
},
{
"name": "shellscape",
"email": "andrew@shellscape.org"
}
],
"_npmUser": {
"name": "shellscape",
"email": "andrew@shellscape.org"
},
"directories": {},
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/pluginutils_3.0.6_1580143123402_0.07500325294366705"
},
"_hasShrinkwrap": false
},
"3.0.8": {
"name": "@rollup/pluginutils",
"version": "3.0.8",
"publishConfig": {
"access": "public"
},
"description": "A set of utility functions commonly used by Rollup plugins",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/plugins.git"
},
"author": {
"name": "Rich Harris",
"email": "richard.a.harris@gmail.com"
},
"homepage": "https://github.com/rollup/plugins/tree/master/packages/pluginutils#readme",
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"main": "dist/index.js",
"engines": {
"node": ">= 8.0.0"
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm run build && pnpm run lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm run test -- --verbose",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
"lint:docs": "prettier --single-quote --write README.md",
"lint:js": "eslint --fix --cache src --ext .js,.ts",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run lint && pnpm run build",
"pretest": "pnpm run build -- --sourcemap",
"test": "ava"
},
"keywords": [
"rollup",
"plugin",
"utils"
],
"peerDependencies": {
"rollup": "^1.20.0"
},
"dependencies": {
"estree-walker": "^1.0.1"
},
"devDependencies": {
"@rollup/plugin-typescript": "^3.0.0",
"@types/estree": "0.0.39",
"@types/jest": "^24.9.0",
"@types/micromatch": "^3.1.1",
"@types/node": "^12.12.25",
"micromatch": "^4.0.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"typescript": "^3.7.5"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"module": "dist/index.es.js",
"nyc": {
"extension": [
".js",
".ts"
]
},
"types": "types/index.d.ts",
"_id": "@rollup/pluginutils@3.0.8",
"_nodeVersion": "12.3.1",
"_npmVersion": "6.11.2",
"dist": {
"integrity": "sha512-rYGeAc4sxcZ+kPG/Tw4/fwJODC3IXHYDH4qusdN/b6aLw5LPUbzpecYbEJh4sVQGPFJxd2dBU4kc1H3oy9/bnw==",
"shasum": "4e94d128d94b90699e517ef045422960d18c8fde",
"tarball": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.8.tgz",
"fileCount": 7,
"unpackedSize": 239163,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeNcKzCRA9TVsSAnZWagAAouMP/iLgAP8JDdK8LFQ0GClb\nq0JbA2DDK0f3J0vyiZHz+HtKlM6ilT0upKWzERn6i36Riw2oOJnmef28lnLA\n0vcn3G9VRZr8cTiNQ0U20Zi8SmYpRZ7AIy1weboxulz/eAvEwrzZAwBlZc8S\nGoIECZhl4BBWNE+O5Q+tDqPNPyV8DbXYhYd2xUCAJosvh3jh4qpBM1VeL60T\nzYFv+n08dij/Iw6Nr8po1auaXqAxuZijb9yZvWgiGLAUFfsFPGsMnj8iQ/GR\nKAspYOkoijkvRMFN8U0Uc1sAXQeulb/0JnA/wLZRBpXwuV381xxA8T5cKUrt\njX7o+nCN7dn0P+s2HvCYmwNhoS0ggumROTxrNW+niJsY+fY7tnX9wX/Bmqbp\ncczaYDbd0rvbr5J1ovvzjlWZI/+o11XnyBt+j61b6Ou9rINyWJ5EbpCpGrr/\nQdjhvSV4AxbyXB92uYWVXD+NnsK3HHw/RRdd1X9yzlqq6U4+YrBavH6Il8vK\n7aMbqykhLgHvctT93lUaDCs3OvrIv0L/UUl/xQwXD4QVlMrbbLq6ZRT9TjGt\nFpKCSUCS+g2cKP0PU9styF/rMiFRqmdPe8CbdQAfFcoR2hVQsqdooPa1a40M\nXv4zt6tFuuz7NA8CLrwB1l/GK3Y6qVGlYk3d9dsWJUA7swpIFuIXnawEF+3f\nwyiF\r\n=Zv+N\r\n-----END PGP SIGNATURE-----\r\n"
},
"maintainers": [
{
"name": "guybedford",
"email": "guybedford@gmail.com"
},
{
"name": "lukastaegert",
"email": "lukas.taegert@tngtech.com"
},
{
"name": "rich_harris",
"email": "richard.a.harris@gmail.com"
},
{
"name": "shellscape",
"email": "andrew@shellscape.org"
}
],
"_npmUser": {
"name": "shellscape",
"email": "andrew@shellscape.org"
},
"directories": {},
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/pluginutils_3.0.8_1580581555432_0.1519147162813821"
},
"_hasShrinkwrap": false
},
"3.0.9": {
"name": "@rollup/pluginutils",
"version": "3.0.9",
"publishConfig": {
"access": "public"
},
"description": "A set of utility functions commonly used by Rollup plugins",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/plugins.git"
},
"author": {
"name": "Rich Harris",
"email": "richard.a.harris@gmail.com"
},
"homepage": "https://github.com/rollup/plugins/tree/master/packages/pluginutils#readme",
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"main": "dist/index.js",
"engines": {
"node": ">= 8.0.0"
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm run build && pnpm run lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm run test -- --verbose",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
"lint:docs": "prettier --single-quote --write README.md",
"lint:js": "eslint --fix --cache src test types --ext .js,.ts",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run lint && pnpm run build",
"pretest": "pnpm run build -- --sourcemap",
"test": "ava"
},
"keywords": [
"rollup",
"plugin",
"utils"
],
"peerDependencies": {
"rollup": "^1.20.0||^2.0.0"
},
"dependencies": {
"@types/estree": "0.0.39",
"estree-walker": "^1.0.1",
"micromatch": "^4.0.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-typescript": "^3.0.0",
"@types/jest": "^24.9.0",
"@types/micromatch": "^3.1.1",
"@types/node": "^12.12.25",
"typescript": "^3.7.5"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"module": "dist/index.es.js",
"nyc": {
"extension": [
".js",
".ts"
]
},
"types": "types/index.d.ts",
"_id": "@rollup/pluginutils@3.0.9",
"_nodeVersion": "12.15.0",
"_npmVersion": "6.14.3",
"dist": {
"integrity": "sha512-TLZavlfPAZYI7v33wQh4mTP6zojne14yok3DNSLcjoG/Hirxfkonn6icP5rrNWRn8nZsirJBFFpijVOJzkUHDg==",
"shasum": "aa6adca2c45e5a1b950103a999e3cddfe49fd775",
"tarball": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.9.tgz",
"fileCount": 7,
"unpackedSize": 42447,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekm8+CRA9TVsSAnZWagAA0UcQAIDXpBav/A7w7q865gBH\n/7DI5BPar3nnN5WYPCeoV9d3o/gWj9mmTHAe/ys05EmvO43WJlYSVZJPMw//\np8q24toGn4zSP8MiziYRRjOFH5IFW12P4JCedUHgrAgrQCQ7QhECTTLYvMo8\nx+z0xchgradh/VgsCyoVWIGBuMIxiwW1rjnjQZbs312apO8IU1miUk6EAcxD\nOV+kUekNordX6MtM8nAg+QIVPkakMmjEXrRxtIWR4zpUmYYKYWXG6OtAjL4t\nxzj838ztM/U+0S/LJ/QxTbGWJRfl0Zp4uZhSFglEP6kZ9eNdB30P/JVsfLSv\n6hyQKTl1jxLFrMmev7mZCQMcffqPe54hI9hLB/pQ5UXxaUekCij/kvdEyJ8k\nXDe7ajbe5gDMIwPMbJYbjMao8AlcTX8hV4woPdAX+W7ZQmIxgk3WuNp8QdCi\nSOYNCqIsldGqy9jkFMbownXCWdhGQfrQjXwY+mPdK0/SGN+OQ7yC8Dee4uNH\n7WRIocLagxh480qEhaSvV2g5VZXXxRwLu1uYTMxs3sBk2o/V7pyrvMVBdKjx\n7ftOD5NLiTeyD34G/+gnmMIVjIDgzMyBVPBNDKmsIol9F1+bLn+4pDCFXhWN\nfmsdjdnrriCPVYDoiT+ZJS8Cmh9fPw7yPa8K6ALTAa2bk3nj098jrGjNXPlY\nWewH\r\n=e24U\r\n-----END PGP SIGNATURE-----\r\n"
},
"maintainers": [
{
"name": "guybedford",
"email": "guybedford@gmail.com"
},
{
"name": "lukastaegert",
"email": "lukas.taegert@tngtech.com"
},
{
"name": "rich_harris",
"email": "richard.a.harris@gmail.com"
},
{
"name": "shellscape",
"email": "andrew@shellscape.org"
}
],
"_npmUser": {
"name": "shellscape",
"email": "andrew@shellscape.org"
},
"directories": {},
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/pluginutils_3.0.9_1586655038193_0.9741112186231953"
},
"_hasShrinkwrap": false
},
"3.0.10": {
"name": "@rollup/pluginutils",
"version": "3.0.10",
"publishConfig": {
"access": "public"
},
"description": "A set of utility functions commonly used by Rollup plugins",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/plugins.git"
},
"author": {
"name": "Rich Harris",
"email": "richard.a.harris@gmail.com"
},
"homepage": "https://github.com/rollup/plugins/tree/master/packages/pluginutils#readme",
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"main": "dist/index.js",
"engines": {
"node": ">= 8.0.0"
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm run build && pnpm run lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm run test -- --verbose",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
"lint:docs": "prettier --single-quote --write README.md",
"lint:js": "eslint --fix --cache src test types --ext .js,.ts",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run lint && pnpm run build",
"pretest": "pnpm run build -- --sourcemap",
"test": "ava"
},
"keywords": [
"rollup",
"plugin",
"utils"
],
"peerDependencies": {
"rollup": "^1.20.0||^2.0.0"
},
"dependencies": {
"@types/estree": "0.0.39",
"estree-walker": "^1.0.1",
"picomatch": "^2.2.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-typescript": "^3.0.0",
"@types/jest": "^24.9.0",
"@types/node": "^12.12.25",
"@types/picomatch": "^2.2.1",
"typescript": "^3.7.5"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"module": "dist/index.es.js",
"nyc": {
"extension": [
".js",
".ts"
]
},
"types": "types/index.d.ts",
"_id": "@rollup/pluginutils@3.0.10",
"_nodeVersion": "14.1.0",
"_npmVersion": "6.14.4",
"dist": {
"integrity": "sha512-d44M7t+PjmMrASHbhgpSbVgtL6EFyX7J4mYxwQ/c5eoaE6N2VgCgEcWVzNnwycIloti+/MpwFr8qfw+nRw00sw==",
"shasum": "a659b9025920378494cd8f8c59fbf9b3a50d5f12",
"tarball": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.10.tgz",
"fileCount": 7,
"unpackedSize": 42549,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerfQeCRA9TVsSAnZWagAAIlgP/3fTpmPulZuo7o7PtnKh\nrm8iOHEijafmda/Gb2KK4WLT/6sR5EW2m3lViLe5pcuw5Wyjjo+3STu10snW\n2mbKQH7PZUUPuupggvGLAOBrNa6uP/p6ntlOhJpwIKwEMyNs/G+hsPEdHNYS\nq6SqqwAiz7qLd+wu3l2r4E3nQIKJBfxvfTWRaxCPTQ+mUyRJO8Do1Cbdw84f\nRRSR6R5BOB9exAYDBbqLar/2ONaO3oNyOvbXZcRtVE8E2hr9HuwOCIdGe15i\nV1K8EdpI7wYjmsRBbjUnOZm0AFQ23XrDyeRzBF/MVf3fPcXBGbv6ClN67CDL\nuSHYWaQF/sx0OmAng3Ido8GC6j0W/y9885O/xPeiVyn96qwYLj1EoMkBsD3d\nGVJxPW3wy1wLFcefCeUOY7eMhhoIb6mFaEed12eeEFN1lr6B7nc9De2knS9h\n0xxBHXcm1c2NwPp/XHsNFS+BSg9Q6a/csH5+YNPpvcYlyPglj/dTo6iauL4k\nVWY5QP2P7ZKaJ5lNWnClb0K/wVHNkhHZqT9UXD5SpsJ97C4r3RWU2ec2hlev\nibT17isz56LkRJz9PZa33KcTxb1AW92V9+RyEwTjwmXOFabE4kRIRX4sse7f\nNaIa4rCN2RmHvB89o1sNbkv83B1dj/QmlOVYZMw7dH+r4P20Y3Fn/1Tw64G1\nw8F4\r\n=yT0y\r\n-----END PGP SIGNATURE-----\r\n"
},
"maintainers": [
{
"name": "guybedford",
"email": "guybedford@gmail.com"
},
{
"name": "lukastaegert",
"email": "lukas.taegert@tngtech.com"
},
{
"name": "rich_harris",
"email": "richard.a.harris@gmail.com"
},
{
"name": "shellscape",
"email": "andrew@shellscape.org"
}
],
"_npmUser": {
"name": "shellscape",
"email": "andrew@shellscape.org"
},
"directories": {},
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/pluginutils_3.0.10_1588458526134_0.9996621899329823"
},
"_hasShrinkwrap": false
},
"3.1.0": {
"name": "@rollup/pluginutils",
"version": "3.1.0",
"publishConfig": {
"access": "public"
},
"description": "A set of utility functions commonly used by Rollup plugins",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/plugins.git"
},
"author": {
"name": "Rich Harris",
"email": "richard.a.harris@gmail.com"
},
"homepage": "https://github.com/rollup/plugins/tree/master/packages/pluginutils#readme",
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"main": "./dist/cjs/index.js",
"engines": {
"node": ">= 8.0.0"
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm run build && pnpm run lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm run test -- --verbose",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
"lint:docs": "prettier --single-quote --write README.md",
"lint:js": "eslint --fix --cache src test types --ext .js,.ts",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run lint && pnpm run build",
"pretest": "pnpm run build -- --sourcemap",
"test": "ava"
},
"keywords": [
"rollup",
"plugin",
"utils"
],
"peerDependencies": {
"rollup": "^1.20.0||^2.0.0"
},
"dependencies": {
"@types/estree": "0.0.39",
"estree-walker": "^1.0.1",
"picomatch": "^2.2.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-typescript": "^3.0.0",
"@types/jest": "^24.9.0",
"@types/node": "^12.12.25",
"@types/picomatch": "^2.2.1",
"typescript": "^3.7.5"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"exports": {
"require": "./dist/cjs/index.js",
"import": "./dist/es/index.js"
},
"module": "./dist/es/index.js",
"nyc": {
"extension": [
".js",
".ts"
]
},
"type": "commonjs",
"types": "types/index.d.ts",
"_id": "@rollup/pluginutils@3.1.0",
"_nodeVersion": "14.1.0",
"_npmVersion": "6.14.4",
"dist": {
"integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==",
"shasum": "706b4524ee6dc8b103b3c995533e5ad680c02b9b",
"tarball": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz",
"fileCount": 8,
"unpackedSize": 47695,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2k3wCRA9TVsSAnZWagAA68kP/je7R7U+eu62dryYXwrs\ngUXTcTxZIIorAKMxiWLnbBVKMxnxidc1cW/cIeMVIgO4RCD/0civMa5OXqPB\nWGHIkFdAUylD9TbXtFuCY8lMLUtHc3XJ/umaQxADY3ftDLjqDRJp5EkSbpkX\nxfbHNxm6wfUgkAF4qavrHu7Fk1yhoQBIwyb2zcpr2g8GafJukh7/aP6K8zEK\nu5kb/8ORdeTPyngYKZE5ZHXJ9r0lbP27UVnTzqhP/s5hYnHjbnCgB1BNfm0a\n4igJeikgA7PWN8R/VIBsNR0jpXpmOODcp4r/Za9LZe8fHEwITSOzRw/SIh/5\ndUoXttHw42V4555n5eC4CBHhLVplrtuoE14NVKrF853f4jsvqWUQwX9LHBli\n17u3/WGg8psVW64B2Xs+8GBJx+/vfu/KXWiB2UnfFM7EvJlTduL/4nmDA7om\nrV6m4NLROXKvENSgEQjI0MzGHCThHaSDM/ocIxw2vHOZhHP3l4/JJjGO+i7f\ng1VQ10QoW17Lk4lytDoydVqh9VE3YrBoB8IlJ/Bngn6htTCxaK7VqMdZrI4W\nAVl2+0srRlnbowNmPsISg/ZMyFBWAAMspdPuGa7Xt1tF3P8Xj8VJJwtu2uoo\n9ewBNEB3CK6lwpsME7GghuHZT/DTnLZ7MlqvSlKp1AQZU+lr+CUJ4k54mEpQ\nEaBI\r\n=rcTW\r\n-----END PGP SIGNATURE-----\r\n"
},
"maintainers": [
{
"name": "guybedford",
"email": "guybedford@gmail.com"
},
{
"name": "lukastaegert",
"email": "lukas.taegert@tngtech.com"
},
{
"name": "rich_harris",
"email": "richard.a.harris@gmail.com"
},
{
"name": "shellscape",
"email": "andrew@shellscape.org"
}
],
"_npmUser": {
"name": "shellscape",
"email": "andrew@shellscape.org"
},
"directories": {},
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/pluginutils_3.1.0_1591365104573_0.041346358307642994"
},
"_hasShrinkwrap": false
},
"4.0.0": {
"name": "@rollup/pluginutils",
"version": "4.0.0",
"publishConfig": {
"access": "public"
},
"description": "A set of utility functions commonly used by Rollup plugins",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/plugins.git"
},
"author": {
"name": "Rich Harris",
"email": "richard.a.harris@gmail.com"
},
"homepage": "https://github.com/rollup/plugins/tree/master/packages/pluginutils#readme",
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"engines": {
"node": ">= 8.0.0"
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm run build && pnpm run lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm run test -- --verbose",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
"lint:docs": "prettier --single-quote --arrow-parens avoid --trailing-comma none --write README.md",
"lint:js": "eslint --fix --cache src test types --ext .js,.ts",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run lint && pnpm run build",
"pretest": "pnpm run build -- --sourcemap",
"test": "ava"
},
"keywords": [
"rollup",
"plugin",
"utils"
],
"peerDependencies": {
"rollup": "^1.20.0||^2.0.0"
},
"dependencies": {
"@types/estree": "0.0.45",
"estree-walker": "^2.0.1",
"picomatch": "^2.2.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-typescript": "^5.0.2",
"@types/node": "^14.0.26",
"@types/picomatch": "^2.2.1",
"rollup": "^2.23.0"
},
"types": "types/index.d.ts",
"ava": {
"babel": {
"compileEnhancements": false
},
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"exports": {
"require": "./dist/cjs/index.js",
"import": "./dist/es/index.js"
},
"nyc": {
"extension": [
".js",
".ts"
]
},
"type": "commonjs",
"_id": "@rollup/pluginutils@4.0.0",
"_nodeVersion": "12.18.1",
"_npmVersion": "6.14.5",
"dist": {
"integrity": "sha512-b5QiJRye4JlSg29bKNEECoKbLuPXZkPEHSgEjjP1CJV1CPdDBybfYHfm6kyq8yK51h/Zsyl8OvWUrp0FUBukEQ==",
"shasum": "e18e9f5a3925779fc15209dd316c1bd260d195ef",
"tarball": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.0.0.tgz",
"fileCount": 8,
"unpackedSize": 50170,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNUjrCRA9TVsSAnZWagAAOKcP/2Hig4t+Gi/Quzwr6P4w\nSfcrMSt5Y2sL8LmeVSpGObsw1Tfctt6Yy563efm/a/FVzLm8tzlVwlLLyni6\npplV1ITVG7S+xuO8U54XVijHPJKlS2t0M0alzUqnaerEQG/KAlzhoP78NEuJ\n9WMQplsWEKSUmbSmg4Tyf2Ek3FLlf/ZjzXOxVpIV9axXt0kNzxMX5YuEGLUU\nzVHM/HSvYLgw9jLrreENhDu8ee9xBvpJwqEzDTjqJnuG5DOasS/yoPcN3vND\nqQyWDeYVulwg0WlZdvFH81lY25FRiaLMK4eg3eTrd425JVWABQQK/ImBOkz3\n+avD7Iv6KKrYQ7prcn5xOV0T3gx0lgsB/a56DnLIMUoGdQp1HQnmoCSqr6cA\nczhlQdXWIRqUye1j/Ypyr/MAwxWDa652TdvDMNeO9LX+36uYbQ+mkPlsO5bi\nOWPf8AvjCzMMg92kGk1v0qGKgVZS7am/tfDZdN07TiBdAzVvIXzbENUfEWrU\nPXjX7CnDo1tEAxi6u5fVk51J3fpJFnZiVdFfwJyYC3zrv03irE6ck1NPUTwl\nz8HsX+/IOZN1RVwTRvUuGZLZgk5XrHA3Eh2v5VdavPiAUtrlRksWcGi+9mL9\nCzZDMJo6lwVMjwFrdcjZc4zNf+CFmDokvdFdyiJhkspyvWt8ZnISKL8Okgkj\nTdj4\r\n=lzpE\r\n-----END PGP SIGNATURE-----\r\n"
},
"maintainers": [
{
"name": "guybedford",
"email": "guybedford@gmail.com"
},
{
"name": "lukastaegert",
"email": "lukas.taegert@tngtech.com"
},
{
"name": "rich_harris",
"email": "richard.a.harris@gmail.com"
},
{
"name": "shellscape",
"email": "andrew@shellscape.org"
}
],
"_npmUser": {
"name": "shellscape",
"email": "andrew@shellscape.org"
},
"directories": {},
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/pluginutils_4.0.0_1597327595157_0.4106297704671671"
},
"_hasShrinkwrap": false
}
},
"time": {
"created": "2019-11-25T19:15:21.415Z",
"3.0.0": "2019-11-25T19:15:21.564Z",
"modified": "2020-08-13T14:06:37.585Z",
"3.0.1": "2019-12-21T21:34:36.266Z",
"3.0.2": "2020-01-04T15:30:37.473Z",
"3.0.3": "2020-01-07T14:49:37.221Z",
"3.0.4": "2020-01-10T20:55:35.129Z",
"3.0.5": "2020-01-25T01:07:54.231Z",
"3.0.6": "2020-01-27T16:38:43.534Z",
"3.0.8": "2020-02-01T18:25:55.609Z",
"3.0.9": "2020-04-12T01:30:38.332Z",
"3.0.10": "2020-05-02T22:28:46.265Z",
"3.1.0": "2020-06-05T13:51:44.703Z",
"4.0.0": "2020-08-13T14:06:35.334Z"
},
"maintainers": [
{
"name": "guybedford",
"email": "guybedford@gmail.com"
},
{
"name": "lukastaegert",
"email": "lukas.taegert@tngtech.com"
},
{
"name": "rich_harris",
"email": "richard.a.harris@gmail.com"
},
{
"name": "shellscape",
"email": "andrew@shellscape.org"
}
],
"description": "A set of utility functions commonly used by Rollup plugins",
"homepage": "https://github.com/rollup/plugins/tree/master/packages/pluginutils#readme",
"keywords": [
"rollup",
"plugin",
"utils"
],
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/plugins.git"
},
"author": {
"name": "Rich Harris",
"email": "richard.a.harris@gmail.com"
},
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"license": "MIT",
"readme": "[npm]: https://img.shields.io/npm/v/@rollup/pluginutils\n[npm-url]: https://www.npmjs.com/package/@rollup/pluginutils\n[size]: https://packagephobia.now.sh/badge?p=@rollup/pluginutils\n[size-url]: https://packagephobia.now.sh/result?p=@rollup/pluginutils\n\n[![npm][npm]][npm-url]\n[![size][size]][size-url]\n[](https://liberamanifesto.com)\n\n# @rollup/pluginutils\n\nA set of utility functions commonly used by 🍣 Rollup plugins.\n\n## Requirements\n\nThis plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v8.0.0+) and Rollup v1.20.0+.\n\n## Install\n\nUsing npm:\n\n```console\nnpm install @rollup/pluginutils --save-dev\n```\n\n## Usage\n\n```js\nimport utils from '@rollup/pluginutils';\n//...\n```\n\n## API\n\nAvailable utility functions are listed below:\n\n_Note: Parameter names immediately followed by a `?` indicate that the parameter is optional._\n\n### addExtension\n\nAdds an extension to a module ID if one does not exist.\n\nParameters: `(filename: String, ext?: String)`
\nReturns: `String`\n\n```js\nimport { addExtension } from '@rollup/pluginutils';\n\nexport default function myPlugin(options = {}) {\n return {\n resolveId(code, id) {\n // only adds an extension if there isn't one already\n id = addExtension(id); // `foo` -> `foo.js`, `foo.js -> foo.js`\n id = addExtension(id, '.myext'); // `foo` -> `foo.myext`, `foo.js -> `foo.js`\n }\n };\n}\n```\n\n### attachScopes\n\nAttaches `Scope` objects to the relevant nodes of an AST. Each `Scope` object has a `scope.contains(name)` method that returns `true` if a given name is defined in the current scope or a parent scope.\n\nParameters: `(ast: Node, propertyName?: String)`
\nReturns: `Object`\n\nSee [rollup-plugin-inject](https://github.com/rollup/rollup-plugin-inject) or [rollup-plugin-commonjs](https://github.com/rollup/rollup-plugin-commonjs) for an example of usage.\n\n```js\nimport { attachScopes } from '@rollup/pluginutils';\nimport { walk } from 'estree-walker';\n\nexport default function myPlugin(options = {}) {\n return {\n transform(code) {\n const ast = this.parse(code);\n\n let scope = attachScopes(ast, 'scope');\n\n walk(ast, {\n enter(node) {\n if (node.scope) scope = node.scope;\n\n if (!scope.contains('foo')) {\n // `foo` is not defined, so if we encounter it,\n // we assume it's a global\n }\n },\n leave(node) {\n if (node.scope) scope = scope.parent;\n }\n });\n }\n };\n}\n```\n\n### createFilter\n\nConstructs a filter function which can be used to determine whether or not certain modules should be operated upon.\n\nParameters: `(include?: , exclude?: , options?: Object)`
\nReturns: `String`\n\n#### `include` and `exclude`\n\nType: `String | RegExp | Array[...String|RegExp]`
\n\nA valid [`picomatch`](https://github.com/micromatch/picomatch#globbing-features) pattern, or array of patterns. If `options.include` is omitted or has zero length, filter will return `true` by default. Otherwise, an ID must match one or more of the `picomatch` patterns, and must not match any of the `options.exclude` patterns.\n\nNote that `picomatch` patterns are very similar to [`minimatch`](https://github.com/isaacs/minimatch#readme) patterns, and in most use cases, they are interchangeable. If you have more specific pattern matching needs, you can view [this comparison table](https://github.com/micromatch/picomatch#library-comparisons) to learn more about where the libraries differ.\n\n#### `options`\n\n##### `resolve`\n\nType: `String | Boolean | null`\n\nOptionally resolves the patterns against a directory other than `process.cwd()`. If a `String` is specified, then the value will be used as the base directory. Relative paths will be resolved against `process.cwd()` first. If `false`, then the patterns will not be resolved against any directory. This can be useful if you want to create a filter for virtual module names.\n\n#### Usage\n\n```js\nimport { createFilter } from '@rollup/pluginutils';\n\nexport default function myPlugin(options = {}) {\n // assume that the myPlugin accepts options of `options.include` and `options.exclude`\n var filter = createFilter(options.include, options.exclude, {\n resolve: '/my/base/dir'\n });\n\n return {\n transform(code, id) {\n if (!filter(id)) return;\n\n // proceed with the transformation...\n }\n };\n}\n```\n\n### dataToEsm\n\nTransforms objects into tree-shakable ES Module imports.\n\nParameters: `(data: Object)`
\nReturns: `String`\n\n#### `data`\n\nType: `Object`\n\nAn object to transform into an ES module.\n\n#### Usage\n\n```js\nimport { dataToEsm } from '@rollup/pluginutils';\n\nconst esModuleSource = dataToEsm(\n {\n custom: 'data',\n to: ['treeshake']\n },\n {\n compact: false,\n indent: '\\t',\n preferConst: false,\n objectShorthand: false,\n namedExports: true\n }\n);\n/*\nOutputs the string ES module source:\n export const custom = 'data';\n export const to = ['treeshake'];\n export default { custom, to };\n*/\n```\n\n### extractAssignedNames\n\nExtracts the names of all assignment targets based upon specified patterns.\n\nParameters: `(param: Node)`
\nReturns: `Array[...String]`\n\n#### `param`\n\nType: `Node`\n\nAn `acorn` AST Node.\n\n#### Usage\n\n```js\nimport { extractAssignedNames } from '@rollup/pluginutils';\nimport { walk } from 'estree-walker';\n\nexport default function myPlugin(options = {}) {\n return {\n transform(code) {\n const ast = this.parse(code);\n\n walk(ast, {\n enter(node) {\n if (node.type === 'VariableDeclarator') {\n const declaredNames = extractAssignedNames(node.id);\n // do something with the declared names\n // e.g. for `const {x, y: z} = ... => declaredNames = ['x', 'z']\n }\n }\n });\n }\n };\n}\n```\n\n### makeLegalIdentifier\n\nConstructs a bundle-safe identifier from a `String`.\n\nParameters: `(str: String)`
\nReturns: `String`\n\n#### Usage\n\n```js\nimport { makeLegalIdentifier } from '@rollup/pluginutils';\n\nmakeLegalIdentifier('foo-bar'); // 'foo_bar'\nmakeLegalIdentifier('typeof'); // '_typeof'\n```\n\n## Meta\n\n[CONTRIBUTING](/.github/CONTRIBUTING.md)\n\n[LICENSE (MIT)](/LICENSE)\n",
"readmeFilename": "README.md"
}