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

corvid-local-server

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corvid-local-server - npm Package Compare versions

Comparing version

to
0.1.9

{
"name": "corvid-local-server",
"version": "0.1.8",
"version": "0.1.9",
"description": "",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -98,9 +98,9 @@ const {

siteRootPath,
options = { force: false, move: false }
options = { override: false, move: false }
) => {
if (options.force && options.move) {
throw new Error("Only one of 'force' and 'move' may be set");
if (options.override && options.move) {
throw new Error("Only one of 'override' and 'move' may be set");
}
return startServer(siteRootPath, {
type: options.force ? "FORCE_PULL" : options.move ? "MOVE_PULL" : "CLONE"
type: options.override ? "FORCE_PULL" : options.move ? "MOVE_PULL" : "CLONE"
});

@@ -107,0 +107,0 @@ };

@@ -26,3 +26,3 @@ const omit_ = require("lodash/omit");

const server = localServer.startInCloneMode(localSitePath, {
force: true
override: true
});

@@ -38,3 +38,3 @@

await localServer.startInCloneMode(localSitePath, {
force: true
override: true
});

@@ -54,3 +54,3 @@

const server = await localServer.startInCloneMode(localSitePath, {
force: true
override: true
});

@@ -57,0 +57,0 @@ await loadEditor(server.port, editorSite);

Sorry, the diff of this file is not supported yet