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

@favware/rollup-type-bundler

Package Overview
Dependencies
Maintainers
1
Versions
344
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@favware/rollup-type-bundler - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4-next.0abff60.0

3

dist/commands/build-code.js

@@ -19,2 +19,3 @@ import { indent, packageCwd } from '#lib/constants';

catch (err) {
const typedError = err;
logVerboseError({

@@ -30,3 +31,3 @@ text: [

'Furthermore, the exact error that occurred is: ',
err
typedError.stack ?? typedError.message
].filter(Boolean),

@@ -33,0 +34,0 @@ logWithThrownError: true

@@ -0,3 +1,3 @@

import { logVerboseError } from '#lib/logVerbose';
import { rm } from 'fs/promises';
import { logVerboseError } from '#lib/logVerbose';
/**

@@ -12,6 +12,7 @@ * Removes the `dist` directory ahead of rebuilding code to ensure a clean build

catch (error) {
const typedError = error;
logVerboseError({
text: ['Failed to clean the configured "dist" directory. Is the path accessible?'],
verbose: options.verbose,
verboseText: ['The error message that was thrown is: ', error],
verboseText: ['The error message that was thrown is: ', typedError.stack ?? typedError.message],
logWithThrownError: true

@@ -18,0 +19,0 @@ });

@@ -38,6 +38,12 @@ import { logVerboseError } from '#lib/logVerbose';

catch (err) {
const typedError = err;
logVerboseError({
text: ['An error occurred while removing one or more of the extraneous types from the `dist` directory.', 'Please remove them manually'],
verbose: options.verbose,
verboseText: ['I was scanning this dist path: ', options.dist.toString(), 'Furthermore, the exact error that occurred is: ', err],
verboseText: [
'I was scanning this dist path: ',
options.dist.toString(),
'Furthermore, the exact error that occurred is: ',
typedError.stack ?? typedError.message
],
logWithThrownError: true

@@ -44,0 +50,0 @@ });

@@ -0,1 +1,2 @@

import { filterNullish } from '@sapphire/utilities';
import { cyan, red } from 'colorette';

@@ -8,3 +9,3 @@ /**

if (verbose) {
text = text.concat(verboseText);
text = text.concat(verboseText.filter(filterNullish));
}

@@ -11,0 +12,0 @@ const message = red(text.join('\n'));

@@ -28,2 +28,3 @@ import { packageCwd, rollupTypeBundlerRcJsonPath, rollupTypeBundlerRcPath, rollupTypeBundlerRcYamlPath, rollupTypeBundlerRcYmlPath } from '#lib/constants';

catch (err) {
const typedError = err;
logVerboseError({

@@ -37,3 +38,3 @@ text: ['Failed to read yaml config file'],

'Full error: ',
err
typedError.stack ?? typedError.message
],

@@ -54,2 +55,3 @@ exitAfterLog: true

catch (err) {
const typedError = err;
logVerboseError({

@@ -63,3 +65,3 @@ text: ['Failed to read json config file'],

'Full error: ',
err
typedError.stack ?? typedError.message
],

@@ -66,0 +68,0 @@ exitAfterLog: true

{
"name": "@favware/rollup-type-bundler",
"version": "1.0.3",
"version": "1.0.4-next.0abff60.0",
"description": "A small CLI tool to bundle types with rollup",

@@ -42,6 +42,7 @@ "author": "@favware",

"dependencies": {
"colorette": "^1.2.2",
"commander": "^8.0.0",
"@sapphire/utilities": "^2.0.1",
"colorette": "^1.3.0",
"commander": "^8.1.0",
"js-yaml": "^4.1.0",
"rollup": "^2.52.6",
"rollup": "^2.56.2",
"rollup-plugin-dts": "^3.0.2"

@@ -52,14 +53,14 @@ },

"@commitlint/config-conventional": "^12.1.4",
"@sapphire/eslint-config": "^3.2.0",
"@sapphire/eslint-config": "^3.2.3",
"@sapphire/prettier-config": "^1.1.4",
"@sapphire/ts-config": "^2.3.0",
"@types/js-yaml": "^4.0.1",
"@types/node": "^15.12.4",
"@sapphire/ts-config": "^2.3.2",
"@types/js-yaml": "^4.0.3",
"@types/node": "^15.14.9",
"cz-conventional-changelog": "^3.3.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"lint-staged": "^11.1.2",
"pretty-quick": "^3.1.1",
"standard-version": "^9.3.0",
"ts-node": "^10.0.0",
"typescript": "^4.3.4"
"standard-version": "^9.3.1",
"ts-node": "^10.2.0",
"typescript": "^4.4.2"
},

@@ -66,0 +67,0 @@ "engines": {

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