@interfere/next 12.1.1 → 12.1.2
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/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES.md +90 -0
- package/dist/internal/build/configure-build.d.mts +1 -1
- package/dist/internal/server/instrumentation-options.d.mts +0 -7
- package/dist/internal/server/static-generation.d.mts +0 -14
- package/dist/internal/server/static-generation.mjs +1 -1
- package/dist/internal/server/wrap-server-action.d.mts +1 -4
- package/dist/package.mjs +1 -1
- package/package.json +33 -33
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Interfere, Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
The MIT license in LICENSE applies to code authored by Interfere. Third-party components retain their respective licenses.
|
|
4
|
+
|
|
5
|
+
## UAParser.js PRO Enterprise
|
|
6
|
+
|
|
7
|
+
- Package: `@ua-parser-js/pro-enterprise`
|
|
8
|
+
- Version: 2.0.10
|
|
9
|
+
- Project: https://uaparser.dev/
|
|
10
|
+
- License: UAParser.js PRO Enterprise, Version 2, July 2024
|
|
11
|
+
|
|
12
|
+
The React SDK uses this package for browser, device, and bot detection. The Next.js and Vite SDKs depend on the React SDK. UAParser is not covered by the Interfere SDKs' MIT license.
|
|
13
|
+
|
|
14
|
+
The license below restricts client use to the original functionality provided by the license holder and prohibits extracting, reproducing, or reusing UAParser independently. It also requires written consent for the open-source distribution described in its restrictions. This notice does not grant additional rights or replace any required permission.
|
|
15
|
+
|
|
16
|
+
### Upstream license
|
|
17
|
+
|
|
18
|
+
```text
|
|
19
|
+
# UAPARSER.JS PRO ENTERPRISE LICENSE
|
|
20
|
+
|
|
21
|
+
Version 2, July 2024
|
|
22
|
+
|
|
23
|
+
Copyright (C) 2023-2024 Faisal Salman <f+ua-parser-js@faisalman.com>
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Definitions
|
|
28
|
+
|
|
29
|
+
"We" are the team behind UAParser.js.
|
|
30
|
+
|
|
31
|
+
"You" are the individual, organization, or company who is responsible for purchasing this license.
|
|
32
|
+
|
|
33
|
+
"The Code" is UAParser.js.
|
|
34
|
+
|
|
35
|
+
"Project" is what you built with The Code.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## License
|
|
40
|
+
|
|
41
|
+
We retain all title, intellectual property, and ownership rights to The Code.
|
|
42
|
+
|
|
43
|
+
The Code is licensed, not sold, to You for use solely subject to the terms and conditions detailed here.
|
|
44
|
+
|
|
45
|
+
We grant You (and only You) a limited, non-exclusive, non-transferable, non-sublicensable, royalty-free right to use, copy, and modify The Code.
|
|
46
|
+
|
|
47
|
+
This license is only valid for You as one (1) individual, organization, or company and cannot be transferred to another individual, organization, or company.
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Rights
|
|
52
|
+
|
|
53
|
+
You may use, copy, and modify The Code for an indefinite number of Projects.
|
|
54
|
+
|
|
55
|
+
You have the right to receive lifetime updates and one (1) year of support, starting from the time you make the purchase.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Restrictions
|
|
60
|
+
|
|
61
|
+
You may not redistribute The Code, as-is or modified, except as a part of a Project that you made.
|
|
62
|
+
|
|
63
|
+
If You transfer a Project to a client, the use of The Code must be limited to the original functionality that You created for them. The Code must not be extracted, reproduced, or used in any other way. You must inform your client of this condition.
|
|
64
|
+
|
|
65
|
+
You may not deliver a Project that contains The Code as an open-source Project that might be used for commercial purposes by the general public, except with our written consent.
|
|
66
|
+
|
|
67
|
+
You may not use The Code for unlawful, inappropriate, illegal, or offensive purposes.
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Limitations
|
|
72
|
+
|
|
73
|
+
The Code is provided 'as is' without warranty of any kind, expressed or implied.
|
|
74
|
+
|
|
75
|
+
We shall not be liable for any damages, including but not limited to, direct, indirect, special, incidental, or consequential damages or losses that occur by the use of The Code.
|
|
76
|
+
|
|
77
|
+
We reserve the right to discontinue the lifetime updates for The Code at any time, with or without notice.
|
|
78
|
+
|
|
79
|
+
We offer support only for questions within the scope of The Code's functionality or related issues at our sole discretion.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Termination
|
|
84
|
+
|
|
85
|
+
This license is effective indefinitely but can be revoked at any time if there is a violation of any of the terms.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
END OF TERMS AND CONDITIONS
|
|
90
|
+
```
|
|
@@ -26,7 +26,7 @@ interface ConfigureBuildInput {
|
|
|
26
26
|
export declare function configureBuild({ existingWebpack, existingTurbopack, nextMajor, projectDir, remoteConfigFetch, values }: ConfigureBuildInput): {
|
|
27
27
|
clientInstrumentationApplies: boolean;
|
|
28
28
|
turbopack: import("@interfere/helpers/omit-undefined").OmitUndefined<{
|
|
29
|
-
resolveAlias?: Record<string, string | string[] | Record<string, string | string[]>>;
|
|
29
|
+
resolveAlias?: Record<string, false | string | string[] | Record<string, false | string | string[]>>;
|
|
30
30
|
resolveExtensions?: string[];
|
|
31
31
|
rules?: Record<string, import("next/dist/server/config-shared").TurbopackRuleConfigCollection>;
|
|
32
32
|
root?: string;
|
|
@@ -23,14 +23,7 @@ import { LogRecordProcessor } from "@opentelemetry/sdk-logs";
|
|
|
23
23
|
* them at all.
|
|
24
24
|
*/
|
|
25
25
|
export interface ServerInstrumentationOptions {
|
|
26
|
-
/** @internal */
|
|
27
26
|
_internalAdditionalLogRecordProcessors?: LogRecordProcessor[];
|
|
28
|
-
/**
|
|
29
|
-
* Extra span processors fanned into the NodeTracerProvider's processor
|
|
30
|
-
* list. See `_internalAdditionalLogRecordProcessors`.
|
|
31
|
-
*
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
34
27
|
_internalAdditionalSpanProcessors?: SpanProcessor[];
|
|
35
28
|
/**
|
|
36
29
|
* Install a `process.on("uncaughtException")` listener that captures the
|
|
@@ -1,17 +1,3 @@
|
|
|
1
1
|
//#region src/internal/server/static-generation.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Whether the current render is a static-generation render — a build-time
|
|
4
|
-
* prerender or a runtime ISR revalidation. Trace context injected into such
|
|
5
|
-
* a render is baked into cached HTML and served to every visitor in the
|
|
6
|
-
* cache window, so injection paths that feed `clientTraceMetadata` must
|
|
7
|
-
* skip it, mirroring what Next itself produces for build-time prerenders
|
|
8
|
-
* (no meta at all).
|
|
9
|
-
*
|
|
10
|
-
* Reads Next's `workAsyncStorage` external — the same store Next consults
|
|
11
|
-
* for its own static/dynamic decisions, importable on both the Node.js and
|
|
12
|
-
* Edge runtimes. Outside any render (no store) this returns `false`; the
|
|
13
|
-
* client-side `tracestate` freshness guard remains the backstop for
|
|
14
|
-
* caching the server cannot see (CDN full-page caches).
|
|
15
|
-
*/
|
|
16
2
|
export declare function isStaticGenerationRender(): boolean;
|
|
17
3
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{workAsyncStorage}from"next/dist/server/app-render/work-async-storage.external.js";function isStaticGenerationRender(){try{
|
|
1
|
+
import{workAsyncStorage}from"next/dist/server/app-render/work-async-storage.external.js";import{workUnitAsyncStorage}from"next/dist/server/app-render/work-unit-async-storage.external.js";function isStaticGenerationRender(){try{let store=workAsyncStorage.getStore();if(!store)return!1;if(`isStaticGeneration`in store)return store.isStaticGeneration===!0;if(store.isBuildTimePrerendering)return!0;let unit=workUnitAsyncStorage.getStore();return unit?.type!==`request`&&unit?.type!==`prerender-runtime`}catch{return!1}}export{isStaticGenerationRender};
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
//#region src/internal/server/wrap-server-action.d.ts
|
|
2
2
|
interface ServerActionOptions {
|
|
3
|
-
/**
|
|
4
|
-
* The action's arguments — used only to derive a value-free shape (typeof /
|
|
5
|
-
* class names), never recorded. Pass them to populate `args_shape`.
|
|
6
|
-
*/
|
|
3
|
+
/** Derives argument types and class names for args_shape without recording values. */
|
|
7
4
|
readonly args?: readonly unknown[];
|
|
8
5
|
}
|
|
9
6
|
/**
|
package/dist/package.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var name=`@interfere/next`,version=`12.1.
|
|
1
|
+
var name=`@interfere/next`,version=`12.1.2`;export{name,version};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interfere/next",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.2",
|
|
4
4
|
"description": "Build software that never breaks.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"error-tracking",
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
"typescript"
|
|
11
11
|
],
|
|
12
12
|
"homepage": "https://interfere.com",
|
|
13
|
-
"bugs":
|
|
14
|
-
"url": "mailto:support@interfere.com"
|
|
15
|
-
},
|
|
13
|
+
"bugs": "mailto:support@interfere.com",
|
|
16
14
|
"license": "MIT",
|
|
17
15
|
"author": "Interfere <support@interfere.com> (https://interfere.com)",
|
|
18
16
|
"repository": {
|
|
@@ -21,7 +19,9 @@
|
|
|
21
19
|
"directory": "src/packages/public/next"
|
|
22
20
|
},
|
|
23
21
|
"files": [
|
|
24
|
-
"dist"
|
|
22
|
+
"dist",
|
|
23
|
+
"LICENSE",
|
|
24
|
+
"THIRD_PARTY_NOTICES.md"
|
|
25
25
|
],
|
|
26
26
|
"type": "module",
|
|
27
27
|
"sideEffects": [
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
},
|
|
92
92
|
"scripts": {
|
|
93
93
|
"build": "tsdown",
|
|
94
|
-
"test": "vitest run --config ../../../../vitest.config.ts",
|
|
94
|
+
"test": "node ../../private/vitest-config/src/cli.ts run --config ../../../../vitest.config.ts",
|
|
95
95
|
"test:e2e": "playwright test",
|
|
96
96
|
"typecheck": "bun check"
|
|
97
97
|
},
|
|
@@ -100,49 +100,49 @@
|
|
|
100
100
|
"@interfere/constants": "^9.2.0",
|
|
101
101
|
"@interfere/helpers": "^9.2.1",
|
|
102
102
|
"@interfere/javascript": "^0.2.1",
|
|
103
|
-
"@interfere/react": "^12.1.
|
|
103
|
+
"@interfere/react": "^12.1.2",
|
|
104
104
|
"@interfere/types": "^10.3.0",
|
|
105
|
-
"@opentelemetry/api": "
|
|
106
|
-
"@opentelemetry/api-logs": "
|
|
107
|
-
"@opentelemetry/baggage-span-processor": "
|
|
108
|
-
"@opentelemetry/context-async-hooks": "
|
|
109
|
-
"@opentelemetry/core": "
|
|
110
|
-
"@opentelemetry/exporter-logs-otlp-http": "
|
|
111
|
-
"@opentelemetry/exporter-trace-otlp-http": "
|
|
112
|
-
"@opentelemetry/instrumentation": "
|
|
113
|
-
"@opentelemetry/otlp-exporter-base": "
|
|
114
|
-
"@opentelemetry/otlp-transformer": "
|
|
115
|
-
"@opentelemetry/resources": "
|
|
116
|
-
"@opentelemetry/sdk-logs": "
|
|
117
|
-
"@opentelemetry/sdk-metrics": "
|
|
118
|
-
"@opentelemetry/sdk-trace-base": "
|
|
119
|
-
"@opentelemetry/sdk-trace-node": "
|
|
105
|
+
"@opentelemetry/api": "1.9.1",
|
|
106
|
+
"@opentelemetry/api-logs": "0.222.0",
|
|
107
|
+
"@opentelemetry/baggage-span-processor": "0.5.0",
|
|
108
|
+
"@opentelemetry/context-async-hooks": "2.11.0",
|
|
109
|
+
"@opentelemetry/core": "2.11.0",
|
|
110
|
+
"@opentelemetry/exporter-logs-otlp-http": "0.222.0",
|
|
111
|
+
"@opentelemetry/exporter-trace-otlp-http": "0.222.0",
|
|
112
|
+
"@opentelemetry/instrumentation": "0.222.0",
|
|
113
|
+
"@opentelemetry/otlp-exporter-base": "0.222.0",
|
|
114
|
+
"@opentelemetry/otlp-transformer": "0.222.0",
|
|
115
|
+
"@opentelemetry/resources": "2.11.0",
|
|
116
|
+
"@opentelemetry/sdk-logs": "0.222.0",
|
|
117
|
+
"@opentelemetry/sdk-metrics": "2.11.0",
|
|
118
|
+
"@opentelemetry/sdk-trace-base": "2.11.0",
|
|
119
|
+
"@opentelemetry/sdk-trace-node": "2.11.0",
|
|
120
120
|
"@vercel/otel": "2.1.3",
|
|
121
|
-
"chalk": "
|
|
122
|
-
"zod": "
|
|
121
|
+
"chalk": "6.0.1",
|
|
122
|
+
"zod": "4.6.6"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
125
|
"@interfere/test-utils": "^10.0.1",
|
|
126
126
|
"@interfere/typescript-config": "^9.0.2",
|
|
127
127
|
"@interfere/vitest-config": "0.0.0",
|
|
128
|
-
"@playwright/test": "
|
|
129
|
-
"@types/node": "
|
|
128
|
+
"@playwright/test": "1.63.0",
|
|
129
|
+
"@types/node": "26.4.1",
|
|
130
130
|
"@types/react": "19.2.18",
|
|
131
131
|
"@types/react-dom": "19.2.7",
|
|
132
|
-
"@vitejs/plugin-react": "
|
|
132
|
+
"@vitejs/plugin-react": "6.1.1",
|
|
133
133
|
"@vitest/browser": "5.0.5",
|
|
134
134
|
"@vitest/browser-playwright": "5.0.5",
|
|
135
135
|
"@vitest/coverage-v8": "5.0.5",
|
|
136
|
-
"msw": "
|
|
137
|
-
"next": "
|
|
138
|
-
"playwright": "
|
|
136
|
+
"msw": "2.15.0",
|
|
137
|
+
"next": "16.4.1",
|
|
138
|
+
"playwright": "1.63.0",
|
|
139
139
|
"react": "19.3.0",
|
|
140
140
|
"react-dom": "19.3.0",
|
|
141
|
-
"tsdown": "
|
|
142
|
-
"typescript": "
|
|
141
|
+
"tsdown": "0.23.0",
|
|
142
|
+
"typescript": "7.0.2",
|
|
143
143
|
"vitest": "5.0.5",
|
|
144
144
|
"vitest-browser-react": "2.3.0",
|
|
145
|
-
"webpack": "
|
|
145
|
+
"webpack": "5.111.1"
|
|
146
146
|
},
|
|
147
147
|
"peerDependencies": {
|
|
148
148
|
"next": "^15.3.0 || ^16.0.0",
|