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

exokit

Package Overview
Dependencies
Maintainers
1
Versions
388
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exokit - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

39

index.js

@@ -924,6 +924,2 @@ const events = require('events');

const parentWindow = this[windowSymbol];
this.contentWindow = _parseWindow('', parentWindow[optionsSymbol], parentWindow, parentWindow.top);
this.contentDocument = this.contentWindow.document;
this.on('attribute', (name, value) => {

@@ -953,2 +949,7 @@ if (name === 'src') {

});
this.on('window', () => {
const parentWindow = this[windowSymbol];
this.contentWindow = _parseWindow('', parentWindow[optionsSymbol], parentWindow, parentWindow.top);
this.contentDocument = this.contentWindow.document;
});
}

@@ -1192,13 +1193,13 @@ }

window[htmlElementsSymbol] = {
Node: (Old => class Node extends Old { constructor() { super(...arguments); this[windowSymbol] = window; } })(Node),
HTMLElement: (Old => class HTMLElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; } })(HTMLElement),
HTMLAnchorElement: (Old => class HTMLAnchorElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; } })(HTMLAnchorElement),
HTMLScriptElement: (Old => class HTMLScriptElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; } })(HTMLScriptElement),
HTMLImageElement: (Old => class HTMLImageElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; } })(HTMLImageElement),
HTMLAudioElement: (Old => class HTMLAudioElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; } })(HTMLAudioElement),
HTMLVideoElement: (Old => class HTMLVideoElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; } })(HTMLVideoElement),
HTMLIframeElement: (Old => class HTMLIframeElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; } })(HTMLIframeElement),
HTMLCanvasElement: (Old => class HTMLCanvasElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; } })(HTMLCanvasElement),
TextNode: (Old => class TextNode extends Old { constructor() { super(...arguments); this[windowSymbol] = window; } })(TextNode),
CommentNode: (Old => class CommentNode extends Old { constructor() { super(...arguments); this[windowSymbol] = window; } })(CommentNode),
Node: (Old => class Node extends Old { constructor() { super(...arguments); this[windowSymbol] = window; this.emit('window'); } })(Node),
HTMLElement: (Old => class HTMLElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; this.emit('window'); } })(HTMLElement),
HTMLAnchorElement: (Old => class HTMLAnchorElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; this.emit('window'); } })(HTMLAnchorElement),
HTMLScriptElement: (Old => class HTMLScriptElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; this.emit('window'); } })(HTMLScriptElement),
HTMLImageElement: (Old => class HTMLImageElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; this.emit('window'); } })(HTMLImageElement),
HTMLAudioElement: (Old => class HTMLAudioElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; this.emit('window'); } })(HTMLAudioElement),
HTMLVideoElement: (Old => class HTMLVideoElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; this.emit('window'); } })(HTMLVideoElement),
HTMLIframeElement: (Old => class HTMLIframeElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; this.emit('window'); } })(HTMLIframeElement),
HTMLCanvasElement: (Old => class HTMLCanvasElement extends Old { constructor() { super(...arguments); this[windowSymbol] = window; this.emit('window'); } })(HTMLCanvasElement),
TextNode: (Old => class TextNode extends Old { constructor() { super(...arguments); this[windowSymbol] = window; this.emit('window'); } })(TextNode),
CommentNode: (Old => class CommentNode extends Old { constructor() { super(...arguments); this[windowSymbol] = window; this.emit('window'); } })(CommentNode),
};

@@ -1242,9 +1243,9 @@ window[htmlTagsSymbol] = {

window.Worker = class Worker extends WindowWorker {
constructor(src, options = {}) {
options.baseUrl = baseUrl;
constructor(src, workerOptions = {}) {
workerOptions.baseUrl = options.baseUrl;
if (src instanceof Blob) {
super('data:application/javascript,' + src[Blob.BUFFER].toString('utf8'), options);
super('data:application/javascript,' + src[Blob.BUFFER].toString('utf8'), workerOptions);
} else {
super(_normalizeUrl(src), options);
super(_normalizeUrl(src), workerOptions);
}

@@ -1251,0 +1252,0 @@ }

{
"name": "exokit",
"version": "0.0.13",
"version": "0.0.14",
"main": "index.js",

@@ -5,0 +5,0 @@ "dependencies": {

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