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

@sitecore-jss/sitecore-pipelines

Package Overview
Dependencies
Maintainers
4
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sitecore-jss/sitecore-pipelines - npm Package Compare versions

Comparing version 8.0.3 to 9.0.0

4

dist/configLoader.js

@@ -17,4 +17,4 @@ "use strict";

while (_) try {
if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [0, t.value];
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {

@@ -21,0 +21,0 @@ case 0: case 1: t = op; break;

@@ -25,4 +25,4 @@ "use strict";

while (_) try {
if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [0, t.value];
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {

@@ -174,3 +174,2 @@ case 0: case 1: t = op; break;

*
* @param compilers
*/

@@ -177,0 +176,0 @@ exports.runWithCompilers = function (compilers) { return function (pipeline) { return __awaiter(_this, void 0, void 0, function () {

@@ -25,4 +25,4 @@ "use strict";

while (_) try {
if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [0, t.value];
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {

@@ -29,0 +29,0 @@ case 0: case 1: t = op; break;

@@ -11,4 +11,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
// todo: this looks an awful lot like a mini database/collection...
// is this the right pattern to use? and if so, should we look at an in-memory JS db? (e.g. LokiJS, TaffyDB, PouchDB, etc...)
exports.createPipelinesRegistry = function (existingPipelines) {

@@ -15,0 +13,0 @@ if (existingPipelines === void 0) { existingPipelines = {}; }

@@ -17,4 +17,4 @@ "use strict";

while (_) try {
if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [0, t.value];
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {

@@ -21,0 +21,0 @@ case 0: case 1: t = op; break;

@@ -17,4 +17,4 @@ "use strict";

while (_) try {
if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [0, t.value];
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {

@@ -21,0 +21,0 @@ case 0: case 1: t = op; break;

{
"name": "@sitecore-jss/sitecore-pipelines",
"version": "8.0.3",
"version": "9.0.0",
"description": "Sitecore Pipelines in JavaScript.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1,3 +0,4 @@

export { pipelineFactory, processorFactory } from './pipelineFactory';
export { pipelineFactory, processorFactory, Processor, Pipeline, ExecutablePipeline } from './pipelineFactory';
export { configLoader } from './configLoader';
export { run as runPipeline, runWithCompilers as runPipelineWithCompilers } from './pipeline';
export { PipelineRegistry } from './pipelinesRegistry';

@@ -17,4 +17,3 @@ import { ExecutablePipeline, Processor } from './pipelineFactory';

*
* @param compilers
*/
export declare const runWithCompilers: (compilers: any) => (pipeline: any) => Promise<any>;

@@ -67,3 +67,6 @@ export interface Processor {

export declare const pipelineFactory: {
/**
* Create a pipeline
*/
create: (name?: string) => Pipeline;
};

@@ -1,19 +0,13 @@

import { Pipeline, Processor } from './pipelineFactory';
export declare const createPipelinesRegistry: (existingPipelines?: {
[k: string]: Pipeline;
}) => {
import { Pipeline } from './pipelineFactory';
export interface PipelineRegistry {
addPipeline: (pipeline: Pipeline) => void;
updatePipeline: (pipeline: Pipeline, pipelineName?: string) => void;
deletePipeline: (pipelineName: string) => void;
getPipeline: (pipelineName: string) => {
name: string;
args: any;
processors: () => Processor[];
addProcessor: (processor: Processor) => void;
run: () => Promise<any>;
runWithCompilers: (compilers: string[]) => Promise<any>;
};
getPipeline: (pipelineName: string) => Pipeline;
getPipelines: () => {
[x: string]: Pipeline;
[key: string]: Pipeline;
};
};
}
export declare const createPipelinesRegistry: (existingPipelines?: {
[k: string]: Pipeline;
}) => PipelineRegistry;
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