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

@endeavour/console-credits

Package Overview
Dependencies
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@endeavour/console-credits - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

dist/config.d.ts

1

dist/index.d.ts

@@ -11,1 +11,2 @@ export interface ICollaborator {

export declare function PXLWidgetsCredits(settings: ICreditsConfiguration): void;
export declare function EndeavourCredits(settings: ICreditsConfiguration): void;

33

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PXLWidgetsCredits = void 0;
exports.EndeavourCredits = exports.PXLWidgetsCredits = void 0;
var config_1 = require("./config");
var logo_1 = require("./logo");
function PXLWidgetsCredits(settings) {
EndeavourCredits(settings);
}
exports.PXLWidgetsCredits = PXLWidgetsCredits;
function EndeavourCredits(settings) {
var segments = [
[newline(2)],
[heading(settings.projectName || location.host)],
[separator()],
[
heading(settings.projectName || location.host),
],
['%c ', logo()],
];
if (settings.collaborators && settings.collaborators.length) {
segments.push(['Collaborators'], [separator()], [''], [formatCollaborators(settings.collaborators)], [''], [separator()], ['']);
segments.push([
[
'Collaborators',
separator(),
'',
formatCollaborators(settings.collaborators),
'',
separator(),
'',
].join('\n')
]);
}

@@ -19,3 +34,3 @@ segments.forEach(function (args) {

}
exports.PXLWidgetsCredits = PXLWidgetsCredits;
exports.EndeavourCredits = EndeavourCredits;
// ------------------------------------------------------------------------------

@@ -25,8 +40,4 @@ // Loggers

function heading(projectName) {
return "".concat(projectName, " by Endeavour Platforms | https://endeavour.com");
return "".concat(projectName, " by ").concat(config_1.company, " | ").concat(config_1.website);
}
function newline(count) {
if (count === void 0) { count = 1; }
return repeat(count, '\n');
}
function separator(width) {

@@ -33,0 +44,0 @@ if (width === void 0) { width = 60; }

{
"name": "@endeavour/console-credits",
"version": "3.0.0",
"version": "3.0.1",
"description": "Tiny package to output company logo and collaborator credits to the console.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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

# @pxlwidgets/console-credits [![npm version](https://badge.fury.io/js/%40pxlwidgets%2Fconsole-credits.svg)](https://badge.fury.io/js/%40pxlwidgets%2Fconsole-credits)
# @endeavour/console-credits [![npm version](https://badge.fury.io/js/%40endeavour%2Fconsole-credits.svg)](https://badge.fury.io/js/%40endeavour%2Fconsole-credits)

@@ -8,5 +8,5 @@ Tiny package to output an ✨awesome✨ logo and collaborator credits to the console - just for fun.

```javascript
import { PXLWidgetsCredits } from '@pxlwidgets/console-credits';
import { EndeavourCredits } from '@endeavour/console-credits';
PXLWidgetsCredits({
EndeavourCredits({
projectName: 'Some Project',

@@ -26,27 +26,6 @@ collaborators: [

Some Project by PXL.Widgets | https://pxlwidgets.com
------------------------------------------------------------
Some Project by Endeavour Platforms | https://endeavour.nl
.... ...........................
.... . .......................... ..
... .... ....
..... .... .................... .... .....
..... .... ..... .... ....
..... .... .... ... .... ....
..... .... .... ... .... ....
..... ... ..... .... ... .... ....
..... ... ..... .... .. .... .... ..
.... ... ..... .... .... .... ....
..... .... ..... ... .. .... ....
..... .... .... ... .... ....
..... .... .... ... .... ....
..... ... ..... .... .... ....
.... ... ... ..... .... .... .....
.... ... . ..... .... .. ....
..... .... .. ..... ... ....
..... ........ ..... .......
..... ..... .... .....
..... .. ..... ...
------------------------------------------------------------
[Endeavour Logo SVG]
Collaborators:

@@ -53,0 +32,0 @@ --------------

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