@opensaas/keystone-nextjs-auth 16.0.0 → 16.0.1

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,11 @@
1
1
  # @opensaas-keystone/nextjs-auth
2
2
 
3
+ ## 16.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 2e3ae54: Fix Nullish coalescing operator in next-config for older versions of node
8
+
3
9
  ## 16.0.0
4
10
 
5
11
  ### Major Changes
@@ -78,7 +78,7 @@ module.exports = withPreconstruct({
78
78
  // to resolve the location of field views, we will get a path that we can use
79
79
  // rather than just the __dirname/__filename of the generated file.
80
80
  // https://webpack.js.org/configuration/node/#node__filename
81
- config.node ??= {};
81
+ (_config$node = config.node) !== null && _config$node !== void 0 ? _config$node : config.node = {};
82
82
  config.node.__dirname = true;
83
83
  config.node.__filename = true;
84
84
  }
@@ -78,7 +78,7 @@ module.exports = withPreconstruct({
78
78
  // to resolve the location of field views, we will get a path that we can use
79
79
  // rather than just the __dirname/__filename of the generated file.
80
80
  // https://webpack.js.org/configuration/node/#node__filename
81
- config.node ??= {};
81
+ (_config$node = config.node) !== null && _config$node !== void 0 ? _config$node : config.node = {};
82
82
  config.node.__dirname = true;
83
83
  config.node.__filename = true;
84
84
  }
@@ -44,7 +44,7 @@ module.exports = withPreconstruct({
44
44
  // to resolve the location of field views, we will get a path that we can use
45
45
  // rather than just the __dirname/__filename of the generated file.
46
46
  // https://webpack.js.org/configuration/node/#node__filename
47
- config.node ??= {};
47
+ (_config$node = config.node) !== null && _config$node !== void 0 ? _config$node : config.node = {};
48
48
  config.node.__dirname = true;
49
49
  config.node.__filename = true;
50
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensaas/keystone-nextjs-auth",
3
- "version": "16.0.0",
3
+ "version": "16.0.1",
4
4
  "repository": "https://github.com/opensaasau/keystone-nextjs-auth",
5
5
  "license": "MIT",
6
6
  "main": "dist/opensaas-keystone-nextjs-auth.cjs.js",
@@ -31,7 +31,7 @@ module.exports = withPreconstruct({
31
31
  // to resolve the location of field views, we will get a path that we can use
32
32
  // rather than just the __dirname/__filename of the generated file.
33
33
  // https://webpack.js.org/configuration/node/#node__filename
34
- config.node ??= {};
34
+ (_config$node = config.node) !== null && _config$node !== void 0 ? _config$node : config.node = {};
35
35
  config.node.__dirname = true;
36
36
  config.node.__filename = true;
37
37
  }