New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

happy-dom-without-node

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

happy-dom-without-node - npm Package Compare versions

Comparing version 13.3.1 to 13.3.4

3

lib/file/FileReader.js

@@ -145,3 +145,4 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {

const contentType = WhatwgMIMEType.parse(blob.type) || 'application/octet-stream';
(this.result) = `data:${contentType};base64,${data.toString('base64')}`;
this.result =
`data:${contentType};base64,${data.toString('base64')}`;
break;

@@ -148,0 +149,0 @@ }

@@ -1,1 +0,1 @@

export default { version: '13.3.1' };
export default { version: '13.3.4' };
{
"name": "happy-dom-without-node",
"version": "13.3.1",
"version": "13.3.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/capricorn86/happy-dom-without-node/",

@@ -123,7 +123,3 @@ import IRequestInit from './types/IRequestInit.js';

throw new DOMException(
`Mixed Content: The page at '${
this.#window.location.href
}' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '${
this.request.url
}'. This request has been blocked; the content must be served over HTTPS.`,
`Mixed Content: The page at '${this.#window.location.href}' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '${this.request.url}'. This request has been blocked; the content must be served over HTTPS.`,
DOMExceptionNameEnum.securityError

@@ -130,0 +126,0 @@ );

@@ -115,7 +115,3 @@ import IRequestInit from './types/IRequestInit.js';

throw new DOMException(
`Mixed Content: The page at '${
this.#window.location.href
}' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '${
this.request.url
}'. This request has been blocked; the content must be served over HTTPS.`,
`Mixed Content: The page at '${this.#window.location.href}' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '${this.request.url}'. This request has been blocked; the content must be served over HTTPS.`,
DOMExceptionNameEnum.securityError

@@ -122,0 +118,0 @@ );

@@ -165,5 +165,4 @@ import WhatwgMIMEType from 'whatwg-mimetype';

const contentType = WhatwgMIMEType.parse(blob.type) || 'application/octet-stream';
(<Buffer | ArrayBuffer | string>(
this.result
)) = `data:${contentType};base64,${data.toString('base64')}`;
(<Buffer | ArrayBuffer | string>this.result) =
`data:${contentType};base64,${data.toString('base64')}`;
break;

@@ -170,0 +169,0 @@ }

@@ -80,3 +80,3 @@ import MediaQueryItem from './MediaQueryItem.js';

operator: resolutionMatch[2]
}
}
: null,

@@ -88,3 +88,3 @@ type: resolutionMatch[3],

operator: resolutionMatch[4]
}
}
: null

@@ -91,0 +91,0 @@ });

@@ -293,4 +293,4 @@ import IText from '../text/IText.js';

: includeShadowRoots && (<IShadowRoot>parent).host
? (<IShadowRoot>parent).host
: null;
? (<IShadowRoot>parent).host
: null;
}

@@ -297,0 +297,0 @@

@@ -814,3 +814,3 @@ import INode from '../nodes/node/INode.js';

: (<Node>this[PropertySymbol.start].node)[PropertySymbol.childNodes][this.startOffset] ||
null;
null;
const parent = !referenceNode

@@ -837,3 +837,3 @@ ? this[PropertySymbol.start].node

referenceNode
);
);
newOffset +=

@@ -840,0 +840,0 @@ newNode[PropertySymbol.nodeType] === NodeTypeEnum.documentFragmentNode

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc