reorganize libs

This commit is contained in:
TopchetoEU 2025-01-06 13:20:51 +02:00
parent 28e72503a6
commit 57097e46ca
Signed by: topchetoeu
GPG Key ID: 6531B8583E5F6ED4
15 changed files with 27 additions and 28 deletions

View File

@ -1,4 +1,4 @@
import { now, symbol } from "./primordials.ts"; import { now, symbol } from "../primordials.ts";
const timeKey: unique symbol = symbol.makeSymbol("") as any; const timeKey: unique symbol = symbol.makeSymbol("") as any;

View File

@ -1,6 +1,6 @@
import { Array } from "./array.ts"; import { Array } from "../values/array.ts";
import { func, map, symbol } from "./primordials.ts"; import { func, map, symbol } from "../primordials.ts";
import { symbols } from "./utils.ts"; import { symbols } from "../utils.ts";
const mapKey: unique symbol = symbol.makeSymbol("Map.impl") as any; const mapKey: unique symbol = symbol.makeSymbol("Map.impl") as any;

View File

@ -1,4 +1,4 @@
import { func, next, object, symbol } from "./primordials.ts"; import { func, next, object, symbol } from "../primordials.ts";
enum PromiseState { enum PromiseState {
Pending = "pend", Pending = "pend",

View File

@ -1,6 +1,6 @@
import { Array } from "./array.ts"; import { Array } from "../values/array.ts";
import { func, map, symbol } from "./primordials.ts"; import { func, map, symbol } from "../primordials.ts";
import { symbols } from "./utils.ts"; import { symbols } from "../utils.ts";
const mapKey: unique symbol = symbol.makeSymbol("Set.impl") as any; const mapKey: unique symbol = symbol.makeSymbol("Set.impl") as any;

View File

@ -1,4 +1,4 @@
import { func, json, object } from "./primordials"; import { func, json, object } from "../primordials.ts";
export const console = {}; export const console = {};

View File

@ -1,4 +1,4 @@
import { json, object } from "./primordials"; import { json, object } from "../primordials.ts";
export const JSON = {}; export const JSON = {};

View File

@ -1,4 +1,4 @@
import { number, object } from "./primordials"; import { number, object } from "../primordials.ts";
export const Math = {}; export const Math = {};

View File

@ -1,2 +1 @@
export default function _possibleConstructorReturn() { export default function _possibleConstructorReturn(_, res) { return res; }
}

View File

@ -1,5 +1,5 @@
import { func } from "./primordials.ts"; import { func } from "../primordials.ts";
import { unwrapThis, valueKey } from "./utils.ts"; import { unwrapThis, valueKey } from "../utils.ts";
export const Boolean = (() => { export const Boolean = (() => {
class Boolean { class Boolean {

View File

@ -1,4 +1,4 @@
import { func, object } from "./primordials.ts"; import { func, object } from "../primordials.ts";
import { String } from "./string.ts"; import { String } from "./string.ts";
export class Error { export class Error {

View File

@ -1,4 +1,4 @@
import { compile, func, string } from "./primordials.ts"; import { compile, func, string } from "../primordials.ts";
import { String } from "./string.ts"; import { String } from "./string.ts";
export const Function = (() => { export const Function = (() => {

View File

@ -1,5 +1,5 @@
import { func, number, object } from "./primordials.ts"; import { func, number, object } from "../primordials.ts";
import { unwrapThis, valueKey } from "./utils.ts"; import { unwrapThis, valueKey } from "../utils.ts";
export const Number = (() => { export const Number = (() => {
class Number { class Number {

View File

@ -1,9 +1,9 @@
import { func, regex, symbol } from "./primordials.ts"; import { func, regex, symbol } from "../primordials.ts";
import { String } from "./string.ts"; import { String } from "./string.ts";
import { type ReplaceRange } from "./utils.ts"; import { type ReplaceRange } from "../utils.ts";
import { applyReplaces } from "./utils.ts"; import { applyReplaces } from "../utils.ts";
import { applySplits } from "./utils.ts"; import { applySplits } from "../utils.ts";
import { symbols } from "./utils.ts"; import { symbols } from "../utils.ts";
const regexKey: unique symbol = symbol.makeSymbol("RegExp.impl") as any; const regexKey: unique symbol = symbol.makeSymbol("RegExp.impl") as any;

View File

@ -1,7 +1,7 @@
import { TypeError } from "./errors.ts"; import { TypeError } from "./errors.ts";
import { func, number, regex, string } from "./primordials.ts"; import { func, number, regex, string } from "../primordials.ts";
import { RegExp } from "./regex.ts"; import { RegExp } from "./regex.ts";
import { applyReplaces, applySplits, limitI, type ReplaceRange, symbols, unwrapThis, valueKey, wrapI } from "./utils.ts"; import { applyReplaces, applySplits, limitI, type ReplaceRange, symbols, unwrapThis, valueKey, wrapI } from "../utils.ts";
const trimStartRegex = new regex("^\\s+", false, false, false, false, false); const trimStartRegex = new regex("^\\s+", false, false, false, false, false);
const trimEndRegex = new regex("\\s+$", false, false, false, false, false); const trimEndRegex = new regex("\\s+$", false, false, false, false, false);

View File

@ -1,5 +1,5 @@
import { func, object, symbol } from "./primordials.ts"; import { func, object, symbol } from "../primordials.ts";
import { symbols, unwrapThis, valueKey } from "./utils.ts"; import { symbols, unwrapThis, valueKey } from "../utils.ts";
export const Symbol = (() => { export const Symbol = (() => {
class Symbol { class Symbol {