New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@envelop/core

Package Overview
Dependencies
Maintainers
1
Versions
1368
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-20231006093815-abe48e7c to 5.0.0-alpha-20231006145423-fa11c70e

7

cjs/orchestrator.js

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

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

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

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

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

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

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

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

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

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

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

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

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

@@ -51,0 +48,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-20231006093815-abe48e7c",
"version": "5.0.0-alpha-20231006145423-fa11c70e",
"sideEffects": false,
"dependencies": {
"@envelop/types": "4.0.1",
"@envelop/types": "5.0.0-alpha-20231006145423-fa11c70e",
"tslib": "^2.5.0"

@@ -26,3 +26,3 @@ },

"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},

@@ -29,0 +29,0 @@ "main": "cjs/index.js",

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