{"versions":{"0.1.3":{"name":"@types/string-replace-webpack-plugin","version":"0.1.3","description":"TypeScript definitions for string-replace-webpack-plugin","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string-replace-webpack-plugin","license":"MIT","contributors":[{"name":"Rongjian Zhang","url":"https://github.com/pd4d10","githubUsername":"pd4d10"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/string-replace-webpack-plugin"},"scripts":{},"dependencies":{"@types/webpack":"^4"},"typesPublisherContentHash":"11aa2cf3e444cde0d7e91050d4661a416f52c0ac8711cd01804ad1db30583bbb","typeScriptVersion":"3.8","_id":"@types/string-replace-webpack-plugin@0.1.3","dist":{"integrity":"sha512-bBGkHYRmFjHBIEveUSKJEgcwqvhcsSCvy7Mepo+eIklaJ7xkbzlsRs3YsUWO301Ugm6/rR+D3GNWJuppWjVH1A==","shasum":"f46d3efdfedba005326275b1e708391667083023","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/string-replace-webpack-plugin/-/string-replace-webpack-plugin-0.1.3.tgz","fileCount":4,"unpackedSize":5706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhu8FjCRA9TVsSAnZWagAAA1UP/A0oxBZlGJk5orccl+am\n7OhpjRAQ94mh/m4DPwvPqWfbh5qw7dxe3pYZ0QXAAAvCtFD6Xu7VRVe79sKO\nlxSQBUTngp8C7xnJZOiet/gytFtyTNgaLY7qwP8dCIYH7iG6khOLw5heSlBN\nsR+C6nK2e9+qaLAFtrV1me4w1b9uOD7PI96NTdpdxsrKaTpeqtfbfeq7LCQG\npCzVtV43Xrbn4mSv40sZmqI3UhwKPk5UhTKm+z0iYGqVuBy4iy7TGiTOS2MA\noC6xQY/6dC+rY+7dlS29moubeB9amiyKrOjCeiBRasKVfQWM5+5ZacFHOnND\n56IeBTBomkhwkR2fy4ua9Tf8XXBKO7/bDkjDocHOhrrrNthIHtrXAs+lP08f\n6c9biuqpEukIXdbjZ+VKduse0jXoM3m4Jz08mGgEzUTUyXmr0opF9S1/fpJl\nna3Yq68liLjljbgm30sYOH7bFoVrYBABAVUU06KSRLp5k2vnpmAdl2M+c3Vr\nEx+ywVcb7uW91Zv27S+Kw8nL5yAvg2xN3DK78MYtzRyRTly5vav4H482KfFw\nQ/Z+uI0VyO+QdL9KSjx/NGSziiqBjbT2QVP0wjlyqabO+9mlldM8A/Lc9QdN\nTdO9/9Cdkk1G9mP+llrgeYe9nkKKNkNf84wvpQ6eyxuhSYHZ6/NLxTx8whOW\nD0Tz\r\n=f+vs\r\n-----END PGP SIGNATURE-----\r\n","size":1969,"noattachment":false},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace-webpack-plugin_0.1.3_1639694691746_0.44397156965432405"},"_hasShrinkwrap":false,"publish_time":1639694691911,"_cnpm_publish_time":1639694691911,"_cnpmcore_publish_time":"2021-12-16T23:49:38.803Z"},"0.1.2":{"name":"@types/string-replace-webpack-plugin","version":"0.1.2","description":"TypeScript definitions for string-replace-webpack-plugin","license":"MIT","contributors":[{"name":"Rongjian Zhang","url":"https://github.com/pd4d10","githubUsername":"pd4d10"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/string-replace-webpack-plugin"},"scripts":{},"dependencies":{"@types/webpack":"^4"},"typesPublisherContentHash":"2dc4918a320e28f78a16f7011052bd755c0b2b13bc9fc206f723a3b5a91fab4d","typeScriptVersion":"3.7","_id":"@types/string-replace-webpack-plugin@0.1.2","dist":{"shasum":"664943c2a8506500beb60246139023479afb7286","size":1909,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/string-replace-webpack-plugin/-/string-replace-webpack-plugin-0.1.2.tgz","integrity":"sha512-t2slxC9BqbwUYYvzbnHeLeX7muTxdxTxP689GCHpDcMB9o9cXJO5i2QrVJir/7zJ6iWO17TVqO9YX8GzOJZCEw=="},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace-webpack-plugin_0.1.2_1616705199563_0.5556800878901509"},"_hasShrinkwrap":false,"publish_time":1616705199666,"_cnpm_publish_time":1616705199666,"_cnpmcore_publish_time":"2021-12-16T23:49:39.002Z"},"0.1.1":{"name":"@types/string-replace-webpack-plugin","version":"0.1.1","description":"TypeScript definitions for string-replace-webpack-plugin","license":"MIT","contributors":[{"name":"Rongjian Zhang","url":"https://github.com/pd4d10","githubUsername":"pd4d10"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/webpack":"*"},"typesPublisherContentHash":"a8d6c6c1234fc57305a2355a01021100ed4e29c651300adcbb8bfb6330b5ea35","typeScriptVersion":"2.3","_id":"@types/string-replace-webpack-plugin@0.1.1","dist":{"shasum":"0648e70d11b1a083e88b166d1f64c72576510241","size":1879,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/string-replace-webpack-plugin/-/string-replace-webpack-plugin-0.1.1.tgz","integrity":"sha512-GRkQrOssnMffxgULXl4x1SBo/DPK+R7JMySubFDK+y0esrL1SVwmLEIsp+owj5ATwukQ8uwW0cXK8NpZwgacCQ=="},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace-webpack-plugin_0.1.1_1550099959128_0.09070366436656752"},"_hasShrinkwrap":false,"publish_time":1550099959403,"_cnpm_publish_time":1550099959403,"_cnpmcore_publish_time":"2021-12-16T23:49:39.369Z"},"0.1.0":{"name":"@types/string-replace-webpack-plugin","version":"0.1.0","description":"TypeScript definitions for string-replace-webpack-plugin","license":"MIT","contributors":[{"name":"Rongjian Zhang","url":"https://github.com/pd4d10","githubUsername":"pd4d10"}],"main":"","types":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/webpack":"*"},"typesPublisherContentHash":"8118fceb0728020cabb83233e9cc77fabee84927b3df71fedc02c66192e9a563","typeScriptVersion":"2.3","_id":"@types/string-replace-webpack-plugin@0.1.0","dist":{"shasum":"b870cd9cdf0de821b83c465eb4cfd31173e58927","size":1877,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/string-replace-webpack-plugin/-/string-replace-webpack-plugin-0.1.0.tgz","integrity":"sha512-yDE6tq4lEkG81cWaOUeJYKY/av9y+n4AHUbTz1HI14TO0dVXEuhtGtBJJbV5segJI3VJRN7+7fKCSGGwyr9NkQ=="},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace-webpack-plugin_0.1.0_1541034090254_0.49344928523365916"},"_hasShrinkwrap":false,"publish_time":1541034090444,"_cnpm_publish_time":1541034090444,"_cnpmcore_publish_time":"2021-12-16T23:49:39.570Z"},"0.1.4":{"name":"@types/string-replace-webpack-plugin","version":"0.1.4","description":"TypeScript definitions for string-replace-webpack-plugin","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string-replace-webpack-plugin","license":"MIT","contributors":[{"name":"Rongjian Zhang","url":"https://github.com/pd4d10","githubUsername":"pd4d10"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/string-replace-webpack-plugin"},"scripts":{},"dependencies":{"@types/webpack":"^4"},"typesPublisherContentHash":"a3ace339f89b9b0b9eb8485cb176dc45034e11ed78c23f89fc1ecba54855764a","typeScriptVersion":"4.5","_id":"@types/string-replace-webpack-plugin@0.1.4","dist":{"integrity":"sha512-KkFV6dPcZZ6YqbH3BexwG0y+7f862CvxBd7nlgE0LQ0ULTMBt51oc3cpXbZXUENY7648OyiD6Fyo4EY+xAMNxg==","shasum":"af00a2fa0dabbf89d04dcc0a2ed296f48bffbcc1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/string-replace-webpack-plugin/-/string-replace-webpack-plugin-0.1.4.tgz","fileCount":5,"unpackedSize":5710,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXIgDrfuw2RJkTWYQ701k2/WKP926JAtvRfL5ZQq0HjgIhAIwfHJsw1B3yBB5vkZ9QA4V5xZHqOFzUCA/GwZI4bkse"}],"size":2019},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace-webpack-plugin_0.1.4_1695655861469_0.39394280232823964"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-25T15:31:01.660Z","publish_time":1695655861660,"_source_registry_name":"default"},"0.1.5":{"name":"@types/string-replace-webpack-plugin","version":"0.1.5","description":"TypeScript definitions for string-replace-webpack-plugin","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string-replace-webpack-plugin","license":"MIT","contributors":[{"name":"Rongjian Zhang","githubUsername":"pd4d10","url":"https://github.com/pd4d10"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/string-replace-webpack-plugin"},"scripts":{},"dependencies":{"@types/webpack":"^4"},"typesPublisherContentHash":"f861be4b3aaeaa4a4e35d7156131cc6027f0c6ef8fd16b54df1946446a3e4a53","typeScriptVersion":"4.5","_id":"@types/string-replace-webpack-plugin@0.1.5","dist":{"integrity":"sha512-96S/HUKU4Q67jlylezu0UQwN51QDcpI9xGW7zKMB/b1rPMom2b/NkKEb+1hYOvkOstfKSdDSl9vzPYG48jLyEA==","shasum":"e3ea965441025bdca4ce5c5be1471fc72b4c309e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/string-replace-webpack-plugin/-/string-replace-webpack-plugin-0.1.5.tgz","fileCount":5,"unpackedSize":5106,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCibC1s+eZWdG5gfWar/STBaGSUfjwh5sE04YrwimqDtQIhAJDS93LkcsycbhsdDwdR2bVnVxXEjqTyRgMik/WH/4dq"}],"size":1957},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace-webpack-plugin_0.1.5_1697643777078_0.27268525722222514"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T15:42:57.305Z","publish_time":1697643777305,"_source_registry_name":"default"},"0.1.6":{"name":"@types/string-replace-webpack-plugin","version":"0.1.6","description":"TypeScript definitions for string-replace-webpack-plugin","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string-replace-webpack-plugin","license":"MIT","contributors":[{"name":"Rongjian Zhang","githubUsername":"pd4d10","url":"https://github.com/pd4d10"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/string-replace-webpack-plugin"},"scripts":{},"dependencies":{"@types/webpack":"^4"},"typesPublisherContentHash":"21ededf9b03a3f82c71668423d86163bbc34ae6df08e9f37332c8e77b9483091","typeScriptVersion":"4.5","_id":"@types/string-replace-webpack-plugin@0.1.6","dist":{"integrity":"sha512-gwa28O7V5mHvWbIMmlZ1UwfS8f4iLUjUnhzsQKGEmR/j0qz9ffnxuOpYuhq7n7BHNDsTALZLdxfaVjpEN14laA==","shasum":"aaf117be853e9516419a93ffc14dcd5f0870f174","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/string-replace-webpack-plugin/-/string-replace-webpack-plugin-0.1.6.tgz","fileCount":5,"unpackedSize":5106,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFrZEcFtri6+8ixFVRYo93LHZhV/ROb+V4wZLaQivH+/AiEAlGA3glq9XlGk6fQE8LNa6IGG6zpoJ3ZJeFrgnb10heM="}],"size":1959},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace-webpack-plugin_0.1.6_1699377106762_0.871074463695696"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T17:11:46.937Z","publish_time":1699377106937,"_source_registry_name":"default"}},"dist-tags":{"latest":"0.1.6","ts2.3":"0.1.1","ts2.4":"0.1.1","ts2.5":"0.1.1","ts2.6":"0.1.1","ts2.7":"0.1.1","ts2.8":"0.1.1","ts2.9":"0.1.1","ts3.0":"0.1.1","ts3.1":"0.1.1","ts3.2":"0.1.1","ts3.3":"0.1.1","ts3.4":"0.1.1","ts3.5":"0.1.1","ts3.6":"0.1.1","ts3.7":"0.1.2","ts3.8":"0.1.3","ts3.9":"0.1.3","ts4.0":"0.1.3","ts4.1":"0.1.3","ts4.2":"0.1.3","ts4.3":"0.1.3","ts4.4":"0.1.3","ts4.5":"0.1.6","ts4.6":"0.1.6","ts4.7":"0.1.6","ts4.8":"0.1.6","ts4.9":"0.1.6","ts5.0":"0.1.6","ts5.1":"0.1.6","ts5.2":"0.1.6","ts5.3":"0.1.6","ts5.4":"0.1.6","ts5.5":"0.1.6","ts5.6":"0.1.6","ts5.7":"0.1.6","ts5.8":"0.1.6","ts5.9":"0.1.6","ts6.0":"0.1.6"},"name":"@types/string-replace-webpack-plugin","time":{"created":"2022-01-27T21:34:01.955Z","modified":"2025-08-03T07:50:17.582Z","0.1.3":"2021-12-16T22:44:51.911Z","0.1.2":"2021-03-25T20:46:39.666Z","0.1.1":"2019-02-13T23:19:19.403Z","0.1.0":"2018-11-01T01:01:30.444Z","0.1.4":"2023-09-25T15:31:01.660Z","0.1.5":"2023-10-18T15:42:57.305Z","0.1.6":"2023-11-07T17:11:46.937Z"},"readme":"# Installation\r\n> `npm install --save @types/string-replace-webpack-plugin`\r\n\r\n# Summary\r\nThis package contains type definitions for string-replace-webpack-plugin (https://github.com/jamesandersen/string-replace-webpack-plugin).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string-replace-webpack-plugin.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string-replace-webpack-plugin/index.d.ts)\r\n````ts\r\nimport { Plugin, RuleSetUse } from \"webpack\";\n\nexport = StringReplacePlugin;\n\ndeclare class StringReplacePlugin extends Plugin {\n    static replace(\n        options: StringReplacePlugin.Options,\n        /**\n         * loaders to follow the replacement\n         */\n        nextLoaders?: string,\n    ): RuleSetUse;\n    static replace(\n        /**\n         * loaders to apply prior to the replacement\n         */\n        prevLoaders: string,\n        options: StringReplacePlugin.Options,\n        /**\n         * loaders to follow the replacement\n         */\n        nextLoaders?: string,\n    ): RuleSetUse;\n}\n\ndeclare namespace StringReplacePlugin {\n    interface Options {\n        replacements: ReplacementItem[];\n    }\n\n    interface ReplacementItem {\n        /**\n         * a regex to match against the file contents\n         */\n        pattern: RegExp;\n        /**\n         * an ECMAScript string replacement function\n         * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#Specifying_a_function_as_a_parameter\n         */\n        replacement: (substring: string, ...args: any[]) => string;\n    }\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Nov 2023 15:11:36 GMT\r\n * Dependencies: [@types/webpack](https://npmjs.com/package/@types/webpack)\r\n\r\n# Credits\r\nThese definitions were written by [Rongjian Zhang](https://github.com/pd4d10).","users":{}}