PHP 8.2.30
Preview: index.js Size: 330 B
//lib/node_modules/npm/node_modules/capture-stack-trace/index.js

'use strict';

module.exports = Error.captureStackTrace || function (error) {
	var container = new Error();

	Object.defineProperty(error, 'stack', {
		configurable: true,
		get: function getStack() {
			var stack = container.stack;

			Object.defineProperty(this, 'stack', {
				value: stack
			});

			return stack;
		}
	});
};

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
330 B lrw-r--r-- 2021-03-10 14:36:37
Edit Download
1.58 KB lrw-r--r-- 2021-03-10 14:36:37
Edit Download
591 B lrw-r--r-- 2021-03-10 14:36:37
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).