oidc-spa 10.2.10 → 10.2.11

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.
@@ -76,7 +76,7 @@ const StateDataCookie_1 = require("./StateDataCookie");
76
76
  const loadWebcryptoLinerShim_1 = require("../tools/loadWebcryptoLinerShim");
77
77
  const lazySessionStorage_2 = require("../tools/lazySessionStorage");
78
78
  // NOTE: Replaced at build time
79
- const VERSION = "10.2.10";
79
+ const VERSION = "10.2.11";
80
80
  const globalContext = {
81
81
  prOidcByConfigId: new Map(),
82
82
  hasLogoutBeenCalled: (0, id_1.id)(false),
@@ -36,7 +36,7 @@ import { setStateDataCookieIfEnabled, clearStateDataCookie, getIsStateDataCookie
36
36
  import { loadWebcryptoLinerShim, hasLoadWebcryptoLinerShimBeenCalled } from "../tools/loadWebcryptoLinerShim.mjs";
37
37
  import { SESSION_STORAGE_GLOBAL_PREFIX } from "../tools/lazySessionStorage.mjs";
38
38
  // NOTE: Replaced at build time
39
- const VERSION = "10.2.10";
39
+ const VERSION = "10.2.11";
40
40
  const globalContext = {
41
41
  prOidcByConfigId: new Map(),
42
42
  hasLogoutBeenCalled: id(false),
@@ -7,7 +7,10 @@ export function getProjectType(params) {
7
7
  Array.from(pluginNames).some(pluginName => pluginName.startsWith("react-router:"))) {
8
8
  return "react-router-framework";
9
9
  }
10
- if (Array.from(pluginNames).some(pluginName => pluginName.startsWith("nuxt:") || pluginName.startsWith("nuxt-"))) {
10
+ // This is a core @nuxt/vite-builder plugin present throughout the supported Nuxt 3/4 line.
11
+ // The broader "nuxt:" namespace is not framework-specific: standalone plugins such as
12
+ // @nuxt/ui use it in ordinary Vite applications too.
13
+ if (pluginNames.has("nuxt:vite-node-server")) {
11
14
  return "nuxt";
12
15
  }
13
16
  return "other";
@@ -1 +1 @@
1
- {"version":3,"file":"projectType.mjs","sourceRoot":"","sources":["../../src/vite-plugin/projectType.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,cAAc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,IAAI,WAAW,CAAC,GAAG,CAAC,uBAAuB,CAAC,EAAE,CAAC;QAC3C,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,OAAO,OAAO,CAAC;AACnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oidc-spa",
3
- "version": "10.2.10",
3
+ "version": "10.2.11",
4
4
  "description": "OpenID Connect / OAuth2 solution for client-first Web Applications",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,11 +14,10 @@ export function getProjectType(params: { pluginNames: string[] }) {
14
14
  return "react-router-framework";
15
15
  }
16
16
 
17
- if (
18
- Array.from(pluginNames).some(
19
- pluginName => pluginName.startsWith("nuxt:") || pluginName.startsWith("nuxt-")
20
- )
21
- ) {
17
+ // This is a core @nuxt/vite-builder plugin present throughout the supported Nuxt 3/4 line.
18
+ // The broader "nuxt:" namespace is not framework-specific: standalone plugins such as
19
+ // @nuxt/ui use it in ordinary Vite applications too.
20
+ if (pluginNames.has("nuxt:vite-node-server")) {
22
21
  return "nuxt";
23
22
  }
24
23