Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Source #112

Merged
merged 11 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*!
* Copyright (c) 2022-2024 Digital Bazaar, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
module.exports = {
root: true,
parserOptions: {
Expand Down
24 changes: 14 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2020-2024 Digital Bazaar, Inc.
#
# SPDX-License-Identifier: BSD-3-Clause

name: Bedrock Node.js CI

on: [push]
Expand All @@ -8,11 +12,11 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
Expand All @@ -24,11 +28,11 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: |
Expand All @@ -45,11 +49,11 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: |
Expand All @@ -61,7 +65,7 @@ jobs:
cd test
npm run coverage-ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
file: ./test/coverage/lcov.info
fail_ci_if_error: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ coverage
node_modules
reports
.cache
package-lock.json
7 changes: 7 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Digital Bazaar, Inc. <[email protected]>

Files: *.md .gitignore .npmrc package.json test/.npmrc test/mocha/.eslintrc
test/package.json
Copyright: 2012-2024 Digital Bazaar, Inc.
License: BSD-3-Clause
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# `@bedrock/core` ChangeLog

## 6.0.2 - xxxx-xx-xx
- Open Source under BSD-3-Clause license.
- Bump Node.js versions to 20.x (current LTS).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Bump Node.js versions to 20.x (current LTS).
- Bump Node.js versions to 18.x (LTS).


## 6.0.1 - 2022-04-29

### Fixed
Expand Down
115 changes: 115 additions & 0 deletions LICENSE-bedrock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
Bedrock Non-Commercial License v1.0
===================================

Copyright (c) 2011-2021 Digital Bazaar, Inc.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Copyright (c) 2011-2021 Digital Bazaar, Inc.
Copyright (c) 2011-2024 Digital Bazaar, Inc.

All rights reserved.

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 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:

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.

2. The aggregate number of individual people (users) of the licensee's
products or services that use Product must be less than 500.

3. Redistributions of source code must retain the above copyright notice
intact, this list of conditions and the following disclaimer.

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 <[email protected]>
137 changes: 25 additions & 112 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,115 +1,28 @@
Bedrock Non-Commercial License v1.0
===================================
BSD 3-Clause License

Copyright (c) 2011-2019 Digital Bazaar, Inc.
All rights reserved.

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
==========
Copyright (c) 2011-2024, Digital Bazaar, Inc.

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:

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.

2. The aggregate number of individual people (users) of the licensee's
products or services that use Product must be less than 500.

3. Redistributions of source code must retain the above copyright notice
intact, this list of conditions and the following disclaimer.

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 <[email protected]>
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

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. 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.

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.
11 changes: 11 additions & 0 deletions LICENSES/BSD-3-Clause.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Copyright (c) <year> <owner>.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

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. 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.

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.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<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)

A core foundation for rich Web applications.
Expand Down Expand Up @@ -800,18 +798,18 @@ License

Bedrock and all Bedrock modules are:

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.

[AUTHORS]: AUTHORS.md
[FEATURES]: FEATURES.md
[CONTRIBUTING]: CONTRIBUTING.md
[FAQ]: FAQ.md
[LICENSE]: LICENSE.md
[Vue.js]: https://vuejs.org/
[JSON-LD]: http://json-ld.org
[JSON-LD context]: http://www.w3.org/TR/json-ld/#the-context
Expand Down
Loading
Loading