{"_id":"rollup-plugin-pure","_rev":"7-01585cf25a6bd4e2b1bb799fbc9ea31e","name":"rollup-plugin-pure","dist-tags":{"latest":"0.4.0"},"versions":{"0.0.2":{"name":"rollup-plugin-pure","version":"0.0.2","keywords":["vite","rollup","pure-annotation"],"author":{"url":"https://github.com/danielroe","name":"Daniel Roe","email":"daniel@roe.dev"},"license":"MIT","_id":"rollup-plugin-pure@0.0.2","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"homepage":"https://github.com/danielroe/rollup-plugin-pure#readme","bugs":{"url":"https://github.com/danielroe/rollup-plugin-pure/issues"},"dist":{"shasum":"f0facab7e1179406390bb751e212744c849d4076","tarball":"https://registry.npmjs.org/rollup-plugin-pure/-/rollup-plugin-pure-0.0.2.tgz","fileCount":6,"integrity":"sha512-tWFiV+fqoG+kHJYjItLnjxJNadcc9+qwJOqCiHpqv/QNfByyIxvf6oeKEbwIT5SWPt79tkU5ngwZ1b+oZ7X81g==","signatures":[{"sig":"MEUCIQCkwI2lNF9MkAEyq3XlwMQxKN30qT5swT9JbkKtFG0ToAIgHDYRE7ToEx7bXYshk7MMJktMvOAQnjyHV38cIHMKmas=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7lTNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoghRAAhLgHuCzNbdW0ufJ6GdInDQXFxnR8k87xEFQHA/mbIvphaoYm\r\nvbprCPY4SmzSTaEJOuR9ywGYtvWy+szMPRj2UG5vGmn4w8pSTmDdMh9O8Tk3\r\nc5mORwM7bEodI1IZdG2ljneX+g0+CqAhRYxlVatqQtBW9TnvX2kOxgIEjiU3\r\n+JOViefYGkdeKmCV6jgYCP/mb4TvuDuRmeqEm115VxqMwzxXSPqDKtVq0LHV\r\nvYvfkIaRsSSKwzSNpZNr/yLHWzn2qpxAH5NHGWjQBhCnR8OC/ZH7iwxe6Swk\r\nwI+xR88zTB4S6l9qwr/nF9Wh0aNMis+p7DzlH6+7cisxwRqeBuoQlJFrubSr\r\nlyla9ySzoSIbEZGMi/wSWBwjwdzuSCyAfAAf0JzHyRGd4udkuDaF2wmywDAj\r\n87g147YVEKH9fk+KCXAWWl+GMhC9/uET5nRbYcF7V468Y5BOJsmqHTjss9zP\r\nn/2gxtDyHLAyLcmWhWrzn4cVeppSfuXgUSTfs0NbaWuLRgvnmO475iaaKXm3\r\nuadWGouWdbde5CNG5kpCuCz+bFz0IL9oJf798NRd9AcIg2nUGzFzlwt9uOaZ\r\nLPaNmo6H4unhdg72iNTE2mhPfn+Gb4QEg+eyTzXFoKyQrtdSpWIbWLZKyrY3\r\nKfpoZp7KnQJM1tQ3V8EPRbu6Pv3J6IHDNLs=\r\n=6+y/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"6425123a0a8ad9d9b84b38b240c09960dd8a117c","scripts":{"dev":"nuxi dev playground","lint":"pnpm lint:all:eslint && pnpm lint:all:prettier","test":"vitest run","build":"unbuild","prepack":"pnpm build","prepare":"husky install","release":"bumpp && npm publish","dev:build":"nuxi build playground","test:types":"tsc --noEmit","dev:prepare":"unbuild --stub","lint:eslint":"eslint --fix","postpublish":"pinst --enable","_postinstall":"husky install","lint:prettier":"prettier --write --loglevel warn","prepublishOnly":"pnpm lint && pnpm test && pinst --disable","lint:all:eslint":"pnpm lint:eslint --ext .ts,.js,.mjs,.cjs .","lint:all:prettier":"pnpm lint:prettier \"{src,test}/**/*.{js,json,ts}\""},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"repository":{"url":"git+https://github.com/danielroe/rollup-plugin-pure.git","type":"git"},"_npmVersion":"8.19.2","description":"Annotate functions as pure for Rollup","directories":{},"resolutions":{"rollup-plugin-pure":"link:."},"_nodeVersion":"18.12.1","dependencies":{"magic-string":"^0.29.0","strip-literal":"^1.0.1","@rollup/pluginutils":"^5.0.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.27.0","devDependencies":{"vite":"^4.1.1","bumpp":"^8.2.1","execa":"^7.0.0","husky":"8.0.3","pathe":"^1.1.0","pinst":"3.0.0","eslint":"8.33.0","rollup":"^3.15.0","vitest":"0.28.4","unbuild":"^1.1.1","prettier":"2.8.4","typescript":"4.9.5","expect-type":"0.15.0","lint-staged":"13.1.1","magic-regexp":"^0.6.2","@vitest/coverage-c8":"0.28.4","eslint-config-prettier":"8.6.0","eslint-plugin-prettier":"4.2.1","@typescript-eslint/parser":"^5.52.0","@typescript-eslint/eslint-plugin":"^5.52.0"},"peerDependencies":{"rollup":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rollup-plugin-pure_0.0.2_1676563661544_0.7654204954424428","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"rollup-plugin-pure","version":"0.1.0","keywords":["vite","rollup","pure-annotation"],"author":{"url":"https://github.com/danielroe","name":"Daniel Roe","email":"daniel@roe.dev"},"license":"MIT","_id":"rollup-plugin-pure@0.1.0","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"homepage":"https://github.com/danielroe/rollup-plugin-pure#readme","bugs":{"url":"https://github.com/danielroe/rollup-plugin-pure/issues"},"dist":{"shasum":"f0e932151edd07f440b9257d7195d82241a03bc8","tarball":"https://registry.npmjs.org/rollup-plugin-pure/-/rollup-plugin-pure-0.1.0.tgz","fileCount":6,"integrity":"sha512-bzJTP1vCihHiRgKs1+2KMi6LzQ0shM2XwJqVABLWEtAzKeX0EJWByA2d8wj1qhbBCNXxnKxhm1axFI1dFXAfTQ==","signatures":[{"sig":"MEUCID/Ormn0L4KmYpF3QpauTkHBLMpWGHF0p+NnEwU1iNqoAiEA4Dl4vK3vRwfCpwqqWJCp4dADRDxLpsh5Z4AVLMrNNk8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkU0xaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBZw//VjbjHgxSKck3JC6wNXZG7QcjtwSb+AfR3gQhhDPfAztIG69F\r\nY2vvXqmnfZp3Gn83rbu2gevMRu2FltxC73QVOlg3A5lVToSYszou00CaPu9m\r\nUoz2jUNJ3XYDugKIEgnOTZXe7cVMSvFgTSDLw9CwQgL/H0ws5cXZfcKnEals\r\nO7euBB+TIeZgSMI569QjhyccVofSV6Qp2n/OwHmB4sHVpUHZIZzHjaYTdRP2\r\nfEzWloILYT/FvqDuFRovCNqXYri82w0QRqm1kXoTysAMtsV5wl7omA3QLJp/\r\nOxsR388d/QgP++FnG1v5W1gbiezN5atwuEiHE4Z4t0CiYtW2UB8PNdjKQt9l\r\nSrEnO+uUSUTNTEbEcTGAGwI7trlnUbxsUgxT5PX81S34k9Cei7Xk4d92PAIG\r\nza0i4CpAauogvvJd27Nc5O27cuYWuMG0VDPJ3thbaT6vWGWyR86RW0X5Cy80\r\nMkLbSEe2U6mG6mqfXNM6ocjjCfwEfIL0KXCI1/9GBfEqBlV35CEnJzrTD6p3\r\n7Q2McYRKzUKU/Vz6UdOarkJqMmVOJY9/5RShqUMw4SImkSSvJtL6CdK1YUQn\r\n+7wDYQjmtFswylxSAAi8GlvmdLWHD9X1vmVE97qJyOgCKF2m0sM1XzpD+6jd\r\niy5uSQCHgmlLl7/QWqgNIMFXz6SZaFRC5EI=\r\n=zbZy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"e1bc4aa3ae5e7e0287d3e726e8a47ae2a7a33bdb","scripts":{"dev":"nuxi dev playground","lint":"pnpm lint:all:eslint && pnpm lint:all:prettier","test":"vitest run","build":"unbuild","prepack":"pnpm build","prepare":"husky install","release":"bumpp && npm publish","dev:build":"nuxi build playground","test:types":"tsc --noEmit","dev:prepare":"unbuild --stub","lint:eslint":"eslint --fix","postinstall":"husky install","lint:prettier":"prettier --write --loglevel warn","prepublishOnly":"pnpm lint && pnpm test","lint:all:eslint":"pnpm lint:eslint --ext .ts,.js,.mjs,.cjs .","lint:all:prettier":"pnpm lint:prettier \"{src,test}/**/*.{js,json,ts}\""},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"repository":{"url":"git+https://github.com/danielroe/rollup-plugin-pure.git","type":"git"},"_npmVersion":"9.5.1","description":"Annotate functions as pure for Rollup","directories":{},"resolutions":{"rollup-plugin-pure":"link:."},"_nodeVersion":"18.16.0","dependencies":{"magic-string":"^0.30.0","strip-literal":"^1.0.1","@rollup/pluginutils":"^5.0.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.4.0","devDependencies":{"vite":"4.3.4","bumpp":"9.1.0","execa":"7.1.1","husky":"8.0.3","pathe":"1.1.0","eslint":"8.39.0","rollup":"3.21.2","vitest":"0.30.1","unbuild":"1.2.1","prettier":"2.8.8","typescript":"5.0.4","expect-type":"0.15.0","lint-staged":"13.2.2","magic-regexp":"0.6.3","@vitest/coverage-c8":"0.30.1","eslint-config-prettier":"8.8.0","eslint-plugin-prettier":"4.2.1","@typescript-eslint/parser":"5.59.2","@typescript-eslint/eslint-plugin":"5.59.2"},"peerDependencies":{"rollup":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rollup-plugin-pure_0.1.0_1683180633924_0.2791043481418769","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"rollup-plugin-pure","version":"0.1.1","keywords":["vite","rollup","pure-annotation"],"author":{"url":"https://github.com/danielroe","name":"Daniel Roe","email":"daniel@roe.dev"},"license":"MIT","_id":"rollup-plugin-pure@0.1.1","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"homepage":"https://github.com/danielroe/rollup-plugin-pure#readme","bugs":{"url":"https://github.com/danielroe/rollup-plugin-pure/issues"},"dist":{"shasum":"630e76452abcc78d0c13e31f72173a9d91fa01da","tarball":"https://registry.npmjs.org/rollup-plugin-pure/-/rollup-plugin-pure-0.1.1.tgz","fileCount":6,"integrity":"sha512-LjQ4q4jKB6yzedRa3DxQzo6T2CW+WJWmzn8gkgmaNDtBFsL1nm7LIyvxKEROauuorYIk6QnWxWSRb09G9Z5CGg==","signatures":[{"sig":"MEQCIAqlOZ4KPg0YeS+SWL6aYP4ZSH/T6ZQDxmlhKQkYGYZOAiAeyZqRUltlemnhJFmXBOzKXCd7RysKchQPeKa33RRonA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8918},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"688a08f1b6290f7625efc03b50761d0ce8d2b8de","scripts":{"dev":"nuxi dev playground","lint":"pnpm lint:all:eslint && pnpm lint:all:prettier","test":"vitest run","build":"unbuild","prepack":"pnpm build","release":"bumpp && npm publish","dev:build":"nuxi build playground","test:types":"tsc --noEmit","dev:prepare":"unbuild --stub","lint:eslint":"eslint --fix","lint:prettier":"prettier --write --loglevel warn","prepublishOnly":"pnpm lint && pnpm test","lint:all:eslint":"pnpm lint:eslint --ext .ts,.js,.mjs,.cjs .","lint:all:prettier":"pnpm lint:prettier \"{src,test}/**/*.{js,json,ts}\""},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"repository":{"url":"git+https://github.com/danielroe/rollup-plugin-pure.git","type":"git"},"_npmVersion":"9.6.4","description":"Annotate functions as pure for Rollup","directories":{},"resolutions":{"rollup-plugin-pure":"link:."},"_nodeVersion":"20.1.0","dependencies":{"magic-string":"^0.30.0","strip-literal":"^1.0.1","@rollup/pluginutils":"^5.0.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.5.1","devDependencies":{"vite":"4.3.5","bumpp":"9.1.0","execa":"7.1.1","pathe":"1.1.0","eslint":"8.40.0","rollup":"3.21.7","vitest":"0.31.0","unbuild":"1.2.1","prettier":"2.8.8","typescript":"5.0.4","expect-type":"0.15.0","lint-staged":"13.2.2","magic-regexp":"0.7.0","simple-git-hooks":"^2.8.1","@vitest/coverage-c8":"0.31.0","eslint-config-prettier":"8.8.0","eslint-plugin-prettier":"4.2.1","@typescript-eslint/parser":"5.59.5","@typescript-eslint/eslint-plugin":"5.59.5"},"peerDependencies":{"rollup":"^3.0.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/rollup-plugin-pure_0.1.1_1684231957563_0.8043717583792913","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"rollup-plugin-pure","version":"0.2.0","keywords":["vite","rollup","pure-annotation"],"author":{"url":"https://github.com/danielroe","name":"Daniel Roe","email":"daniel@roe.dev"},"license":"MIT","_id":"rollup-plugin-pure@0.2.0","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"homepage":"https://github.com/danielroe/rollup-plugin-pure#readme","bugs":{"url":"https://github.com/danielroe/rollup-plugin-pure/issues"},"dist":{"shasum":"cee530ef431422bb5ec857939da8e8818debe325","tarball":"https://registry.npmjs.org/rollup-plugin-pure/-/rollup-plugin-pure-0.2.0.tgz","fileCount":8,"integrity":"sha512-Y+gEqjivKvl5S6Rq6+NLXZx+DVFE/wlay+SnKQXcsAesskTGj+ia1xgMIqa9YyDaF7Ip5ilQVNpZb+2lCCrCjw==","signatures":[{"sig":"MEQCIC0q9G7G9x47Oxh/dsEgd/XfRIbx9vuGLlO/qhODrXU7AiBV1gpk5Slg4Hj3SJkOMIGumhwm9oaVOTED5WsoR7zxHg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9791},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"78350d694fa028491df70935a6573c7908fdbdb4","scripts":{"dev":"nuxi dev playground","lint":"pnpm lint:all:eslint && pnpm lint:all:prettier","test":"vitest run","build":"unbuild","prepack":"pnpm build","release":"bumpp && npm publish","dev:build":"nuxi build playground","test:types":"tsc --noEmit","dev:prepare":"unbuild --stub","lint:eslint":"eslint --fix","lint:prettier":"prettier --write --log-level warn","prepublishOnly":"pnpm lint && pnpm test","lint:all:eslint":"pnpm lint:eslint --ext .ts,.js,.mjs,.cjs .","lint:all:prettier":"pnpm lint:prettier \"{src,test}/**/*.{js,json,ts}\""},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"repository":{"url":"git+https://github.com/danielroe/rollup-plugin-pure.git","type":"git"},"_npmVersion":"9.7.2","description":"Annotate functions as pure for Rollup","directories":{},"resolutions":{"rollup-plugin-pure":"link:."},"_nodeVersion":"20.3.1","dependencies":{"magic-string":"^0.30.3","strip-literal":"^1.3.0","@rollup/pluginutils":"^5.0.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.4","devDependencies":{"vite":"4.4.9","bumpp":"9.2.0","execa":"8.0.1","pathe":"1.1.1","eslint":"8.48.0","rollup":"3.29.0","vitest":"0.34.4","unbuild":"2.0.0","prettier":"3.0.3","typescript":"5.2.2","expect-type":"0.16.0","lint-staged":"14.0.1","magic-regexp":"0.7.0","simple-git-hooks":"2.9.0","@vitest/coverage-v8":"0.34.4","eslint-config-prettier":"9.0.0","eslint-plugin-prettier":"5.0.0","@typescript-eslint/parser":"6.6.0","@typescript-eslint/eslint-plugin":"6.6.0"},"peerDependencies":{"rollup":"^3.0.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/rollup-plugin-pure_0.2.0_1694198760604_0.9685807282874201","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"rollup-plugin-pure","version":"0.2.1","keywords":["vite","rollup","pure-annotation"],"author":{"url":"https://github.com/danielroe","name":"Daniel Roe","email":"daniel@roe.dev"},"license":"MIT","_id":"rollup-plugin-pure@0.2.1","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"homepage":"https://github.com/danielroe/rollup-plugin-pure#readme","bugs":{"url":"https://github.com/danielroe/rollup-plugin-pure/issues"},"dist":{"shasum":"899a0f5305319d5c78c513df85fc32dc8db26d8e","tarball":"https://registry.npmjs.org/rollup-plugin-pure/-/rollup-plugin-pure-0.2.1.tgz","fileCount":9,"integrity":"sha512-syrId5HjF7P0EsxxSqcaQJo7csAH+o7x2kYnrJZOdYYT3ANXiTuYw/FcGi9d2MagRq5T7nYnVD5ogoHrNbGqYA==","signatures":[{"sig":"MEUCICPFnwSXUCQcKzl8X2w0Jv7eiyLPSSHkJz+WceZAtFgzAiEAx9/yTRgHcNvytmpm9FyEx3b8xhdCPTylubQl6a9Hp1o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11208},"main":"./dist/index.cjs","type":"module","_from":"file:rollup-plugin-pure-0.2.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"pnpm lint:all:eslint && pnpm lint:all:prettier","test":"vitest run","build":"unbuild","release":"bumpp && npm publish","dev:build":"nuxi build playground","test:types":"tsc --noEmit","dev:prepare":"unbuild --stub","lint:eslint":"eslint --fix","lint:prettier":"prettier --write --log-level warn","lint:all:eslint":"pnpm lint:eslint --ext .ts,.js,.mjs,.cjs .","lint:all:prettier":"pnpm lint:prettier \"{src,test}/**/*.{js,json,ts}\""},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"_resolved":"/private/var/folders/48/0bsggqvn049_nfcq7msw2njw0000gn/T/f7933428544b1bea5229042259682fae/rollup-plugin-pure-0.2.1.tgz","_integrity":"sha512-syrId5HjF7P0EsxxSqcaQJo7csAH+o7x2kYnrJZOdYYT3ANXiTuYw/FcGi9d2MagRq5T7nYnVD5ogoHrNbGqYA==","repository":{"url":"git+https://github.com/danielroe/rollup-plugin-pure.git","type":"git"},"_npmVersion":"9.7.2","description":"Annotate functions as pure for Rollup","directories":{},"resolutions":{"rollup-plugin-pure":"link:."},"_nodeVersion":"20.3.1","dependencies":{"magic-string":"^0.30.3","strip-literal":"^1.3.0","@rollup/pluginutils":"^5.0.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.4","devDependencies":{"vite":"4.4.9","bumpp":"9.2.0","execa":"8.0.1","pathe":"1.1.1","eslint":"8.48.0","rollup":"3.29.0","vitest":"0.34.4","unbuild":"2.0.0","prettier":"3.0.3","typescript":"5.2.2","expect-type":"0.16.0","lint-staged":"14.0.1","magic-regexp":"0.7.0","simple-git-hooks":"2.9.0","@vitest/coverage-v8":"0.34.4","eslint-config-prettier":"9.0.0","eslint-plugin-prettier":"5.0.0","@typescript-eslint/parser":"6.6.0","@typescript-eslint/eslint-plugin":"6.6.0"},"peerDependencies":{"rollup":"^3.0.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/rollup-plugin-pure_0.2.1_1694201689356_0.8373054740759862","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"rollup-plugin-pure","version":"0.3.0","keywords":["vite","rollup","pure-annotation"],"author":{"url":"https://github.com/danielroe","name":"Daniel Roe","email":"daniel@roe.dev"},"license":"MIT","_id":"rollup-plugin-pure@0.3.0","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"homepage":"https://github.com/danielroe/rollup-plugin-pure#readme","bugs":{"url":"https://github.com/danielroe/rollup-plugin-pure/issues"},"dist":{"shasum":"8c640569e70fe9330c98e0edbc16baf0f6101373","tarball":"https://registry.npmjs.org/rollup-plugin-pure/-/rollup-plugin-pure-0.3.0.tgz","fileCount":8,"integrity":"sha512-34Qwp3fkn0J0m1KYopSpC1KVOXBEsttN8axOzC7+Yj3jZMXcIW52csTegDe4g8qJSq8QqB3SCOxlUWI8iw3HBA==","signatures":[{"sig":"MEUCIDaeOc4eBCMEZuWvxIzTa+J61Qy/gjL9dE4a3nR0/C3yAiEA3GgKO1Tb2t04jbu7PAWQC4T930eWKGZu9ut+FvzgMgQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11064},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.cts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"3c06e0b7ca772ad7f5d1070d2a0936876702db06","scripts":{"lint":"pnpm eslint .","test":"vitest run","build":"unbuild","prepack":"pnpm build","release":"bumpp && npm publish","test:types":"tsc --noEmit","dev:prepare":"simple-git-hooks && unbuild --stub","prepublishOnly":"pnpm lint && pnpm test"},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"repository":{"url":"git+https://github.com/danielroe/rollup-plugin-pure.git","type":"git"},"_npmVersion":"10.9.0","description":"Annotate functions as pure for Rollup","directories":{},"lint-staged":{"*":["npx eslint --fix"]},"resolutions":{"rollup-plugin-pure":"link:."},"_nodeVersion":"22.12.0","dependencies":{"magic-string":"^0.30.17","estree-walker":"^3.0.3","unplugin-utils":"^0.2.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.5.2","devDependencies":{"vite":"6.2.0","bumpp":"10.0.3","execa":"9.5.2","pathe":"2.0.3","eslint":"9.21.0","rollup":"4.34.9","vitest":"3.0.7","unbuild":"3.5.0","typescript":"5.8.2","@types/node":"22.13.9","lint-staged":"15.4.3","magic-regexp":"0.8.0","@types/estree":"^1.0.6","simple-git-hooks":"2.11.1","@vitest/coverage-v8":"3.0.7","@antfu/eslint-config":"4.4.0"},"peerDependencies":{"rollup":"^3.0.0 || ^4.0.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/rollup-plugin-pure_0.3.0_1741042038595_0.42448567791828395","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"rollup-plugin-pure","type":"module","version":"0.4.0","packageManager":"pnpm@10.9.0","description":"Annotate functions as pure for Rollup","author":{"name":"Daniel Roe","email":"daniel@roe.dev","url":"https://github.com/danielroe"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/danielroe/rollup-plugin-pure.git"},"keywords":["vite","rollup","pure-annotation"],"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","types":"./dist/index.d.cts","scripts":{"build":"unbuild","dev:prepare":"simple-git-hooks && unbuild --stub","lint":"pnpm eslint .","prepack":"pnpm build","prepublishOnly":"pnpm lint && pnpm test","release":"bumpp && npm publish","test":"vitest run","test:types":"tsc --noEmit"},"peerDependencies":{"rollup":"^3.0.0 || ^4.0.0"},"dependencies":{"estree-walker":"^3.0.3","magic-string":"^0.30.17","unplugin-utils":"^0.2.4"},"devDependencies":{"@antfu/eslint-config":"4.12.0","@codspeed/vitest-plugin":"4.0.1","@types/estree":"1.0.7","@types/node":"22.14.1","@vitest/coverage-v8":"3.1.2","bumpp":"10.1.0","eslint":"9.25.1","execa":"9.5.2","lint-staged":"15.5.1","magic-regexp":"0.10.0","pathe":"2.0.3","rollup":"4.40.0","simple-git-hooks":"2.12.1","std-env":"3.9.0","typescript":"5.8.3","unbuild":"3.5.0","vite":"6.3.2","vitest":"3.1.2"},"resolutions":{"rollup-plugin-pure":"link:."},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"lint-staged":{"*":["npx eslint --fix"]},"_id":"rollup-plugin-pure@0.4.0","gitHead":"beae4c390cb1bc8ce21dd038ade494b42fd07919","bugs":{"url":"https://github.com/danielroe/rollup-plugin-pure/issues"},"homepage":"https://github.com/danielroe/rollup-plugin-pure#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-m5hnihG13c4JJ+OlBkbkxmQdmDfXyqsf3LuYa3O7YhtZ3/8OdRfTuxySSJ+wJ9qFUWJ0T6ApqEwTgYNQKVBcFg==","shasum":"6e1bfb4de1e1c6f39e2b0d34b71a236c002b156d","tarball":"https://registry.npmjs.org/rollup-plugin-pure/-/rollup-plugin-pure-0.4.0.tgz","fileCount":8,"unpackedSize":11494,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFwNj7t9yDTFmuLGGT4nhUs/BAodqXvaWirliesDztkrAiBTChrCZKdHYB9lO62gZr04+vPWMMISz6ja5HAawI+S3g=="}]},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"directories":{},"maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rollup-plugin-pure_0.4.0_1745331806707_0.4707967946533551"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-16T16:07:41.543Z","modified":"2025-04-22T14:23:27.035Z","0.0.2":"2023-02-16T16:07:41.703Z","0.1.0":"2023-05-04T06:10:34.117Z","0.1.1":"2023-05-16T10:12:37.757Z","0.2.0":"2023-09-08T18:46:00.821Z","0.2.1":"2023-09-08T19:34:49.596Z","0.3.0":"2025-03-03T22:47:18.803Z","0.4.0":"2025-04-22T14:23:26.893Z"},"bugs":{"url":"https://github.com/danielroe/rollup-plugin-pure/issues"},"author":{"name":"Daniel Roe","email":"daniel@roe.dev","url":"https://github.com/danielroe"},"license":"MIT","homepage":"https://github.com/danielroe/rollup-plugin-pure#readme","keywords":["vite","rollup","pure-annotation"],"repository":{"type":"git","url":"git+https://github.com/danielroe/rollup-plugin-pure.git"},"description":"Annotate functions as pure for Rollup","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"readme":"# `rollup-plugin-pure`\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Github Actions][github-actions-src]][github-actions-href]\n[![Codecov][codecov-src]][codecov-href]\n\n> Automatically add `/* #__PURE__ */` annotations before definition functions\n\n- [▶️ &nbsp;Online playground](https://stackblitz.com/github/danielroe/rollup-plugin-pure/tree/main/playground)\n\n## Features\n\n- ⚡️ avoids end-users bundling unused code\n\n## How it works\n\nDefinition functions (for example, in Vue with `defineComponent`) are increasingly common but do not play nice with tree-shaking. It's not possible to tell whether or not a function call which receives an object can be tree-shaken from a build, as it's possible there might be side effects.\n\nRollup supports `/* @__PURE__ */` annotations to declare this from a library author's point of view, but it can be tricky when we know that _every_ occurrence of a function call is pure.\n\nThis plugin will automatically inject the annotation before any occurrence of the function call, as well as injecting `/* @__NO_SIDE_EFFECTS__ */` annotations in front of function declarations.\n\n## Installation\n\nInstall and add `rollup-plugin-pure` to your Vite or Rollup config.\n\n```bash\npnpm add -D rollup-plugin-pure\n```\n\n```js\nimport { PluginPure } from 'rollup-plugin-pure'\nimport { defineConfig } from 'vite'\n\nexport default defineConfig({\n  plugins: [\n    PluginPure({\n      functions: ['defineComponent', /^define(Page|Meta)$/],\n      include: [/(?<!im)pure\\.js$/],\n      // exclude: [],\n      // sourcemap: true,\n    }),\n  ],\n})\n```\n\n## 💻 Development\n\n- Clone this repository\n- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`\n- Install dependencies using `pnpm install`\n- Stub module with `pnpm dev:prepare`\n- Run `pnpm dev` to start [playground](./playground) in development mode\n\n## License\n\nMade with ❤️\n\nPublished under the [MIT License](./LICENCE).\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/rollup-plugin-pure?style=flat-square\n[npm-version-href]: https://npmjs.com/package/rollup-plugin-pure\n[npm-downloads-src]: https://img.shields.io/npm/dm/rollup-plugin-pure?style=flat-square\n[npm-downloads-href]: https://npm.chart.dev/rollup-plugin-pure\n[github-actions-src]: https://img.shields.io/github/actions/workflow/status/danielroe/rollup-plugin-pure/ci.yml?branch=main\n[github-actions-href]: https://github.com/danielroe/rollup-plugin-pure/actions?query=workflow%3Aci\n[codecov-src]: https://img.shields.io/codecov/c/gh/danielroe/rollup-plugin-pure/main?style=flat-square\n[codecov-href]: https://codecov.io/gh/danielroe/rollup-plugin-pure\n","readmeFilename":"README.md"}