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

@pagedip/lib-observer

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pagedip/lib-observer - npm Package Compare versions

Comparing version 1.0.0-rc.1 to 1.0.0-rc.2

8

index.js

@@ -20,6 +20,8 @@ 'use strict';

Event.isEvent = function isEvent(e) {
return e instanceof Event;
return e != null && e["__pagedip_observer_event__"] === true;
};
Object.assign(Event.prototype, {
["__pagedip_observer_event__"]: true,
stopPropagation() {

@@ -90,3 +92,3 @@ this.bubbles = false;

Observer.isObserver = function isObserver(e) {
return e instanceof Observer;
return e != null && e["__pagedip_observer__"] === true;
};

@@ -97,2 +99,4 @@

Object.assign(Observer.prototype, {
["__pagedip_observer__"]: true,
mount(parent) {

@@ -99,0 +103,0 @@ if (!Observer.isObserver(parent)) {

{
"name": "@pagedip/lib-observer",
"version": "1.0.0-rc.1",
"version": "1.0.0-rc.2",
"author": "Tyler Johnson <tyler@beneaththeink.com>",

@@ -29,3 +29,3 @@ "repository": {

],
"gitHead": "b2f6e2641c6ca6774ccbb8c492561fa79a664ffa"
"gitHead": "20d1714a1f559939d8e305eca819818169c894e4"
}
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