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

@contember/react-multipass-rendering

Package Overview
Dependencies
Maintainers
5
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/react-multipass-rendering - npm Package Compare versions

Comparing version 1.1.0-alpha.13 to 1.1.0-alpha.14

4

dist/development/assertNever.js
const assertNever = (_) => {
throw new Error();
};
export { assertNever };
export {
assertNever
};
//# sourceMappingURL=assertNever.js.map

@@ -27,4 +27,8 @@ var __defProp = Object.defineProperty;

const processed = this.processNode(children, initialStaticContext, []);
const rawResult = Array.isArray(processed) ? processed : [processed];
return rawResult.filter((item) => item !== void 0);
const rawResult = Array.isArray(
processed
) ? processed : [processed];
return rawResult.filter(
(item) => item !== void 0
);
}

@@ -117,3 +121,3 @@ processNode(node, staticContext, componentPath) {

default:
return assertNever(specification);
return assertNever();
}

@@ -147,3 +151,3 @@ }

default:
return assertNever(specification);
return assertNever();
}

@@ -166,3 +170,5 @@ }

});
export { ChildrenAnalyzer };
export {
ChildrenAnalyzer
};
//# sourceMappingURL=ChildrenAnalyzer.js.map

@@ -14,3 +14,5 @@ var __defProp = Object.defineProperty;

}
export { ChildrenAnalyzerError };
export {
ChildrenAnalyzerError
};
//# sourceMappingURL=ChildrenAnalyzerError.js.map
const getErrorMessage = (factory, node, staticContext) => {
return typeof factory === "string" ? factory : factory(node, staticContext);
};
export { getErrorMessage };
export {
getErrorMessage
};
//# sourceMappingURL=getErrorMessage.js.map

@@ -16,11 +16,14 @@ import React from "react";

try {
const valuePrinted = JSON.stringify(value, (key2, value2) => {
if (typeof value2 === "function") {
return "(function)";
const valuePrinted = JSON.stringify(
value,
(key2, value2) => {
if (typeof value2 === "function") {
return "(function)";
}
if (React.isValidElement(value2)) {
return "(react element)";
}
return value2;
}
if (React.isValidElement(value2)) {
return "(react element)";
}
return value2;
});
);
result += ` ${key}=${valuePrinted}`;

@@ -46,3 +49,5 @@ } catch {

};
export { wrapError };
export {
wrapError
};
//# sourceMappingURL=wrapError.js.map

@@ -1,5 +0,11 @@

export { ChildrenAnalyzer } from "./ChildrenAnalyzer.js";
export { ChildrenAnalyzerError } from "./ChildrenAnalyzerError.js";
export { BranchNode } from "./nodeSpecs/BranchNode.js";
export { Leaf } from "./nodeSpecs/Leaf.js";
import { ChildrenAnalyzer } from "./ChildrenAnalyzer.js";
import { ChildrenAnalyzerError } from "./ChildrenAnalyzerError.js";
import { BranchNode } from "./nodeSpecs/BranchNode.js";
import { Leaf } from "./nodeSpecs/Leaf.js";
export {
BranchNode,
ChildrenAnalyzer,
ChildrenAnalyzerError,
Leaf
};
//# sourceMappingURL=index.js.map

@@ -38,3 +38,5 @@ var __defProp = Object.defineProperty;

});
export { BranchNode };
export {
BranchNode
};
//# sourceMappingURL=BranchNode.js.map

@@ -24,3 +24,5 @@ var __defProp = Object.defineProperty;

}
export { Leaf };
export {
Leaf
};
//# sourceMappingURL=Leaf.js.map
const assertNever = (_) => {
throw new Error();
};
export { assertNever };
export {
assertNever
};
//# sourceMappingURL=assertNever.js.map

@@ -27,4 +27,8 @@ var __defProp = Object.defineProperty;

const processed = this.processNode(children, initialStaticContext, []);
const rawResult = Array.isArray(processed) ? processed : [processed];
return rawResult.filter((item) => item !== void 0);
const rawResult = Array.isArray(
processed
) ? processed : [processed];
return rawResult.filter(
(item) => item !== void 0
);
}

@@ -117,3 +121,3 @@ processNode(node, staticContext, componentPath) {

default:
return assertNever(specification);
return assertNever();
}

@@ -147,3 +151,3 @@ }

default:
return assertNever(specification);
return assertNever();
}

@@ -166,3 +170,5 @@ }

});
export { ChildrenAnalyzer };
export {
ChildrenAnalyzer
};
//# sourceMappingURL=ChildrenAnalyzer.js.map

@@ -14,3 +14,5 @@ var __defProp = Object.defineProperty;

}
export { ChildrenAnalyzerError };
export {
ChildrenAnalyzerError
};
//# sourceMappingURL=ChildrenAnalyzerError.js.map
const getErrorMessage = (factory, node, staticContext) => {
return typeof factory === "string" ? factory : factory(node, staticContext);
};
export { getErrorMessage };
export {
getErrorMessage
};
//# sourceMappingURL=getErrorMessage.js.map

@@ -16,11 +16,14 @@ import React from "react";

try {
const valuePrinted = JSON.stringify(value, (key2, value2) => {
if (typeof value2 === "function") {
return "(function)";
const valuePrinted = JSON.stringify(
value,
(key2, value2) => {
if (typeof value2 === "function") {
return "(function)";
}
if (React.isValidElement(value2)) {
return "(react element)";
}
return value2;
}
if (React.isValidElement(value2)) {
return "(react element)";
}
return value2;
});
);
result += ` ${key}=${valuePrinted}`;

@@ -46,3 +49,5 @@ } catch {

};
export { wrapError };
export {
wrapError
};
//# sourceMappingURL=wrapError.js.map

@@ -1,5 +0,11 @@

export { ChildrenAnalyzer } from "./ChildrenAnalyzer.js";
export { ChildrenAnalyzerError } from "./ChildrenAnalyzerError.js";
export { BranchNode } from "./nodeSpecs/BranchNode.js";
export { Leaf } from "./nodeSpecs/Leaf.js";
import { ChildrenAnalyzer } from "./ChildrenAnalyzer.js";
import { ChildrenAnalyzerError } from "./ChildrenAnalyzerError.js";
import { BranchNode } from "./nodeSpecs/BranchNode.js";
import { Leaf } from "./nodeSpecs/Leaf.js";
export {
BranchNode,
ChildrenAnalyzer,
ChildrenAnalyzerError,
Leaf
};
//# sourceMappingURL=index.js.map

@@ -38,3 +38,5 @@ var __defProp = Object.defineProperty;

});
export { BranchNode };
export {
BranchNode
};
//# sourceMappingURL=BranchNode.js.map

@@ -24,3 +24,5 @@ var __defProp = Object.defineProperty;

}
export { Leaf };
export {
Leaf
};
//# sourceMappingURL=Leaf.js.map
{
"name": "@contember/react-multipass-rendering",
"license": "Apache-2.0",
"version": "1.1.0-alpha.13",
"version": "1.1.0-alpha.14",
"type": "module",

@@ -6,0 +6,0 @@ "sideEffects": false,

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

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

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