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

@magicspace/core

Package Overview
Dependencies
Maintainers
5
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magicspace/core - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

5

bld/library/config/config.js

@@ -14,2 +14,3 @@ "use strict";

function _resolveTemplateConfig(dir) {
var _a;
let configFilePath = require.resolve(Path.join(dir, 'template'));

@@ -55,4 +56,6 @@ // This is not identical to `dir`.

for (let specifier of superSpecifiers) {
let superDir = module_lens_1.resolve(specifier, {
let superDir = (_a = module_lens_1.resolve(specifier, {
sourceFileName: configFilePath,
})) !== null && _a !== void 0 ? _a : module_lens_1.resolve(specifier, {
sourceFileName: __filename,
});

@@ -59,0 +62,0 @@ if (!superDir) {

4

package.json
{
"name": "@magicspace/core",
"version": "0.2.1",
"version": "0.2.2",
"description": "",

@@ -37,3 +37,3 @@ "author": "Chengdu Mufan Technology Co., Ltd.",

},
"gitHead": "ff16daf6eb7cd51e62626caacb56456efc402aaa"
"gitHead": "b3cd8d8b4d1928ff29992550c5b2c76e596de36f"
}

@@ -95,5 +95,9 @@ import * as Path from 'path';

for (let specifier of superSpecifiers) {
let superDir = resolve(specifier, {
sourceFileName: configFilePath,
});
let superDir =
resolve(specifier, {
sourceFileName: configFilePath,
}) ??
resolve(specifier, {
sourceFileName: __filename,
});

@@ -100,0 +104,0 @@ if (!superDir) {

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