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

chaituvr-react-graphjs-test

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chaituvr-react-graphjs-test - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

15

dist/index.js

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

!function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=2)}([function(e,r,t){"use strict";e.exports=t(3)},function(e,r,t){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(r).map(function(e){return r[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var t,a,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),f=1;f<arguments.length;f++){for(var c in t=Object(arguments[f]))o.call(t,c)&&(l[c]=t[c]);if(n){a=n(t);for(var i=0;i<a.length;i++)u.call(t,a[i])&&(l[a[i]]=t[a[i]])}}return l}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.GraphJSStarList=r.GraphJSStarButton=r.GraphJSPrivateContent=r.GraphJSComments=r.GraphJSGroupList=r.GraphJSGroupCard=r.GraphJSGroup=r.GraphJSProfileList=r.GraphJSProfileCard=r.GraphJSProfile=r.GraphJSMessagesComposer=r.GraphJSMessages=r.GraphJSForumComposer=r.GraphJSForumThread=r.GraphJSForumList=r.GraphJSForum=r.GraphJSAuthReset=r.GraphJSAuthLogin=r.GraphJSAuthRegister=r.GraphJSAuthState=r.GraphJSAuth=void 0;var n,o=t(0),u=(n=o)&&n.__esModule?n:{default:n};r.GraphJSAuth=function(e){return u.default.createElement("graphjs-auth",e)},r.GraphJSAuthState=function(e){return u.default.createElement("graphjs-auth-state",e)},r.GraphJSAuthRegister=function(e){return u.default.createElement("graphjs-auth-register",e)},r.GraphJSAuthLogin=function(e){return u.default.createElement("graphjs-auth-login",e)},r.GraphJSAuthReset=function(e){return u.default.createElement("graphjs-auth-reset",e)},r.GraphJSForum=function(e){return u.default.createElement("graphjs-forum",e)},r.GraphJSForumList=function(e){return u.default.createElement("graphjs-forum-list",e)},r.GraphJSForumThread=function(e){return u.default.createElement("graphjs-forum-thread",e)},r.GraphJSForumComposer=function(e){return u.default.createElement("graphjs-forum-composer",e)},r.GraphJSMessages=function(e){return u.default.createElement("graphjs-messages",e)},r.GraphJSMessagesComposer=function(e){return u.default.createElement("graphjs-messages-composer",e)},r.GraphJSProfile=function(e){return u.default.createElement("graphjs-profile",e)},r.GraphJSProfileCard=function(e){return u.default.createElement("graphjs-profile-card",e)},r.GraphJSProfileList=function(e){return u.default.createElement("graphjs-profile-list",e)},r.GraphJSGroup=function(e){return u.default.createElement("graphjs-group",e)},r.GraphJSGroupCard=function(e){return u.default.createElement("graphjs-group-card",e)},r.GraphJSGroupList=function(e){return u.default.createElement("graphjs-group-list",e)},r.GraphJSComments=function(e){return u.default.createElement("graphjs-comments",e)},r.GraphJSPrivateContent=function(e){return u.default.createElement("graphjs-private-content",e,"custom"===e.placeholder?e.children:"")},r.GraphJSStarButton=function(e){return u.default.createElement("graphjs-star-button",e)},r.GraphJSStarList=function(e){return u.default.createElement("graphjs-star-list",e)}},function(e,r,t){"use strict";
/** @license React v16.8.6
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var n=t(1),o="function"==typeof Symbol&&Symbol.for,u=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,f=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,i=o?Symbol.for("react.provider"):60109,s=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.concurrent_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,S="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var r=arguments.length-1,t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=0;n<r;n++)t+="&args[]="+encodeURIComponent(arguments[n+1]);!function(e,r,t,n,o,u,a,l){if(!e){if(e=void 0,void 0===r)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[t,n,o,u,a,l],c=0;(e=Error(r.replace(/%s/g,function(){return f[c++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",t)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function j(e,r,t){this.props=e,this.context=r,this.refs=b,this.updater=t||v}function G(){}function _(e,r,t){this.props=e,this.context=r,this.refs=b,this.updater=t||v}j.prototype.isReactComponent={},j.prototype.setState=function(e,r){"object"!=typeof e&&"function"!=typeof e&&null!=e&&g("85"),this.updater.enqueueSetState(this,e,r,"setState")},j.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},G.prototype=j.prototype;var J=_.prototype=new G;J.constructor=_,n(J,j.prototype),J.isPureReactComponent=!0;var E={current:null},O={current:null},P=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function k(e,r,t){var n=void 0,o={},a=null,l=null;if(null!=r)for(n in void 0!==r.ref&&(l=r.ref),void 0!==r.key&&(a=""+r.key),r)P.call(r,n)&&!C.hasOwnProperty(n)&&(o[n]=r[n]);var f=arguments.length-2;if(1===f)o.children=t;else if(1<f){for(var c=Array(f),i=0;i<f;i++)c[i]=arguments[i+2];o.children=c}if(e&&e.defaultProps)for(n in f=e.defaultProps)void 0===o[n]&&(o[n]=f[n]);return{$$typeof:u,type:e,key:a,ref:l,props:o,_owner:O.current}}function w(e){return"object"==typeof e&&null!==e&&e.$$typeof===u}var x=/\/+/g,$=[];function R(e,r,t,n){if($.length){var o=$.pop();return o.result=e,o.keyPrefix=r,o.func=t,o.context=n,o.count=0,o}return{result:e,keyPrefix:r,func:t,context:n,count:0}}function A(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>$.length&&$.push(e)}function M(e,r,t){return null==e?0:function e(r,t,n,o){var l=typeof r;"undefined"!==l&&"boolean"!==l||(r=null);var f=!1;if(null===r)f=!0;else switch(l){case"string":case"number":f=!0;break;case"object":switch(r.$$typeof){case u:case a:f=!0}}if(f)return n(o,r,""===t?"."+L(r,0):t),1;if(f=0,t=""===t?".":t+":",Array.isArray(r))for(var c=0;c<r.length;c++){var i=t+L(l=r[c],c);f+=e(l,i,n,o)}else if(i=null===r||"object"!=typeof r?null:"function"==typeof(i=S&&r[S]||r["@@iterator"])?i:null,"function"==typeof i)for(r=i.call(r),c=0;!(l=r.next()).done;)f+=e(l=l.value,i=t+L(l,c++),n,o);else"object"===l&&g("31","[object Object]"==(n=""+r)?"object with keys {"+Object.keys(r).join(", ")+"}":n,"");return f}(e,"",r,t)}function L(e,r){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var r={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return r[e]})}(e.key):r.toString(36)}function F(e,r){e.func.call(e.context,r,e.count++)}function T(e,r,t){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,r,e.count++),Array.isArray(e)?I(e,n,t,function(e){return e}):null!=e&&(w(e)&&(e=function(e,r){return{$$typeof:u,type:e.type,key:r,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||r&&r.key===e.key?"":(""+e.key).replace(x,"$&/")+"/")+t)),n.push(e))}function I(e,r,t,n,o){var u="";null!=t&&(u=(""+t).replace(x,"$&/")+"/"),M(e,T,r=R(r,u,n,o)),A(r)}function q(){var e=E.current;return null===e&&g("321"),e}var U={Children:{map:function(e,r,t){if(null==e)return e;var n=[];return I(e,n,null,r,t),n},forEach:function(e,r,t){if(null==e)return e;M(e,F,r=R(null,null,r,t)),A(r)},count:function(e){return M(e,function(){return null},null)},toArray:function(e){var r=[];return I(e,r,null,function(e){return e}),r},only:function(e){return w(e)||g("143"),e}},createRef:function(){return{current:null}},Component:j,PureComponent:_,createContext:function(e,r){return void 0===r&&(r=null),(e={$$typeof:s,_calculateChangedBits:r,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:h,render:e}},lazy:function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},memo:function(e,r){return{$$typeof:y,type:e,compare:void 0===r?null:r}},useCallback:function(e,r){return q().useCallback(e,r)},useContext:function(e,r){return q().useContext(e,r)},useEffect:function(e,r){return q().useEffect(e,r)},useImperativeHandle:function(e,r,t){return q().useImperativeHandle(e,r,t)},useDebugValue:function(){},useLayoutEffect:function(e,r){return q().useLayoutEffect(e,r)},useMemo:function(e,r){return q().useMemo(e,r)},useReducer:function(e,r,t){return q().useReducer(e,r,t)},useRef:function(e){return q().useRef(e)},useState:function(e){return q().useState(e)},Fragment:l,StrictMode:f,Suspense:d,createElement:k,cloneElement:function(e,r,t){null==e&&g("267",e);var o=void 0,a=n({},e.props),l=e.key,f=e.ref,c=e._owner;if(null!=r){void 0!==r.ref&&(f=r.ref,c=O.current),void 0!==r.key&&(l=""+r.key);var i=void 0;for(o in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),r)P.call(r,o)&&!C.hasOwnProperty(o)&&(a[o]=void 0===r[o]&&void 0!==i?i[o]:r[o])}if(1===(o=arguments.length-2))a.children=t;else if(1<o){i=Array(o);for(var s=0;s<o;s++)i[s]=arguments[s+2];a.children=i}return{$$typeof:u,type:e.type,key:l,ref:f,props:a,_owner:c}},createFactory:function(e){var r=k.bind(null,e);return r.type=e,r},isValidElement:w,version:"16.8.6",unstable_ConcurrentMode:p,unstable_Profiler:c,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:E,ReactCurrentOwner:O,assign:n}},N={default:U},V=N&&U||N;e.exports=V.default||V}]);
module.exports=function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e,t){e.exports=require("react")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GraphJSStarList=t.GraphJSStarButton=t.GraphJSPrivateContent=t.GraphJSComments=t.GraphJSGroupList=t.GraphJSGroupCard=t.GraphJSGroup=t.GraphJSProfileList=t.GraphJSProfileCard=t.GraphJSProfile=t.GraphJSMessagesComposer=t.GraphJSMessages=t.GraphJSForumComposer=t.GraphJSForumThread=t.GraphJSForumList=t.GraphJSForum=t.GraphJSAuthReset=t.GraphJSAuthLogin=t.GraphJSAuthRegister=t.GraphJSAuthState=t.GraphJSAuth=void 0;var a,n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,r,a){return r&&e(t.prototype,r),a&&e(t,a),t}}(),u=r(0),p=(a=u)&&a.__esModule?a:{default:a};var i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,p.default.Component),o(t,[{key:"componentDidMount",value:function(){window&&window.GraphJS.reMountRiotTags(this.props.tagName)}},{key:"render",value:function(){var e=this.props,t=e.tagName,r=e.children,a=function(e,t){var r={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r}(e,["tagName","children"]),n=""+t;return p.default.createElement(n,a,r&&r)}}]),t}();t.GraphJSAuth=function(e){return p.default.createElement(i,n({tagName:"graphjs-auth"},e))},t.GraphJSAuthState=function(e){return p.default.createElement(i,n({tagName:"graphjs-auth-state"},e))},t.GraphJSAuthRegister=function(e){return p.default.createElement(i,n({tagName:"graphjs-auth-register"},e))},t.GraphJSAuthLogin=function(e){return p.default.createElement(i,n({tagName:"graphjs-auth-login"},e))},t.GraphJSAuthReset=function(e){return p.default.createElement(i,n({tagName:"graphjs-auth-reset"},e))},t.GraphJSForum=function(e){return p.default.createElement(i,n({tagName:"graphjs-forum"},e))},t.GraphJSForumList=function(e){return p.default.createElement(i,n({tagName:"graphjs-forum-list"},e))},t.GraphJSForumThread=function(e){return p.default.createElement(i,n({tagName:"graphjs-forum-thread"},e))},t.GraphJSForumComposer=function(e){return p.default.createElement(i,n({tagName:"graphjs-forum-composer"},e))},t.GraphJSMessages=function(e){return p.default.createElement(i,n({tagName:"graphjs-messages"},e))},t.GraphJSMessagesComposer=function(e){return p.default.createElement(i,n({tagName:"graphjs-messages-composer"},e))},t.GraphJSProfile=function(e){return p.default.createElement(i,n({tagName:"graphjs-profile"},e))},t.GraphJSProfileCard=function(e){return p.default.createElement(i,n({tagName:"graphjs-profile-card"},e))},t.GraphJSProfileList=function(e){return p.default.createElement(i,n({tagName:"graphjs-profile-list"},e))},t.GraphJSGroup=function(e){return p.default.createElement(i,n({tagName:"graphjs-group"},e))},t.GraphJSGroupCard=function(e){return p.default.createElement(i,n({tagName:"graphjs-group-card"},e))},t.GraphJSGroupList=function(e){return p.default.createElement(i,n({tagName:"graphjs-group-list"},e))},t.GraphJSComments=function(e){return p.default.createElement(i,n({tagName:"graphjs-comments"},e))},t.GraphJSPrivateContent=function(e){return p.default.createElement(i,n({tagName:"graphjs-private-content"},e),"custom"===e.placeholder?e.children:"")},t.GraphJSStarButton=function(e){return p.default.createElement(i,n({tagName:"graphjs-star-button"},e))},t.GraphJSStarList=function(e){return p.default.createElement(i,n({tagName:"graphjs-star-list"},e))}}]);

11

package.json
{
"name": "chaituvr-react-graphjs-test",
"version": "0.0.2",
"version": "0.0.3",
"description": "GraphJS for React",

@@ -13,3 +13,3 @@ "main": "dist/index.js",

"watch": "webpack --watch",
"prepublish": "npm run build"
"prepublishOnly": "npm run build"
},

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

"babel-loader": "^7.1.2",
"webpack-cli": "^3.3.2",
"babel-preset-env": "^1.7.0",

@@ -35,4 +34,8 @@ "babel-preset-react": "^6.24.1",

"react-dom": "^16.6.0",
"webpack": "^4.25.1"
"webpack": "^4.25.1",
"webpack-cli": "^3.3.2"
},
"dependencies": {
"babel-plugin-transform-object-rest-spread": "^6.26.0"
}
}
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