alp-node-auth 6.0.0 → 6.0.4

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,47 @@
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
+ ## [6.0.4](https://github.com/christophehurpeau/alp/compare/alp-node-auth@6.0.3...alp-node-auth@6.0.4) (2022-02-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * request.searchParams ([d4552c6](https://github.com/christophehurpeau/alp/commit/d4552c6ce41dc3bf7aeeaa24f5e4ddc16164ae7f))
12
+
13
+
14
+
15
+
16
+
17
+ ## [6.0.3](https://github.com/christophehurpeau/alp/compare/alp-node-auth@6.0.2...alp-node-auth@6.0.3) (2022-01-15)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * update peer dependencies ([74892bc](https://github.com/christophehurpeau/alp/commit/74892bc8dd99ca862ba427914eb893b083e9b9da))
23
+
24
+
25
+
26
+
27
+
28
+ ## [6.0.2](https://github.com/christophehurpeau/alp/compare/alp-node-auth@6.0.1...alp-node-auth@6.0.2) (2022-01-02)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * extra entries ([fbfb15f](https://github.com/christophehurpeau/alp/commit/fbfb15fd4cfc474ccb803105fb8ece71414a6f5d))
34
+
35
+
36
+
37
+
38
+
39
+ ## [6.0.1](https://github.com/christophehurpeau/alp/compare/alp-node-auth@6.0.0...alp-node-auth@6.0.1) (2022-01-02)
40
+
41
+ **Note:** Version bump only for package alp-node-auth
42
+
43
+
44
+
45
+
46
+
6
47
  # [6.0.0](https://github.com/christophehurpeau/alp/compare/alp-node-auth@5.3.1...alp-node-auth@6.0.0) (2022-01-02)
7
48
 
8
49
 
package/README.md CHANGED
@@ -46,7 +46,6 @@ export default new UsersManager(new MongoStore('users'));
46
46
 
47
47
  ```js
48
48
  import Alp from 'alp-node';
49
- import 'alp-node/fetch';
50
49
  import authInit from 'alp-node-auth';
51
50
  import googleStrategy from 'alp-node-auth/strategies/google';
52
51
  import * as loginModuleDescriptor from './modules/auth/login';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alp-node-auth",
3
- "version": "6.0.0",
3
+ "version": "6.0.4",
4
4
  "description": "authentication with alp",
5
5
  "keywords": [
6
6
  "alp"
@@ -33,40 +33,23 @@
33
33
  "import": "./dist/index-node14.mjs"
34
34
  }
35
35
  },
36
- "./strategies/dropbox": {
37
- "import": "./strategies/dropbox.mjs",
38
- "require": "./strategies/dropbox.js"
39
- },
40
- "./strategies/facebook": {
41
- "import": "./strategies/facebook.mjs",
42
- "require": "./strategies/facebook.js"
43
- },
44
- "./strategies/foursquare": {
45
- "import": "./strategies/foursquare.mjs",
46
- "require": "./strategies/foursquare.js"
47
- },
48
- "./strategies/github": {
49
- "import": "./strategies/github.mjs",
50
- "require": "./strategies/github.js"
51
- },
52
- "./strategies/google": {
53
- "import": "./strategies/google.mjs",
54
- "require": "./strategies/google.js"
55
- },
56
- "./strategies/slack": {
57
- "import": "./strategies/slack.mjs",
58
- "require": "./strategies/slack.js"
59
- }
36
+ "./strategies/dropbox": "./strategies/dropbox.js",
37
+ "./strategies/facebook": "./strategies/facebook.js",
38
+ "./strategies/foursquare": "./strategies/foursquare.js",
39
+ "./strategies/github": "./strategies/github.js",
40
+ "./strategies/google": "./strategies/google.js",
41
+ "./strategies/slack": "./strategies/slack.js"
60
42
  },
61
43
  "module:node": "./dist/index-node14.mjs",
62
44
  "sideEffects": false,
63
45
  "scripts": {
64
- "build": "pob-build && yarn run build:definitions",
46
+ "build": "yarn clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
65
47
  "build:definitions": "tsc -p tsconfig.build.json",
66
- "clean": "rm -Rf dist",
48
+ "clean": "yarn clean:build",
49
+ "clean:build": "rm -Rf dist",
67
50
  "lint": "yarn run lint:eslint",
68
51
  "lint:eslint": "cd ../.. && yarn run eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet packages/alp-node-auth",
69
- "watch": "pob-watch"
52
+ "watch": "yarn clean:build && rollup --config rollup.config.mjs --watch"
70
53
  },
71
54
  "prettier": {
72
55
  "trailingComma": "all",
@@ -96,26 +79,26 @@
96
79
  ]
97
80
  },
98
81
  "peerDependencies": {
99
- "alp-node": "^3.0.1",
100
- "alp-router": "^4.0.1",
82
+ "alp-node": "^4.0.2",
83
+ "alp-router": "^5.1.0",
101
84
  "liwi-mongo": "^8.0.1"
102
85
  },
103
86
  "dependencies": {
104
87
  "@types/jsonwebtoken": "^8.5.1",
105
88
  "@types/simple-oauth2": "^2.5.1",
106
- "alp-types": "^3.0.0",
89
+ "alp-types": "3.1.0",
107
90
  "cookies": "^0.8.0",
108
91
  "jsonwebtoken": "^8.5.1",
109
- "nightingale-logger": "^12.1.2",
92
+ "nightingale-logger": "^12.1.4",
110
93
  "simple-oauth2": "^2.2.1"
111
94
  },
112
95
  "devDependencies": {
113
- "@babel/core": "7.16.7",
114
- "alp-node": "4.0.0",
115
- "alp-router": "5.0.0",
96
+ "@babel/core": "7.17.0",
97
+ "alp-node": "4.1.0",
98
+ "alp-router": "5.1.2",
116
99
  "liwi-mongo": "8.3.1",
117
- "pob-babel": "29.6.1",
118
- "typescript": "4.5.4"
100
+ "pob-babel": "31.0.0",
101
+ "typescript": "4.5.5"
119
102
  },
120
- "gitHead": "854189ce2307f42363e81bcf7862c5f1deced54a"
103
+ "gitHead": "1af3cf2eb4bba25ab23f174cda860416ff68a63d"
121
104
  }
package/rollup.config.mjs CHANGED
@@ -1,3 +1,5 @@
1
1
  import createRollupConfig from 'pob-babel/createRollupConfig.js';
2
2
 
3
- export default createRollupConfig({});
3
+ export default createRollupConfig({
4
+ cwd: new URL('.', import.meta.url).pathname,
5
+ });