Comparing version 2.1.2 to 2.2.0
@@ -5,2 +5,9 @@ # Changelog | ||
## [2.2.0](https://github.com/mongodb-js/kerberos/compare/v2.1.2...v2.2.0) (2024-09-05) | ||
### Features | ||
* **NODE-6333:** Allow callers to specify the 'protect' flag ([#198](https://github.com/mongodb-js/kerberos/issues/198)) ([515f4bf](https://github.com/mongodb-js/kerberos/commit/515f4bfa9ed2f98be2670143d34b2e1356eb7089)) | ||
## [2.1.2](https://github.com/mongodb-js/kerberos/compare/v2.1.1...v2.1.2) (2024-08-12) | ||
@@ -7,0 +14,0 @@ |
@@ -55,2 +55,3 @@ 'use strict'; | ||
* @param {string} [options.user] The user to authorize | ||
* @param {boolean} [options.protect] Indicates if the wrap should request message confidentiality | ||
* @param {function} [callback] | ||
@@ -57,0 +58,0 @@ * @return {Promise} returns Promise if no callback passed |
{ | ||
"name": "kerberos", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"description": "Kerberos library for Node.js", | ||
@@ -35,3 +35,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@types/node": "^20.14.9", | ||
"@types/node": "^22.2.0", | ||
"chai": "^4.4.1", | ||
@@ -42,11 +42,11 @@ "chai-string": "^1.5.0", | ||
"dmd-clear": "^0.1.2", | ||
"eslint": "^8.57.0", | ||
"eslint": "^9.9.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"jsdoc-to-markdown": "^8.0.1", | ||
"mocha": "^10.4.0", | ||
"mongodb": "^6.5.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"jsdoc-to-markdown": "^8.0.3", | ||
"mocha": "^10.7.3", | ||
"mongodb": "^6.8.0", | ||
"node-gyp": "^10.1.0", | ||
"prebuild": "^13.0.0", | ||
"prettier": "^3.2.5", | ||
"prettier": "^3.3.3", | ||
"request": "^2.88.2" | ||
@@ -62,4 +62,4 @@ }, | ||
"format-cxx": "clang-format -i 'src/**/*'", | ||
"format-js": "eslint lib test --fix", | ||
"check:lint": "eslint lib test", | ||
"format-js": "ESLINT_USE_FLAT_CONFIG=false eslint lib test --fix", | ||
"check:lint": "ESLINT_USE_FLAT_CONFIG=false eslint lib test", | ||
"precommit": "check-clang-format", | ||
@@ -66,0 +66,0 @@ "docs": "jsdoc2md --template etc/README.hbs --plugin dmd-clear --files lib/kerberos.js > README.md", |
@@ -96,6 +96,6 @@ Kerberos | ||
```bash | ||
npm test | ||
docker run -i -v PATH_TO_KERBEROS_REPO:/app -w /app -e PROJECT_DIRECTORY=/app ubuntu:20.04 /bin/bash /app/.evergreen/run-tests-ubuntu.sh | ||
``` | ||
NOTE: The test suite requires an active kerberos deployment, see `test/scripts/travis.sh` to better understand these requirements. | ||
NOTE: The test suite requires an active kerberos deployment. | ||
@@ -186,2 +186,3 @@ # Documentation | ||
| [options.user] | <code>string</code> | The user to authorize | | ||
| [options.protect] | <code>boolean</code> | Indicates if the wrap should request message confidentiality | | ||
| [callback] | <code>function</code> | | | ||
@@ -188,0 +189,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
139784
388
299