Hostile 99% javascript Download

@akinon/next 2.0.172

Caret or XOR operation token in sourceDeclares TypeScript development dependency

Evidence

At least four Markdown-style heading lines CHANGELOG.md · lines 1–9
1# @akinon/next
2
3## 2.0.172
4
5## 2.0.171
6
7### Patch Changes
8
9- fb47f4e9: ZERO-5525: Pages made with the theme editor's "Add page" dialog are served at `/pages/<slug>`, and a project without that route answered 404 for them in the editor preview and on the live site with no hint why. pz-theme now exports `CustomP …
Structured CVE identifier CHANGELOG.md · lines 621–627
621:33… ext.js from 14.2.25 to 14.2.35 to fix security vulnerabilities (CVE-2025-55184, CVE-2025-67779)
622
623## 1.125.0
⋯4 lines
Calls an expect assertion matcher attribute-based-shipping-middleware.test.ts · lines 31–67
31 })(next)(action);
32
33 return { dispatch, result, action };
34};
35
36describe('attributeBasedShippingOptionMiddleware', () => {
37 beforeEach(() => {
38 mockInitiate.mockClear();
39 });
40
41 it('selects the first option of every group', () => {
42 const { dispatch, result } = run({
43 express: group(11, 12),
44 standart: group(21)
45 });
46
47 expect(mockInitiate).toHaveBeenCalledWith({ express: 11, standart: 21 });
48 expect(dispatch).toHaveBeenCalledTimes(1);
49 expect(result).toBeNull();
50 });
51
52 it('posts nothing when only some of the reported groups are selectable', () => {
53 // The backend rejects a selection that does not cover every group it
54 // reported, and that rejection leaves pre_order empty, which re-arms this
55 // middleware. Posting a partial map would loop.
56 const { dispatch, result, action } = run({
57 express: group(11),
58 None: group()
59 });
60
61 expect(mockInitiate).not.toHaveBeenCalled();
62 expect(dispatch).not.toHaveBeenCalled();
63 expect(result).toBe(action);
64 });
65
66 it('does not dispatch when no group has a selectable option at all', () => {
67 const { dispatch, re …
URL uses a reserved special-use TLD client-proxy.test.ts · lines 1–21
1jest.mock('next/server', () => ({
2 NextResponse: {
3 json: (body: unknown, init: { status?: number } = {}) => ({
4 body,
5 status: init.status ?? 200
6 })
7 }
8}));
9
10jest.mock('next/headers', () => ({
11 cookies: async () => ({ get: () => undefined })
12}));
13
14jest.mock('settings', () => ({
15 commerceUrl: 'https://commerce.example',
16 localization: { localeUrlStrategy: 'hide-default-locale' }
17}));
⋯4 lines
Object literal declares host or user client-proxy.test.ts · lines 26–37
26:31… , RECORD: 'record' }
27}));
28
29jest.mock('../data/urls', () => ({
30 user: { csrfToken: '/users/csrf_token/' }
31}));
32
⋯5 lines

Showing the top 5 files — 7 more files (47 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.