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

inferno-shared

Package Overview
Dependencies
Maintainers
1
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inferno-shared - npm Package Compare versions

Comparing version 1.3.0-rc.1 to 1.3.0-rc.3

1

dist-es/index.d.ts

@@ -20,3 +20,2 @@ export declare const NO_OP = "$NO_OP";

export declare function warning(message: string): void;
export declare const EMPTY_OBJ: {};
export interface LifecycleClass {

@@ -23,0 +22,0 @@ listeners: Function[];

@@ -56,6 +56,2 @@ export const NO_OP = '$NO_OP';

}
export const EMPTY_OBJ = {};
if (process.env.NODE_ENV !== 'production') {
Object.freeze(EMPTY_OBJ);
}
export function Lifecycle() {

@@ -62,0 +58,0 @@ this.listeners = [];

/*!
* inferno-shared v1.3.0-rc.1
* inferno-shared v1.3.0-rc.3
* (c) 2017 Dominic Gannaway'

@@ -69,6 +69,2 @@ * Released under the MIT License.

}
var EMPTY_OBJ = {};
{
Object.freeze(EMPTY_OBJ);
}
function Lifecycle() {

@@ -114,3 +110,2 @@ this.listeners = [];

exports.warning = warning;
exports.EMPTY_OBJ = EMPTY_OBJ;
exports.Lifecycle = Lifecycle;

@@ -117,0 +112,0 @@ exports.copyPropsTo = copyPropsTo;

2

dist/inferno-shared.min.js

@@ -1,1 +0,1 @@

!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(n["inferno-shared"]=n["inferno-shared"]||{})}(this,function(n){"use strict";function r(n){return b(n)?n:n?[n]:n}function e(n){return!l(n.prototype)&&!l(n.prototype.render)}function t(n){var r=typeof n;return"string"===r||"number"===r}function o(n){return l(n)||d(n)}function i(n){return d(n)||n===!1||p(n)||l(n)}function u(n){return"function"==typeof n}function f(n){return"o"===n[0]&&"n"===n[1]&&n.length>3}function s(n){return"string"==typeof n}function c(n){return"number"==typeof n}function d(n){return null===n}function p(n){return n===!0}function l(n){return void 0===n}function y(n){return"object"==typeof n}function a(n){throw n||(n=O),new Error("Inferno Error: "+n)}function h(n){console.warn(n)}function m(){this.listeners=[]}function v(n,r){for(var e in n)l(r[e])&&(r[e]=n[e])}var w="$NO_OP",O="a runtime error occured! Use Inferno in development environment to find the error.",g="undefined"!=typeof window&&window.document,b=Array.isArray,A={};m.prototype.addListener=function(n){this.listeners.push(n)},m.prototype.trigger=function(){for(var n=this,r=0,e=this.listeners.length;r<e;r++)n.listeners[r]()},n.NO_OP=w,n.ERROR_MSG=O,n.isBrowser=g,n.toArray=r,n.isArray=b,n.isStatefulComponent=e,n.isStringOrNumber=t,n.isNullOrUndef=o,n.isInvalid=i,n.isFunction=u,n.isAttrAnEvent=f,n.isString=s,n.isNumber=c,n.isNull=d,n.isTrue=p,n.isUndefined=l,n.isObject=y,n.throwError=a,n.warning=h,n.EMPTY_OBJ=A,n.Lifecycle=m,n.copyPropsTo=v,Object.defineProperty(n,"__esModule",{value:!0})});
!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(n["inferno-shared"]=n["inferno-shared"]||{})}(this,function(n){"use strict";function r(n){return b(n)?n:n?[n]:n}function e(n){return!l(n.prototype)&&!l(n.prototype.render)}function t(n){var r=typeof n;return"string"===r||"number"===r}function o(n){return l(n)||d(n)}function i(n){return d(n)||n===!1||p(n)||l(n)}function u(n){return"function"==typeof n}function f(n){return"o"===n[0]&&"n"===n[1]&&n.length>3}function s(n){return"string"==typeof n}function c(n){return"number"==typeof n}function d(n){return null===n}function p(n){return n===!0}function l(n){return void 0===n}function y(n){return"object"==typeof n}function a(n){throw n||(n=g),new Error("Inferno Error: "+n)}function h(n){console.warn(n)}function m(){this.listeners=[]}function v(n,r){for(var e in n)l(r[e])&&(r[e]=n[e])}var w="$NO_OP",g="a runtime error occured! Use Inferno in development environment to find the error.",O="undefined"!=typeof window&&window.document,b=Array.isArray;m.prototype.addListener=function(n){this.listeners.push(n)},m.prototype.trigger=function(){for(var n=this,r=0,e=this.listeners.length;r<e;r++)n.listeners[r]()},n.NO_OP=w,n.ERROR_MSG=g,n.isBrowser=O,n.toArray=r,n.isArray=b,n.isStatefulComponent=e,n.isStringOrNumber=t,n.isNullOrUndef=o,n.isInvalid=i,n.isFunction=u,n.isAttrAnEvent=f,n.isString=s,n.isNumber=c,n.isNull=d,n.isTrue=p,n.isUndefined=l,n.isObject=y,n.throwError=a,n.warning=h,n.Lifecycle=m,n.copyPropsTo=v,Object.defineProperty(n,"__esModule",{value:!0})});
/*!
* inferno-shared v1.3.0-rc.1
* inferno-shared v1.3.0-rc.3
* (c) 2017 Dominic Gannaway'

@@ -69,6 +69,2 @@ * Released under the MIT License.

}
var EMPTY_OBJ = {};
if (process.env.NODE_ENV !== 'production') {
Object.freeze(EMPTY_OBJ);
}
function Lifecycle() {

@@ -114,3 +110,2 @@ this.listeners = [];

exports.warning = warning;
exports.EMPTY_OBJ = EMPTY_OBJ;
exports.Lifecycle = Lifecycle;

@@ -117,0 +112,0 @@ exports.copyPropsTo = copyPropsTo;

{
"name": "inferno-shared",
"version": "1.3.0-rc.1",
"version": "1.3.0-rc.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Helpers functions for Inferno",

@@ -75,8 +75,2 @@ export const NO_OP = '$NO_OP';

export const EMPTY_OBJ = {};
if (process.env.NODE_ENV !== 'production') {
Object.freeze(EMPTY_OBJ);
}
/*

@@ -83,0 +77,0 @@ * This is purely a tiny event-emitter/pubsub

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