Huge News!Announcing our $40M Series B led by Abstract Ventures.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.22 to 0.2.23

5

bld/library/@utils.js

@@ -80,6 +80,9 @@ "use strict";

}
else {
else if (Path.relative(from, to).startsWith(`..${Path.sep}`)) {
FSExtra.moveSync(from, to);
return true;
}
else {
return false;
}
}

@@ -86,0 +89,0 @@ exports.conservativelyMove = conservativelyMove;

2

bld/library/files/json-file.js

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

stringify(content) {
let { space } = this.options;
let { space = 2 } = this.options;
return JSON.stringify(content, undefined, space);

@@ -13,0 +13,0 @@ }

{
"name": "@magicspace/core",
"version": "0.2.22",
"version": "0.2.23",
"publishConfig": {

@@ -34,3 +34,3 @@ "access": "public"

},
"gitHead": "c9df331211d1a13f49e69d16128bc8f0c49ffca5"
"gitHead": "3bd60b5fde351640a4bfde72249bb09169f0ce8e"
}

@@ -98,5 +98,7 @@ import * as ChildProcess from 'child_process';

}
} else {
} else if (Path.relative(from, to).startsWith(`..${Path.sep}`)) {
FSExtra.moveSync(from, to);
return true;
} else {
return false;
}

@@ -103,0 +105,0 @@ }

@@ -20,3 +20,3 @@ import {FileContext} from '../file';

protected stringify(content: TContent | undefined): string {
let {space} = this.options;
let {space = 2} = this.options;

@@ -23,0 +23,0 @@ return JSON.stringify(content, undefined, space);

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