@atproto/oauth-provider 0.7.8 → 0.7.10

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
@@ -1,5 +1,18 @@
1
1
  # @atproto/oauth-provider
2
2
 
3
+ ## 0.7.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`71b9dcda9`](https://github.com/bluesky-social/atproto/commit/71b9dcda9611ab3662ccb2c4e175579396f16b3a)]:
8
+ - @atproto/oauth-provider-ui@0.1.7
9
+
10
+ ## 0.7.9
11
+
12
+ ### Patch Changes
13
+
14
+ - [#3900](https://github.com/bluesky-social/atproto/pull/3900) [`06bf684a4`](https://github.com/bluesky-social/atproto/commit/06bf684a4a3fd2b8c73d2729e4951cedca8cba5e) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Add max length limit to passwords
15
+
3
16
  ## 0.7.8
4
17
 
5
18
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"password.d.ts","sourceRoot":"","sources":["../../src/types/password.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,iBAAiB,aAAoB,CAAA;AAClD,eAAO,MAAM,iBAAiB,aAAoB,CAAA"}
1
+ {"version":3,"file":"password.d.ts","sourceRoot":"","sources":["../../src/types/password.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,iBAAiB,aAA6B,CAAA;AAC3D,eAAO,MAAM,iBAAiB,aAA6B,CAAA"}
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.newPasswordSchema = exports.oldPasswordSchema = void 0;
4
4
  const zod_1 = require("zod");
5
- exports.oldPasswordSchema = zod_1.z.string().min(1);
6
- exports.newPasswordSchema = zod_1.z.string().min(8);
5
+ exports.oldPasswordSchema = zod_1.z.string().min(1).max(512);
6
+ exports.newPasswordSchema = zod_1.z.string().min(8).max(256);
7
7
  //# sourceMappingURL=password.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"password.js","sourceRoot":"","sources":["../../src/types/password.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEV,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;AACrC,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"password.js","sourceRoot":"","sources":["../../src/types/password.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEV,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAC9C,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/oauth-provider",
3
- "version": "0.7.8",
3
+ "version": "0.7.10",
4
4
  "license": "MIT",
5
5
  "description": "Generic OAuth2 and OpenID Connect provider for Node.js. Currently only supports features needed for Atproto.",
6
6
  "keywords": [
@@ -42,8 +42,8 @@
42
42
  "ioredis": "^5.3.2",
43
43
  "jose": "^5.2.0",
44
44
  "zod": "^3.23.8",
45
- "@atproto-labs/fetch": "0.2.3",
46
45
  "@atproto-labs/fetch-node": "0.1.9",
46
+ "@atproto-labs/fetch": "0.2.3",
47
47
  "@atproto-labs/pipe": "0.1.1",
48
48
  "@atproto-labs/simple-store": "0.2.0",
49
49
  "@atproto-labs/simple-store-memory": "0.1.3",
@@ -53,7 +53,7 @@
53
53
  "@atproto/oauth-types": "0.2.7",
54
54
  "@atproto/oauth-provider-api": "0.1.2",
55
55
  "@atproto/oauth-provider-frontend": "0.1.5",
56
- "@atproto/oauth-provider-ui": "0.1.6",
56
+ "@atproto/oauth-provider-ui": "0.1.7",
57
57
  "@atproto/syntax": "0.4.0"
58
58
  },
59
59
  "devDependencies": {
@@ -1,4 +1,4 @@
1
1
  import { z } from 'zod'
2
2
 
3
- export const oldPasswordSchema = z.string().min(1)
4
- export const newPasswordSchema = z.string().min(8)
3
+ export const oldPasswordSchema = z.string().min(1).max(512)
4
+ export const newPasswordSchema = z.string().min(8).max(256)