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

@crud/react

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crud/react - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

index.d.ts

3

CrudContext.d.ts
import { Context } from "react";
import { CrudRequest } from "@crud/core";
export declare const CrudContext: Context<CrudRequest>;
declare const CrudContext: Context<CrudRequest>;
export default CrudContext;

@@ -11,3 +11,3 @@ "use strict";

var React = __importStar(require("react"));
exports.CrudContext = React.createContext(null);
//# sourceMappingURL=CrudContext.js.map
var CrudContext = React.createContext(null);
exports.default = CrudContext;
import * as React from "react";
import { CrudRequest } from "@crud/core";
export declare class CrudProvider extends React.Component {
props: {
children: any;
crud: CrudRequest;
};
export default class CrudProvider extends React.Component<{
children: any;
crud: CrudRequest;
}> {
constructor(props: any);
render(): React.ReactNode;
}

@@ -22,5 +22,8 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __importStar(require("react"));
var CrudContext_1 = require("./CrudContext");
var CrudContext_1 = __importDefault(require("./CrudContext"));
var CrudProvider = /** @class */ (function (_super) {

@@ -36,7 +39,6 @@ __extends(CrudProvider, _super);

CrudProvider.prototype.render = function () {
return React.createElement(CrudContext_1.CrudContext.Provider, { value: this.props.crud }, this.props.children);
return React.createElement(CrudContext_1.default.Provider, { value: this.props.crud }, this.props.children);
};
return CrudProvider;
}(React.Component));
exports.CrudProvider = CrudProvider;
//# sourceMappingURL=CrudProvider.js.map
exports.default = CrudProvider;
{
"name": "@crud/react",
"version": "1.1.0",
"version": "1.1.1",
"description": "@crud/core support for react",

@@ -17,5 +17,6 @@ "main": "index.js",

"devDependencies": {
"@crud/core": "^2.1.4",
"@material-ui/core": "^3.9.2",
"@types/react": "^16.8.6",
"typescript": "^3.3.3333",
"@material-ui/core": "^3.9.2"
"typescript": "^3.3.3333"
},

@@ -25,3 +26,3 @@ "keywords": [

"react",
"crud"
"react-material-crud"
],

@@ -28,0 +29,0 @@ "author": "Shridhr Sharma",

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