REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.04 KB
Close
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@rollup/plugin-json/dist/es/index.js
Text
Base64
import { createFilter, dataToEsm } from '@rollup/pluginutils'; function json(options) { if ( options === void 0 ) options = {}; var filter = createFilter(options.include, options.exclude); var indent = 'indent' in options ? options.indent : '\t'; return { name: 'json', // eslint-disable-next-line no-shadow transform: function transform(code, id) { if (id.slice(-5) !== '.json' || !filter(id)) { return null; } try { var parsed = JSON.parse(code); return { code: dataToEsm(parsed, { preferConst: options.preferConst, compact: options.compact, namedExports: options.namedExports, includeArbitraryNames: options.includeArbitraryNames, indent: indent }), map: { mappings: '' } }; } catch (err) { var message = 'Could not parse JSON file'; this.error({ message: message, id: id, cause: err }); return null; } } }; } export { json as default }; //# sourceMappingURL=index.js.map
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
index.js
1.04 KB
lrw-r--r--
2026-02-28 00:27:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
package.json
17 B
lrw-r--r--
2026-02-28 00:27:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).