@feathersjs/authentication-local 5.0.0-pre.31 → 5.0.0-pre.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [5.0.0-pre.32](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.31...v5.0.0-pre.32) (2022-10-26)
7
+
8
+ **Note:** Version bump only for package @feathersjs/authentication-local
9
+
6
10
  # [5.0.0-pre.31](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.30...v5.0.0-pre.31) (2022-10-12)
7
11
 
8
12
  **Note:** Version bump only for package @feathersjs/authentication-local
@@ -8,5 +8,6 @@ export interface HashPasswordOptions {
8
8
  * @param field
9
9
  * @param options
10
10
  * @returns
11
+ * @see https://dove.feathersjs.com/api/authentication/local.html#passwordhash
11
12
  */
12
13
  export default function hashPassword(field: string, options?: HashPasswordOptions): (context: HookContext, next?: NextFunction) => Promise<any>;
@@ -14,6 +14,7 @@ const debug = (0, commons_1.createDebug)('@feathersjs/authentication-local/hooks
14
14
  * @param field
15
15
  * @param options
16
16
  * @returns
17
+ * @see https://dove.feathersjs.com/api/authentication/local.html#passwordhash
17
18
  */
18
19
  function hashPassword(field, options = {}) {
19
20
  if (!field) {
@@ -1 +1 @@
1
- {"version":3,"file":"hash-password.js","sourceRoot":"","sources":["../../src/hooks/hash-password.ts"],"names":[],"mappings":";;;;;AAAA,qDAA4B;AAC5B,qDAA4B;AAC5B,iEAAwC;AACxC,+CAA+C;AAC/C,iDAAiD;AAIjD,MAAM,KAAK,GAAG,IAAA,qBAAW,EAAC,sDAAsD,CAAC,CAAA;AAOjF;;;;;GAKG;AACH,SAAwB,YAAY,CAAC,KAAa,EAAE,UAA+B,EAAE;IACnF,IAAI,CAAC,KAAK,EAAE;QACV,MAAM,IAAI,KAA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U,EAAE;gBACtE,MAAM,IAAI,mBAAU,CAAC,mBAAmB,QAAQ,6BAA6B,CAAC,CAAA;aAC/E;YAED,MAAM,iBAAiB,GAAG,KAAK,EAAE,IAAS,EAAE,EAAE;gBAC5C,MAAM,QAAQ,GAAG,IAAA,aAAG,EAAC,IAAI,EAAE,KAAK,CAAC,CAAA;gBAEjC,IAAI,QAAQ,KAAK,SAAS,EAAE;oBAC1B,KAAK,CAAC,aAAa,KAAK,qCAAqC,CAAC,CAAA;oBAC9D,OAAO,IAAI,CAAA;iBACZ;gBAED,MAAM,cAAc,GAAW,MAAM,aAAa,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA;gBAEjF,OAAO,IAAA,aAAG,EAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,KAAK,EAAE,cAAc,CAAC,CAAA;YACpD,CAAC,CAAA;YAED,OAAO,CAAC,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;gBAChC,CAAC,CAAC,MAAM,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;gBAChD,CAAC,CAAC,MAAM,iBAAiB,CAAC,IAAI,CAAC,CAAA;SAClC;QAED,IAAI,OAAO,IAAI,KAAK,UAAU,EAAE;YAC9B,OAAO,IAAI,EAAE,CAAA;SACd;IACH,CAAC,CAAA;AACH,CAAC;AA5CD,+BA4CC"}
@@ -1,7 +1,7 @@
1
1
  import { HookContext, NextFunction } from '@feathersjs/feathers';
2
2
  /**
3
3
  * @deprecated For reliable safe data representations use Feathers schema dispatch resolvers.
4
- * See https://dove.docs.feathersjs.com/api/schema/resolvers.html#safe-data-resolvers for more information.
4
+ * @see https://dove.feathersjs.comapi/authentication/local.html#protecting-fields
5
5
  */
6
6
  declare const _default: (...fields: string[]) => (context: HookContext, next?: NextFunction) => Promise<void>;
7
7
  export default _default;
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const omit_1 = __importDefault(require("lodash/omit"));
7
7
  /**
8
8
  * @deprecated For reliable safe data representations use Feathers schema dispatch resolvers.
9
- * See https://dove.docs.feathersjs.com/api/schema/resolvers.html#safe-data-resolvers for more information.
9
+ * @see https://dove.feathersjs.comapi/authentication/local.html#protecting-fields
10
10
  */
11
11
  exports.default = (...fields) => {
12
12
  const o = (current) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@feathersjs/authentication-local",
3
3
  "description": "Local authentication strategy for @feathers/authentication",
4
- "version": "5.0.0-pre.31",
4
+ "version": "5.0.0-pre.32",
5
5
  "homepage": "https://feathersjs.com",
6
6
  "main": "lib/",
7
7
  "types": "lib/",
@@ -53,16 +53,16 @@
53
53
  "access": "public"
54
54
  },
55
55
  "dependencies": {
56
- "@feathersjs/authentication": "^5.0.0-pre.31",
57
- "@feathersjs/commons": "^5.0.0-pre.31",
58
- "@feathersjs/errors": "^5.0.0-pre.31",
59
- "@feathersjs/feathers": "^5.0.0-pre.31",
56
+ "@feathersjs/authentication": "^5.0.0-pre.32",
57
+ "@feathersjs/commons": "^5.0.0-pre.32",
58
+ "@feathersjs/errors": "^5.0.0-pre.32",
59
+ "@feathersjs/feathers": "^5.0.0-pre.32",
60
60
  "bcryptjs": "^2.4.3",
61
61
  "lodash": "^4.17.21"
62
62
  },
63
63
  "devDependencies": {
64
- "@feathersjs/memory": "^5.0.0-pre.31",
65
- "@feathersjs/schema": "^5.0.0-pre.31",
64
+ "@feathersjs/memory": "^5.0.0-pre.32",
65
+ "@feathersjs/schema": "^5.0.0-pre.32",
66
66
  "@types/bcryptjs": "^2.4.2",
67
67
  "@types/lodash": "^4.14.186",
68
68
  "@types/mocha": "^10.0.0",
@@ -72,5 +72,5 @@
72
72
  "ts-node": "^10.9.1",
73
73
  "typescript": "^4.8.4"
74
74
  },
75
- "gitHead": "4500dbeb8cea566678cf88b3313a88efd93a2ed9"
75
+ "gitHead": "b405e205fc6d9fbd42b42c7a3f30ea4bf33d121d"
76
76
  }
@@ -18,6 +18,7 @@ export interface HashPasswordOptions {
18
18
  * @param field
19
19
  * @param options
20
20
  * @returns
21
+ * @see https://dove.feathersjs.com/api/authentication/local.html#passwordhash
21
22
  */
22
23
  export default function hashPassword(field: string, options: HashPasswordOptions = {}) {
23
24
  if (!field) {
@@ -3,7 +3,7 @@ import { HookContext, NextFunction } from '@feathersjs/feathers'
3
3
 
4
4
  /**
5
5
  * @deprecated For reliable safe data representations use Feathers schema dispatch resolvers.
6
- * See https://dove.docs.feathersjs.com/api/schema/resolvers.html#safe-data-resolvers for more information.
6
+ * @see https://dove.feathersjs.comapi/authentication/local.html#protecting-fields
7
7
  */
8
8
  export default (...fields: string[]) => {
9
9
  const o = (current: any) => {