unplugin-version-injector 2.1.0-beta.2 → 2.1.0-beta.3

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/rollup.js CHANGED
@@ -37,7 +37,7 @@ function createVersionInjector(options = {}) {
37
37
  const { version, name } = options.version && options.name ? options : getPackageVersion();
38
38
  const buildTime = ((_a = options.formatDate) != null ? _a : defaultFormatDate)(/* @__PURE__ */ new Date());
39
39
  const metaTag = `<meta name="version" content="${version}">
40
- <meta name="name" content="${name}">
40
+ <meta name="project" content="${name}">
41
41
  `;
42
42
  const logScript = `
43
43
  <script data-injected="unplugin-version-injector">
package/dist/rollup.mjs CHANGED
@@ -30,7 +30,7 @@ function createVersionInjector(options = {}) {
30
30
  const { version, name } = options.version && options.name ? options : getPackageVersion();
31
31
  const buildTime = ((_a = options.formatDate) != null ? _a : defaultFormatDate)(/* @__PURE__ */ new Date());
32
32
  const metaTag = `<meta name="version" content="${version}">
33
- <meta name="name" content="${name}">
33
+ <meta name="project" content="${name}">
34
34
  `;
35
35
  const logScript = `
36
36
  <script data-injected="unplugin-version-injector">
package/dist/vite.js CHANGED
@@ -37,7 +37,7 @@ function createVersionInjector(options = {}) {
37
37
  const { version, name } = options.version && options.name ? options : getPackageVersion();
38
38
  const buildTime = ((_a = options.formatDate) != null ? _a : defaultFormatDate)(/* @__PURE__ */ new Date());
39
39
  const metaTag = `<meta name="version" content="${version}">
40
- <meta name="name" content="${name}">
40
+ <meta name="project" content="${name}">
41
41
  `;
42
42
  const logScript = `
43
43
  <script data-injected="unplugin-version-injector">
package/dist/vite.mjs CHANGED
@@ -30,7 +30,7 @@ function createVersionInjector(options = {}) {
30
30
  const { version, name } = options.version && options.name ? options : getPackageVersion();
31
31
  const buildTime = ((_a = options.formatDate) != null ? _a : defaultFormatDate)(/* @__PURE__ */ new Date());
32
32
  const metaTag = `<meta name="version" content="${version}">
33
- <meta name="name" content="${name}">
33
+ <meta name="project" content="${name}">
34
34
  `;
35
35
  const logScript = `
36
36
  <script data-injected="unplugin-version-injector">
package/dist/webpack.js CHANGED
@@ -2714,7 +2714,7 @@ function createVersionInjector(options = {}) {
2714
2714
  const { version, name } = options.version && options.name ? options : getPackageVersion();
2715
2715
  const buildTime = ((_a = options.formatDate) != null ? _a : defaultFormatDate)(/* @__PURE__ */ new Date());
2716
2716
  const metaTag = `<meta name="version" content="${version}">
2717
- <meta name="name" content="${name}">
2717
+ <meta name="project" content="${name}">
2718
2718
  `;
2719
2719
  const logScript = `
2720
2720
  <script data-injected="unplugin-version-injector">
package/dist/webpack.mjs CHANGED
@@ -2707,7 +2707,7 @@ function createVersionInjector(options = {}) {
2707
2707
  const { version, name } = options.version && options.name ? options : getPackageVersion();
2708
2708
  const buildTime = ((_a = options.formatDate) != null ? _a : defaultFormatDate)(/* @__PURE__ */ new Date());
2709
2709
  const metaTag = `<meta name="version" content="${version}">
2710
- <meta name="name" content="${name}">
2710
+ <meta name="project" content="${name}">
2711
2711
  `;
2712
2712
  const logScript = `
2713
2713
  <script data-injected="unplugin-version-injector">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unplugin-version-injector",
3
- "version": "2.1.0-beta.2",
3
+ "version": "2.1.0-beta.3",
4
4
  "author": "Nian Yi <nianyi778@gmail.com>",
5
5
  "license": "MIT",
6
6
  "description": "A universal plugin to inject version and build time into HTML (supports Webpack, Vite, Rollup)",