h3imdall / ftp-remote-edit

Edit files on ftp servers with Atom editor and without a workspace.
MIT License
178 stars 28 forks source link

HTMLDocument.registerElement is deprecated. #437

Open somepaulo opened 2 years ago

somepaulo commented 2 years ago

Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements

HTMLDocument.registerElement (file:///usr/lib/atom/static/index.js:166:12)
registerElement (/home/user/.atom/packages/ftp-remote-edit/node_modules/space-pen/lib/space-pen.js:66:88)
Builder.openTag (/home/user/.atom/packages/ftp-remote-edit/node_modules/space-pen/lib/space-pen.js:297:27)
Builder.tag (/home/user/.atom/packages/ftp-remote-edit/node_modules/space-pen/lib/space-pen.js:274:12)
Function.div (/home/user/.atom/packages/ftp-remote-edit/node_modules/space-pen/lib/space-pen.js:83:49)
Function.content (/home/user/.atom/packages/ftp-remote-edit/lib/views/tree-view.js:769:19)
softokan commented 1 year ago

node_modules\space-pen\lib\space-pen.js

66 : _base[customTagName] = typeof document.querySelector === "function" ? document.querySelector(customTagName, {

nocturnalguru commented 1 year ago

on pulsar got the following:

Deprecated calls ftp-remote-edit (1 deprecation) Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements

HTMLDocument.registerElement - file:///opt/Pulsar/resources/app.asar/static/index.js:100:12 registerElement - /home/pjiggy/.pulsar/packages/ftp-remote-edit/node_modules/space-pen/lib/space-pen.js:66:88 Builder.openTag - /home/pjiggy/.pulsar/packages/ftp-remote-edit/node_modules/space-pen/lib/space-pen.js:297:27 Builder.tag - /home/pjiggy/.pulsar/packages/ftp-remote-edit/node_modules/space-pen/lib/space-pen.js:274:12 Function.div - /home/pjiggy/.pulsar/packages/ftp-remote-edit/node_modules/space-pen/lib/space-pen.js:83:49 Function.content - /home/pjiggy/.pulsar/packages/ftp-remote-edit/lib/views/tree-view.js:21:17

ednerbertao commented 4 months ago

Does anyone know if there will be updates for the Pulsar?