Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

raptor-dom

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raptor-dom - npm Package Compare versions

Comparing version 0.2.3-beta to 0.2.4-beta

19

lib/raptor-dom.js

@@ -1,3 +0,11 @@

'use strict';
var raptorPubsub;
try {
raptorPubsub = require.resolve('raptor-pubsub');
}
catch(e) {}
if (raptorPubsub) {
raptorPubsub = require(raptorPubsub);
}
function getNode(el) {

@@ -15,11 +23,4 @@ if (typeof el === 'string') {

function _beforeRemove(referenceEl) {
var raptorPubsub;
try {
raptorPubsub = require.resolve('raptor-pubsub');
}
catch(e) {}
if (raptorPubsub) {
raptorPubsub = require(raptorPubsub);
raptorPubsub.publish('dom/beforeRemove', { el: referenceEl });
raptorPubsub.emit('dom/beforeRemove', { el: referenceEl });
}

@@ -26,0 +27,0 @@ }

@@ -24,3 +24,3 @@ {

},
"version": "0.2.3-beta"
"version": "0.2.4-beta"
}
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