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

@envelop/core

Package Overview
Dependencies
Maintainers
1
Versions
1362
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@envelop/core - npm Package Compare versions

Comparing version 5.0.0-alpha-20231013095204-a7b05d40 to 5.0.0-alpha-20231013095727-f85e25ee

7

cjs/orchestrator.js

@@ -37,3 +37,5 @@ "use strict";

// Iterate all plugins and trigger onPluginInit
for (const [i, plugin] of plugins.entries()) {
for (let i = 0; i < plugins.length; i++) {
const plugin = plugins[i];
const pluginsToAdd = [];
plugin.onPluginInit &&

@@ -43,3 +45,3 @@ plugin.onPluginInit({

addPlugin: newPlugin => {
plugins.push(newPlugin);
pluginsToAdd.push(newPlugin);
},

@@ -49,2 +51,3 @@ setSchema: modifiedSchema => replaceSchema(modifiedSchema, i),

});
pluginsToAdd.length && plugins.splice(i + 1, 0, ...pluginsToAdd);
}

@@ -51,0 +54,0 @@ // A set of before callbacks defined here in order to allow it to be used later

@@ -34,3 +34,5 @@ import { documentStringMap } from './document-string-map.js';

// Iterate all plugins and trigger onPluginInit
for (const [i, plugin] of plugins.entries()) {
for (let i = 0; i < plugins.length; i++) {
const plugin = plugins[i];
const pluginsToAdd = [];
plugin.onPluginInit &&

@@ -40,3 +42,3 @@ plugin.onPluginInit({

addPlugin: newPlugin => {
plugins.push(newPlugin);
pluginsToAdd.push(newPlugin);
},

@@ -46,2 +48,3 @@ setSchema: modifiedSchema => replaceSchema(modifiedSchema, i),

});
pluginsToAdd.length && plugins.splice(i + 1, 0, ...pluginsToAdd);
}

@@ -48,0 +51,0 @@ // A set of before callbacks defined here in order to allow it to be used later

{
"name": "@envelop/core",
"version": "5.0.0-alpha-20231013095204-a7b05d40",
"version": "5.0.0-alpha-20231013095727-f85e25ee",
"sideEffects": false,
"dependencies": {
"@envelop/types": "5.0.0-alpha-20231013095204-a7b05d40",
"@envelop/types": "5.0.0-alpha-20231013095727-f85e25ee",
"tslib": "^2.5.0"

@@ -8,0 +8,0 @@ },

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