Frontend uudelleenrakennettu: Astro-komponentit, Wasm pääsäikeessä, ei Workeria
Vanha frontend siirretty temp/. Uusi rakenne: - StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro - global.css erillinen - Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava) - Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md - Ei tokenisointia eikä koodilaboratoriota Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
27
network-poc/frontend/node_modules/uncrypto/dist/crypto.node.cjs
generated
vendored
Normal file
27
network-poc/frontend/node_modules/uncrypto/dist/crypto.node.cjs
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
const nodeCrypto = require('node:crypto');
|
||||
|
||||
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
||||
|
||||
const nodeCrypto__default = /*#__PURE__*/_interopDefaultCompat(nodeCrypto);
|
||||
|
||||
const subtle = nodeCrypto__default.webcrypto?.subtle || {};
|
||||
const randomUUID = () => {
|
||||
return nodeCrypto__default.randomUUID();
|
||||
};
|
||||
const getRandomValues = (array) => {
|
||||
return nodeCrypto__default.webcrypto.getRandomValues(array);
|
||||
};
|
||||
const _crypto = {
|
||||
randomUUID,
|
||||
getRandomValues,
|
||||
subtle
|
||||
};
|
||||
|
||||
exports.default = _crypto;
|
||||
exports.getRandomValues = getRandomValues;
|
||||
exports.randomUUID = randomUUID;
|
||||
exports.subtle = subtle;
|
||||
6
network-poc/frontend/node_modules/uncrypto/dist/crypto.node.d.ts
generated
vendored
Normal file
6
network-poc/frontend/node_modules/uncrypto/dist/crypto.node.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
declare const subtle: Crypto["subtle"];
|
||||
declare const randomUUID: Crypto["randomUUID"];
|
||||
declare const getRandomValues: Crypto["getRandomValues"];
|
||||
declare const _crypto: Crypto;
|
||||
|
||||
export { _crypto as default, getRandomValues, randomUUID, subtle };
|
||||
16
network-poc/frontend/node_modules/uncrypto/dist/crypto.node.mjs
generated
vendored
Normal file
16
network-poc/frontend/node_modules/uncrypto/dist/crypto.node.mjs
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import nodeCrypto from 'node:crypto';
|
||||
|
||||
const subtle = nodeCrypto.webcrypto?.subtle || {};
|
||||
const randomUUID = () => {
|
||||
return nodeCrypto.randomUUID();
|
||||
};
|
||||
const getRandomValues = (array) => {
|
||||
return nodeCrypto.webcrypto.getRandomValues(array);
|
||||
};
|
||||
const _crypto = {
|
||||
randomUUID,
|
||||
getRandomValues,
|
||||
subtle
|
||||
};
|
||||
|
||||
export { _crypto as default, getRandomValues, randomUUID, subtle };
|
||||
22
network-poc/frontend/node_modules/uncrypto/dist/crypto.web.cjs
generated
vendored
Normal file
22
network-poc/frontend/node_modules/uncrypto/dist/crypto.web.cjs
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
const webCrypto = globalThis.crypto;
|
||||
const subtle = webCrypto.subtle;
|
||||
const randomUUID = () => {
|
||||
return webCrypto.randomUUID();
|
||||
};
|
||||
const getRandomValues = (array) => {
|
||||
return webCrypto.getRandomValues(array);
|
||||
};
|
||||
const _crypto = {
|
||||
randomUUID,
|
||||
getRandomValues,
|
||||
subtle
|
||||
};
|
||||
|
||||
exports.default = _crypto;
|
||||
exports.getRandomValues = getRandomValues;
|
||||
exports.randomUUID = randomUUID;
|
||||
exports.subtle = subtle;
|
||||
6
network-poc/frontend/node_modules/uncrypto/dist/crypto.web.d.ts
generated
vendored
Normal file
6
network-poc/frontend/node_modules/uncrypto/dist/crypto.web.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
declare const subtle: Crypto["subtle"];
|
||||
declare const randomUUID: Crypto["randomUUID"];
|
||||
declare const getRandomValues: Crypto["getRandomValues"];
|
||||
declare const _crypto: Crypto;
|
||||
|
||||
export { _crypto as default, getRandomValues, randomUUID, subtle };
|
||||
15
network-poc/frontend/node_modules/uncrypto/dist/crypto.web.mjs
generated
vendored
Normal file
15
network-poc/frontend/node_modules/uncrypto/dist/crypto.web.mjs
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
const webCrypto = globalThis.crypto;
|
||||
const subtle = webCrypto.subtle;
|
||||
const randomUUID = () => {
|
||||
return webCrypto.randomUUID();
|
||||
};
|
||||
const getRandomValues = (array) => {
|
||||
return webCrypto.getRandomValues(array);
|
||||
};
|
||||
const _crypto = {
|
||||
randomUUID,
|
||||
getRandomValues,
|
||||
subtle
|
||||
};
|
||||
|
||||
export { _crypto as default, getRandomValues, randomUUID, subtle };
|
||||
Reference in New Issue
Block a user