atom / settings-view

🔧 Edit Atom settings
MIT License
272 stars 276 forks source link

Uncaught TypeError: Right-hand side of 'instanceof' is not callable #1053

Open norediinnordin opened 6 years ago

norediinnordin commented 6 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.25.0 x64 Electron: 1.7.11 OS: Unknown Windows version Thrown From: settings-view package 0.254.1

Stack Trace

Uncaught TypeError: Right-hand side of 'instanceof' is not callable

At C:\Users\norediin\AppData\Local\atom\app-1.25.0\resources\app\node_modules\dompurify\dist\purify.cjs.js:789

TypeError: Right-hand side of 'instanceof' is not callable
    at Function.DOMPurify.sanitize (~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/dompurify/dist/purify.cjs.js:789:21)
    at sanitize (~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/settings-view/lib/package-readme-view.js:58:46)
    at ~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/settings-view/lib/package-readme-view.js:91:47
    at module.exports (~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/roaster/lib/roaster.js:75:20)
    at new PackageReadmeView (~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/settings-view/lib/package-readme-view.js:87:36)
    at PackageDetailView.renderReadme (~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/settings-view/lib/package-detail-view.js:545:30)
    at PackageDetailView.updateInstalledState (~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/settings-view/lib/package-detail-view.js:514:18)
    at PackageDetailView.populate (~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/settings-view/lib/package-detail-view.js:454:18)
    at PackageDetailView.completeInitialization (~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/settings-view/lib/package-detail-view.js:214:18)
    at ~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/settings-view/lib/package-detail-view.js:250:24
    at Request._callback (~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/settings-view/lib/atom-io-client.js:127:24)
    at Request.self.callback (/app.asar/node_modules/settings-view/node_modules/request/request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:194:7)
    at /app.asar/node_modules/settings-view/node_modules/request/request.js:1163:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:191:7)
    at /app.asar/node_modules/settings-view/node_modules/request/request.js:1085:12)
    at Object.onceWrapper (events.js:293:19)
    at emitNone (events.js:91:20)
    at Gunzip.emit (events.js:188:7)
    at endReadableNT (_stream_readable.js:975:12)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Commands

Non-Core Packages

git-commit 1.5.3 
lighthouse 2.9.1 
open-html-in-browser 0.2.1