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

@equinor/fusion-framework-cli

Package Overview
Dependencies
Maintainers
0
Versions
289
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-framework-cli - npm Package Compare versions

Comparing version 10.0.0-next-9f6eec8c5a4cb3dd430fc6bee227442a3dc28bb8 to 10.0.0-next-ad690a9e34895039f4df7dd6d6f505206fa9fa23

3

dist/bin/upload-application.js

@@ -35,3 +35,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

try {
spinner.info('Verifying that App is registered');
spinner.info(`Verifying that ${appKey} is registered`);
const state = { endpoint: '' };

@@ -45,2 +45,3 @@ try {

}
spinner.info('Using endpoint:', state.endpoint);
yield isAppRegistered(state.endpoint, appKey);

@@ -47,0 +48,0 @@ spinner.succeed(`${appKey} is registered`);

@@ -22,12 +22,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

});
const response = yield requestApp.json();
if (requestApp.status === 404) {
console.log(response);
throw new Error(`The appkey '${appKey}' is not registered, visit the app-admin app and register the application there.`);
}
if (!requestApp.ok) {
const response = yield requestApp.json();
console.log(response);
throw new Error(`Could not connect to apps-service. HTTP status ${requestApp.status}, ${requestApp.statusText}`);
}
return yield requestApp.json();
return response;
});
//# sourceMappingURL=isAppRegistered.js.map

@@ -100,2 +100,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

return;
// serve app config if request matches the current app and version
const configPath = `${proxyPath}/apps/${app.key}/builds/${app.version}/config`;
server.middlewares.use(configPath, (_req, res) => __awaiter(this, void 0, void 0, function* () {
res.setHeader('content-type', 'application/json');
res.end(JSON.stringify(yield app.generateConfig()));
}));
// serve app manifest if request matches the current app

@@ -108,8 +114,2 @@ // todo this should have version

}));
// serve app config if request matches the current app and version
const configPath = `${proxyPath}/apps/${app.key}/builds/${app.version}/config`;
server.middlewares.use(configPath, (_req, res) => __awaiter(this, void 0, void 0, function* () {
res.setHeader('content-type', 'application/json');
res.end(JSON.stringify(yield app.generateConfig()));
}));
// serve local bundles if request matches the current app and version

@@ -116,0 +116,0 @@ const bundlePath = `${proxyPath}/bundles/apps/${app.key}/${app.version}`;

{
"name": "@equinor/fusion-framework-cli",
"version": "10.0.0-next-9f6eec8c5a4cb3dd430fc6bee227442a3dc28bb8",
"version": "10.0.0-next-ad690a9e34895039f4df7dd6d6f505206fa9fa23",
"keywords": [

@@ -87,6 +87,6 @@ "Fusion",

"@equinor/fusion-framework": "^7.2.8",
"@equinor/fusion-framework-app": "^9.1.10-next-ad690a9e34895039f4df7dd6d6f505206fa9fa23",
"@equinor/fusion-framework-module-app": "^6.0.0-next-ad690a9e34895039f4df7dd6d6f505206fa9fa23",
"@equinor/fusion-framework-module-bookmark": "^1.2.12",
"@equinor/fusion-framework-app": "^9.1.10-next-9f6eec8c5a4cb3dd430fc6bee227442a3dc28bb8",
"@equinor/fusion-framework-module-context": "^5.0.12",
"@equinor/fusion-framework-module-app": "^6.0.0-next-9f6eec8c5a4cb3dd430fc6bee227442a3dc28bb8",
"@equinor/fusion-framework-module-feature-flag": "^1.1.9",

@@ -96,6 +96,6 @@ "@equinor/fusion-framework-module-msal": "^3.1.5",

"@equinor/fusion-framework-module-services": "^4.1.5",
"@equinor/fusion-framework-react": "^7.3.0-next-9f6eec8c5a4cb3dd430fc6bee227442a3dc28bb8",
"@equinor/fusion-framework-react-components-bookmark": "^0.5.2-next-9f6eec8c5a4cb3dd430fc6bee227442a3dc28bb8",
"@equinor/fusion-framework-react-module-bookmark": "^2.1.18-next-9f6eec8c5a4cb3dd430fc6bee227442a3dc28bb8",
"@equinor/fusion-framework-react-components-people-provider": "^1.4.9-next-9f6eec8c5a4cb3dd430fc6bee227442a3dc28bb8",
"@equinor/fusion-framework-react": "^7.3.0-next-ad690a9e34895039f4df7dd6d6f505206fa9fa23",
"@equinor/fusion-framework-react-components-bookmark": "^0.5.2-next-ad690a9e34895039f4df7dd6d6f505206fa9fa23",
"@equinor/fusion-framework-react-components-people-provider": "^1.4.9-next-ad690a9e34895039f4df7dd6d6f505206fa9fa23",
"@equinor/fusion-framework-react-module-bookmark": "^2.1.18-next-ad690a9e34895039f4df7dd6d6f505206fa9fa23",
"@equinor/fusion-observable": "^8.4.1",

@@ -102,0 +102,0 @@ "@equinor/fusion-query": "^5.1.3"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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