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

@react-vector-graphics/core

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-vector-graphics/core - npm Package Compare versions

Comparing version 0.3.1 to 0.4.0

10

lib/main.js

@@ -23,3 +23,3 @@ "use strict";

logger.info('options:', config.options);
const pluginArgs = [{}];
const pluginParams = [{}];
for (const plugin of plugins_1.getPlugins(config)) {

@@ -31,10 +31,10 @@ logger.info('plugin:', plugin);

]);
const results = yield Promise.all(pluginArgs.splice(0).map((args) => __awaiter(void 0, void 0, void 0, function* () {
const result = yield pluginFn(args.code, pluginConfig, args.state, logger);
const results = yield Promise.all(pluginParams.splice(0).map((params) => __awaiter(void 0, void 0, void 0, function* () {
const result = yield pluginFn(params.code, pluginConfig, params.state, logger);
return (Array.isArray(result) ? result : [result])
.filter(Boolean)
.map(r => normalizePluginParams(r, args));
.map(r => normalizePluginParams(r, params));
})));
pluginArgs.push(...pluginArgs.concat(...results));
pluginParams.push(...pluginParams.concat(...results));
}
});
{
"name": "@react-vector-graphics/core",
"version": "0.3.1",
"version": "0.4.0",
"description": "Core library of react-vector-graphics",

@@ -11,3 +11,3 @@ "author": "Top Hat <opensource@tophat.com>",

"lib": "lib",
"test": "__tests__"
"test": "tests"
},

@@ -36,3 +36,3 @@ "files": [

},
"gitHead": "2259d10204c0338b674ecfda7fda3f4d1255e941"
"gitHead": "52e6a242e5de5b9c157297755a9d6f20d9ef2632"
}
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