Skip to content

Commit

Permalink
@1.0.4 - update devdeps, copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
localnerve committed Jan 8, 2024
1 parent e8cbd0a commit 115ab52
Show file tree
Hide file tree
Showing 13 changed files with 104 additions and 101 deletions.
3 changes: 3 additions & 0 deletions __test_package__/functions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Simple test of package integrity.
*
* Copyright (c) 2023-2024 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*/
const assert = require('node:assert');
const crypto = require('node:crypto');
Expand Down
2 changes: 1 addition & 1 deletion __test_package__/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Setup the installed package and run different tests loading the package in different ways.
*
* Copyright (c) 2023 Alex Grant (@localnerve), LocalNerve LLC
* Copyright (c) 2023-2024 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*/
/* global Promise */
Expand Down
2 changes: 1 addition & 1 deletion __tests__/errors.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Test the library error types.
*
* Copyright (c) 2023 Alex Grant (@localnerve), LocalNerve LLC
* Copyright (c) 2023-2024 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*/
/* eslint-env jest */
Expand Down
2 changes: 1 addition & 1 deletion __tests__/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* process.env.HS_ENCRYPTION_KEY
* process.env.HS_HMAC_SECRET
*
* Copyright (c) 2023 Alex Grant (@localnerve), LocalNerve LLC
* Copyright (c) 2023-2024 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*/
/* eslint-env jest */
Expand Down
2 changes: 1 addition & 1 deletion __tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* verify changes to the api are expected.
*
* Copyright (c) 2023 Alex Grant (@localnerve), LocalNerve LLC
* Copyright (c) 2023-2024 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*/
/* eslint-env jest */
Expand Down
2 changes: 1 addition & 1 deletion __tests__/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* process.env.HS_ENCRYPTION_KEY
* process.env.HS_HMAC_SECRET
*
* Copyright (c) 2023 Alex Grant (@localnerve), LocalNerve LLC
* Copyright (c) 2023-2024 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*/
/* eslint-env jest */
Expand Down
2 changes: 1 addition & 1 deletion lib/errors.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Error type for hmac symmetric.
*
* Copyright (c) 2023 Alex Grant (@localnerve), LocalNerve LLC
* Copyright (c) 2023-2024 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/helpers.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Convenience methods for hmac symmetric.
*
* Copyright (c) 2023 Alex Grant (@localnerve), LocalNerve LLC
* Copyright (c) 2023-2024 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*/
import { generateHmac, symmetricEncrypt, symmetricDecrypt } from './utils.js';
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* hmac-symmetric exports
*
* Copyright (c) 2023 Alex Grant (@localnerve), LocalNerve LLC
* Copyright (c) 2023-2024 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*/
export { generateHmac, symmetricEncrypt, symmetricDecrypt } from './utils.js';
Expand Down
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* process.env.HS_ENCRYPTION_KEY
* process.env.HS_HMAC_SECRET
*
* Copyright (c) 2023 Alex Grant (@localnerve), LocalNerve LLC
* Copyright (c) 2023-2024 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*/
import crypto from 'node:crypto';
Expand Down
2 changes: 1 addition & 1 deletion license.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2023 Alex Grant, LocalNerve, LLC
Copyright 2023-2024 Alex Grant, LocalNerve, LLC

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

Expand Down
Loading

0 comments on commit 115ab52

Please sign in to comment.