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

@optimizely/opti-cli

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@optimizely/opti-cli - npm Package Compare versions

Comparing version 1.0.0-beta.12 to 1.0.0-beta.13

4

dist/commands/directory/Publish.js

@@ -35,2 +35,6 @@ "use strict";

const appVersion = await Rivendell_1.Rivendell.fetchAppVersion({ appId, version }, 'us');
if (!['NEW', 'PUBLISHED', 'START_FAILED', 'STOPPED'].includes(appVersion.state)) {
throw new Error(`AppVersion must be in a publishable state. ` +
`Currently: ${formatVersionState_1.formatVersionState(appVersion.state)}`);
}
const manifest = JSON.parse(appVersion.manifestJson);

@@ -37,0 +41,0 @@ const shards = await Shards_1.applicableShards('', manifest);

@@ -33,2 +33,6 @@ "use strict";

const appVersion = await Rivendell_1.Rivendell.fetchAppVersion({ appId, version }, 'us');
if (!['RUNNING', 'START_FAILED', 'STOP_FAILED'].includes(appVersion.state)) {
throw new Error(`AppVersion must be in an unpublishable state. ` +
`Currently: ${formatVersionState_1.formatVersionState(appVersion.state)}`);
}
const manifest = JSON.parse(appVersion.manifestJson);

@@ -35,0 +39,0 @@ const shards = await Shards_1.applicableShards(this.availability, manifest);

2

dist/oo-cli.manifest.json

@@ -834,3 +834,3 @@ {

"package": {
"version": "1.0.0-beta.12",
"version": "1.0.0-beta.13",
"name": "@optimizely/opti-cli",

@@ -837,0 +837,0 @@ "license": "Apache-2.0",

{
"name": "@optimizely/opti-cli",
"version": "1.0.0-beta.12",
"version": "1.0.0-beta.13",
"description": "Optimizely command line interface",

@@ -5,0 +5,0 @@ "repository": "https://github.com/ZaiusInc/opti-cli",

@@ -44,2 +44,8 @@ import chalk from 'chalk';

const appVersion = await Rivendell.fetchAppVersion({appId, version}, 'us');
if (!['NEW', 'PUBLISHED', 'START_FAILED', 'STOPPED'].includes(appVersion.state)) {
throw new Error(`AppVersion must be in a publishable state. ` +
`Currently: ${formatVersionState(appVersion.state as AppVersionState)}`);
}
const manifest = JSON.parse(appVersion.manifestJson) as AppManifest;

@@ -46,0 +52,0 @@ const shards = await applicableShards('', manifest);

@@ -46,2 +46,8 @@ import chalk from 'chalk';

const appVersion = await Rivendell.fetchAppVersion({appId, version}, 'us');
if (!['RUNNING', 'START_FAILED', 'STOP_FAILED'].includes(appVersion.state)) {
throw new Error(`AppVersion must be in an unpublishable state. ` +
`Currently: ${formatVersionState(appVersion.state as AppVersionState)}`);
}
const manifest = JSON.parse(appVersion.manifestJson) as AppManifest;

@@ -48,0 +54,0 @@ const shards = await applicableShards(this.availability, manifest);

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