@bedrock/core
Advanced tools
Comparing version 6.0.1 to 6.1.0
# `@bedrock/core` ChangeLog | ||
## 6.1.0 - 2024-02-12 | ||
### Changed | ||
- Open Source under BSD-3-Clause license. | ||
- Bump `package.json` Node.js version to 18.x (LTS). | ||
## 6.0.1 - 2022-04-29 | ||
@@ -4,0 +10,0 @@ |
/*! | ||
* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2012-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ import * as bedrock from './lib/index.js'; |
/*! | ||
* Copyright (c) 2012-2021 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2012-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ import {fileURLToPath} from 'node:url'; |
/*! | ||
* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2012-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ import {config as brConfig} from './config.js'; |
/*! | ||
* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2012-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ import {EventEmitter} from '@digitalbazaar/async-node-events'; |
/*! | ||
* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2012-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
// eslint-disable-next-line max-len | ||
@@ -5,0 +8,0 @@ const PROPERTY_REGEX = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; |
/*! | ||
* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2012-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ import * as brUtil from './util.js'; |
/*! | ||
* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2012-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ import * as brUtil from '../util.js'; |
/*! | ||
* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2012-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ import jsonStringify from 'fast-safe-stringify'; |
/*! | ||
* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2012-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ import * as fileLogger from './fileLogger.js'; |
/*! | ||
* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2012-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ import cycle from 'cycle'; |
/*! | ||
* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2012-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ import {config} from './config.js'; |
/*! | ||
* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2012-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ // wait for initialization options from primary |
129
LICENSE.md
@@ -1,115 +0,28 @@ | ||
Bedrock Non-Commercial License v1.0 | ||
=================================== | ||
BSD 3-Clause License | ||
Copyright (c) 2011-2019 Digital Bazaar, Inc. | ||
All rights reserved. | ||
Copyright (c) 2011-2024, Digital Bazaar, Inc. | ||
Summary | ||
======= | ||
This license allows the licensee to use Bedrock and its software modules | ||
for non-commercial purposes such as self-study, research, personal | ||
projects, or for evaluation purposes. If the licensee uses Bedrock | ||
directly or indirectly to generate revenue, or to provide products or | ||
services to more than 500 people (users), the licensee must immediately | ||
obtain a non-profit or commercial license. | ||
Examples | ||
======== | ||
These are examples of cases that are allowed by this license: | ||
* The licensee is an individual that creates Bedrock-dependent software for | ||
personal use only. | ||
* The licensee is an individual or group of students/researchers that uses | ||
Bedrock to experiment with an idea for a non-commercial project. | ||
* The licensee is a startup company that prototypes a Bedrock-dependent | ||
product before they have cash flow and will be testing the prototype | ||
software with less than 500 users. The service will not generate revenue | ||
of any kind. | ||
* The licensee is a for-profit organization that creates a product or | ||
service that is used by less than 500 users and is built with or | ||
integrates with Bedrock. The service must be exclusively provided for free | ||
and no parent, subsidiary, agent, or affiliate organization may profit | ||
from its direct or indirect use. | ||
These cases require a non-profit or commercial license: | ||
* The licensee is a non-profit that receives funding to create and/or run a | ||
Bedrock-dependent service. | ||
* The licensee is a startup company with Bedrock-dependent software that is | ||
funded by another organization. | ||
* The licensee is a startup company that is going into production with | ||
Bedrock-dependent software. | ||
* The licensee has more than 500 users using a Bedrock-dependent service | ||
either directly or indirectly. | ||
* The licensee is a medium to large organization that builds or integrates a | ||
commercial product or service with Bedrock. | ||
THE LICENSE | ||
=========== | ||
This section and all subsequent sections of this document constitute the | ||
agreement between the licensee and Digital Bazaar, Inc. | ||
DEFINITIONS | ||
=========== | ||
* Product - The Bedrock software and any modules associated with Bedrock | ||
where Digital Bazaar, Inc. owns the copyright. | ||
CONDITIONS | ||
========== | ||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted for NON-COMMERCIAL PURPOSES as long as the | ||
following conditions are met: | ||
modification, are permitted provided that the following conditions are met: | ||
1. Any use of the Product must not generate revenue for the licensee or | ||
any parent, subsidiary, agent, or affiliate of the licensee. Use of | ||
Product includes, but is not limited to, interacting with any of the | ||
licensee's Product-dependent products or services over a network. | ||
1. Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
2. The aggregate number of individual people (users) of the licensee's | ||
products or services that use Product must be less than 500. | ||
2. Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
3. Redistributions of source code must retain the above copyright notice | ||
intact, this list of conditions and the following disclaimer. | ||
3. Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
4. Redistributions in binary form must reproduce the above copyright | ||
notice, this license and the following disclaimer in the documentation and | ||
on a web page available via interactive use and/or other materials | ||
provided with the distribution. | ||
5. Neither the name of the copyright holder, the names of its | ||
contributors, nor any trademarks held by the copyright holder may be used | ||
to endorse or promote products or services built using the Product without | ||
specific prior written permission. | ||
6. Any modifications are clearly outlined in release documentation and are | ||
specifically mentioned as not being a part of an official Product release. | ||
No additional restrictions to this license may be made when distributing | ||
modifications. | ||
7. For the avoidance of doubt, this license prohibits sublicensing of the | ||
Product. | ||
8. Any breach of this license by licensee must be resolved within 30 days. | ||
Failure to do so results in the termination of this license. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS | ||
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | ||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR | ||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
To obtain a non-profit or commercial license for Product, please contact | ||
Digital Bazaar, Inc. at the following email address: | ||
Digital Bazaar <support@digitalbazaar.com> | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
{ | ||
"name": "@bedrock/core", | ||
"version": "6.0.1", | ||
"version": "6.1.0", | ||
"type": "module", | ||
"description": "A core foundation for rich Web applications.", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"license": "BSD-3-Clause", | ||
"author": { | ||
@@ -46,5 +46,5 @@ "name": "Digital Bazaar, Inc.", | ||
"engines": { | ||
"node": ">=14" | ||
"node": ">=18" | ||
}, | ||
"main": "./lib/index.js" | ||
} |
@@ -1,5 +0,2 @@ | ||
<img src="https://digitalbazaar.com/wp-content/uploads/BedrockLogo.png"> | ||
[![Bedrock Node.js CI](https://github.com/digitalbazaar/bedrock/workflows/Bedrock%20Node.js%20CI/badge.svg)](https://github.com/digitalbazaar/bedrock/actions?query=workflow%3A%22Bedrock+Node.js+CI%22) | ||
[![Dependency Status](https://img.shields.io/david/digitalbazaar/bedrock.svg)](https://david-dm.org/digitalbazaar/bedrock) | ||
@@ -531,3 +528,3 @@ A core foundation for rich Web applications. | ||
bedrock.events.on('example-module.foo', function(data) { | ||
if(anErrorOccured) { | ||
if(anErrorOccurred) { | ||
throw new Error('foo'); | ||
@@ -696,3 +693,3 @@ } | ||
class. A `BedrockError` can keep track of a series of "causes" (other errors) | ||
that allow developers to better understand why an error occured. | ||
that allow developers to better understand why an error occurred. | ||
`BedrockError`s can also be marked as `public`, which allows modules that | ||
@@ -806,8 +803,9 @@ may, for example, serve error information over the Web to display more error | ||
Copyright (c) 2011-2021 Digital Bazaar, Inc. | ||
All Rights Reserved | ||
Copyright (c) 2011-2024 Digital Bazaar, Inc. | ||
You can use Bedrock for non-commercial purposes such as self-study, research, | ||
personal projects, or for evaluation purposes. See the [LICENSE][] file for | ||
details about the included non-commercial license information. | ||
personal projects, or for evaluation purposes. Many Bedrock libraries (including | ||
the core) are open source licensed under the [BSD-3-Clause](LICENSE.md). However, | ||
some components use a custom non-commercial, source visible license: see the | ||
[LICENSE-bedrock.md](LICENSE-bedrock.md) file for details. | ||
@@ -818,3 +816,2 @@ [AUTHORS]: AUTHORS.md | ||
[FAQ]: FAQ.md | ||
[LICENSE]: LICENSE.md | ||
[Vue.js]: https://vuejs.org/ | ||
@@ -821,0 +818,0 @@ [JSON-LD]: http://json-ld.org |
/*! | ||
* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2012-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ import * as bedrock from '@bedrock/core'; |
/*! | ||
* Copyright (c) 2019-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2019-2024 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ import {config} from '@bedrock/core'; |
/*! | ||
* Copyright (c) 2019-2022 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2019-2022 Digital Bazaar, Inc. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
@@ -4,0 +6,0 @@ import * as bedrock from '@bedrock/core'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
166878
30
0
2359
835