{"_id":"@depack/nodejs","_rev":"300337","name":"@depack/nodejs","description":"Mocks Of Built-In Node.JS Modules To Use For Compilation.","dist-tags":{"latest":"1.1.4"},"maintainers":[{"name":"zvr","email":""}],"time":{"modified":"2024-01-31T16:08:09.000Z","created":"2019-04-01T11:39:52.023Z","1.1.4":"2019-07-30T01:50:29.219Z","1.1.3":"2019-04-24T04:26:52.576Z","1.1.2":"2019-04-11T22:37:45.368Z","1.1.1":"2019-04-10T10:13:32.476Z","1.1.0":"2019-04-09T16:32:14.023Z","1.0.2":"2019-04-05T13:08:36.528Z","1.0.1":"2019-04-02T12:37:40.282Z","1.0.0":"2019-04-01T11:39:52.023Z"},"users":{},"author":{"name":"Anton","email":"anton@adc.sh"},"repository":{"type":"git","url":"git://github.com/dpck/nodejs.git"},"versions":{"1.1.4":{"name":"@depack/nodejs","version":"1.1.4","description":"Mocks Of Built-In Node.JS Modules To Use For Compilation.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc -o README.md","compile":"depack-dev s2 -c -a -p","b":"alamode src -o build -s -i generate-core.js,ignore.js","gen":"alanode src/generate-core","d":"yarn-s d1","d1":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","e":"alanode"},"repository":{"type":"git","url":"git://github.com/dpck/nodejs.git"},"keywords":["nodejs","depack","gcc","google closure compiler","bundle","bundler","nodejs"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/dpck/nodejs/issues"},"homepage":"https://github.com/dpck/nodejs#readme","devDependencies":{"@wrote/wrote":"^1.2.3","alamode":"^2.3.4","documentary":"^1.27.5","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"^4.1.1-alpha"},"licenseText":"MIT License\n\nCopyright (c) 2019 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@depack/nodejs@1.1.4","dist":{"shasum":"36195f33fef7a6b9b1f93a043a52a87fac087729","size":10041,"noattachment":false,"key":"/@depack/nodejs/-/@depack/nodejs-1.1.4.tgz","tarball":"http://name.csiicloud.com:7001/@depack/nodejs/download/@depack/nodejs-1.1.4.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodejs_1.1.4_1564451429077_0.9066514107224342"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T04:51:44.651Z","publish_time":1564451429219,"_cnpm_publish_time":1564451429219},"1.1.3":{"name":"@depack/nodejs","version":"1.1.3","description":"Mocks Of Built-In Node.JS Modules To Use For Compilation.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc -o README.md","depack":"depack-dev s2 -c -a -p","b":"alamode src -o build -s -i generate-core.js,ignore.js","gen":"alanode src/generate-core","d":"yarn-s d1","d1":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","e":"alanode"},"repository":{"type":"git","url":"git://github.com/dpck/nodejs.git"},"keywords":["nodejs","depack","gcc","google closure compiler","bundle","bundler","nodejs"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/dpck/nodejs/issues"},"homepage":"https://github.com/dpck/nodejs#readme","devDependencies":{"@wrote/wrote":"^1.2.3","alamode":"^1.9.3","documentary":"^1.25.0","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"^3.12.0"},"licenseText":"MIT License\n\nCopyright (c) 2019 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@depack/nodejs@1.1.3","dist":{"shasum":"13fe2c6c9d8ebe459ba6c3a1169a9e4791d6ca21","size":9976,"noattachment":false,"key":"/@depack/nodejs/-/@depack/nodejs-1.1.3.tgz","tarball":"http://name.csiicloud.com:7001/@depack/nodejs/download/@depack/nodejs-1.1.3.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodejs_1.1.3_1556080012413_0.7415955786237753"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T04:51:42.986Z","publish_time":1556080012576,"_cnpm_publish_time":1556080012576},"1.1.2":{"name":"@depack/nodejs","version":"1.1.2","description":"Mocks Of Built-In Node.JS Modules To Use For Compilation.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","depack":"depack-dev s2 -c -a -p","b":"alamode src -o build -s -i generate-core.js,ignore.js","gen":"alanode src/generate-core","d":"yarn-s d1","d1":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","e":"alanode"},"repository":{"type":"git","url":"git://github.com/dpck/nodejs.git"},"keywords":["nodejs","depack","gcc","google closure compiler","bundle","bundler","nodejs"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/dpck/nodejs/issues"},"homepage":"https://github.com/dpck/nodejs#readme","devDependencies":{"@wrote/wrote":"1.2.1","alamode":"1.9.0","documentary":"1.23.2","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"3.11.2"},"licenseText":"MIT License\n\nCopyright (c) 2019 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@depack/nodejs@1.1.2","dist":{"shasum":"f896bd83cecd456c4454d65df82ad58f57714c14","size":9936,"noattachment":false,"key":"/@depack/nodejs/-/@depack/nodejs-1.1.2.tgz","tarball":"http://name.csiicloud.com:7001/@depack/nodejs/download/@depack/nodejs-1.1.2.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodejs_1.1.2_1555022265126_0.09240398338337497"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T04:51:41.348Z","publish_time":1555022265368,"_cnpm_publish_time":1555022265368},"1.1.1":{"name":"@depack/nodejs","version":"1.1.1","description":"Mocks Of Built-In Node.JS Modules To Use For Compilation.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","b":"alamode src -o build -s -i generate-core.js,ignore.js","gen":"alanode src/generate-core","d":"yarn-s d1","d1":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","e":"alanode"},"repository":{"type":"git","url":"git://github.com/dpck/nodejs.git"},"keywords":["nodejs","depack","gcc","google closure compiler","bundle","bundler","nodejs"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/dpck/nodejs/issues"},"homepage":"https://github.com/dpck/nodejs#readme","devDependencies":{"@wrote/wrote":"1.2.1","alamode":"1.9.0","documentary":"1.23.2","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"3.11.2"},"licenseText":"MIT License\n\nCopyright (c) 2019 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@depack/nodejs@1.1.1","dist":{"shasum":"202c4fbb0c27293ef1d557fdcd74152f75aa0dce","size":9823,"noattachment":false,"key":"/@depack/nodejs/-/@depack/nodejs-1.1.1.tgz","tarball":"http://name.csiicloud.com:7001/@depack/nodejs/download/@depack/nodejs-1.1.1.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodejs_1.1.1_1554891212321_0.2677800164224302"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T04:51:39.082Z","publish_time":1554891212476,"_cnpm_publish_time":1554891212476},"1.1.0":{"name":"@depack/nodejs","version":"1.1.0","description":"Mocks Of Built-In Node.JS Modules To Use For Compilation.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","b":"alamode src -o build -s -i generate-core.js,ignore.js","gen":"alanode src/generate-core","d":"yarn-s d1","d1":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","e":"alanode"},"repository":{"type":"git","url":"git://github.com/dpck/nodejs.git"},"keywords":["nodejs","depack","gcc","google closure compiler","bundle","bundler","nodejs"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/dpck/nodejs/issues"},"homepage":"https://github.com/dpck/nodejs#readme","devDependencies":{"@wrote/wrote":"1.2.1","alamode":"1.9.0","documentary":"1.23.2","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"3.11.2"},"licenseText":"MIT License\n\nCopyright (c) 2019 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@depack/nodejs@1.1.0","dist":{"shasum":"72f77d0037bdf774a5761fe8189774cc8b87574c","size":9783,"noattachment":false,"key":"/@depack/nodejs/-/@depack/nodejs-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/@depack/nodejs/download/@depack/nodejs-1.1.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodejs_1.1.0_1554827533889_0.19241932685550123"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T04:51:37.431Z","publish_time":1554827534023,"_cnpm_publish_time":1554827534023},"1.0.2":{"name":"@depack/nodejs","version":"1.0.2","description":"Mocks Of Built-In Node.JS Modules To Use For Compilation.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","b":"alamode src -o build -s -i generate-core.js","gen":"alanode src/generate-core","d":"yarn-s d1","d1":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","e":"alanode"},"repository":{"type":"git","url":"git://github.com/dpck/nodejs.git"},"keywords":["nodejs","depack","gcc","google closure compiler","bundle","bundler","nodejs"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/dpck/nodejs/issues"},"homepage":"https://github.com/dpck/nodejs#readme","devDependencies":{"@wrote/wrote":"1.2.1","alamode":"1.9.0","documentary":"1.23.2","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"3.11.2"},"licenseText":"MIT License\n\nCopyright (c) 2019 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@depack/nodejs@1.0.2","dist":{"shasum":"4eeab98210c770971619fe06ae13a4accca90ac8","size":9249,"noattachment":false,"key":"/@depack/nodejs/-/@depack/nodejs-1.0.2.tgz","tarball":"http://name.csiicloud.com:7001/@depack/nodejs/download/@depack/nodejs-1.0.2.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodejs_1.0.2_1554469716417_0.27248304711132665"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T04:51:35.771Z","publish_time":1554469716528,"_cnpm_publish_time":1554469716528},"1.0.1":{"name":"@depack/nodejs","version":"1.0.1","description":"Mocks Of Built-In Node.JS Modules To Use For Compilation.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","b":"alamode src -o build -s -i generate-core.js","gen":"alanode src/generate-core","d":"yarn-s d1","d1":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","e":"alanode"},"repository":{"type":"git","url":"git://github.com/dpck/nodejs.git"},"keywords":["nodejs","depack","gcc","google closure compiler","bundle","bundler","nodejs"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/dpck/nodejs/issues"},"homepage":"https://github.com/dpck/nodejs#readme","devDependencies":{"@wrote/wrote":"1.2.1","alamode":"1.9.0","documentary":"1.23.2","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"3.11.2"},"licenseText":"MIT License\n\nCopyright (c) 2019 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@depack/nodejs@1.0.1","dist":{"shasum":"63a23082f6bc5d5002ef36c3d27fafe0b729b166","size":11205,"noattachment":false,"key":"/@depack/nodejs/-/@depack/nodejs-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/@depack/nodejs/download/@depack/nodejs-1.0.1.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodejs_1.0.1_1554208660044_0.4680735158950202"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T04:51:34.113Z","publish_time":1554208660282,"_cnpm_publish_time":1554208660282},"1.0.0":{"name":"@depack/nodejs","version":"1.0.0","description":"Mocks Of Built-In Node.JS Modules To Use For Compilation.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","b":"alamode src -o build -s -i generate-core.js","gen":"alanode src/generate-core","d":"yarn-s d1","d1":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","e":"alanode"},"repository":{"type":"git","url":"git://github.com/dpck/nodejs.git"},"keywords":["nodejs","depack","gcc","google closure compiler","bundle","bundler","nodejs"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/dpck/nodejs/issues"},"homepage":"https://github.com/dpck/nodejs#readme","devDependencies":{"@wrote/wrote":"1.2.1","alamode":"1.9.0","documentary":"1.23.2","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"3.11.2"},"licenseText":"MIT License\n\nCopyright (c) 2019 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@depack/nodejs@1.0.0","dist":{"shasum":"2d308202be339d57aba6005a6dc73b9f1db65bb7","size":10557,"noattachment":false,"key":"/@depack/nodejs/-/@depack/nodejs-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/@depack/nodejs/download/@depack/nodejs-1.0.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodejs_1.0.0_1554118791902_0.8645683392372545"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T04:51:32.458Z","publish_time":1554118792023,"_cnpm_publish_time":1554118792023}},"readme":"# @depack/nodejs\n\n[![npm version](https://badge.fury.io/js/%40depack%2Fnodejs.svg)](https://npmjs.org/package/@depack/nodejs)\n\n`@depack/nodejs` is Mocks Of Built-In Node.JS Modules To Use For Compilation. It is used in _Depack_ for compilation of Node.JS programs using _Google Closure Compiler_.\n\n```sh\nyarn add -E @depack/nodejs\n```\n\n## Table Of Contents\n\n- [Table Of Contents](#table-of-contents)\n- [API](#api)\n- [`getCorePath(version?: string): string`](#getcorepathversion-string-string)\n- [Example](#example)\n- [Ignored API](#ignored-api)\n- [Copyright](#copyright)\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/0.svg?sanitize=true\"></a></p>\n\n## API\n\nThe package publishes the `builtin-modules` folder with the source code of modules that will be mocked. It provides a simple function to get the path to the folder that contains `builtin-modules`.\n\n```js\nimport nodejs from '@depack/nodejs'\n```\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/1.svg?sanitize=true\"></a></p>\n\n## `getCorePath(`<br/>&nbsp;&nbsp;`version?: string,`<br/>`): string`\n\nReturns the path to resolved `builtin-modules` within this package. Currently, only `v8` is supported and will be returned by default.\n\n```js\n/* alanode example/ */\nimport nodejs from '@depack/nodejs'\n\nconst res = nodejs()\nconsole.log(res)\n```\n```\nnode_modules/@depack/nodejs/builtin-modules/v8\n```\n\nThe process of generation of mocks consists of iterating though the list from `require('module').builtinModules`, requiring each of them and seeing what keys exist. They should align with the Node.JS externs generated using [`@depack/externs`](https://github.com/dpck/externs).\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/2.svg?sanitize=true\"></a></p>\n\n## Example\n\nThis is an example of generated mock for the `querystring` built-in Node.JS module:\n\n```js\nexport default querystring\nexport const {\n  decode,\n  encode,\n  escape,\n  parse,\n  stringify,\n  unescape,\n} = querystring\n```\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/3.svg?sanitize=true\"></a></p>\n\n## Ignored API\n\nSome imported modules will contain API properties which are not documented and will not form part of externs. They are ignored and should not be used if not documented. There are also instances when [externs](https://github.com/dpck/externs) have not implemented certain APIs. The full list is given below:\n\n```js\nexport default {\n  os: ['getNetworkInterfaces', 'tmpDir'],\n  fs: ['F_OK', 'FileReadStream', 'FileWriteStream', 'R_OK', 'W_OK', 'X_OK'],\n  // missing in externs\n  assert: ['strict', 'rejects', 'doesNotReject'],\n  zlib: ['codes', 'Z_MIN_WINDOWBITS', 'Z_MIN_MEMLEVEL', 'Z_MIN_LEVEL',\n    'Z_MIN_CHUNK', 'Z_MAX_WINDOWBITS', 'Z_MAX_MEMLEVEL', 'Z_MAX_LEVEL',\n    'Z_MAX_CHUNK', 'Z_DEFAULT_WINDOWBITS', 'Z_DEFAULT_MEMLEVEL',\n    'Z_DEFAULT_LEVEL', 'Z_DEFAULT_CHUNK', 'ZLIB_VERNUM', 'UNZIP',\n    'INFLATERAW', 'INFLATE', 'GZIP', 'GUNZIP', 'DEFLATERAW', 'DEFLATE'],\n  vm: ['createScript'],\n  // missing in externs\n  v8: ['serialize', 'deserialize', 'cachedDataVersionTag', 'Serializer',\n    'Deserializer', 'DefaultSerializer', 'DefaultDeserializer'],\n  // missing in externs\n  cluster: ['domain', 'SCHED_NONE', 'SCHED_RR', 'schedulingPolicy'],\n  module: ['wrapper', 'globalPaths'],\n  stream: ['super_'],\n  // missing in externs\n  crypto: ['Cipheriv', 'Decipheriv', 'DiffieHellmanGroup', 'Sign', 'constants',\n    'createDiffieHellmanGroup', 'prng', 'rng', 'setEngine'],\n  url: ['resolveObject'],\n  events: ['usingDomains', 'listenerCount', 'init', 'defaultMaxListeners'],\n  querystring: ['unescapeBuffer'],\n}\n```\n\nThere also remains errors and warnings that have not been ignored or fixed yet, they can be found here: https://github.com/dpck/externs#wip.\n\n---\n\n_Depack_ does not support:\n\n- [ ] `inspector`\n- [ ] `string_decoder`\n- [ ] `sys`\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/4.svg?sanitize=true\"></a></p>\n\n## Copyright\n\n<table>\n  <tr>\n    <th>\n      <a href=\"https://artd.eco\">\n        <img src=\"https://raw.githubusercontent.com/wrote/wrote/master/images/artdeco.png\" alt=\"Art Deco\">\n      </a>\n    </th>\n    <th>© <a href=\"https://artd.eco\">Art Deco</a> for <a href=\"https://artd.eco/depack\">Depack</a> 2019</th>\n    <th>\n      <a href=\"https://www.technation.sucks\" title=\"Tech Nation Visa\">\n        <img src=\"https://raw.githubusercontent.com/artdecoweb/www.technation.sucks/master/anim.gif\"\n          alt=\"Tech Nation Visa\">\n      </a>\n    </th>\n    <th><a href=\"https://www.technation.sucks\">Tech Nation Visa Sucks</a></th>\n  </tr>\n</table>\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/-1.svg?sanitize=true\"></a></p>","_attachments":{},"homepage":"https://github.com/dpck/nodejs#readme","bugs":{"url":"https://github.com/dpck/nodejs/issues"},"license":"MIT"}