Remove license headers and update imports

This commit is contained in:
Zaid Humaimidi committed 2023-12-18 19:13:59 -08:00
1 parent bfbbdb12ca
commit 0dee9a5f00
123 files changed
+566 -2505

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
import test from "node:test";
import assert from "node:assert";
import { randomBytes } from "crypto";
import * as auth from "../lib/auth";
import { randomBytes } from "node:crypto";
import * as auth from "../lib/auth.ts";
void test("digest", () => {
const username = "test";
+3 -3
View File
@@ -2,9 +2,9 @@ import test from "node:test";
import assert from "node:assert";
import { EJSON } from "bson";
import { Filter } from "mongodb";
import { stringify, parse } from "../lib/common/expression/parser";
import { convertOldPrecondition } from "../lib/db/util";
import { toMongoQuery } from "../lib/db/synth";
import { stringify, parse } from "../lib/common/expression/parser.ts";
import { convertOldPrecondition } from "../lib/db/util.ts";
import { toMongoQuery } from "../lib/db/synth.ts";
void test("convertOldPrecondition", () => {
const tests = [
+5 -5
View File
@@ -1,10 +1,10 @@
import test from "node:test";
import assert from "node:assert";
import Path from "../lib/common/path";
import * as device from "../lib/device";
import PathSet from "../lib/common/path-set";
import VersionedMap from "../lib/versioned-map";
import { Attributes } from "../lib/types";
import Path from "../lib/common/path.ts";
import * as device from "../lib/device.ts";
import PathSet from "../lib/common/path-set.ts";
import VersionedMap from "../lib/versioned-map.ts";
import { Attributes } from "../lib/types.ts";
void test("getAliasDeclarations", () => {
const path = Path.parse("a.[aa:10,bb.[aaa:100].cc:1].b");
+2 -2
View File
@@ -1,7 +1,7 @@
import test from "node:test";
import assert from "node:assert";
import Path from "../lib/common/path";
import PathSet from "../lib/common/path-set";
import Path from "../lib/common/path.ts";
import PathSet from "../lib/common/path-set.ts";
void test("depth", () => {
const pathSet = new PathSet();
+1 -1
View File
@@ -1,6 +1,6 @@
import test from "node:test";
import assert from "node:assert";
import Path from "../lib/common/path";
import Path from "../lib/common/path.ts";
void test("parse", () => {
assert.throws(() => Path.parse("."));
+1 -1
View File
@@ -1,6 +1,6 @@
import test from "node:test";
import assert from "node:assert";
import { parsePing } from "../lib/ping";
import { parsePing } from "../lib/ping.ts";
void test("linux Case-1", () => {
const platform = "linux";
+2 -2
View File
@@ -1,8 +1,8 @@
import test from "node:test";
import assert from "node:assert";
import { minimize, unionDiff } from "../lib/common/expression/synth";
import { parse, stringify } from "../lib/common/expression/parser";
import initSqlJs from "sql.js/dist/sql-asm.js";
import { minimize, unionDiff } from "../lib/common/expression/synth.ts";
import { parse, stringify } from "../lib/common/expression/parser.ts";
const STRING_VALUES = [null, "", "a", "ab", "ab10", "ab-10"];
const DECIMAL_VALUES = [null, 0, -10, 10];
+1 -1
View File
@@ -1,6 +1,6 @@
import test from "node:test";
import assert from "node:assert";
import * as common from "../lib/util";
import * as common from "../lib/util.ts";
void test("generateDeviceId", () => {
const space = [" ", "%20"];
+1 -1
View File
@@ -4,7 +4,7 @@ import {
parseXmlDeclaration,
decodeEntities,
parseXml,
} from "../lib/xml-parser";
} from "../lib/xml-parser.ts";
void test("parseXmlDeclaration", () => {
const buf = Buffer.from(
+1 -1
View File
@@ -1,7 +1,7 @@
import test from "node:test";
import assert from "node:assert";
import * as yaml from "yaml";
import { stringify } from "../lib/common/yaml";
import { stringify } from "../lib/common/yaml.ts";
import testCases from "./yaml-tests.json";