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

@multiplatform.one/cli

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@multiplatform.one/cli - npm Package Compare versions

Comparing version 1.0.31 to 1.0.32

4

package.json
{
"name": "@multiplatform.one/cli",
"version": "1.0.31",
"version": "1.0.32",
"author": "BitSpur <support@bitspur.com> (https://bitspur.com)",

@@ -55,3 +55,3 @@ "contributors": [

"typescript": "~5.3.3",
"@multiplatform.one/utils": "^0.0.16"
"@multiplatform.one/utils": "^0.0.17"
},

@@ -58,0 +58,0 @@ "dependencies": {

@@ -46,3 +46,3 @@ /*

.action(async (remote) => {
if ((await execa('git', ['rev-parse', '--is-inside-work-tree'])).stdout.trim() === 'true') {
if ((await execa('git', ['rev-parse', '--is-inside-work-tree'], { reject: false })).exitCode === 0) {
throw new Error('multiplatform.one cannot be initialized inside a git repository');

@@ -85,6 +85,12 @@ }

.action(async (remote) => {
if ((await execa('git', ['rev-parse', '--is-inside-work-tree'])).stdout.trim() !== 'true') {
if ((await execa('git', ['rev-parse', '--is-inside-work-tree'], { reject: false })).exitCode !== 0) {
throw new Error('multiplatform.one cannot be updated outside of a git repository');
}
if ((await execa('git', ['diff', '--cached', '--quiet'])).stdout.trim() !== 'true') {
if (
(
await execa('git', ['diff', '--cached', '--quiet'], {
reject: false,
})
).exitCode !== 0
) {
throw new Error('multiplatform.one cannot be updated with uncommitted changes');

@@ -117,4 +123,4 @@ }

{
cwd: projectRoot,
stdio: 'inherit',
cwd: projectRoot,
},

@@ -121,0 +127,0 @@ );

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