@gasket/preset-nextjs 7.6.15 → 7.6.17

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.
Files changed (2) hide show
  1. package/cjs/preset-config.cjs +8 -19
  2. package/package.json +10 -10
@@ -38,18 +38,12 @@ function _getRequireWildcardCache(nodeInterop) {
38
38
  })(nodeInterop);
39
39
  }
40
40
  function _interop_require_wildcard(obj, nodeInterop) {
41
- if (!nodeInterop && obj && obj.__esModule) {
42
- return obj;
43
- }
44
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
45
- return {
46
- default: obj
47
- };
48
- }
41
+ if (!nodeInterop && obj && obj.__esModule) return obj;
42
+ if (obj === null || typeof obj !== "object" && typeof obj !== "function") return {
43
+ default: obj
44
+ };
49
45
  var cache = _getRequireWildcardCache(nodeInterop);
50
- if (cache && cache.has(obj)) {
51
- return cache.get(obj);
52
- }
46
+ if (cache && cache.has(obj)) return cache.get(obj);
53
47
  var newObj = {
54
48
  __proto__: null
55
49
  };
@@ -57,17 +51,12 @@ function _interop_require_wildcard(obj, nodeInterop) {
57
51
  for(var key in obj){
58
52
  if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
59
53
  var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
60
- if (desc && (desc.get || desc.set)) {
61
- Object.defineProperty(newObj, key, desc);
62
- } else {
63
- newObj[key] = obj[key];
64
- }
54
+ if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);
55
+ else newObj[key] = obj[key];
65
56
  }
66
57
  }
67
58
  newObj.default = obj;
68
- if (cache) {
69
- cache.set(obj, newObj);
70
- }
59
+ if (cache) cache.set(obj, newObj);
71
60
  return newObj;
72
61
  }
73
62
  async function presetConfig(gasket, context) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gasket/preset-nextjs",
3
- "version": "7.6.15",
3
+ "version": "7.6.17",
4
4
  "description": "Basic NextJS Framework",
5
5
  "type": "module",
6
6
  "types": "lib/index.d.ts",
@@ -28,31 +28,31 @@
28
28
  "bugs": "https://github.com/godaddy/gasket/issues",
29
29
  "homepage": "https://github.com/godaddy/gasket/tree/main/packages/gasket-preset-nextjs",
30
30
  "dependencies": {
31
- "@gasket/plugin-command": "^7.6.7",
31
+ "@gasket/plugin-command": "^7.6.8",
32
32
  "@gasket/plugin-cypress": "^7.5.4",
33
- "@gasket/plugin-docs": "^7.5.7",
33
+ "@gasket/plugin-docs": "^7.5.8",
34
34
  "@gasket/plugin-docusaurus": "^8.0.1",
35
35
  "@gasket/plugin-dynamic-plugins": "^7.5.3",
36
- "@gasket/plugin-express": "^7.5.3",
37
- "@gasket/plugin-git": "^7.4.11",
36
+ "@gasket/plugin-express": "^7.5.5",
37
+ "@gasket/plugin-git": "^7.4.12",
38
38
  "@gasket/plugin-https": "^7.4.2",
39
39
  "@gasket/plugin-https-proxy": "^7.5.2",
40
- "@gasket/plugin-intl": "^7.6.9",
40
+ "@gasket/plugin-intl": "^7.6.11",
41
41
  "@gasket/plugin-jest": "^7.5.10",
42
- "@gasket/plugin-lint": "^7.4.4",
42
+ "@gasket/plugin-lint": "^7.4.5",
43
43
  "@gasket/plugin-logger": "^7.5.1",
44
44
  "@gasket/plugin-mocha": "^7.5.7",
45
45
  "@gasket/plugin-nextjs": "^7.8.1",
46
46
  "@gasket/plugin-typescript": "^7.4.6",
47
47
  "@gasket/plugin-vitest": "^7.2.3",
48
48
  "@gasket/plugin-webpack": "^7.4.1",
49
- "@gasket/plugin-winston": "^7.4.2",
50
- "@gasket/utils": "^7.6.7"
49
+ "@gasket/plugin-winston": "^7.5.0",
50
+ "@gasket/utils": "^7.6.8"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@vitest/coverage-v8": "^3.2.0",
54
54
  "vitest": "^3.2.0",
55
- "@gasket/cjs": "^7.1.2"
55
+ "@gasket/cjs": "^7.1.3"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "gasket-cjs ./lib",