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

@ms-cloudpack/bundler-plugin-ori

Package Overview
Dependencies
Maintainers
0
Versions
277
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ms-cloudpack/bundler-plugin-ori - npm Package Compare versions

Comparing version 0.18.4 to 0.18.5

20

lib/getOriOptions.js

@@ -1,2 +0,2 @@

import { findProjectRoot } from '@ms-cloudpack/package-utilities';
import { findProjectRoot, mergeArrayDefaults } from '@ms-cloudpack/package-utilities';
import { normalizeRelativePath, slash } from '@ms-cloudpack/path-string-parsing';

@@ -58,16 +58,2 @@ import { builtinModules } from 'module';

}
function mergeDefaults(defaults, overrides) {
const values = [];
if (overrides) {
values.push(...overrides);
const defaultsIndex = overrides.indexOf('...');
if (defaultsIndex !== -1) {
values.splice(defaultsIndex, 1, ...defaults);
}
}
else {
values.push(...defaults);
}
return values;
}
function buildDynamicImportsFilter(dynamicImports) {

@@ -94,3 +80,3 @@ // Using the basename works good enough for now, we might want to include the path in the future,

: defaultResolveExtensions;
const plugins = mergeDefaults(defaultPlugins, overrideOptions.plugins);
const plugins = mergeArrayDefaults(overrideOptions.plugins, defaultPlugins);
if (dynamicImports?.length) {

@@ -157,5 +143,5 @@ plugins.push({

plugins,
resolveExtensions: mergeDefaults(resolveExtensions, overrideOptions.resolveExtensions),
resolveExtensions: mergeArrayDefaults(overrideOptions.resolveExtensions, resolveExtensions),
};
}
//# sourceMappingURL=getOriOptions.js.map

4

package.json
{
"name": "@ms-cloudpack/bundler-plugin-ori",
"version": "0.18.4",
"version": "0.18.5",
"description": "An abstraction to bundle source code using ori.",

@@ -18,3 +18,3 @@ "license": "MIT",

"@ms-cloudpack/common-types": "^0.9.0",
"@ms-cloudpack/package-utilities": "^7.7.1",
"@ms-cloudpack/package-utilities": "^7.8.0",
"@ms-cloudpack/path-string-parsing": "^1.2.3",

@@ -21,0 +21,0 @@ "@ms-cloudpack/path-utilities": "^2.7.21",

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