@opra/core 0.27.0 → 0.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,8 +4,8 @@ exports.HttpAdapterHost = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const promises_1 = tslib_1.__importDefault(require("fs/promises"));
|
|
6
6
|
const os_1 = tslib_1.__importDefault(require("os"));
|
|
7
|
-
const type_is_1 = tslib_1.__importDefault(require("type-is"));
|
|
8
7
|
const vg = tslib_1.__importStar(require("valgen"));
|
|
8
|
+
const type_is_1 = tslib_1.__importDefault(require("@browsery/type-is"));
|
|
9
9
|
const common_1 = require("@opra/common");
|
|
10
10
|
const execution_context_host_js_1 = require("../execution-context.host.js");
|
|
11
11
|
const platform_adapter_host_js_1 = require("../platform-adapter.host.js");
|
|
@@ -9,7 +9,7 @@ const tslib_1 = require("tslib");
|
|
|
9
9
|
const accepts_1 = tslib_1.__importDefault(require("accepts"));
|
|
10
10
|
const fresh_1 = tslib_1.__importDefault(require("fresh"));
|
|
11
11
|
const range_parser_1 = tslib_1.__importDefault(require("range-parser"));
|
|
12
|
-
const type_is_1 = tslib_1.__importDefault(require("type-is"));
|
|
12
|
+
const type_is_1 = tslib_1.__importDefault(require("@browsery/type-is"));
|
|
13
13
|
const common_1 = require("@opra/common");
|
|
14
14
|
const http_incoming_message_host_js_1 = require("./impl/http-incoming-message.host.js");
|
|
15
15
|
function isHttpIncomingMessage(v) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from 'fs/promises';
|
|
2
2
|
import os from 'os';
|
|
3
|
-
import typeIs from 'type-is';
|
|
4
3
|
import * as vg from 'valgen';
|
|
4
|
+
import typeIs from '@browsery/type-is';
|
|
5
5
|
import { BadRequestError, Collection, Container, HttpHeaderCodes, HttpStatusCodes, InternalServerError, isReadable, IssueSeverity, MethodNotAllowedError, OperationResult, OpraException, OpraSchema, OpraURL, ResourceNotFoundError, Singleton, Storage, translate, uid, wrapException } from '@opra/common';
|
|
6
6
|
import { ExecutionContextHost } from '../execution-context.host.js';
|
|
7
7
|
import { PlatformAdapterHost } from '../platform-adapter.host.js';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import accepts from 'accepts';
|
|
6
6
|
import fresh from 'fresh';
|
|
7
7
|
import parseRange from 'range-parser';
|
|
8
|
-
import typeIs from 'type-is';
|
|
8
|
+
import typeIs from '@browsery/type-is';
|
|
9
9
|
import { isReadable, mergePrototype, OpraURL } from '@opra/common';
|
|
10
10
|
import { HttpIncomingMessageHost } from './impl/http-incoming-message.host.js';
|
|
11
11
|
function isHttpIncomingMessage(v) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opra/core",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.2",
|
|
4
4
|
"description": "Opra schema package",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"clean:cover": "rimraf ../../coverage/core"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@
|
|
30
|
+
"@browsery/type-is": "^0.6.3",
|
|
31
|
+
"@opra/common": "^0.27.2",
|
|
31
32
|
"accepts": "^1.3.8",
|
|
32
33
|
"content-disposition": "^0.5.4",
|
|
33
34
|
"content-type": "^1.0.5",
|
|
@@ -42,14 +43,13 @@
|
|
|
42
43
|
"putil-varhelpers": "^1.6.5",
|
|
43
44
|
"range-parser": "^1.2.1",
|
|
44
45
|
"strict-typed-events": "^2.3.2",
|
|
45
|
-
"type-is": "^1.6.18",
|
|
46
46
|
"vary": "^1.1.2"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"express": "^4.x.x || ^5.x.x"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@faker-js/faker": "^8.
|
|
52
|
+
"@faker-js/faker": "^8.2.0",
|
|
53
53
|
"@types/accepts": "^1.3.5",
|
|
54
54
|
"@types/content-disposition": "^0.5.6",
|
|
55
55
|
"@types/content-type": "^1.1.6",
|