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

custom-element-flow

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

custom-element-flow - npm Package Compare versions

Comparing version 1.0.93 to 1.0.95

13

bin/update.ts
#! /usr/bin/env node
import axios from 'axios';
import chalk from 'chalk';
import glob from 'glob';
import { exec } from 'child_process';
import { readFile, writeFile } from 'fs/promises';
import { readFile } from 'fs/promises';
import { updateCustomElementSettings } from '../src/services/app-service.js';
type Settings = {
[key: string]: any;
};
export const update = async () => {

@@ -33,5 +29,8 @@ const projectDir = process.cwd();

const res = await updateCustomElementSettings(appId, compId, settingsObject);
await updateCustomElementSettings(appId, compId, settingsObject);
}),
);
exec('npm run build');
console.log(chalk.green('Settings Updated Successfully!\n'));
};

@@ -11,3 +11,5 @@ #! /usr/bin/env node

};
import chalk from 'chalk';
import glob from 'glob';
import { exec } from 'child_process';
import { readFile } from 'fs/promises';

@@ -32,4 +34,6 @@ import { updateCustomElementSettings } from '../src/services/app-service.js';

};
const res = yield updateCustomElementSettings(appId, compId, settingsObject);
yield updateCustomElementSettings(appId, compId, settingsObject);
})));
exec('npm run build');
console.log(chalk.green('Settings Updated Successfully!\n'));
});

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

let authData = yield getStoredAuthData();
// if (!authData) {
console.info(`⌛️ We need to receive your Wix instance. Please sign in if needed.`);
authData = yield waitForAuthData();
// }
if (!authData) {
console.info(`⌛️ We need to receive your Wix instance. Please sign in if needed.`);
authData = yield waitForAuthData();
}
return authData;
});
}
{
"name": "custom-element-flow",
"version": "1.0.93",
"version": "1.0.95",
"description": "My New Project description.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -39,3 +39,3 @@ import { createCallbackServer } from './callback-server.js';

// if (!authData) {
if (!authData) {
console.info(

@@ -45,3 +45,3 @@ `⌛️ We need to receive your Wix instance. Please sign in if needed.`,

authData = await waitForAuthData();
// }
}

@@ -48,0 +48,0 @@ return authData;

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