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

@bloc-js/react-bloc

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bloc-js/react-bloc - npm Package Compare versions

Comparing version 2.3.0 to 3.0.0

2

lib-es/with-blocs.js

@@ -28,3 +28,3 @@ var __extends = (this && this.__extends) || (function () {

return function injectBlocProps(Comp) {
return (function (_super) {
return /** @class */ (function (_super) {
__extends(WithBlocsHOC, _super);

@@ -31,0 +31,0 @@ function WithBlocsHOC(props) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BlocBuilder = void 0;
var react_1 = require("react");

@@ -4,0 +5,0 @@ function BlocBuilder(props) {

"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./bloc-builder"));
__export(require("./use-bloc-state"));
__export(require("./with-blocs"));
__exportStar(require("./bloc-builder"), exports);
__exportStar(require("./use-bloc-state"), exports);
__exportStar(require("./with-blocs"), exports);
//# sourceMappingURL=react-bloc.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useBlocState = void 0;
var react_1 = require("react");

@@ -4,0 +5,0 @@ function useBlocState(bloc) {

@@ -27,6 +27,7 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.withBlocs = void 0;
var react_1 = require("react");
function withBlocs(creator) {
return function injectBlocProps(Comp) {
return (function (_super) {
return /** @class */ (function (_super) {
__extends(WithBlocsHOC, _super);

@@ -33,0 +34,0 @@ function WithBlocsHOC(props) {

{
"name": "@bloc-js/react-bloc",
"version": "2.3.0",
"version": "3.0.0",
"description": "React components for implementing the BLoC pattern.",

@@ -41,6 +41,7 @@ "keywords": [

"@bloc-js/bloc": ">= 2",
"react": "*"
"react": "*",
"rxjs": "*"
},
"devDependencies": {
"@bloc-js/bloc": "^2.1.0",
"@bloc-js/bloc": "^3.0.0",
"@types/react": "^16.9.15",

@@ -50,3 +51,3 @@ "react": "^16.12.0",

},
"gitHead": "29717516e15bc90966cb679729417ac82e9b5e8c"
"gitHead": "1cdc87eebe3fcd85fa8b75a121235bd6dcf4c030"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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