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

titanium

Package Overview
Dependencies
Maintainers
3
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

titanium - npm Package Compare versions

Comparing version 7.0.0-beta7 to 7.0.0-beta8

12

package.json
{
"name": "titanium",
"version": "7.0.0-beta7",
"version": "7.0.0-beta8",
"author": "TiDev, Inc. <npm@tidev.io>",

@@ -22,3 +22,3 @@ "description": "Command line interface for building Titanium SDK apps",

"chalk": "5.3.0",
"commander": "11.1.0",
"commander": "12.0.0",
"execa": "8.0.1",

@@ -28,4 +28,4 @@ "fs-extra": "11.2.0",

"prompts": "2.4.2",
"semver": "7.5.4",
"undici": "6.4.0",
"semver": "7.6.0",
"undici": "6.6.1",
"which": "4.0.0",

@@ -37,4 +37,4 @@ "wrap-ansi": "9.0.0",

"devDependencies": {
"@reporters/github": "1.5.4",
"@vitest/coverage-istanbul": "1.2.1",
"@reporters/github": "1.6.0",
"@vitest/coverage-istanbul": "1.2.2",
"c8": "9.1.0",

@@ -41,0 +41,0 @@ "eslint": "8.56.0",

@@ -7,2 +7,4 @@ import chalk from 'chalk';

const ansiRE = /\x1B\[\d+m/g;
export class Logger extends EventEmitter {

@@ -53,7 +55,7 @@ #banner = '';

this.warn = (msg = '', ...args) => {
this.render(4, this.stderr, `${yellow(`[WARN] ${format(msg, ...args)}`)}`);
this.render(4, this.stderr, `${yellow(`[WARN] ${format(msg, ...args).replace(ansiRE, '')}`)}`);
};
this.error = (msg = '', ...args) => {
this.render(5, this.stderr, red(`[ERROR] ${format(msg, ...args)}`));
this.render(5, this.stderr, red(`[ERROR] ${format(msg, ...args).replace(ansiRE, '')}`));
};

@@ -60,0 +62,0 @@

@@ -122,15 +122,18 @@ import { readdir } from 'node:fs/promises';

function getSDKType(name) {
if (/.ga$/i.test(name)) {
if (/\.ga$/i.test(name)) {
return 'ga';
}
if (/.rc$/i.test(name)) {
if (/\.rc$/i.test(name)) {
return 'rc';
}
if (/.beta$/i.test(name)) {
if (/\.beta$/i.test(name)) {
return 'beta';
}
return 'unsupported';
if (/\.v\d+$/i.test(name)) {
return 'nightly';
}
return 'local';
}
const sortTypes = ['unsupported', 'beta', 'rc', 'ga'];
const sortTypes = ['local', 'nightly', 'beta', 'rc', 'ga'];

@@ -171,3 +174,4 @@ export async function initSDK({ config, cwd, debugLogger, logger, promptingEnabled, selectedSdk, showSDKPrompt }) {

const typeLabels = {
unsupported: 'Unsupported',
local: 'Local Build',
nightly: 'Nightly Build',
beta: 'Beta',

@@ -174,0 +178,0 @@ rc: 'Release Candidate',

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