@shwfed/nuxt 0.7.6 → 0.7.7

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shwfed/nuxt",
3
3
  "configKey": "shwfed",
4
- "version": "0.7.6",
4
+ "version": "0.7.7",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -1,5 +1,4 @@
1
1
  import { execSync } from 'node:child_process';
2
- import { createHmac } from 'node:crypto';
3
2
  import { defineNuxtModule, createResolver, addVitePlugin, addPlugin, addImportsDir, addComponentsDir, addRouteMiddleware } from '@nuxt/kit';
4
3
  import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite';
5
4
  import TailwindCSS from '@tailwindcss/vite';
@@ -15,7 +14,8 @@ const module$1 = defineNuxtModule({
15
14
  version: "^0.14.0",
16
15
  defaults: {
17
16
  providers: {
18
- google: false
17
+ google: false,
18
+ googleicons: false
19
19
  },
20
20
  families: [
21
21
  { name: "Noto Sans", provider: "bunny" },
@@ -83,8 +83,7 @@ const module$1 = defineNuxtModule({
83
83
  const secret = "SEC9d85269f2b09e9eb652d32af42ff7e84193f0ca5d5669ba16378a388881aed9c";
84
84
  const timestamp = String(Date.now());
85
85
  const sign = encodeURIComponent(
86
- createHmac("sha256", secret).update(`${timestamp}
87
- ${secret}`).digest("base64")
86
+ execSync(`printf '%s\\n%s' '${timestamp}' '${secret}' | openssl dgst -sha256 -hmac '${secret}' -binary | base64`).toString().trim()
88
87
  );
89
88
  const jobName = process.env.JOB_NAME ?? "";
90
89
  const buildNumber = process.env.BUILD_NUMBER ?? "";
@@ -133,8 +132,7 @@ ${secret}`).digest("base64")
133
132
  }
134
133
  const timestamp = String(Date.now());
135
134
  const sign = encodeURIComponent(
136
- createHmac("sha256", secret).update(`${timestamp}
137
- ${secret}`).digest("base64")
135
+ execSync(`printf '%s\\n%s' '${timestamp}' '${secret}' | openssl dgst -sha256 -hmac '${secret}' -binary | base64`).toString().trim()
138
136
  );
139
137
  const jobName = process.env.JOB_NAME ?? "";
140
138
  const buildNumber = process.env.BUILD_NUMBER ?? "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shwfed/nuxt",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "type": "module",