Skip to content

Commit

Permalink
Apply BSD-3-Clause to all files.
Browse files Browse the repository at this point in the history
Following the [REUSE v3.0 specification](https://reuse.software/spec/).
  • Loading branch information
BigBlueHat committed Mar 25, 2024
1 parent 6d8aa96 commit d038e90
Show file tree
Hide file tree
Showing 16 changed files with 88 additions and 17 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright 2024 Digital Bazaar, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

module.exports = {
root: true,
extends: [
Expand Down
6 changes: 6 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Digital Bazaar, Inc. <[email protected]>

Files: .gitignore .npmrc .github/* *.json
Copyright: 2022-2024 World Wide Web Consortium
License: BSD-3-Clause
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright 2023 Digital Bazaar, Inc.
Copyright 2023 - 2024 Digital Bazaar, Inc.
SPDX-License-Identifier: BSD-3-Clause
-->
Expand Down
6 changes: 6 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
Copyright 2024 Digital Bazaar, Inc.
SPDX-License-Identifier: BSD-3-Clause
-->

# Code of Conduct

All documentation, code and communication under this repository are covered by the [W3C Code of Ethics and Professional Conduct](https://www.w3.org/Consortium/cepc/).
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
Copyright 2024 Digital Bazaar, Inc.
SPDX-License-Identifier: BSD-3-Clause
-->

# Verifiable Credentials Working Group

Contributions to this repository are intended to become part of testing and implementations documents governed by the
Expand Down
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.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
Copyright 2024 Digital Bazaar, Inc.
SPDX-License-Identifier: BSD-3-Clause
-->

# VC Test Suite Implementations

This repository contains a list of all implementations that have registered to
Expand Down
7 changes: 5 additions & 2 deletions implementations/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*!
* Copyright (c) 2022 Digital Bazaar, Inc. All rights reserved.
/*
* Copyright 2022-2024 Digital Bazaar, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

import appRoot from 'app-root-path';
import {createRequire} from 'node:module';
import {join} from 'node:path';
Expand Down
7 changes: 5 additions & 2 deletions lib/Endpoint.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*!
* Copyright (c) 2022 Digital Bazaar, Inc. All rights reserved.
/*
* Copyright 2022-2024 Digital Bazaar, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

import {makeHttpsRequest, zcapRequest} from './requests.js';

/**
Expand Down
7 changes: 5 additions & 2 deletions lib/Implementation.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*!
* Copyright (c) 2022 Digital Bazaar, Inc. All rights reserved.
/*
* Copyright 2022-2024 Digital Bazaar, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

import {Endpoint} from './Endpoint.js';

export class Implementation {
Expand Down
7 changes: 5 additions & 2 deletions lib/constants.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*!
* Copyright (c) 2022 Digital Bazaar, Inc. All rights reserved.
/*
* Copyright 2022-2024 Digital Bazaar, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

import * as didKey from '@digitalbazaar/did-method-key';
import https from 'https';

Expand Down
7 changes: 5 additions & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*!
* Copyright (c) 2022 Digital Bazaar, Inc. All rights reserved.
/*
* Copyright 2022-2024 Digital Bazaar, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

import {Implementation} from './Implementation.js';
import {implementerFiles} from '../implementations/index.js';
export {Endpoint} from './Endpoint.js';
Expand Down
7 changes: 5 additions & 2 deletions lib/oauth2.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*!
* Copyright (c) 2022 Digital Bazaar, Inc. All rights reserved.
/*
* Copyright 2022-2024 Digital Bazaar, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

import LruCache from 'lru-cache';
import {makeHttpsRequest} from './requests.js';

Expand Down
7 changes: 5 additions & 2 deletions lib/requests.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*!
* Copyright (c) 2022 Digital Bazaar, Inc. All rights reserved.
/*
* Copyright 2022-2024 Digital Bazaar, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

import {
agent,
defaultHeaders,
Expand Down
6 changes: 6 additions & 0 deletions test/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright 2024 Digital Bazaar, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

module.exports = {
env: {
mocha: true
Expand Down
7 changes: 5 additions & 2 deletions test/implementations.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*!
* Copyright (c) 2022 Digital Bazaar, Inc. All rights reserved.
/*
* Copyright 2022-2024 Digital Bazaar, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

import chai from 'chai';
const should = chai.should();

Expand Down

0 comments on commit d038e90

Please sign in to comment.