mime change
This commit is contained in:
parent
591966284d
commit
7343184e99
@ -8,6 +8,7 @@ import { Paperclip, X } from 'lucide-react';
|
||||
import { Textarea } from '@/components/ui/textarea';
|
||||
import { decodeComposeContent, encodeComposeContent } from '@/lib/compose-mime-decoder';
|
||||
import { Email } from '@/app/courrier/page';
|
||||
import mime from 'mime';
|
||||
|
||||
interface ComposeEmailProps {
|
||||
showCompose: boolean;
|
||||
@ -89,27 +90,47 @@ export default function ComposeEmail({
|
||||
// Get the original email content
|
||||
const originalContent = replyTo?.body || forwardFrom?.body || '';
|
||||
|
||||
// Create the reply/forward structure
|
||||
// Create MIME headers
|
||||
const mimeHeaders = {
|
||||
'MIME-Version': '1.0',
|
||||
'Content-Type': 'multipart/alternative; boundary="----=_NextPart_000_0000_01D9A123.ABCDEF00"',
|
||||
'From': forwardFrom?.from || replyTo?.from || '',
|
||||
'Date': new Date(forwardFrom?.date || replyTo?.date || '').toUTCString(),
|
||||
'Subject': forwardFrom?.subject || replyTo?.subject || '',
|
||||
'To': forwardFrom?.to || replyTo?.to || '',
|
||||
'Cc': forwardFrom?.cc || replyTo?.cc || '',
|
||||
};
|
||||
|
||||
// Create the reply/forward structure with proper MIME formatting
|
||||
content = `
|
||||
<div class="compose-area" contenteditable="true" style="min-height: 100px; padding: 10px; border: 1px solid #e5e7eb; border-radius: 4px; margin-bottom: 20px;"></div>
|
||||
<div class="quoted-content" contenteditable="false" style="color: #6b7280; font-size: 0.875rem;">
|
||||
${forwardFrom ? `
|
||||
<div style="margin-bottom: 10px;">
|
||||
---------- Forwarded message ---------<br/>
|
||||
From: ${forwardFrom.from}<br/>
|
||||
Date: ${new Date(forwardFrom.date).toLocaleString()}<br/>
|
||||
Subject: ${forwardFrom.subject}<br/>
|
||||
To: ${forwardFrom.to}<br/>
|
||||
${forwardFrom.cc ? `Cc: ${forwardFrom.cc}<br/>` : ''}
|
||||
${Object.entries(mimeHeaders)
|
||||
.filter(([key, value]) => value)
|
||||
.map(([key, value]) => `${key}: ${value}<br/>`)
|
||||
.join('')}
|
||||
<br/>
|
||||
This is a multi-part message in MIME format.<br/>
|
||||
<br/>
|
||||
------=_NextPart_000_0000_01D9A123.ABCDEF00<br/>
|
||||
Content-Type: text/plain; charset="utf-8"<br/>
|
||||
Content-Transfer-Encoding: quoted-printable<br/>
|
||||
<br/>
|
||||
${originalContent.replace(/\n/g, '<br/>')}<br/>
|
||||
<br/>
|
||||
------=_NextPart_000_0000_01D9A123.ABCDEF00--<br/>
|
||||
</div>
|
||||
` : `
|
||||
<div style="margin-bottom: 10px;">
|
||||
On ${new Date(replyTo?.date || '').toLocaleString()}, ${replyTo?.from} wrote:
|
||||
</div>
|
||||
<blockquote style="margin: 0; padding-left: 1em; border-left: 2px solid #e5e7eb;">
|
||||
${originalContent}
|
||||
</blockquote>
|
||||
`}
|
||||
<blockquote style="margin: 0; padding-left: 1em; border-left: 2px solid #e5e7eb;">
|
||||
${originalContent}
|
||||
</blockquote>
|
||||
</div>
|
||||
`;
|
||||
} else {
|
||||
@ -138,9 +159,26 @@ export default function ComposeEmail({
|
||||
const handleInput = (e: React.FormEvent<HTMLDivElement>) => {
|
||||
if (!composeBodyRef.current) return;
|
||||
const content = composeBodyRef.current.innerHTML;
|
||||
setComposeBody(content);
|
||||
|
||||
// Get the content type based on the content
|
||||
const contentType = mime.getType('html') || 'text/html';
|
||||
|
||||
// Create MIME headers
|
||||
const mimeHeaders = {
|
||||
'MIME-Version': '1.0',
|
||||
'Content-Type': `${contentType}; charset="utf-8"`,
|
||||
'Content-Transfer-Encoding': 'quoted-printable'
|
||||
};
|
||||
|
||||
// Combine headers and content
|
||||
const mimeContent = Object.entries(mimeHeaders)
|
||||
.map(([key, value]) => `${key}: ${value}`)
|
||||
.join('\n') + '\n\n' + content;
|
||||
|
||||
setComposeBody(mimeContent);
|
||||
|
||||
if (onBodyChange) {
|
||||
onBodyChange(content);
|
||||
onBodyChange(mimeContent);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
259
node_modules/.package-lock.json
generated
vendored
259
node_modules/.package-lock.json
generated
vendored
@ -305,6 +305,44 @@
|
||||
"react-hook-form": "^7.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@img/sharp-darwin-arm64": {
|
||||
"version": "0.34.1",
|
||||
"resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.1.tgz",
|
||||
"integrity": "sha512-pn44xgBtgpEbZsu+lWf2KNb6OAf70X68k+yk69Ic2Xz11zHR/w24/U49XT7AeRwJ0Px+mhALhU5LPci1Aymk7A==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://opencollective.com/libvips"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-darwin-arm64": "1.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@img/sharp-libvips-darwin-arm64": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.1.0.tgz",
|
||||
"integrity": "sha512-HZ/JUmPwrJSoM4DIQPv/BfNh9yrOA8tlBbqbLz4JZ5uew2+o22Ik+tHQJcih7QJuSa0zo5coHTfD5J8inqj9DA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"license": "LGPL-3.0-or-later",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"funding": {
|
||||
"url": "https://opencollective.com/libvips"
|
||||
}
|
||||
},
|
||||
"node_modules/@isaacs/cliui": {
|
||||
"version": "8.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
|
||||
@ -371,15 +409,15 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@next/env": {
|
||||
"version": "14.2.24",
|
||||
"resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.24.tgz",
|
||||
"integrity": "sha512-LAm0Is2KHTNT6IT16lxT+suD0u+VVfYNQqM+EJTKuFRRuY2z+zj01kueWXPCxbMBDt0B5vONYzabHGUNbZYAhA==",
|
||||
"version": "15.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/env/-/env-15.3.1.tgz",
|
||||
"integrity": "sha512-cwK27QdzrMblHSn9DZRV+DQscHXRuJv6MydlJRpFSqJWZrTYMLzKDeyueJNN9MGd8NNiUKzDQADAf+dMLXX7YQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@next/swc-darwin-arm64": {
|
||||
"version": "14.2.24",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.24.tgz",
|
||||
"integrity": "sha512-7Tdi13aojnAZGpapVU6meVSpNzgrFwZ8joDcNS8cJVNuP3zqqrLqeory9Xec5TJZR/stsGJdfwo8KeyloT3+rQ==",
|
||||
"version": "15.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.3.1.tgz",
|
||||
"integrity": "sha512-hjDw4f4/nla+6wysBL07z52Gs55Gttp5Bsk5/8AncQLJoisvTBP0pRIBK/B16/KqQyH+uN4Ww8KkcAqJODYH3w==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@ -2283,15 +2321,16 @@
|
||||
"node_modules/@swc/counter": {
|
||||
"version": "0.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
|
||||
"integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ=="
|
||||
"integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==",
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/@swc/helpers": {
|
||||
"version": "0.5.5",
|
||||
"resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.5.tgz",
|
||||
"integrity": "sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==",
|
||||
"version": "0.5.15",
|
||||
"resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz",
|
||||
"integrity": "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@swc/counter": "^0.1.3",
|
||||
"tslib": "^2.4.0"
|
||||
"tslib": "^2.8.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/d3-array": {
|
||||
@ -2398,6 +2437,12 @@
|
||||
"iconv-lite": "^0.6.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/mime-types": {
|
||||
"version": "2.1.4",
|
||||
"resolved": "https://registry.npmjs.org/@types/mime-types/-/mime-types-2.1.4.tgz",
|
||||
"integrity": "sha512-lfU4b34HOri+kAY5UheuFMWPDOI+OPceBSHZKp69gEyTL/mmJ4cnU6Y/rlme3UL3GyOn6Y42hyIEw0/q8sWx5w==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "22.14.1",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.1.tgz",
|
||||
@ -2806,7 +2851,8 @@
|
||||
"node_modules/client-only": {
|
||||
"version": "0.0.1",
|
||||
"resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",
|
||||
"integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA=="
|
||||
"integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/clsx": {
|
||||
"version": "2.1.1",
|
||||
@ -2831,11 +2877,25 @@
|
||||
"react-dom": "^18 || ^19 || ^19.0.0-rc"
|
||||
}
|
||||
},
|
||||
"node_modules/color": {
|
||||
"version": "4.2.3",
|
||||
"resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
|
||||
"integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"color-convert": "^2.0.1",
|
||||
"color-string": "^1.9.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.5.0"
|
||||
}
|
||||
},
|
||||
"node_modules/color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dev": true,
|
||||
"devOptional": true,
|
||||
"dependencies": {
|
||||
"color-name": "~1.1.4"
|
||||
},
|
||||
@ -2847,7 +2907,18 @@
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true
|
||||
"devOptional": true
|
||||
},
|
||||
"node_modules/color-string": {
|
||||
"version": "1.9.1",
|
||||
"resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",
|
||||
"integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"color-name": "^1.0.0",
|
||||
"simple-swizzle": "^0.2.2"
|
||||
}
|
||||
},
|
||||
"node_modules/commander": {
|
||||
"version": "4.1.1",
|
||||
@ -3120,6 +3191,16 @@
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/detect-libc": {
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz",
|
||||
"integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==",
|
||||
"license": "Apache-2.0",
|
||||
"optional": true,
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/detect-node-es": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",
|
||||
@ -3511,11 +3592,6 @@
|
||||
"node": ">=10.13.0"
|
||||
}
|
||||
},
|
||||
"node_modules/graceful-fs": {
|
||||
"version": "4.2.11",
|
||||
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
||||
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
|
||||
},
|
||||
"node_modules/hasown": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
|
||||
@ -3727,6 +3803,13 @@
|
||||
"node": ">= 12"
|
||||
}
|
||||
},
|
||||
"node_modules/is-arrayish": {
|
||||
"version": "0.3.2",
|
||||
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
|
||||
"integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==",
|
||||
"license": "MIT",
|
||||
"optional": true
|
||||
},
|
||||
"node_modules/is-binary-path": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
|
||||
@ -4072,6 +4155,27 @@
|
||||
"node": ">=8.6"
|
||||
}
|
||||
},
|
||||
"node_modules/mime-db": {
|
||||
"version": "1.54.0",
|
||||
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
|
||||
"integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/mime-types": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
|
||||
"integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"mime-db": "^1.54.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/minimatch": {
|
||||
"version": "9.0.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
|
||||
@ -4131,41 +4235,42 @@
|
||||
}
|
||||
},
|
||||
"node_modules/next": {
|
||||
"version": "14.2.24",
|
||||
"resolved": "https://registry.npmjs.org/next/-/next-14.2.24.tgz",
|
||||
"integrity": "sha512-En8VEexSJ0Py2FfVnRRh8gtERwDRaJGNvsvad47ShkC2Yi8AXQPXEA2vKoDJlGFSj5WE5SyF21zNi4M5gyi+SQ==",
|
||||
"version": "15.3.1",
|
||||
"resolved": "https://registry.npmjs.org/next/-/next-15.3.1.tgz",
|
||||
"integrity": "sha512-8+dDV0xNLOgHlyBxP1GwHGVaNXsmp+2NhZEYrXr24GWLHtt27YrBPbPuHvzlhi7kZNYjeJNR93IF5zfFu5UL0g==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@next/env": "14.2.24",
|
||||
"@swc/helpers": "0.5.5",
|
||||
"@next/env": "15.3.1",
|
||||
"@swc/counter": "0.1.3",
|
||||
"@swc/helpers": "0.5.15",
|
||||
"busboy": "1.6.0",
|
||||
"caniuse-lite": "^1.0.30001579",
|
||||
"graceful-fs": "^4.2.11",
|
||||
"postcss": "8.4.31",
|
||||
"styled-jsx": "5.1.1"
|
||||
"styled-jsx": "5.1.6"
|
||||
},
|
||||
"bin": {
|
||||
"next": "dist/bin/next"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.17.0"
|
||||
"node": "^18.18.0 || ^19.8.0 || >= 20.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@next/swc-darwin-arm64": "14.2.24",
|
||||
"@next/swc-darwin-x64": "14.2.24",
|
||||
"@next/swc-linux-arm64-gnu": "14.2.24",
|
||||
"@next/swc-linux-arm64-musl": "14.2.24",
|
||||
"@next/swc-linux-x64-gnu": "14.2.24",
|
||||
"@next/swc-linux-x64-musl": "14.2.24",
|
||||
"@next/swc-win32-arm64-msvc": "14.2.24",
|
||||
"@next/swc-win32-ia32-msvc": "14.2.24",
|
||||
"@next/swc-win32-x64-msvc": "14.2.24"
|
||||
"@next/swc-darwin-arm64": "15.3.1",
|
||||
"@next/swc-darwin-x64": "15.3.1",
|
||||
"@next/swc-linux-arm64-gnu": "15.3.1",
|
||||
"@next/swc-linux-arm64-musl": "15.3.1",
|
||||
"@next/swc-linux-x64-gnu": "15.3.1",
|
||||
"@next/swc-linux-x64-musl": "15.3.1",
|
||||
"@next/swc-win32-arm64-msvc": "15.3.1",
|
||||
"@next/swc-win32-x64-msvc": "15.3.1",
|
||||
"sharp": "^0.34.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@opentelemetry/api": "^1.1.0",
|
||||
"@playwright/test": "^1.41.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"babel-plugin-react-compiler": "*",
|
||||
"react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",
|
||||
"react-dom": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",
|
||||
"sass": "^1.3.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
@ -4175,6 +4280,9 @@
|
||||
"@playwright/test": {
|
||||
"optional": true
|
||||
},
|
||||
"babel-plugin-react-compiler": {
|
||||
"optional": true
|
||||
},
|
||||
"sass": {
|
||||
"optional": true
|
||||
}
|
||||
@ -5406,6 +5514,60 @@
|
||||
"semver": "bin/semver"
|
||||
}
|
||||
},
|
||||
"node_modules/sharp": {
|
||||
"version": "0.34.1",
|
||||
"resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.1.tgz",
|
||||
"integrity": "sha512-1j0w61+eVxu7DawFJtnfYcvSv6qPFvfTaqzTQ2BLknVhHTwGS8sc63ZBF4rzkWMBVKybo4S5OBtDdZahh2A1xg==",
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"color": "^4.2.3",
|
||||
"detect-libc": "^2.0.3",
|
||||
"semver": "^7.7.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://opencollective.com/libvips"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-darwin-arm64": "0.34.1",
|
||||
"@img/sharp-darwin-x64": "0.34.1",
|
||||
"@img/sharp-libvips-darwin-arm64": "1.1.0",
|
||||
"@img/sharp-libvips-darwin-x64": "1.1.0",
|
||||
"@img/sharp-libvips-linux-arm": "1.1.0",
|
||||
"@img/sharp-libvips-linux-arm64": "1.1.0",
|
||||
"@img/sharp-libvips-linux-ppc64": "1.1.0",
|
||||
"@img/sharp-libvips-linux-s390x": "1.1.0",
|
||||
"@img/sharp-libvips-linux-x64": "1.1.0",
|
||||
"@img/sharp-libvips-linuxmusl-arm64": "1.1.0",
|
||||
"@img/sharp-libvips-linuxmusl-x64": "1.1.0",
|
||||
"@img/sharp-linux-arm": "0.34.1",
|
||||
"@img/sharp-linux-arm64": "0.34.1",
|
||||
"@img/sharp-linux-s390x": "0.34.1",
|
||||
"@img/sharp-linux-x64": "0.34.1",
|
||||
"@img/sharp-linuxmusl-arm64": "0.34.1",
|
||||
"@img/sharp-linuxmusl-x64": "0.34.1",
|
||||
"@img/sharp-wasm32": "0.34.1",
|
||||
"@img/sharp-win32-ia32": "0.34.1",
|
||||
"@img/sharp-win32-x64": "0.34.1"
|
||||
}
|
||||
},
|
||||
"node_modules/sharp/node_modules/semver": {
|
||||
"version": "7.7.1",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
|
||||
"integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",
|
||||
"license": "ISC",
|
||||
"optional": true,
|
||||
"bin": {
|
||||
"semver": "bin/semver.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
"node_modules/shebang-command": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
|
||||
@ -5439,6 +5601,16 @@
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/simple-swizzle": {
|
||||
"version": "0.2.2",
|
||||
"resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
|
||||
"integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==",
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"is-arrayish": "^0.3.1"
|
||||
}
|
||||
},
|
||||
"node_modules/smart-buffer": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
|
||||
@ -5615,9 +5787,10 @@
|
||||
}
|
||||
},
|
||||
"node_modules/styled-jsx": {
|
||||
"version": "5.1.1",
|
||||
"resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz",
|
||||
"integrity": "sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==",
|
||||
"version": "5.1.6",
|
||||
"resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.6.tgz",
|
||||
"integrity": "sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"client-only": "0.0.1"
|
||||
},
|
||||
@ -5625,7 +5798,7 @@
|
||||
"node": ">= 12.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">= 16.8.0 || 17.x.x || ^18.0.0-0"
|
||||
"react": ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@babel/core": {
|
||||
|
||||
191
node_modules/@img/sharp-darwin-arm64/LICENSE
generated
vendored
Normal file
191
node_modules/@img/sharp-darwin-arm64/LICENSE
generated
vendored
Normal file
@ -0,0 +1,191 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction, and
|
||||
distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by the copyright
|
||||
owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all other entities
|
||||
that control, are controlled by, or are under common control with that entity.
|
||||
For the purposes of this definition, "control" means (i) the power, direct or
|
||||
indirect, to cause the direction or management of such entity, whether by
|
||||
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity exercising
|
||||
permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications, including
|
||||
but not limited to software source code, documentation source, and configuration
|
||||
files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical transformation or
|
||||
translation of a Source form, including but not limited to compiled object code,
|
||||
generated documentation, and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or Object form, made
|
||||
available under the License, as indicated by a copyright notice that is included
|
||||
in or attached to the work (an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object form, that
|
||||
is based on (or derived from) the Work and for which the editorial revisions,
|
||||
annotations, elaborations, or other modifications represent, as a whole, an
|
||||
original work of authorship. For the purposes of this License, Derivative Works
|
||||
shall not include works that remain separable from, or merely link (or bind by
|
||||
name) to the interfaces of, the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including the original version
|
||||
of the Work and any modifications or additions to that Work or Derivative Works
|
||||
thereof, that is intentionally submitted to Licensor for inclusion in the Work
|
||||
by the copyright owner or by an individual or Legal Entity authorized to submit
|
||||
on behalf of the copyright owner. For the purposes of this definition,
|
||||
"submitted" means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems, and
|
||||
issue tracking systems that are managed by, or on behalf of, the Licensor for
|
||||
the purpose of discussing and improving the Work, but excluding communication
|
||||
that is conspicuously marked or otherwise designated in writing by the copyright
|
||||
owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
|
||||
of whom a Contribution has been received by Licensor and subsequently
|
||||
incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License.
|
||||
|
||||
Subject to the terms and conditions of this License, each Contributor hereby
|
||||
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
|
||||
irrevocable copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the Work and such
|
||||
Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License.
|
||||
|
||||
Subject to the terms and conditions of this License, each Contributor hereby
|
||||
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
|
||||
irrevocable (except as stated in this section) patent license to make, have
|
||||
made, use, offer to sell, sell, import, and otherwise transfer the Work, where
|
||||
such license applies only to those patent claims licensable by such Contributor
|
||||
that are necessarily infringed by their Contribution(s) alone or by combination
|
||||
of their Contribution(s) with the Work to which such Contribution(s) was
|
||||
submitted. If You institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work or a
|
||||
Contribution incorporated within the Work constitutes direct or contributory
|
||||
patent infringement, then any patent licenses granted to You under this License
|
||||
for that Work shall terminate as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution.
|
||||
|
||||
You may reproduce and distribute copies of the Work or Derivative Works thereof
|
||||
in any medium, with or without modifications, and in Source or Object form,
|
||||
provided that You meet the following conditions:
|
||||
|
||||
You must give any other recipients of the Work or Derivative Works a copy of
|
||||
this License; and
|
||||
You must cause any modified files to carry prominent notices stating that You
|
||||
changed the files; and
|
||||
You must retain, in the Source form of any Derivative Works that You distribute,
|
||||
all copyright, patent, trademark, and attribution notices from the Source form
|
||||
of the Work, excluding those notices that do not pertain to any part of the
|
||||
Derivative Works; and
|
||||
If the Work includes a "NOTICE" text file as part of its distribution, then any
|
||||
Derivative Works that You distribute must include a readable copy of the
|
||||
attribution notices contained within such NOTICE file, excluding those notices
|
||||
that do not pertain to any part of the Derivative Works, in at least one of the
|
||||
following places: within a NOTICE text file distributed as part of the
|
||||
Derivative Works; within the Source form or documentation, if provided along
|
||||
with the Derivative Works; or, within a display generated by the Derivative
|
||||
Works, if and wherever such third-party notices normally appear. The contents of
|
||||
the NOTICE file are for informational purposes only and do not modify the
|
||||
License. You may add Your own attribution notices within Derivative Works that
|
||||
You distribute, alongside or as an addendum to the NOTICE text from the Work,
|
||||
provided that such additional attribution notices cannot be construed as
|
||||
modifying the License.
|
||||
You may add Your own copyright statement to Your modifications and may provide
|
||||
additional or different license terms and conditions for use, reproduction, or
|
||||
distribution of Your modifications, or for any such Derivative Works as a whole,
|
||||
provided Your use, reproduction, and distribution of the Work otherwise complies
|
||||
with the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions.
|
||||
|
||||
Unless You explicitly state otherwise, any Contribution intentionally submitted
|
||||
for inclusion in the Work by You to the Licensor shall be under the terms and
|
||||
conditions of this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify the terms of
|
||||
any separate license agreement you may have executed with Licensor regarding
|
||||
such Contributions.
|
||||
|
||||
6. Trademarks.
|
||||
|
||||
This License does not grant permission to use the trade names, trademarks,
|
||||
service marks, or product names of the Licensor, except as required for
|
||||
reasonable and customary use in describing the origin of the Work and
|
||||
reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty.
|
||||
|
||||
Unless required by applicable law or agreed to in writing, Licensor provides the
|
||||
Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
|
||||
including, without limitation, any warranties or conditions of TITLE,
|
||||
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
|
||||
solely responsible for determining the appropriateness of using or
|
||||
redistributing the Work and assume any risks associated with Your exercise of
|
||||
permissions under this License.
|
||||
|
||||
8. Limitation of Liability.
|
||||
|
||||
In no event and under no legal theory, whether in tort (including negligence),
|
||||
contract, or otherwise, unless required by applicable law (such as deliberate
|
||||
and grossly negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special, incidental,
|
||||
or consequential damages of any character arising as a result of this License or
|
||||
out of the use or inability to use the Work (including but not limited to
|
||||
damages for loss of goodwill, work stoppage, computer failure or malfunction, or
|
||||
any and all other commercial damages or losses), even if such Contributor has
|
||||
been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability.
|
||||
|
||||
While redistributing the Work or Derivative Works thereof, You may choose to
|
||||
offer, and charge a fee for, acceptance of support, warranty, indemnity, or
|
||||
other liability obligations and/or rights consistent with this License. However,
|
||||
in accepting such obligations, You may act only on Your own behalf and on Your
|
||||
sole responsibility, not on behalf of any other Contributor, and only if You
|
||||
agree to indemnify, defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason of your
|
||||
accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work
|
||||
|
||||
To apply the Apache License to your work, attach the following boilerplate
|
||||
notice, with the fields enclosed by brackets "[]" replaced with your own
|
||||
identifying information. (Don't include the brackets!) The text should be
|
||||
enclosed in the appropriate comment syntax for the file format. We also
|
||||
recommend that a file or class name and description of purpose be included on
|
||||
the same "printed page" as the copyright notice for easier identification within
|
||||
third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
18
node_modules/@img/sharp-darwin-arm64/README.md
generated
vendored
Normal file
18
node_modules/@img/sharp-darwin-arm64/README.md
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
# `@img/sharp-darwin-arm64`
|
||||
|
||||
Prebuilt sharp for use with macOS 64-bit ARM.
|
||||
|
||||
## Licensing
|
||||
|
||||
Copyright 2013 Lovell Fuller and others.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
[https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
BIN
node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node
generated
vendored
Executable file
BIN
node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node
generated
vendored
Executable file
Binary file not shown.
40
node_modules/@img/sharp-darwin-arm64/package.json
generated
vendored
Normal file
40
node_modules/@img/sharp-darwin-arm64/package.json
generated
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "@img/sharp-darwin-arm64",
|
||||
"version": "0.34.1",
|
||||
"description": "Prebuilt sharp for use with macOS 64-bit ARM",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/lovell/sharp.git",
|
||||
"directory": "npm/darwin-arm64"
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"funding": {
|
||||
"url": "https://opencollective.com/libvips"
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-darwin-arm64": "1.1.0"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
],
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"type": "commonjs",
|
||||
"exports": {
|
||||
"./sharp.node": "./lib/sharp-darwin-arm64.node",
|
||||
"./package": "./package.json"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
||||
},
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"cpu": [
|
||||
"arm64"
|
||||
]
|
||||
}
|
||||
46
node_modules/@img/sharp-libvips-darwin-arm64/README.md
generated
vendored
Normal file
46
node_modules/@img/sharp-libvips-darwin-arm64/README.md
generated
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
# `@img/sharp-libvips-darwin-arm64`
|
||||
|
||||
Prebuilt libvips and dependencies for use with sharp on macOS 64-bit ARM.
|
||||
|
||||
## Licensing
|
||||
|
||||
This software contains third-party libraries
|
||||
used under the terms of the following licences:
|
||||
|
||||
| Library | Used under the terms of |
|
||||
|---------------|-----------------------------------------------------------------------------------------------------------|
|
||||
| aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |
|
||||
| cairo | Mozilla Public License 2.0 |
|
||||
| cgif | MIT Licence |
|
||||
| expat | MIT Licence |
|
||||
| fontconfig | [fontconfig Licence](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |
|
||||
| freetype | [freetype Licence](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) |
|
||||
| fribidi | LGPLv3 |
|
||||
| glib | LGPLv3 |
|
||||
| harfbuzz | MIT Licence |
|
||||
| highway | Apache-2.0 License, BSD 3-Clause |
|
||||
| lcms | MIT Licence |
|
||||
| libarchive | BSD 2-Clause |
|
||||
| libexif | LGPLv3 |
|
||||
| libffi | MIT Licence |
|
||||
| libheif | LGPLv3 |
|
||||
| libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |
|
||||
| libnsgif | MIT Licence |
|
||||
| libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) |
|
||||
| librsvg | LGPLv3 |
|
||||
| libspng | [BSD 2-Clause, libpng License](https://github.com/randy408/libspng/blob/master/LICENSE) |
|
||||
| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |
|
||||
| libvips | LGPLv3 |
|
||||
| libwebp | New BSD License |
|
||||
| libxml2 | MIT Licence |
|
||||
| mozjpeg | [zlib License, IJG License, BSD-3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) |
|
||||
| pango | LGPLv3 |
|
||||
| pixman | MIT Licence |
|
||||
| proxy-libintl | LGPLv3 |
|
||||
| zlib-ng | [zlib Licence](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) |
|
||||
|
||||
Use of libraries under the terms of the LGPLv3 is via the
|
||||
"any later version" clause of the LGPLv2 or LGPLv2.1.
|
||||
|
||||
Please report any errors or omissions via
|
||||
https://github.com/lovell/sharp-libvips/issues/new
|
||||
220
node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h
generated
vendored
Normal file
220
node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h
generated
vendored
Normal file
@ -0,0 +1,220 @@
|
||||
/* glibconfig.h
|
||||
*
|
||||
* This is a generated file. Please modify 'glibconfig.h.in'
|
||||
*/
|
||||
|
||||
#ifndef __GLIBCONFIG_H__
|
||||
#define __GLIBCONFIG_H__
|
||||
|
||||
#include <glib/gmacros.h>
|
||||
|
||||
#include <limits.h>
|
||||
#include <float.h>
|
||||
#define GLIB_HAVE_ALLOCA_H
|
||||
|
||||
#define GLIB_STATIC_COMPILATION 1
|
||||
#define GOBJECT_STATIC_COMPILATION 1
|
||||
#define GIO_STATIC_COMPILATION 1
|
||||
#define GMODULE_STATIC_COMPILATION 1
|
||||
#define GI_STATIC_COMPILATION 1
|
||||
#define G_INTL_STATIC_COMPILATION 1
|
||||
#define FFI_STATIC_BUILD 1
|
||||
|
||||
/* Specifies that GLib's g_print*() functions wrap the
|
||||
* system printf functions. This is useful to know, for example,
|
||||
* when using glibc's register_printf_function().
|
||||
*/
|
||||
#define GLIB_USING_SYSTEM_PRINTF
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define G_MINFLOAT FLT_MIN
|
||||
#define G_MAXFLOAT FLT_MAX
|
||||
#define G_MINDOUBLE DBL_MIN
|
||||
#define G_MAXDOUBLE DBL_MAX
|
||||
#define G_MINSHORT SHRT_MIN
|
||||
#define G_MAXSHORT SHRT_MAX
|
||||
#define G_MAXUSHORT USHRT_MAX
|
||||
#define G_MININT INT_MIN
|
||||
#define G_MAXINT INT_MAX
|
||||
#define G_MAXUINT UINT_MAX
|
||||
#define G_MINLONG LONG_MIN
|
||||
#define G_MAXLONG LONG_MAX
|
||||
#define G_MAXULONG ULONG_MAX
|
||||
|
||||
typedef signed char gint8;
|
||||
typedef unsigned char guint8;
|
||||
|
||||
typedef signed short gint16;
|
||||
typedef unsigned short guint16;
|
||||
|
||||
#define G_GINT16_MODIFIER "h"
|
||||
#define G_GINT16_FORMAT "hi"
|
||||
#define G_GUINT16_FORMAT "hu"
|
||||
|
||||
|
||||
typedef signed int gint32;
|
||||
typedef unsigned int guint32;
|
||||
|
||||
#define G_GINT32_MODIFIER ""
|
||||
#define G_GINT32_FORMAT "i"
|
||||
#define G_GUINT32_FORMAT "u"
|
||||
|
||||
|
||||
#define G_HAVE_GINT64 1 /* deprecated, always true */
|
||||
|
||||
G_GNUC_EXTENSION typedef signed long long gint64;
|
||||
G_GNUC_EXTENSION typedef unsigned long long guint64;
|
||||
|
||||
#define G_GINT64_CONSTANT(val) (G_GNUC_EXTENSION (val##LL))
|
||||
#define G_GUINT64_CONSTANT(val) (G_GNUC_EXTENSION (val##ULL))
|
||||
|
||||
#define G_GINT64_MODIFIER "ll"
|
||||
#define G_GINT64_FORMAT "lli"
|
||||
#define G_GUINT64_FORMAT "llu"
|
||||
|
||||
|
||||
#define GLIB_SIZEOF_VOID_P 8
|
||||
#define GLIB_SIZEOF_LONG 8
|
||||
#define GLIB_SIZEOF_SIZE_T 8
|
||||
#define GLIB_SIZEOF_SSIZE_T 8
|
||||
|
||||
typedef signed long gssize;
|
||||
typedef unsigned long gsize;
|
||||
#define G_GSIZE_MODIFIER "l"
|
||||
#define G_GSSIZE_MODIFIER "l"
|
||||
#define G_GSIZE_FORMAT "lu"
|
||||
#define G_GSSIZE_FORMAT "li"
|
||||
|
||||
#define G_MAXSIZE G_MAXULONG
|
||||
#define G_MINSSIZE G_MINLONG
|
||||
#define G_MAXSSIZE G_MAXLONG
|
||||
|
||||
typedef gint64 goffset;
|
||||
#define G_MINOFFSET G_MININT64
|
||||
#define G_MAXOFFSET G_MAXINT64
|
||||
|
||||
#define G_GOFFSET_MODIFIER G_GINT64_MODIFIER
|
||||
#define G_GOFFSET_FORMAT G_GINT64_FORMAT
|
||||
#define G_GOFFSET_CONSTANT(val) G_GINT64_CONSTANT(val)
|
||||
|
||||
#define G_POLLFD_FORMAT "%d"
|
||||
|
||||
#define GPOINTER_TO_INT(p) ((gint) (glong) (p))
|
||||
#define GPOINTER_TO_UINT(p) ((guint) (gulong) (p))
|
||||
|
||||
#define GINT_TO_POINTER(i) ((gpointer) (glong) (i))
|
||||
#define GUINT_TO_POINTER(u) ((gpointer) (gulong) (u))
|
||||
|
||||
typedef signed long gintptr;
|
||||
typedef unsigned long guintptr;
|
||||
|
||||
#define G_GINTPTR_MODIFIER "l"
|
||||
#define G_GINTPTR_FORMAT "li"
|
||||
#define G_GUINTPTR_FORMAT "lu"
|
||||
|
||||
#define GLIB_MAJOR_VERSION 2
|
||||
#define GLIB_MINOR_VERSION 84
|
||||
#define GLIB_MICRO_VERSION 1
|
||||
|
||||
#define G_OS_UNIX
|
||||
|
||||
#define G_VA_COPY va_copy
|
||||
|
||||
|
||||
#define G_HAVE_ISO_VARARGS 1
|
||||
|
||||
/* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi
|
||||
* is passed ISO vararg support is turned off, and there is no work
|
||||
* around to turn it on, so we unconditionally turn it off.
|
||||
*/
|
||||
#if __GNUC__ == 2 && __GNUC_MINOR__ == 95
|
||||
# undef G_HAVE_ISO_VARARGS
|
||||
#endif
|
||||
|
||||
#define G_HAVE_GROWING_STACK 0
|
||||
|
||||
#ifndef _MSC_VER
|
||||
# define G_HAVE_GNUC_VARARGS 1
|
||||
#endif
|
||||
|
||||
#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
|
||||
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
|
||||
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
|
||||
#define G_GNUC_INTERNAL __hidden
|
||||
#elif defined (__GNUC__) && defined (G_HAVE_GNUC_VISIBILITY)
|
||||
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
|
||||
#else
|
||||
#define G_GNUC_INTERNAL
|
||||
#endif
|
||||
|
||||
#define G_THREADS_ENABLED
|
||||
#define G_THREADS_IMPL_POSIX
|
||||
|
||||
#define G_ATOMIC_LOCK_FREE
|
||||
|
||||
#define GINT16_TO_LE(val) ((gint16) (val))
|
||||
#define GUINT16_TO_LE(val) ((guint16) (val))
|
||||
#define GINT16_TO_BE(val) ((gint16) GUINT16_SWAP_LE_BE (val))
|
||||
#define GUINT16_TO_BE(val) (GUINT16_SWAP_LE_BE (val))
|
||||
|
||||
#define GINT32_TO_LE(val) ((gint32) (val))
|
||||
#define GUINT32_TO_LE(val) ((guint32) (val))
|
||||
#define GINT32_TO_BE(val) ((gint32) GUINT32_SWAP_LE_BE (val))
|
||||
#define GUINT32_TO_BE(val) (GUINT32_SWAP_LE_BE (val))
|
||||
|
||||
#define GINT64_TO_LE(val) ((gint64) (val))
|
||||
#define GUINT64_TO_LE(val) ((guint64) (val))
|
||||
#define GINT64_TO_BE(val) ((gint64) GUINT64_SWAP_LE_BE (val))
|
||||
#define GUINT64_TO_BE(val) (GUINT64_SWAP_LE_BE (val))
|
||||
|
||||
#define GLONG_TO_LE(val) ((glong) GINT64_TO_LE (val))
|
||||
#define GULONG_TO_LE(val) ((gulong) GUINT64_TO_LE (val))
|
||||
#define GLONG_TO_BE(val) ((glong) GINT64_TO_BE (val))
|
||||
#define GULONG_TO_BE(val) ((gulong) GUINT64_TO_BE (val))
|
||||
#define GINT_TO_LE(val) ((gint) GINT32_TO_LE (val))
|
||||
#define GUINT_TO_LE(val) ((guint) GUINT32_TO_LE (val))
|
||||
#define GINT_TO_BE(val) ((gint) GINT32_TO_BE (val))
|
||||
#define GUINT_TO_BE(val) ((guint) GUINT32_TO_BE (val))
|
||||
#define GSIZE_TO_LE(val) ((gsize) GUINT64_TO_LE (val))
|
||||
#define GSSIZE_TO_LE(val) ((gssize) GINT64_TO_LE (val))
|
||||
#define GSIZE_TO_BE(val) ((gsize) GUINT64_TO_BE (val))
|
||||
#define GSSIZE_TO_BE(val) ((gssize) GINT64_TO_BE (val))
|
||||
#define G_BYTE_ORDER G_LITTLE_ENDIAN
|
||||
|
||||
#define GLIB_SYSDEF_POLLIN =1
|
||||
#define GLIB_SYSDEF_POLLOUT =4
|
||||
#define GLIB_SYSDEF_POLLPRI =2
|
||||
#define GLIB_SYSDEF_POLLHUP =16
|
||||
#define GLIB_SYSDEF_POLLERR =8
|
||||
#define GLIB_SYSDEF_POLLNVAL =32
|
||||
|
||||
/* No way to disable deprecation warnings for macros, so only emit deprecation
|
||||
* warnings on platforms where usage of this macro is broken */
|
||||
#if defined(__APPLE__) || defined(_MSC_VER) || defined(__CYGWIN__)
|
||||
#define G_MODULE_SUFFIX "so" GLIB_DEPRECATED_MACRO_IN_2_76
|
||||
#else
|
||||
#define G_MODULE_SUFFIX "so"
|
||||
#endif
|
||||
|
||||
typedef int GPid;
|
||||
#define G_PID_FORMAT "i"
|
||||
|
||||
#define GLIB_SYSDEF_AF_UNIX 1
|
||||
#define GLIB_SYSDEF_AF_INET 2
|
||||
#define GLIB_SYSDEF_AF_INET6 30
|
||||
|
||||
#define GLIB_SYSDEF_MSG_OOB 1
|
||||
#define GLIB_SYSDEF_MSG_PEEK 2
|
||||
#define GLIB_SYSDEF_MSG_DONTROUTE 4
|
||||
|
||||
#define G_DIR_SEPARATOR '/'
|
||||
#define G_DIR_SEPARATOR_S "/"
|
||||
#define G_SEARCHPATH_SEPARATOR ':'
|
||||
#define G_SEARCHPATH_SEPARATOR_S ":"
|
||||
|
||||
#undef G_HAVE_FREE_SIZED
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GLIBCONFIG_H__ */
|
||||
1
node_modules/@img/sharp-libvips-darwin-arm64/lib/index.js
generated
vendored
Normal file
1
node_modules/@img/sharp-libvips-darwin-arm64/lib/index.js
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
module.exports = __dirname;
|
||||
BIN
node_modules/@img/sharp-libvips-darwin-arm64/lib/libvips-cpp.8.16.1.dylib
generated
vendored
Normal file
BIN
node_modules/@img/sharp-libvips-darwin-arm64/lib/libvips-cpp.8.16.1.dylib
generated
vendored
Normal file
Binary file not shown.
36
node_modules/@img/sharp-libvips-darwin-arm64/package.json
generated
vendored
Normal file
36
node_modules/@img/sharp-libvips-darwin-arm64/package.json
generated
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "@img/sharp-libvips-darwin-arm64",
|
||||
"version": "1.1.0",
|
||||
"description": "Prebuilt libvips and dependencies for use with sharp on macOS 64-bit ARM",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/lovell/sharp-libvips.git",
|
||||
"directory": "npm/darwin-arm64"
|
||||
},
|
||||
"license": "LGPL-3.0-or-later",
|
||||
"funding": {
|
||||
"url": "https://opencollective.com/libvips"
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"files": [
|
||||
"lib",
|
||||
"versions.json"
|
||||
],
|
||||
"type": "commonjs",
|
||||
"exports": {
|
||||
"./lib": "./lib/index.js",
|
||||
"./package": "./package.json",
|
||||
"./versions": "./versions.json"
|
||||
},
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"cpu": [
|
||||
"arm64"
|
||||
]
|
||||
}
|
||||
30
node_modules/@img/sharp-libvips-darwin-arm64/versions.json
generated
vendored
Normal file
30
node_modules/@img/sharp-libvips-darwin-arm64/versions.json
generated
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"aom": "3.12.0",
|
||||
"archive": "3.7.9",
|
||||
"cairo": "1.18.4",
|
||||
"cgif": "0.5.0",
|
||||
"exif": "0.6.25",
|
||||
"expat": "2.7.1",
|
||||
"ffi": "3.4.7",
|
||||
"fontconfig": "2.16.1",
|
||||
"freetype": "2.13.3",
|
||||
"fribidi": "1.0.16",
|
||||
"glib": "2.84.1",
|
||||
"harfbuzz": "11.0.0",
|
||||
"heif": "1.19.7",
|
||||
"highway": "1.2.0",
|
||||
"imagequant": "2.4.1",
|
||||
"lcms": "2.17",
|
||||
"mozjpeg": "4.1.5",
|
||||
"pango": "1.56.3",
|
||||
"pixman": "0.44.2",
|
||||
"png": "1.6.47",
|
||||
"proxy-libintl": "0.4",
|
||||
"rsvg": "2.60.0",
|
||||
"spng": "0.7.4",
|
||||
"tiff": "4.7.0",
|
||||
"vips": "8.16.1",
|
||||
"webp": "1.5.0",
|
||||
"xml": "2.14.1",
|
||||
"zlib-ng": "2.2.4"
|
||||
}
|
||||
4
node_modules/@next/env/dist/index.d.ts
generated
vendored
4
node_modules/@next/env/dist/index.d.ts
generated
vendored
@ -4,6 +4,7 @@ export type Env = {
|
||||
export type LoadedEnvFiles = Array<{
|
||||
path: string;
|
||||
contents: string;
|
||||
env: Env;
|
||||
}>;
|
||||
export declare let initialEnv: Env | undefined;
|
||||
export declare function updateInitialEnv(newEnv: Env): void;
|
||||
@ -11,10 +12,11 @@ type Log = {
|
||||
info: (...args: any[]) => void;
|
||||
error: (...args: any[]) => void;
|
||||
};
|
||||
export declare function processEnv(loadedEnvFiles: LoadedEnvFiles, dir?: string, log?: Log, forceReload?: boolean, onReload?: (envFilePath: string) => void): Env;
|
||||
export declare function processEnv(loadedEnvFiles: LoadedEnvFiles, dir?: string, log?: Log, forceReload?: boolean, onReload?: (envFilePath: string) => void): Env[];
|
||||
export declare function resetEnv(): void;
|
||||
export declare function loadEnvConfig(dir: string, dev?: boolean, log?: Log, forceReload?: boolean, onReload?: (envFilePath: string) => void): {
|
||||
combinedEnv: Env;
|
||||
parsedEnv: Env | undefined;
|
||||
loadedEnvFiles: LoadedEnvFiles;
|
||||
};
|
||||
export {};
|
||||
|
||||
2
node_modules/@next/env/dist/index.js
generated
vendored
2
node_modules/@next/env/dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
4
node_modules/@next/env/package.json
generated
vendored
4
node_modules/@next/env/package.json
generated
vendored
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@next/env",
|
||||
"version": "14.2.24",
|
||||
"version": "15.3.1",
|
||||
"keywords": [
|
||||
"react",
|
||||
"next",
|
||||
@ -23,7 +23,7 @@
|
||||
"scripts": {
|
||||
"dev": "ncc build ./index.ts -w -o dist/",
|
||||
"prerelease": "node ../../scripts/rm.mjs dist",
|
||||
"types": "tsc index.ts --declaration --emitDeclarationOnly --declarationDir dist --esModuleInterop",
|
||||
"types": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
|
||||
"release": "ncc build ./index.ts -o ./dist/ --minify --no-cache --no-source-map-register",
|
||||
"build": "pnpm release && pnpm types",
|
||||
"prepublishOnly": "cd ../../ && turbo run build"
|
||||
|
||||
BIN
node_modules/@next/swc-darwin-arm64/next-swc.darwin-arm64.node
generated
vendored
BIN
node_modules/@next/swc-darwin-arm64/next-swc.darwin-arm64.node
generated
vendored
Binary file not shown.
4
node_modules/@next/swc-darwin-arm64/package.json
generated
vendored
4
node_modules/@next/swc-darwin-arm64/package.json
generated
vendored
@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "@next/swc-darwin-arm64",
|
||||
"version": "14.2.24",
|
||||
"version": "15.3.1",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/vercel/next.js",
|
||||
"directory": "packages/next-swc/crates/napi/npm/darwin-arm64"
|
||||
"directory": "crates/napi/npm/darwin-arm64"
|
||||
},
|
||||
"os": [
|
||||
"darwin"
|
||||
|
||||
2
node_modules/@swc/helpers/LICENSE
generated
vendored
2
node_modules/@swc/helpers/LICENSE
generated
vendored
@ -186,7 +186,7 @@ APPENDIX: How to apply the Apache License to your work.
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
Copyright 2024 SWC contributors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
||||
4
node_modules/@swc/helpers/_/_call_super/package.json
generated
vendored
Normal file
4
node_modules/@swc/helpers/_/_call_super/package.json
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"main": "../../cjs/_call_super.cjs",
|
||||
"module": "../../esm/_call_super.js"
|
||||
}
|
||||
4
node_modules/@swc/helpers/_/_identity/package.json
generated
vendored
Normal file
4
node_modules/@swc/helpers/_/_identity/package.json
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"main": "../../cjs/_identity.cjs",
|
||||
"module": "../../esm/_identity.js"
|
||||
}
|
||||
4
node_modules/@swc/helpers/_/_ts_add_disposable_resource/package.json
generated
vendored
Normal file
4
node_modules/@swc/helpers/_/_ts_add_disposable_resource/package.json
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"main": "../../cjs/_ts_add_disposable_resource.cjs",
|
||||
"module": "../../esm/_ts_add_disposable_resource.js"
|
||||
}
|
||||
4
node_modules/@swc/helpers/_/_ts_dispose_resources/package.json
generated
vendored
Normal file
4
node_modules/@swc/helpers/_/_ts_dispose_resources/package.json
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"main": "../../cjs/_ts_dispose_resources.cjs",
|
||||
"module": "../../esm/_ts_dispose_resources.js"
|
||||
}
|
||||
4
node_modules/@swc/helpers/_/_using_ctx/package.json
generated
vendored
Normal file
4
node_modules/@swc/helpers/_/_using_ctx/package.json
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"main": "../../cjs/_using_ctx.cjs",
|
||||
"module": "../../esm/_using_ctx.js"
|
||||
}
|
||||
2
node_modules/@swc/helpers/cjs/_apply_decorated_descriptor.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_apply_decorated_descriptor.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._apply_decorated_descriptor = _apply_decorated_descriptor;
|
||||
function _apply_decorated_descriptor(target, property, decorators, descriptor, context) {
|
||||
var desc = {};
|
||||
|
||||
@ -33,3 +32,4 @@ function _apply_decorated_descriptor(target, property, decorators, descriptor, c
|
||||
|
||||
return desc;
|
||||
}
|
||||
exports._ = _apply_decorated_descriptor;
|
||||
|
||||
23
node_modules/@swc/helpers/cjs/_apply_decs_2203_r.cjs
generated
vendored
23
node_modules/@swc/helpers/cjs/_apply_decs_2203_r.cjs
generated
vendored
@ -20,7 +20,6 @@
|
||||
CLASS = 10; // only used in assertValidReturnValue
|
||||
*/
|
||||
|
||||
exports._ = exports._apply_decs_2203_r = _apply_decs_2203_r;
|
||||
function _apply_decs_2203_r(targetClass, memberDecs, classDecs, parentClass) {
|
||||
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
||||
return function addInitializer(initializer) {
|
||||
@ -50,13 +49,11 @@ function _apply_decs_2203_r(targetClass, memberDecs, classDecs, parentClass) {
|
||||
kindStr = "field";
|
||||
}
|
||||
|
||||
var ctx = { kind: kindStr, name: isPrivate ? "#" + name : name, static: isStatic, private: isPrivate };
|
||||
var ctx = { kind: kindStr, name: isPrivate ? "#" + name : name, static: isStatic, private: isPrivate, metadata: metadata };
|
||||
|
||||
var decoratorFinishedRef = { v: false };
|
||||
|
||||
if (kind !== 0 /* FIELD */) {
|
||||
ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef);
|
||||
}
|
||||
ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef);
|
||||
|
||||
var get, set;
|
||||
if (kind === 0 /* FIELD */) {
|
||||
@ -309,17 +306,13 @@ function _apply_decs_2203_r(targetClass, memberDecs, classDecs, parentClass) {
|
||||
base = Class;
|
||||
kind = kind - 5 /* STATIC */;
|
||||
// initialize staticInitializers when we see a non-field static member
|
||||
if (kind !== 0 /* FIELD */) {
|
||||
staticInitializers = staticInitializers || [];
|
||||
initializers = staticInitializers;
|
||||
}
|
||||
staticInitializers = staticInitializers || [];
|
||||
initializers = staticInitializers;
|
||||
} else {
|
||||
base = Class.prototype;
|
||||
// initialize protoInitializers when we see a non-field member
|
||||
if (kind !== 0 /* FIELD */) {
|
||||
protoInitializers = protoInitializers || [];
|
||||
initializers = protoInitializers;
|
||||
}
|
||||
protoInitializers = protoInitializers || [];
|
||||
initializers = protoInitializers;
|
||||
}
|
||||
|
||||
if (kind !== 0 /* FIELD */ && !isPrivate) {
|
||||
@ -535,7 +528,7 @@ function _apply_decs_2203_r(targetClass, memberDecs, classDecs, parentClass) {
|
||||
initializeClass(Class);
|
||||
*/
|
||||
|
||||
exports._ = exports._apply_decs_2203_r = _apply_decs_2203_r = function(targetClass, memberDecs, classDecs, parentClass) {
|
||||
exports._ = _apply_decs_2203_r = function(targetClass, memberDecs, classDecs, parentClass) {
|
||||
if (parentClass !== void 0) {
|
||||
var parentMetadata = parentClass[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
||||
}
|
||||
@ -553,3 +546,5 @@ function _apply_decs_2203_r(targetClass, memberDecs, classDecs, parentClass) {
|
||||
|
||||
return _apply_decs_2203_r(targetClass, memberDecs, classDecs, parentClass);
|
||||
}
|
||||
|
||||
exports._ = _apply_decs_2203_r;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_array_like_to_array.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_array_like_to_array.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._array_like_to_array = _array_like_to_array;
|
||||
function _array_like_to_array(arr, len) {
|
||||
if (len == null || len > arr.length) len = arr.length;
|
||||
|
||||
@ -8,3 +7,4 @@ function _array_like_to_array(arr, len) {
|
||||
|
||||
return arr2;
|
||||
}
|
||||
exports._ = _array_like_to_array;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_array_with_holes.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_array_with_holes.cjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._array_with_holes = _array_with_holes;
|
||||
function _array_with_holes(arr) {
|
||||
if (Array.isArray(arr)) return arr;
|
||||
}
|
||||
exports._ = _array_with_holes;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_array_without_holes.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_array_without_holes.cjs
generated
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
var _array_like_to_array = require("./_array_like_to_array.cjs");
|
||||
|
||||
exports._ = exports._array_without_holes = _array_without_holes;
|
||||
function _array_without_holes(arr) {
|
||||
if (Array.isArray(arr)) return _array_like_to_array._(arr);
|
||||
}
|
||||
exports._ = _array_without_holes;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_assert_this_initialized.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_assert_this_initialized.cjs
generated
vendored
@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._assert_this_initialized = _assert_this_initialized;
|
||||
function _assert_this_initialized(self) {
|
||||
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||
|
||||
return self;
|
||||
}
|
||||
exports._ = _assert_this_initialized;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_async_generator.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_async_generator.cjs
generated
vendored
@ -2,7 +2,6 @@
|
||||
|
||||
var _await_value = require("./_await_value.cjs");
|
||||
|
||||
exports._ = exports._async_generator = _async_generator;
|
||||
function _async_generator(gen) {
|
||||
var front, back;
|
||||
|
||||
@ -76,3 +75,4 @@ _async_generator.prototype.throw = function(arg) {
|
||||
_async_generator.prototype.return = function(arg) {
|
||||
return this._invoke("return", arg);
|
||||
};
|
||||
exports._ = _async_generator;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_async_generator_delegate.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_async_generator_delegate.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._async_generator_delegate = _async_generator_delegate;
|
||||
function _async_generator_delegate(inner, awaitWrap) {
|
||||
var iter = {}, waiting = false;
|
||||
|
||||
@ -47,3 +46,4 @@ function _async_generator_delegate(inner, awaitWrap) {
|
||||
|
||||
return iter;
|
||||
}
|
||||
exports._ = _async_generator_delegate;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_async_iterator.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_async_iterator.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._async_iterator = _async_iterator;
|
||||
function _async_iterator(iterable) {
|
||||
var method, async, sync, retry = 2;
|
||||
for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) {
|
||||
@ -44,3 +43,4 @@ function AsyncFromSyncIterator(s) {
|
||||
},
|
||||
new AsyncFromSyncIterator(s);
|
||||
}
|
||||
exports._ = _async_iterator;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_async_to_generator.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_async_to_generator.cjs
generated
vendored
@ -11,7 +11,6 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
if (info.done) resolve(value);
|
||||
else Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
exports._ = exports._async_to_generator = _async_to_generator;
|
||||
function _async_to_generator(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
@ -31,3 +30,4 @@ function _async_to_generator(fn) {
|
||||
});
|
||||
};
|
||||
}
|
||||
exports._ = _async_to_generator;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_await_async_generator.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_await_async_generator.cjs
generated
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
var _await_value = require("./_await_value.cjs");
|
||||
|
||||
exports._ = exports._await_async_generator = _await_async_generator;
|
||||
function _await_async_generator(value) {
|
||||
return new _await_value._(value);
|
||||
}
|
||||
exports._ = _await_async_generator;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_await_value.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_await_value.cjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._await_value = _await_value;
|
||||
function _await_value(value) {
|
||||
this.wrapped = value;
|
||||
}
|
||||
exports._ = _await_value;
|
||||
|
||||
19
node_modules/@swc/helpers/cjs/_call_super.cjs
generated
vendored
Normal file
19
node_modules/@swc/helpers/cjs/_call_super.cjs
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
|
||||
var _get_prototype_of = require("./_get_prototype_of.cjs");
|
||||
var _is_native_reflect_construct = require("./_is_native_reflect_construct.cjs");
|
||||
var _possible_constructor_return = require("./_possible_constructor_return.cjs");
|
||||
|
||||
function _call_super(_this, derived, args) {
|
||||
// Super
|
||||
derived = _get_prototype_of._(derived);
|
||||
return _possible_constructor_return._(
|
||||
_this,
|
||||
_is_native_reflect_construct._()
|
||||
// NOTE: This doesn't work if this.__proto__.constructor has been modified.
|
||||
? Reflect.construct(derived, args || [], _get_prototype_of._(_this).constructor)
|
||||
: derived.apply(_this, args)
|
||||
);
|
||||
}
|
||||
|
||||
exports._ = _call_super;
|
||||
2
node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs
generated
vendored
@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._check_private_redeclaration = _check_private_redeclaration;
|
||||
function _check_private_redeclaration(obj, privateCollection) {
|
||||
if (privateCollection.has(obj)) {
|
||||
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
||||
}
|
||||
}
|
||||
exports._ = _check_private_redeclaration;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_apply_descriptor_destructure.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_apply_descriptor_destructure.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._class_apply_descriptor_destructure = _class_apply_descriptor_destructure;
|
||||
function _class_apply_descriptor_destructure(receiver, descriptor) {
|
||||
if (descriptor.set) {
|
||||
if (!("__destrObj" in descriptor)) {
|
||||
@ -23,3 +22,4 @@ function _class_apply_descriptor_destructure(receiver, descriptor) {
|
||||
return descriptor;
|
||||
}
|
||||
}
|
||||
exports._ = _class_apply_descriptor_destructure;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_apply_descriptor_get.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_apply_descriptor_get.cjs
generated
vendored
@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._class_apply_descriptor_get = _class_apply_descriptor_get;
|
||||
function _class_apply_descriptor_get(receiver, descriptor) {
|
||||
if (descriptor.get) return descriptor.get.call(receiver);
|
||||
|
||||
return descriptor.value;
|
||||
}
|
||||
exports._ = _class_apply_descriptor_get;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_apply_descriptor_set.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_apply_descriptor_set.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._class_apply_descriptor_set = _class_apply_descriptor_set;
|
||||
function _class_apply_descriptor_set(receiver, descriptor, value) {
|
||||
if (descriptor.set) descriptor.set.call(receiver, value);
|
||||
else {
|
||||
@ -13,3 +12,4 @@ function _class_apply_descriptor_set(receiver, descriptor, value) {
|
||||
descriptor.value = value;
|
||||
}
|
||||
}
|
||||
exports._ = _class_apply_descriptor_set;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_apply_descriptor_update.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_apply_descriptor_update.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._class_apply_descriptor_update = _class_apply_descriptor_update;
|
||||
function _class_apply_descriptor_update(receiver, descriptor) {
|
||||
if (descriptor.set) {
|
||||
if (!descriptor.get) throw new TypeError("attempted to read set only private field");
|
||||
@ -28,3 +27,4 @@ function _class_apply_descriptor_update(receiver, descriptor) {
|
||||
return descriptor;
|
||||
}
|
||||
}
|
||||
exports._ = _class_apply_descriptor_update;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_call_check.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_call_check.cjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._class_call_check = _class_call_check;
|
||||
function _class_call_check(instance, Constructor) {
|
||||
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
||||
}
|
||||
exports._ = _class_call_check;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_check_private_static_access.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_check_private_static_access.cjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._class_check_private_static_access = _class_check_private_static_access;
|
||||
function _class_check_private_static_access(receiver, classConstructor) {
|
||||
if (receiver !== classConstructor) throw new TypeError("Private static access of wrong provenance");
|
||||
}
|
||||
exports._ = _class_check_private_static_access;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_check_private_static_field_descriptor.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_check_private_static_field_descriptor.cjs
generated
vendored
@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._class_check_private_static_field_descriptor = _class_check_private_static_field_descriptor;
|
||||
function _class_check_private_static_field_descriptor(descriptor, action) {
|
||||
if (descriptor === undefined) {
|
||||
throw new TypeError("attempted to " + action + " private static field before its declaration");
|
||||
}
|
||||
}
|
||||
exports._ = _class_check_private_static_field_descriptor;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_extract_field_descriptor.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_extract_field_descriptor.cjs
generated
vendored
@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._class_extract_field_descriptor = _class_extract_field_descriptor;
|
||||
function _class_extract_field_descriptor(receiver, privateMap, action) {
|
||||
if (!privateMap.has(receiver)) throw new TypeError("attempted to " + action + " private field on non-instance");
|
||||
|
||||
return privateMap.get(receiver);
|
||||
}
|
||||
exports._ = _class_extract_field_descriptor;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_name_tdz_error.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_name_tdz_error.cjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._class_name_tdz_error = _class_name_tdz_error;
|
||||
function _class_name_tdz_error(name) {
|
||||
throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys.");
|
||||
}
|
||||
exports._ = _class_name_tdz_error;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_private_field_destructure.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_private_field_destructure.cjs
generated
vendored
@ -3,8 +3,8 @@
|
||||
var _class_apply_descriptor_destructure = require("./_class_apply_descriptor_destructure.cjs");
|
||||
var _class_extract_field_descriptor = require("./_class_extract_field_descriptor.cjs");
|
||||
|
||||
exports._ = exports._class_private_field_destructure = _class_private_field_destructure;
|
||||
function _class_private_field_destructure(receiver, privateMap) {
|
||||
var descriptor = _class_extract_field_descriptor._(receiver, privateMap, "set");
|
||||
return _class_apply_descriptor_destructure._(receiver, descriptor);
|
||||
}
|
||||
exports._ = _class_private_field_destructure;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_private_field_get.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_private_field_get.cjs
generated
vendored
@ -3,8 +3,8 @@
|
||||
var _class_apply_descriptor_get = require("./_class_apply_descriptor_get.cjs");
|
||||
var _class_extract_field_descriptor = require("./_class_extract_field_descriptor.cjs");
|
||||
|
||||
exports._ = exports._class_private_field_get = _class_private_field_get;
|
||||
function _class_private_field_get(receiver, privateMap) {
|
||||
var descriptor = _class_extract_field_descriptor._(receiver, privateMap, "get");
|
||||
return _class_apply_descriptor_get._(receiver, descriptor);
|
||||
}
|
||||
exports._ = _class_private_field_get;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_private_field_init.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_private_field_init.cjs
generated
vendored
@ -2,8 +2,8 @@
|
||||
|
||||
var _check_private_redeclaration = require("./_check_private_redeclaration.cjs");
|
||||
|
||||
exports._ = exports._class_private_field_init = _class_private_field_init;
|
||||
function _class_private_field_init(obj, privateMap, value) {
|
||||
_check_private_redeclaration._(obj, privateMap);
|
||||
privateMap.set(obj, value);
|
||||
}
|
||||
exports._ = _class_private_field_init;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._class_private_field_loose_base = _class_private_field_loose_base;
|
||||
function _class_private_field_loose_base(receiver, privateKey) {
|
||||
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
|
||||
throw new TypeError("attempted to use private field on non-instance");
|
||||
@ -8,3 +7,4 @@ function _class_private_field_loose_base(receiver, privateKey) {
|
||||
|
||||
return receiver;
|
||||
}
|
||||
exports._ = _class_private_field_loose_base;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs
generated
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
var id = 0;
|
||||
|
||||
exports._ = exports._class_private_field_loose_key = _class_private_field_loose_key;
|
||||
function _class_private_field_loose_key(name) {
|
||||
return "__private_" + id++ + "_" + name;
|
||||
}
|
||||
exports._ = _class_private_field_loose_key;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_private_field_set.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_private_field_set.cjs
generated
vendored
@ -3,9 +3,9 @@
|
||||
var _class_apply_descriptor_set = require("./_class_apply_descriptor_set.cjs");
|
||||
var _class_extract_field_descriptor = require("./_class_extract_field_descriptor.cjs");
|
||||
|
||||
exports._ = exports._class_private_field_set = _class_private_field_set;
|
||||
function _class_private_field_set(receiver, privateMap, value) {
|
||||
var descriptor = _class_extract_field_descriptor._(receiver, privateMap, "set");
|
||||
_class_apply_descriptor_set._(receiver, descriptor, value);
|
||||
return value;
|
||||
}
|
||||
exports._ = _class_private_field_set;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_private_field_update.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_private_field_update.cjs
generated
vendored
@ -3,8 +3,8 @@
|
||||
var _class_apply_descriptor_update = require("./_class_apply_descriptor_update.cjs");
|
||||
var _class_extract_field_descriptor = require("./_class_extract_field_descriptor.cjs");
|
||||
|
||||
exports._ = exports._class_private_field_update = _class_private_field_update;
|
||||
function _class_private_field_update(receiver, privateMap) {
|
||||
var descriptor = _class_extract_field_descriptor._(receiver, privateMap, "update");
|
||||
return _class_apply_descriptor_update._(receiver, descriptor);
|
||||
}
|
||||
exports._ = _class_private_field_update;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_private_method_get.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_private_method_get.cjs
generated
vendored
@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._class_private_method_get = _class_private_method_get;
|
||||
function _class_private_method_get(receiver, privateSet, fn) {
|
||||
if (!privateSet.has(receiver)) throw new TypeError("attempted to get private field on non-instance");
|
||||
|
||||
return fn;
|
||||
}
|
||||
exports._ = _class_private_method_get;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_private_method_init.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_private_method_init.cjs
generated
vendored
@ -2,8 +2,8 @@
|
||||
|
||||
var _check_private_redeclaration = require("./_check_private_redeclaration.cjs");
|
||||
|
||||
exports._ = exports._class_private_method_init = _class_private_method_init;
|
||||
function _class_private_method_init(obj, privateSet) {
|
||||
_check_private_redeclaration._(obj, privateSet);
|
||||
privateSet.add(obj);
|
||||
}
|
||||
exports._ = _class_private_method_init;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_private_method_set.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_private_method_set.cjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._class_private_method_set = _class_private_method_set;
|
||||
function _class_private_method_set() {
|
||||
throw new TypeError("attempted to reassign private method");
|
||||
}
|
||||
exports._ = _class_private_method_set;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_static_private_field_destructure.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_static_private_field_destructure.cjs
generated
vendored
@ -4,10 +4,10 @@ var _class_apply_descriptor_destructure = require("./_class_apply_descriptor_des
|
||||
var _class_check_private_static_access = require("./_class_check_private_static_access.cjs");
|
||||
var _class_check_private_static_field_descriptor = require("./_class_check_private_static_field_descriptor.cjs");
|
||||
|
||||
exports._ = exports._class_static_private_field_destructure = _class_static_private_field_destructure;
|
||||
function _class_static_private_field_destructure(receiver, classConstructor, descriptor) {
|
||||
_class_check_private_static_access._(receiver, classConstructor);
|
||||
_class_check_private_static_field_descriptor._(descriptor, "set");
|
||||
|
||||
return _class_apply_descriptor_destructure._(receiver, descriptor);
|
||||
}
|
||||
exports._ = _class_static_private_field_destructure;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_static_private_field_spec_get.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_static_private_field_spec_get.cjs
generated
vendored
@ -4,10 +4,10 @@ var _class_apply_descriptor_get = require("./_class_apply_descriptor_get.cjs");
|
||||
var _class_check_private_static_access = require("./_class_check_private_static_access.cjs");
|
||||
var _class_check_private_static_field_descriptor = require("./_class_check_private_static_field_descriptor.cjs");
|
||||
|
||||
exports._ = exports._class_static_private_field_spec_get = _class_static_private_field_spec_get;
|
||||
function _class_static_private_field_spec_get(receiver, classConstructor, descriptor) {
|
||||
_class_check_private_static_access._(receiver, classConstructor);
|
||||
_class_check_private_static_field_descriptor._(descriptor, "get");
|
||||
|
||||
return _class_apply_descriptor_get._(receiver, descriptor);
|
||||
}
|
||||
exports._ = _class_static_private_field_spec_get;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_static_private_field_spec_set.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_static_private_field_spec_set.cjs
generated
vendored
@ -4,7 +4,6 @@ var _class_apply_descriptor_set = require("./_class_apply_descriptor_set.cjs");
|
||||
var _class_check_private_static_access = require("./_class_check_private_static_access.cjs");
|
||||
var _class_check_private_static_field_descriptor = require("./_class_check_private_static_field_descriptor.cjs");
|
||||
|
||||
exports._ = exports._class_static_private_field_spec_set = _class_static_private_field_spec_set;
|
||||
function _class_static_private_field_spec_set(receiver, classConstructor, descriptor, value) {
|
||||
_class_check_private_static_access._(receiver, classConstructor);
|
||||
_class_check_private_static_field_descriptor._(descriptor, "set");
|
||||
@ -12,3 +11,4 @@ function _class_static_private_field_spec_set(receiver, classConstructor, descri
|
||||
|
||||
return value;
|
||||
}
|
||||
exports._ = _class_static_private_field_spec_set;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_static_private_field_update.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_static_private_field_update.cjs
generated
vendored
@ -4,10 +4,10 @@ var _class_apply_descriptor_update = require("./_class_apply_descriptor_update.c
|
||||
var _class_check_private_static_access = require("./_class_check_private_static_access.cjs");
|
||||
var _class_check_private_static_field_descriptor = require("./_class_check_private_static_field_descriptor.cjs");
|
||||
|
||||
exports._ = exports._class_static_private_field_update = _class_static_private_field_update;
|
||||
function _class_static_private_field_update(receiver, classConstructor, descriptor) {
|
||||
_class_check_private_static_access._(receiver, classConstructor);
|
||||
_class_check_private_static_field_descriptor._(descriptor, "update");
|
||||
|
||||
return _class_apply_descriptor_update._(receiver, descriptor);
|
||||
}
|
||||
exports._ = _class_static_private_field_update;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_class_static_private_method_get.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_class_static_private_method_get.cjs
generated
vendored
@ -2,9 +2,9 @@
|
||||
|
||||
var _class_check_private_static_access = require("./_class_check_private_static_access.cjs");
|
||||
|
||||
exports._ = exports._class_static_private_method_get = _class_static_private_method_get;
|
||||
function _class_static_private_method_get(receiver, classConstructor, method) {
|
||||
_class_check_private_static_access._(receiver, classConstructor);
|
||||
|
||||
return method;
|
||||
}
|
||||
exports._ = _class_static_private_method_get;
|
||||
|
||||
6
node_modules/@swc/helpers/cjs/_construct.cjs
generated
vendored
6
node_modules/@swc/helpers/cjs/_construct.cjs
generated
vendored
@ -2,11 +2,10 @@
|
||||
|
||||
var _is_native_reflect_construct = require("./_is_native_reflect_construct.cjs");
|
||||
var _set_prototype_of = require("./_set_prototype_of.cjs");
|
||||
exports._ = exports._construct = _construct;
|
||||
function _construct(Parent, args, Class) {
|
||||
if (_is_native_reflect_construct._()) exports._ = exports._construct = _construct = Reflect.construct;
|
||||
if (_is_native_reflect_construct._()) exports._ = _construct = Reflect.construct;
|
||||
else {
|
||||
exports._ = exports._construct = _construct = function construct(Parent, args, Class) {
|
||||
exports._ = _construct = function construct(Parent, args, Class) {
|
||||
var a = [null];
|
||||
a.push.apply(a, args);
|
||||
var Constructor = Function.bind.apply(Parent, a);
|
||||
@ -20,3 +19,4 @@ function _construct(Parent, args, Class) {
|
||||
|
||||
return _construct.apply(null, arguments);
|
||||
}
|
||||
exports._ = _construct;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_create_class.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_create_class.cjs
generated
vendored
@ -11,10 +11,10 @@ function _defineProperties(target, props) {
|
||||
Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
exports._ = exports._create_class = _create_class;
|
||||
function _create_class(Constructor, protoProps, staticProps) {
|
||||
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
||||
if (staticProps) _defineProperties(Constructor, staticProps);
|
||||
|
||||
return Constructor;
|
||||
}
|
||||
exports._ = _create_class;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_create_for_of_iterator_helper_loose.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_create_for_of_iterator_helper_loose.cjs
generated
vendored
@ -2,7 +2,6 @@
|
||||
|
||||
var _unsupported_iterable_to_array = require("./_unsupported_iterable_to_array.cjs");
|
||||
|
||||
exports._ = exports._create_for_of_iterator_helper_loose = _create_for_of_iterator_helper_loose;
|
||||
function _create_for_of_iterator_helper_loose(o, allowArrayLike) {
|
||||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
||||
|
||||
@ -22,3 +21,4 @@ function _create_for_of_iterator_helper_loose(o, allowArrayLike) {
|
||||
|
||||
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||||
}
|
||||
exports._ = _create_for_of_iterator_helper_loose;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_create_super.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_create_super.cjs
generated
vendored
@ -4,7 +4,6 @@ var _get_prototype_of = require("./_get_prototype_of.cjs");
|
||||
var _is_native_reflect_construct = require("./_is_native_reflect_construct.cjs");
|
||||
var _possible_constructor_return = require("./_possible_constructor_return.cjs");
|
||||
|
||||
exports._ = exports._create_super = _create_super;
|
||||
function _create_super(Derived) {
|
||||
var hasNativeReflectConstruct = _is_native_reflect_construct._();
|
||||
|
||||
@ -21,3 +20,4 @@ function _create_super(Derived) {
|
||||
return _possible_constructor_return._(this, result);
|
||||
};
|
||||
}
|
||||
exports._ = _create_super;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_decorate.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_decorate.cjs
generated
vendored
@ -4,7 +4,6 @@ var _to_array = require("./_to_array.cjs");
|
||||
var _to_property_key = require("./_to_property_key.cjs");
|
||||
var _type_of = require("./_type_of.cjs");
|
||||
|
||||
exports._ = exports._decorate = _decorate;
|
||||
function _decorate(decorators, factory, superClass) {
|
||||
var r = factory(function initialize(O) {
|
||||
_initializeInstanceElements(O, decorated.elements);
|
||||
@ -268,3 +267,4 @@ function _runClassFinishers(constructor, finishers) {
|
||||
|
||||
return constructor;
|
||||
}
|
||||
exports._ = _decorate;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_defaults.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_defaults.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._defaults = _defaults;
|
||||
function _defaults(obj, defaults) {
|
||||
var keys = Object.getOwnPropertyNames(defaults);
|
||||
|
||||
@ -13,3 +12,4 @@ function _defaults(obj, defaults) {
|
||||
|
||||
return obj;
|
||||
}
|
||||
exports._ = _defaults;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_define_enumerable_properties.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_define_enumerable_properties.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._define_enumerable_properties = _define_enumerable_properties;
|
||||
function _define_enumerable_properties(obj, descs) {
|
||||
for (var key in descs) {
|
||||
var desc = descs[key];
|
||||
@ -24,3 +23,4 @@ function _define_enumerable_properties(obj, descs) {
|
||||
|
||||
return obj;
|
||||
}
|
||||
exports._ = _define_enumerable_properties;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_define_property.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_define_property.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._define_property = _define_property;
|
||||
function _define_property(obj, key, value) {
|
||||
if (key in obj) {
|
||||
Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });
|
||||
@ -8,3 +7,4 @@ function _define_property(obj, key, value) {
|
||||
|
||||
return obj;
|
||||
}
|
||||
exports._ = _define_property;
|
||||
|
||||
3
node_modules/@swc/helpers/cjs/_dispose.cjs
generated
vendored
3
node_modules/@swc/helpers/cjs/_dispose.cjs
generated
vendored
@ -16,7 +16,6 @@ function dispose_SuppressedError(suppressed, error) {
|
||||
return new dispose_SuppressedError(suppressed, error);
|
||||
}
|
||||
|
||||
exports._ = exports._dispose = _dispose;
|
||||
function _dispose(stack, error, hasError) {
|
||||
function next() {
|
||||
while (stack.length > 0) {
|
||||
@ -40,3 +39,5 @@ function _dispose(stack, error, hasError) {
|
||||
|
||||
return next();
|
||||
}
|
||||
|
||||
exports._ = _dispose;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_export_star.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_export_star.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._export_star = _export_star;
|
||||
function _export_star(from, to) {
|
||||
Object.keys(from).forEach(function(k) {
|
||||
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
||||
@ -15,3 +14,4 @@ function _export_star(from, to) {
|
||||
|
||||
return from;
|
||||
}
|
||||
exports._ = _export_star;
|
||||
|
||||
4
node_modules/@swc/helpers/cjs/_extends.cjs
generated
vendored
4
node_modules/@swc/helpers/cjs/_extends.cjs
generated
vendored
@ -1,8 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._extends = _extends;
|
||||
function _extends() {
|
||||
exports._ = exports._extends = _extends = Object.assign || function assign(target) {
|
||||
exports._ = _extends = Object.assign || function assign(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
var source = arguments[i];
|
||||
for (var key in source) if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
||||
@ -13,3 +12,4 @@ function _extends() {
|
||||
|
||||
return _extends.apply(this, arguments);
|
||||
}
|
||||
exports._ = _extends;
|
||||
|
||||
6
node_modules/@swc/helpers/cjs/_get.cjs
generated
vendored
6
node_modules/@swc/helpers/cjs/_get.cjs
generated
vendored
@ -2,11 +2,10 @@
|
||||
|
||||
var _super_prop_base = require("./_super_prop_base.cjs");
|
||||
|
||||
exports._ = exports._get = _get;
|
||||
function _get(target, property, receiver) {
|
||||
if (typeof Reflect !== "undefined" && Reflect.get) exports._ = exports._get = _get = Reflect.get;
|
||||
if (typeof Reflect !== "undefined" && Reflect.get) exports._ = _get = Reflect.get;
|
||||
else {
|
||||
exports._ = exports._get = _get = function get(target, property, receiver) {
|
||||
exports._ = _get = function get(target, property, receiver) {
|
||||
var base = _super_prop_base._(target, property);
|
||||
|
||||
if (!base) return;
|
||||
@ -21,3 +20,4 @@ function _get(target, property, receiver) {
|
||||
|
||||
return _get(target, property, receiver || target);
|
||||
}
|
||||
exports._ = _get;
|
||||
|
||||
4
node_modules/@swc/helpers/cjs/_get_prototype_of.cjs
generated
vendored
4
node_modules/@swc/helpers/cjs/_get_prototype_of.cjs
generated
vendored
@ -1,10 +1,10 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._get_prototype_of = _get_prototype_of;
|
||||
function _get_prototype_of(o) {
|
||||
exports._ = exports._get_prototype_of = _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
||||
exports._ = _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
||||
return o.__proto__ || Object.getPrototypeOf(o);
|
||||
};
|
||||
|
||||
return _get_prototype_of(o);
|
||||
}
|
||||
exports._ = _get_prototype_of;
|
||||
|
||||
7
node_modules/@swc/helpers/cjs/_identity.cjs
generated
vendored
Normal file
7
node_modules/@swc/helpers/cjs/_identity.cjs
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
function _identity(x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
exports._ = _identity;
|
||||
2
node_modules/@swc/helpers/cjs/_inherits.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_inherits.cjs
generated
vendored
@ -2,7 +2,6 @@
|
||||
|
||||
var _set_prototype_of = require("./_set_prototype_of.cjs");
|
||||
|
||||
exports._ = exports._inherits = _inherits;
|
||||
function _inherits(subClass, superClass) {
|
||||
if (typeof superClass !== "function" && superClass !== null) {
|
||||
throw new TypeError("Super expression must either be null or a function");
|
||||
@ -12,3 +11,4 @@ function _inherits(subClass, superClass) {
|
||||
|
||||
if (superClass) _set_prototype_of._(subClass, superClass);
|
||||
}
|
||||
exports._ = _inherits;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_inherits_loose.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_inherits_loose.cjs
generated
vendored
@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._inherits_loose = _inherits_loose;
|
||||
function _inherits_loose(subClass, superClass) {
|
||||
subClass.prototype = Object.create(superClass.prototype);
|
||||
subClass.prototype.constructor = subClass;
|
||||
subClass.__proto__ = superClass;
|
||||
}
|
||||
exports._ = _inherits_loose;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_initializer_define_property.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_initializer_define_property.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._initializer_define_property = _initializer_define_property;
|
||||
function _initializer_define_property(target, property, descriptor, context) {
|
||||
if (!descriptor) return;
|
||||
|
||||
@ -11,3 +10,4 @@ function _initializer_define_property(target, property, descriptor, context) {
|
||||
value: descriptor.initializer ? descriptor.initializer.call(context) : void 0
|
||||
});
|
||||
}
|
||||
exports._ = _initializer_define_property;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_initializer_warning_helper.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_initializer_warning_helper.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._initializer_warning_helper = _initializer_warning_helper;
|
||||
function _initializer_warning_helper(descriptor, context) {
|
||||
throw new Error(
|
||||
"Decorating class property failed. Please ensure that "
|
||||
@ -9,3 +8,4 @@ function _initializer_warning_helper(descriptor, context) {
|
||||
+ "the next major version of decorators in stage 2."
|
||||
);
|
||||
}
|
||||
exports._ = _initializer_warning_helper;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_instanceof.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_instanceof.cjs
generated
vendored
@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._instanceof = _instanceof;
|
||||
function _instanceof(left, right) {
|
||||
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
||||
return !!right[Symbol.hasInstance](left);
|
||||
} else return left instanceof right;
|
||||
}
|
||||
exports._ = _instanceof;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_interop_require_default.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_interop_require_default.cjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._interop_require_default = _interop_require_default;
|
||||
function _interop_require_default(obj) {
|
||||
return obj && obj.__esModule ? obj : { default: obj };
|
||||
}
|
||||
exports._ = _interop_require_default;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs
generated
vendored
@ -10,7 +10,6 @@ function _getRequireWildcardCache(nodeInterop) {
|
||||
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
||||
})(nodeInterop);
|
||||
}
|
||||
exports._ = exports._interop_require_wildcard = _interop_require_wildcard;
|
||||
function _interop_require_wildcard(obj, nodeInterop) {
|
||||
if (!nodeInterop && obj && obj.__esModule) return obj;
|
||||
if (obj === null || typeof obj !== "object" && typeof obj !== "function") return { default: obj };
|
||||
@ -36,3 +35,4 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
||||
|
||||
return newObj;
|
||||
}
|
||||
exports._ = _interop_require_wildcard;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_is_native_function.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_is_native_function.cjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._is_native_function = _is_native_function;
|
||||
function _is_native_function(fn) {
|
||||
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
||||
}
|
||||
exports._ = _is_native_function;
|
||||
|
||||
24
node_modules/@swc/helpers/cjs/_is_native_reflect_construct.cjs
generated
vendored
24
node_modules/@swc/helpers/cjs/_is_native_reflect_construct.cjs
generated
vendored
@ -1,16 +1,18 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._is_native_reflect_construct = _is_native_reflect_construct;
|
||||
function _is_native_reflect_construct() {
|
||||
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
||||
if (Reflect.construct.sham) return false;
|
||||
if (typeof Proxy === "function") return true;
|
||||
|
||||
// Since Reflect.construct can't be properly polyfilled, some
|
||||
// implementations (e.g. core-js@2) don't set the correct internal slots.
|
||||
// Those polyfills don't allow us to subclass built-ins, so we need to
|
||||
// use our fallback implementation.
|
||||
try {
|
||||
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
||||
|
||||
return true;
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
// If the internal slots aren't set, this throws an error similar to
|
||||
// TypeError: this is not a Boolean object.
|
||||
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
||||
} catch (_) {}
|
||||
return (exports._ = _is_native_reflect_construct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
exports._ = _is_native_reflect_construct;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_iterable_to_array.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_iterable_to_array.cjs
generated
vendored
@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._iterable_to_array = _iterable_to_array;
|
||||
function _iterable_to_array(iter) {
|
||||
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
||||
return Array.from(iter);
|
||||
}
|
||||
}
|
||||
exports._ = _iterable_to_array;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_iterable_to_array_limit.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_iterable_to_array_limit.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._iterable_to_array_limit = _iterable_to_array_limit;
|
||||
function _iterable_to_array_limit(arr, i) {
|
||||
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
||||
|
||||
@ -29,3 +28,4 @@ function _iterable_to_array_limit(arr, i) {
|
||||
|
||||
return _arr;
|
||||
}
|
||||
exports._ = _iterable_to_array_limit;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_iterable_to_array_limit_loose.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_iterable_to_array_limit_loose.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._iterable_to_array_limit_loose = _iterable_to_array_limit_loose;
|
||||
function _iterable_to_array_limit_loose(arr, i) {
|
||||
var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]);
|
||||
|
||||
@ -15,3 +14,4 @@ function _iterable_to_array_limit_loose(arr, i) {
|
||||
|
||||
return _arr;
|
||||
}
|
||||
exports._ = _iterable_to_array_limit_loose;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_jsx.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_jsx.cjs
generated
vendored
@ -1,7 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
var REACT_ELEMENT_TYPE;
|
||||
exports._ = exports._jsx = _jsx;
|
||||
function _jsx(type, props, key, children) {
|
||||
if (!REACT_ELEMENT_TYPE) {
|
||||
REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol.for && Symbol.for("react.element") || 0xeac7;
|
||||
@ -26,3 +25,4 @@ function _jsx(type, props, key, children) {
|
||||
|
||||
return { $$typeof: REACT_ELEMENT_TYPE, type: type, key: key === undefined ? null : "" + key, ref: null, props: props, _owner: null };
|
||||
}
|
||||
exports._ = _jsx;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_new_arrow_check.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_new_arrow_check.cjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._new_arrow_check = _new_arrow_check;
|
||||
function _new_arrow_check(innerThis, boundThis) {
|
||||
if (innerThis !== boundThis) throw new TypeError("Cannot instantiate an arrow function");
|
||||
}
|
||||
exports._ = _new_arrow_check;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_non_iterable_rest.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_non_iterable_rest.cjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._non_iterable_rest = _non_iterable_rest;
|
||||
function _non_iterable_rest() {
|
||||
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||||
}
|
||||
exports._ = _non_iterable_rest;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_non_iterable_spread.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_non_iterable_spread.cjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._non_iterable_spread = _non_iterable_spread;
|
||||
function _non_iterable_spread() {
|
||||
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||||
}
|
||||
exports._ = _non_iterable_spread;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_object_destructuring_empty.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_object_destructuring_empty.cjs
generated
vendored
@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._object_destructuring_empty = _object_destructuring_empty;
|
||||
function _object_destructuring_empty(o) {
|
||||
if (o === null || o === void 0) throw new TypeError("Cannot destructure " + o);
|
||||
|
||||
return o;
|
||||
}
|
||||
exports._ = _object_destructuring_empty;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_object_spread.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_object_spread.cjs
generated
vendored
@ -2,7 +2,6 @@
|
||||
|
||||
var _define_property = require("./_define_property.cjs");
|
||||
|
||||
exports._ = exports._object_spread = _object_spread;
|
||||
function _object_spread(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
var source = arguments[i] != null ? arguments[i] : {};
|
||||
@ -23,3 +22,4 @@ function _object_spread(target) {
|
||||
|
||||
return target;
|
||||
}
|
||||
exports._ = _object_spread;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_object_spread_props.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_object_spread_props.cjs
generated
vendored
@ -15,7 +15,6 @@ function ownKeys(object, enumerableOnly) {
|
||||
|
||||
return keys;
|
||||
}
|
||||
exports._ = exports._object_spread_props = _object_spread_props;
|
||||
function _object_spread_props(target, source) {
|
||||
source = source != null ? source : {};
|
||||
|
||||
@ -28,3 +27,4 @@ function _object_spread_props(target, source) {
|
||||
|
||||
return target;
|
||||
}
|
||||
exports._ = _object_spread_props;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_object_without_properties.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_object_without_properties.cjs
generated
vendored
@ -2,7 +2,6 @@
|
||||
|
||||
var _object_without_properties_loose = require("./_object_without_properties_loose.cjs");
|
||||
|
||||
exports._ = exports._object_without_properties = _object_without_properties;
|
||||
function _object_without_properties(source, excluded) {
|
||||
if (source == null) return {};
|
||||
|
||||
@ -21,3 +20,4 @@ function _object_without_properties(source, excluded) {
|
||||
|
||||
return target;
|
||||
}
|
||||
exports._ = _object_without_properties;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_object_without_properties_loose.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_object_without_properties_loose.cjs
generated
vendored
@ -1,6 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._object_without_properties_loose = _object_without_properties_loose;
|
||||
function _object_without_properties_loose(source, excluded) {
|
||||
if (source == null) return {};
|
||||
|
||||
@ -16,3 +15,4 @@ function _object_without_properties_loose(source, excluded) {
|
||||
|
||||
return target;
|
||||
}
|
||||
exports._ = _object_without_properties_loose;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_possible_constructor_return.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_possible_constructor_return.cjs
generated
vendored
@ -3,9 +3,9 @@
|
||||
var _assert_this_initialized = require("./_assert_this_initialized.cjs");
|
||||
var _type_of = require("./_type_of.cjs");
|
||||
|
||||
exports._ = exports._possible_constructor_return = _possible_constructor_return;
|
||||
function _possible_constructor_return(self, call) {
|
||||
if (call && (_type_of._(call) === "object" || typeof call === "function")) return call;
|
||||
|
||||
return _assert_this_initialized._(self);
|
||||
}
|
||||
exports._ = _possible_constructor_return;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_read_only_error.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_read_only_error.cjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._read_only_error = _read_only_error;
|
||||
function _read_only_error(name) {
|
||||
throw new TypeError("\"" + name + "\" is read-only");
|
||||
}
|
||||
exports._ = _read_only_error;
|
||||
|
||||
2
node_modules/@swc/helpers/cjs/_set.cjs
generated
vendored
2
node_modules/@swc/helpers/cjs/_set.cjs
generated
vendored
@ -35,10 +35,10 @@ function set(target, property, value, receiver) {
|
||||
return set(target, property, value, receiver);
|
||||
}
|
||||
|
||||
exports._ = exports._set = _set;
|
||||
function _set(target, property, value, receiver, isStrict) {
|
||||
var s = set(target, property, value, receiver || target);
|
||||
if (!s && isStrict) throw new Error("failed to set property");
|
||||
|
||||
return value;
|
||||
}
|
||||
exports._ = _set;
|
||||
|
||||
4
node_modules/@swc/helpers/cjs/_set_prototype_of.cjs
generated
vendored
4
node_modules/@swc/helpers/cjs/_set_prototype_of.cjs
generated
vendored
@ -1,8 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._set_prototype_of = _set_prototype_of;
|
||||
function _set_prototype_of(o, p) {
|
||||
exports._ = exports._set_prototype_of = _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
||||
exports._ = _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
||||
o.__proto__ = p;
|
||||
|
||||
return o;
|
||||
@ -10,3 +9,4 @@ function _set_prototype_of(o, p) {
|
||||
|
||||
return _set_prototype_of(o, p);
|
||||
}
|
||||
exports._ = _set_prototype_of;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user