1 line
1.5 KiB
JSON
1 line
1.5 KiB
JSON
|
{"ast":null,"code":"// Copyright 2017 Lovell Fuller and others.\n// SPDX-License-Identifier: Apache-2.0\n\n'use strict';\n\nconst isLinux = () => process.platform === 'linux';\nlet report = null;\nconst getReport = () => {\n if (!report) {\n /* istanbul ignore next */\n report = isLinux() && process.report ? process.report.getReport() : {};\n }\n return report;\n};\nmodule.exports = {\n isLinux,\n getReport\n};","map":{"version":3,"names":["isLinux","process","platform","report","getReport","module","exports"],"sources":["/Users/shoofle/Projects/the-forest/node_modules/detect-libc/lib/process.js"],"sourcesContent":["// Copyright 2017 Lovell Fuller and others.\n// SPDX-License-Identifier: Apache-2.0\n\n'use strict';\n\nconst isLinux = () => process.platform === 'linux';\n\nlet report = null;\nconst getReport = () => {\n if (!report) {\n /* istanbul ignore next */\n report = isLinux() && process.report\n ? process.report.getReport()\n : {};\n }\n return report;\n};\n\nmodule.exports = { isLinux, getReport };\n"],"mappings":"AAAA;AACA;;AAEA,YAAY;;AAEZ,MAAMA,OAAO,GAAGA,CAAA,KAAMC,OAAO,CAACC,QAAQ,KAAK,OAAO;AAElD,IAAIC,MAAM,GAAG,IAAI;AACjB,MAAMC,SAAS,GAAGA,CAAA,KAAM;EACtB,IAAI,CAACD,MAAM,EAAE;IACX;IACAA,MAAM,GAAGH,OAAO,CAAC,CAAC,IAAIC,OAAO,CAACE,MAAM,GAChCF,OAAO,CAACE,MAAM,CAACC,SAAS,CAAC,CAAC,GAC1B,CAAC,CAAC;EACR;EACA,OAAOD,MAAM;AACf,CAAC;AAEDE,MAAM,CAACC,OAAO,GAAG;EAAEN,OAAO;EAAEI;AAAU,CAAC","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}
|