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

gridjs-react

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gridjs-react - npm Package Compare versions

Comparing version 1.4.3 to 1.5.0

2

dist/gridjs.development.es.js

@@ -58,3 +58,3 @@ import { createElement, createRef, Component } from 'react';

export default Grid;
export { Grid };
//# sourceMappingURL=gridjs.development.es.js.map
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('gridjs')) :
typeof define === 'function' && define.amd ? define(['react', 'gridjs'], factory) :
(global = global || self, global.gridjs = factory(global.React, global.gridjs));
}(this, (function (React, gridjs) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('gridjs')) :
typeof define === 'function' && define.amd ? define(['exports', 'react', 'gridjs'], factory) :
(global = global || self, factory(global.gridjs = {}, global.React, global.gridjs));
}(this, (function (exports, React, gridjs) { 'use strict';

@@ -61,5 +61,7 @@ /*! *****************************************************************************

return Grid;
exports.Grid = Grid;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=gridjs.development.js.map

@@ -15,3 +15,3 @@ import{createElement as t,createRef as n,Component as r}from"react";import{Grid as o}from"gridjs";

PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])})(t,n)};var i=function(r){function i(t){var e=r.call(this,t)||this;return e.wrapper=n(),e.instance=null,e.instance=new o(t||{}),e}return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}(i,r),i.prototype.getInstance=function(){return this.instance},i.prototype.componentDidMount=function(){this.instance.render(this.wrapper.current)},i.prototype.componentDidUpdate=function(){this.instance.updateConfig(this.props).forceRender()},i.prototype.render=function(){return t("div",{ref:this.wrapper})},i}(r);export default i;
***************************************************************************** */var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])})(t,n)};var i=function(r){function i(t){var e=r.call(this,t)||this;return e.wrapper=n(),e.instance=null,e.instance=new o(t||{}),e}return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}(i,r),i.prototype.getInstance=function(){return this.instance},i.prototype.componentDidMount=function(){this.instance.render(this.wrapper.current)},i.prototype.componentDidUpdate=function(){this.instance.updateConfig(this.props).forceRender()},i.prototype.render=function(){return t("div",{ref:this.wrapper})},i}(r);export{i as Grid};
//# sourceMappingURL=gridjs.production.es.min.js.map

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

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("react"),require("gridjs")):"function"==typeof define&&define.amd?define(["react","gridjs"],e):(t=t||self).gridjs=e(t.React,t.gridjs)}(this,(function(t,e){"use strict";
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react"),require("gridjs")):"function"==typeof define&&define.amd?define(["exports","react","gridjs"],e):e((t=t||self).gridjs={},t.React,t.gridjs)}(this,(function(t,e,n){"use strict";
/*! *****************************************************************************

@@ -15,3 +15,3 @@ Copyright (c) Microsoft Corporation.

PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};return function(r){function o(n){var o=r.call(this,n)||this;return o.wrapper=t.createRef(),o.instance=null,o.instance=new e.Grid(n||{}),o}return function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(o,r),o.prototype.getInstance=function(){return this.instance},o.prototype.componentDidMount=function(){this.instance.render(this.wrapper.current)},o.prototype.componentDidUpdate=function(){this.instance.updateConfig(this.props).forceRender()},o.prototype.render=function(){return t.createElement("div",{ref:this.wrapper})},o}(t.Component)}));
***************************************************************************** */var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var o=function(t){function o(r){var o=t.call(this,r)||this;return o.wrapper=e.createRef(),o.instance=null,o.instance=new n.Grid(r||{}),o}return function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(o,t),o.prototype.getInstance=function(){return this.instance},o.prototype.componentDidMount=function(){this.instance.render(this.wrapper.current)},o.prototype.componentDidUpdate=function(){this.instance.updateConfig(this.props).forceRender()},o.prototype.render=function(){return e.createElement("div",{ref:this.wrapper})},o}(e.Component);t.Grid=o,Object.defineProperty(t,"__esModule",{value:!0})}));
//# sourceMappingURL=gridjs.production.min.js.map
import Grid from "./src/grid";
export default Grid;
export { Grid };
{
"name": "gridjs-react",
"version": "1.4.3",
"version": "1.5.0",
"description": "React component for Grid.js",

@@ -22,4 +22,4 @@ "main": "dist/gridjs.production.min.js",

"peerDependencies": {
"gridjs": "file:../gridjs",
"react": "^16.13.1"
"react": "^16.13.1",
"gridjs": "^1.5.0"
},

@@ -44,3 +44,3 @@ "scripts": {

"eslint-plugin-jest": "~23.13.2",
"gridjs": "file:../gridjs",
"gridjs": "^1.5.0",
"jest": "~25.5.4",

@@ -47,0 +47,0 @@ "jsdom": "^16.2.2",

# Grid.js for React
[Grid.js](https://gridjs.io/) component for React
React component for [Grid.js](https://gridjs.io/)

@@ -19,2 +19,10 @@ ## Install

Import the Grid component first:
```js
import { Grid } from "gridjs-react";
```
and then:
```jsx

@@ -37,4 +45,8 @@ <Grid

## Example
See the [React example](https://gridjs.io/docs/integrations/react) on Grid.js website.
## License
MIT

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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