Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
canvas
/
node_modules
/
happy-dom
/
lib
/
url
/
Filename :
URL.js
back
Copy
import { URL as NodeJSURL } from 'url'; import { Blob as NodeJSBlob } from 'buffer'; import Blob from '../file/Blob.js'; /** * URL. */ export default class URL extends NodeJSURL { /** * Creates a string containing a URL representing the object given in the parameter. * * @param object Object. * @returns URL. */ static createObjectURL(object) { if (object instanceof Blob) { const blob = new NodeJSBlob([object._buffer], { type: object.type }); return super.createObjectURL(blob); } return super.createObjectURL(object); } } //# sourceMappingURL=URL.js.map