Skip to content

Commit c736b62

Browse files
committed
chore: license to MIT
1 parent 422c7ee commit c736b62

File tree

337 files changed

+1586
-2227
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

337 files changed

+1586
-2227
lines changed

LICENSE

+21-661
Large diffs are not rendered by default.

packages/angular-universal/index.ts

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/*
2+
* Deepkit Framework
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
4+
*
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the MIT License.
7+
*
8+
* You should have received a copy of the MIT License along with this program.
9+
*/
10+
111
export * from './src/listener';
212
export * from './src/module';
313
export { HttpResponse, HttpRequest } from '@deepkit/framework';

packages/angular-universal/src/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2021 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the MIT License.

packages/angular-universal/src/jit.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2021 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the MIT License.

packages/angular-universal/src/listener.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2021 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the MIT License.

packages/angular-universal/src/module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2021 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the MIT License.

packages/angular-universal/tokens/index.ts

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/*
2+
* Deepkit Framework
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
4+
*
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the MIT License.
7+
*
8+
* You should have received a copy of the MIT License along with this program.
9+
*/
10+
111
import { InjectionToken } from '@angular/core';
212
import type { HttpRequest, HttpResponse } from '@deepkit/framework';
313

packages/benchmark/index.ts

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/*
2+
* Deepkit Framework
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
4+
*
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the MIT License.
7+
*
8+
* You should have received a copy of the MIT License along with this program.
9+
*/
10+
111
import {writeFileSync, mkdirSync, rmdirSync, readFileSync} from 'fs';
212
import {basename, dirname, join} from 'path';
313
import 'reflect-metadata';

packages/benchmark/src/bench.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2020 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU Affero General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
6+
* it under the terms of the MIT License.
97
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU Affero General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU Affero General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
8+
* You should have received a copy of the MIT License along with this program.
179
*/
1810

1911
import { performance } from 'perf_hooks';

packages/benchmark/src/broker/broker-get-set.bench.ts

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/*
2+
* Deepkit Framework
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
4+
*
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the MIT License.
7+
*
8+
* You should have received a copy of the MIT License along with this program.
9+
*/
10+
111
import { BrokerDirectClient, BrokerKernel } from "@deepkit/broker";
212
import { t } from "@deepkit/type";
313
import 'reflect-metadata';
@@ -32,4 +42,4 @@ export async function main() {
3242
});
3343

3444
await bench.runAsync();
35-
}
45+
}

packages/benchmark/src/broker/broker-lock.bench.ts

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/*
2+
* Deepkit Framework
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
4+
*
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the MIT License.
7+
*
8+
* You should have received a copy of the MIT License along with this program.
9+
*/
10+
111
import { BrokerDirectClient, BrokerKernel } from "@deepkit/broker";
212
import 'reflect-metadata';
313
import { BenchSuite } from "../bench";
@@ -14,4 +24,4 @@ export async function main() {
1424
});
1525

1626
await bench.runAsync();
17-
}
27+
}

packages/benchmark/src/broker/broker-pub-sub.bench.ts

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/*
2+
* Deepkit Framework
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
4+
*
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the MIT License.
7+
*
8+
* You should have received a copy of the MIT License along with this program.
9+
*/
10+
111
import { BrokerDirectClient, BrokerKernel } from "@deepkit/broker";
212
import { sleep } from "@deepkit/core";
313
import { t } from "@deepkit/type";
@@ -22,4 +32,4 @@ export async function main() {
2232

2333
await bench.runAsync();
2434
console.log('called', count);
25-
}
35+
}

packages/benchmark/src/bson/hydration.bench.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2020 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU Affero General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
6+
* it under the terms of the MIT License.
97
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU Affero General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU Affero General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
8+
* You should have received a copy of the MIT License along with this program.
179
*/
1810

1911
import { BenchSuite } from '../bench';

packages/benchmark/src/bson/parser.bench.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2020 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU Affero General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
6+
* it under the terms of the MIT License.
97
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU Affero General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU Affero General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
8+
* You should have received a copy of the MIT License along with this program.
179
*/
1810

1911
import 'reflect-metadata';

packages/benchmark/src/bson/serializer.bench.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2020 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU Affero General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
6+
* it under the terms of the MIT License.
97
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU Affero General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU Affero General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
8+
* You should have received a copy of the MIT License along with this program.
179
*/
1810

1911
import 'reflect-metadata';

packages/benchmark/src/bson/utf8.bench.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2020 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU Affero General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
6+
* it under the terms of the MIT License.
97
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU Affero General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU Affero General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
8+
* You should have received a copy of the MIT License along with this program.
179
*/
1810

1911
import { Writer, decodeUTF8Short, decodeUTF8, buildStringDecoder } from '@deepkit/bson';

packages/benchmark/src/framework/core.bench.ts

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/*
2+
* Deepkit Framework
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
4+
*
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the MIT License.
7+
*
8+
* You should have received a copy of the MIT License along with this program.
9+
*/
10+
111
import { asyncOperation } from "@deepkit/core";
212
import { BenchSuite } from "../bench";
313

@@ -19,4 +29,4 @@ export async function main() {
1929
});
2030

2131
await bench.runAsync();
22-
}
32+
}

packages/benchmark/src/framework/event.bench.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2020 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU Affero General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
6+
* it under the terms of the MIT License.
97
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU Affero General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU Affero General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
8+
* You should have received a copy of the MIT License along with this program.
179
*/
1810

1911
import { BaseEvent, eventDispatcher, EventDispatcher, EventToken, InjectorContext } from '@deepkit/framework';

packages/benchmark/src/framework/http.bench.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2020 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU Affero General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
6+
* it under the terms of the MIT License.
97
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU Affero General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU Affero General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
8+
* You should have received a copy of the MIT License along with this program.
179
*/
1810

1911
import 'reflect-metadata';

packages/benchmark/src/framework/injector.bench.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2020 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU Affero General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
6+
* it under the terms of the MIT License.
97
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU Affero General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU Affero General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
8+
* You should have received a copy of the MIT License along with this program.
179
*/
1810

1911
import 'reflect-metadata';

packages/benchmark/src/framework/router/resolve.bench.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2020 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU Affero General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
6+
* it under the terms of the MIT License.
97
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU Affero General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU Affero General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
8+
* You should have received a copy of the MIT License along with this program.
179
*/
1810
import 'reflect-metadata';
1911
import { Router, http } from '@deepkit/framework';

packages/benchmark/src/jsperf.spec.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
/*
22
* Deepkit Framework
3-
* Copyright (C) 2020 Deepkit UG
3+
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU Affero General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
6+
* it under the terms of the MIT License.
97
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU Affero General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU Affero General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
8+
* You should have received a copy of the MIT License along with this program.
179
*/
1810

1911
import { expect, test } from '@jest/globals';

0 commit comments

Comments
 (0)