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

@bayou/util-core

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bayou/util-core - npm Package Compare versions

Comparing version 1.0.6 to 1.2.4

2

CommonBase.js

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -60,2 +60,20 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

/**
* Constructs an instance which indicates that a function, class, or module
* has received an invalid string ID of some sort (e.g. a file ID, document
* ID, etc.). The error includes the ID in question.
*
* This error is typically used to report a problem that crosses a line of
* responsibility.
*
* @param {Error} [cause] Error which caused this problem. **Note:** It is
* optional. If the first argument isn't an `Error`, then it is taken to be
* the `message`.
* @param {string} id The ID in question.
* @returns {InfoError} An appropriately-constructed error.
*/
static badId(cause, id) {
return Errors._make('badId', cause, id);
}
/**
* Constructs an instance which indicates that a function, class, or module is

@@ -187,2 +205,12 @@ * somehow being misused. The error includes a human-oriented description of

/**
* Indicates whether or not the given error is a `badId`.
*
* @param {Error} error Error in question.
* @returns {boolean} `true` iff it represents an ID problem.
*/
static is_badId(error) {
return InfoError.hasName(error, 'badId');
}
/**
* Indicates whether or not the given error is a `revisionNotAvailable`.

@@ -189,0 +217,0 @@ *

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

@@ -7,3 +7,3 @@ {

"name": "@bayou/util-core",
"version": "1.0.6"
"version": "1.2.4"
}

@@ -20,5 +20,5 @@ @bayou/util-core

```
Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
Licensed AS IS and WITHOUT WARRANTY under the Apache License,
Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>
```

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

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