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

@bevry/github-orgs

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bevry/github-orgs - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0-next.1604364350.4bd09bc23a5c4d0945a9b3486f72c76cb9c1ad6d

4

compiled-types/index.d.ts
/** List of all the Bevry managed GitHub organisations */
declare const list: Array<string>
export default list
/** Is the passed organisation a Bevry managed organisation? */
export declare function is(org: string): boolean
/** Is the passed organisation NOT a Bevry managed organisation? */
export declare function isnt(org: string): boolean
//# sourceMappingURL=index.d.ts.map

@@ -16,1 +16,9 @@ /** List of all the Bevry managed GitHub organisations */

export default list
/** Is the passed organisation a Bevry managed organisation? */
export function is(org) {
return list.includes(org)
}
/** Is the passed organisation NOT a Bevry managed organisation? */
export function isnt(org) {
return is(org) === false
}

@@ -16,1 +16,11 @@ /** List of all the Bevry managed GitHub organisations */

export default list
/** Is the passed organisation a Bevry managed organisation? */
export function is(org: string): boolean {
return list.includes(org)
}
/** Is the passed organisation NOT a Bevry managed organisation? */
export function isnt(org: string): boolean {
return is(org) === false
}

@@ -16,1 +16,9 @@ /** List of all the Bevry managed GitHub organisations */

export default list
/** Is the passed organisation a Bevry managed organisation? */
export function is(org) {
return list.includes(org)
}
/** Is the passed organisation NOT a Bevry managed organisation? */
export function isnt(org) {
return is(org) === false
}
'use strict'
Object.defineProperty(exports, '__esModule', { value: true })
exports.isnt = exports.is = void 0
/** List of all the Bevry managed GitHub organisations */

@@ -18,1 +19,11 @@ var list = [

exports.default = list
/** Is the passed organisation a Bevry managed organisation? */
function is(org) {
return list.includes(org)
}
exports.is = is
/** Is the passed organisation NOT a Bevry managed organisation? */
function isnt(org) {
return is(org) === false
}
exports.isnt = isnt
# History
## v1.1.0 2020 November 3
- Add `is` and `isnt` functions
## v1.0.0 2020 November 3
- Extracted from [boundation](https://github.com/bevry/boundation/blob/d48f2340d769d5b6e75a9647dab757aac2f3064c/source/data.js#L13-L15) and [workers](https://github.com/bevry/workers/blob/c52799ee0de9554fc08318f68518ab9a7ac82fd9/source/workers/github.ts#L17-L27)

2

package.json
{
"name": "@bevry/github-orgs",
"version": "1.0.0",
"version": "1.1.0-next.1604364350.4bd09bc23a5c4d0945a9b3486f72c76cb9c1ad6d",
"description": "JSON listing of all the Bevry managed GitHub organisations",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/bevry/github-orgs",

@@ -41,4 +41,6 @@ <!-- TITLE/ -->

```typescript
import list from '@bevry/github-orgs'
console.log(list)
import list, { is, isnt } from '@bevry/github-orgs'
console.log(list) // Array<string> listing
console.log(is('bevry'), is('google')) // true, false
console.log(isnt('bevry'), isnt('google')) // false, true
```

@@ -69,3 +71,3 @@

``` typescript
import pkg from 'https://unpkg.com/@bevry/github-orgs@^1.0.0/edition-deno/index.ts'
import pkg from 'https://unpkg.com/@bevry/github-orgs@^1.1.0/edition-deno/index.ts'
```

@@ -77,3 +79,3 @@

<script type="module">
import pkg from '//cdn.skypack.dev/@bevry/github-orgs@^1.0.0'
import pkg from '//cdn.skypack.dev/@bevry/github-orgs@^1.1.0'
</script>

@@ -86,3 +88,3 @@ ```

<script type="module">
import pkg from '//unpkg.com/@bevry/github-orgs@^1.0.0'
import pkg from '//unpkg.com/@bevry/github-orgs@^1.1.0'
</script>

@@ -95,3 +97,3 @@ ```

<script type="module">
import pkg from '//dev.jspm.io/@bevry/github-orgs@1.0.0'
import pkg from '//dev.jspm.io/@bevry/github-orgs@1.1.0'
</script>

@@ -98,0 +100,0 @@ ```

@@ -16,1 +16,11 @@ /** List of all the Bevry managed GitHub organisations */

export default list
/** Is the passed organisation a Bevry managed organisation? */
export function is(org: string): boolean {
return list.includes(org)
}
/** Is the passed organisation NOT a Bevry managed organisation? */
export function isnt(org: string): boolean {
return is(org) === false
}

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