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

fellow

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fellow - npm Package Compare versions

Comparing version 7.0.1 to 7.0.2-next.1703154296.715529b5047d1141379d60e2ccab5abe119b5d03

38

edition-browsers/index.js

@@ -782,5 +782,9 @@ /** Prevent GitHub username matches for the following. Generated by experience and with GitHub Copilot. */

// url
if (format.displayUrl !== false && this.url) {
const url = format.displayUrl === false
? ''
: format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url;
if (url)
parts.push(`🔗 ${this.url}`);
}
// return

@@ -803,5 +807,7 @@ return parts.join(' ');

// name + url
const url = format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url;
const url = format.displayUrl === false
? ''
: format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url;
if (url)

@@ -822,9 +828,11 @@ parts.push(`[${this.name}](${url})`);

}
// description
if (format.displayDescription && this.description) {
parts.push(`— ${this.description}`);
}
// return
return parts.join(' ');
}
/**
* Convert the fellow into the usual HTML format
*/
toHTML(format = {}) {
/** Convert the fellow into the usual HTML format */
toHtml(format = {}) {
if (!this.name)

@@ -839,5 +847,7 @@ return '';

// name + url
const url = format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url;
const url = format.displayUrl === false
? ''
: format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url;
if (url)

@@ -858,2 +868,6 @@ parts.push(`<a href="${url}">${this.name}</a>`);

}
// description
if (format.displayDescription && this.description) {
parts.push(`— ${this.description}`);
}
// return

@@ -860,0 +874,0 @@ return parts.join(' ');

@@ -894,5 +894,9 @@ /**

// url
if (format.displayUrl !== false && this.url) {
parts.push(`🔗 ${this.url}`)
}
const url =
format.displayUrl === false
? ''
: format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url
if (url) parts.push(`🔗 ${this.url}`)

@@ -916,5 +920,8 @@ // return

// name + url
const url = format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url
const url =
format.displayUrl === false
? ''
: format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url
if (url) parts.push(`[${this.name}](${url})`)

@@ -940,2 +947,7 @@ else parts.push(this.name)

// description
if (format.displayDescription && this.description) {
parts.push(`— ${this.description}`)
}
// return

@@ -945,6 +957,4 @@ return parts.join(' ')

/**
* Convert the fellow into the usual HTML format
*/
toHTML(format: FormatOptions = {}): string {
/** Convert the fellow into the usual HTML format */
toHtml(format: FormatOptions = {}): string {
if (!this.name) return ''

@@ -958,5 +968,8 @@ const parts = []

// name + url
const url = format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url
const url =
format.displayUrl === false
? ''
: format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url
if (url) parts.push(`<a href="${url}">${this.name}</a>`)

@@ -984,2 +997,7 @@ else parts.push(this.name)

// description
if (format.displayDescription && this.description) {
parts.push(`— ${this.description}`)
}
// return

@@ -986,0 +1004,0 @@ return parts.join(' ')

@@ -768,2 +768,3 @@ /** Prevent GitHub username matches for the following. Generated by experience and with GitHub Copilot. */

toText(format = {}) {
var _a;
if (!this.name)

@@ -783,5 +784,9 @@ return '';

// url
if (format.displayUrl !== false && this.url) {
const url = format.displayUrl === false
? ''
: ((_a = format.urlFields) === null || _a === void 0 ? void 0 : _a.length)
? this.getFirstField(format.urlFields)
: this.url;
if (url)
parts.push(`🔗 ${this.url}`);
}
// return

@@ -805,5 +810,7 @@ return parts.join(' ');

// name + url
const url = ((_a = format.urlFields) === null || _a === void 0 ? void 0 : _a.length)
? this.getFirstField(format.urlFields)
: this.url;
const url = format.displayUrl === false
? ''
: ((_a = format.urlFields) === null || _a === void 0 ? void 0 : _a.length)
? this.getFirstField(format.urlFields)
: this.url;
if (url)

@@ -824,9 +831,11 @@ parts.push(`[${this.name}](${url})`);

}
// description
if (format.displayDescription && this.description) {
parts.push(`— ${this.description}`);
}
// return
return parts.join(' ');
}
/**
* Convert the fellow into the usual HTML format
*/
toHTML(format = {}) {
/** Convert the fellow into the usual HTML format */
toHtml(format = {}) {
var _a;

@@ -842,5 +851,7 @@ if (!this.name)

// name + url
const url = ((_a = format.urlFields) === null || _a === void 0 ? void 0 : _a.length)
? this.getFirstField(format.urlFields)
: this.url;
const url = format.displayUrl === false
? ''
: ((_a = format.urlFields) === null || _a === void 0 ? void 0 : _a.length)
? this.getFirstField(format.urlFields)
: this.url;
if (url)

@@ -861,2 +872,6 @@ parts.push(`<a href="${url}">${this.name}</a>`);

}
// description
if (format.displayDescription && this.description) {
parts.push(`— ${this.description}`);
}
// return

@@ -863,0 +878,0 @@ return parts.join(' ');

@@ -772,2 +772,3 @@ "use strict";

toText(format = {}) {
var _a;
if (!this.name)

@@ -787,5 +788,9 @@ return '';

// url
if (format.displayUrl !== false && this.url) {
const url = format.displayUrl === false
? ''
: ((_a = format.urlFields) === null || _a === void 0 ? void 0 : _a.length)
? this.getFirstField(format.urlFields)
: this.url;
if (url)
parts.push(`🔗 ${this.url}`);
}
// return

@@ -809,5 +814,7 @@ return parts.join(' ');

// name + url
const url = ((_a = format.urlFields) === null || _a === void 0 ? void 0 : _a.length)
? this.getFirstField(format.urlFields)
: this.url;
const url = format.displayUrl === false
? ''
: ((_a = format.urlFields) === null || _a === void 0 ? void 0 : _a.length)
? this.getFirstField(format.urlFields)
: this.url;
if (url)

@@ -828,9 +835,11 @@ parts.push(`[${this.name}](${url})`);

}
// description
if (format.displayDescription && this.description) {
parts.push(`— ${this.description}`);
}
// return
return parts.join(' ');
}
/**
* Convert the fellow into the usual HTML format
*/
toHTML(format = {}) {
/** Convert the fellow into the usual HTML format */
toHtml(format = {}) {
var _a;

@@ -846,5 +855,7 @@ if (!this.name)

// name + url
const url = ((_a = format.urlFields) === null || _a === void 0 ? void 0 : _a.length)
? this.getFirstField(format.urlFields)
: this.url;
const url = format.displayUrl === false
? ''
: ((_a = format.urlFields) === null || _a === void 0 ? void 0 : _a.length)
? this.getFirstField(format.urlFields)
: this.url;
if (url)

@@ -865,2 +876,6 @@ parts.push(`<a href="${url}">${this.name}</a>`);

}
// description
if (format.displayDescription && this.description) {
parts.push(`— ${this.description}`);
}
// return

@@ -867,0 +882,0 @@ return parts.join(' ');

@@ -786,5 +786,9 @@ "use strict";

// url
if (format.displayUrl !== false && this.url) {
const url = format.displayUrl === false
? ''
: format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url;
if (url)
parts.push(`🔗 ${this.url}`);
}
// return

@@ -807,5 +811,7 @@ return parts.join(' ');

// name + url
const url = format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url;
const url = format.displayUrl === false
? ''
: format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url;
if (url)

@@ -826,9 +832,11 @@ parts.push(`[${this.name}](${url})`);

}
// description
if (format.displayDescription && this.description) {
parts.push(`— ${this.description}`);
}
// return
return parts.join(' ');
}
/**
* Convert the fellow into the usual HTML format
*/
toHTML(format = {}) {
/** Convert the fellow into the usual HTML format */
toHtml(format = {}) {
if (!this.name)

@@ -843,5 +851,7 @@ return '';

// name + url
const url = format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url;
const url = format.displayUrl === false
? ''
: format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url;
if (url)

@@ -862,2 +872,6 @@ parts.push(`<a href="${url}">${this.name}</a>`);

}
// description
if (format.displayDescription && this.description) {
parts.push(`— ${this.description}`);
}
// return

@@ -864,0 +878,0 @@ return parts.join(' ');

@@ -249,7 +249,5 @@ /**

toMarkdown(format?: FormatOptions): string;
/**
* Convert the fellow into the usual HTML format
*/
toHTML(format?: FormatOptions): string;
/** Convert the fellow into the usual HTML format */
toHtml(format?: FormatOptions): string;
}
//# sourceMappingURL=index.d.ts.map
{
"name": "fellow",
"version": "7.0.1",
"version": "7.0.2-next.1703154296.715529b5047d1141379d60e2ccab5abe119b5d03",
"license": "Artistic-2.0",

@@ -267,2 +267,2 @@ "description": "Fellow is a package for creating people that can be unified by their shared values via a singleton list on the class",

}
}
}

@@ -54,3 +54,3 @@ <!-- TITLE/ -->

``` typescript
import pkg from 'https://unpkg.com/fellow@^7.0.1/edition-deno/index.ts'
import pkg from 'https://unpkg.com/fellow@^7.0.2/edition-deno/index.ts'
```

@@ -62,3 +62,3 @@

<script type="module">
import pkg from '//cdn.skypack.dev/fellow@^7.0.1'
import pkg from '//cdn.skypack.dev/fellow@^7.0.2'
</script>

@@ -71,3 +71,3 @@ ```

<script type="module">
import pkg from '//unpkg.com/fellow@^7.0.1'
import pkg from '//unpkg.com/fellow@^7.0.2'
</script>

@@ -80,3 +80,3 @@ ```

<script type="module">
import pkg from '//dev.jspm.io/fellow@7.0.1'
import pkg from '//dev.jspm.io/fellow@7.0.2'
</script>

@@ -83,0 +83,0 @@ ```

@@ -894,5 +894,9 @@ /**

// url
if (format.displayUrl !== false && this.url) {
parts.push(`🔗 ${this.url}`)
}
const url =
format.displayUrl === false
? ''
: format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url
if (url) parts.push(`🔗 ${this.url}`)

@@ -916,5 +920,8 @@ // return

// name + url
const url = format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url
const url =
format.displayUrl === false
? ''
: format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url
if (url) parts.push(`[${this.name}](${url})`)

@@ -940,2 +947,7 @@ else parts.push(this.name)

// description
if (format.displayDescription && this.description) {
parts.push(`— ${this.description}`)
}
// return

@@ -945,6 +957,4 @@ return parts.join(' ')

/**
* Convert the fellow into the usual HTML format
*/
toHTML(format: FormatOptions = {}): string {
/** Convert the fellow into the usual HTML format */
toHtml(format: FormatOptions = {}): string {
if (!this.name) return ''

@@ -958,5 +968,8 @@ const parts = []

// name + url
const url = format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url
const url =
format.displayUrl === false
? ''
: format.urlFields?.length
? this.getFirstField(format.urlFields)
: this.url
if (url) parts.push(`<a href="${url}">${this.name}</a>`)

@@ -984,2 +997,7 @@ else parts.push(this.name)

// description
if (format.displayDescription && this.description) {
parts.push(`— ${this.description}`)
}
// return

@@ -986,0 +1004,0 @@ return parts.join(' ')

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