@serwist/range-requests 8.4.0 → 8.4.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.
package/dist/index.cjs CHANGED
@@ -141,8 +141,8 @@ var internal = require('@serwist/core/internal');
141
141
  return slicedResponse;
142
142
  } catch (error) {
143
143
  if (process.env.NODE_ENV !== "production") {
144
- internal.logger.warn(`Unable to construct a partial response; returning a ` + `416 Range Not Satisfiable response instead.`);
145
- internal.logger.groupCollapsed(`View details here.`);
144
+ internal.logger.warn("Unable to construct a partial response; returning a " + "416 Range Not Satisfiable response instead.");
145
+ internal.logger.groupCollapsed("View details here.");
146
146
  internal.logger.log(error);
147
147
  internal.logger.log(request);
148
148
  internal.logger.log(originalResponse);
package/dist/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { createPartialResponse } from "./createPartialResponse.js";
2
1
  import { RangeRequestsPlugin } from "./RangeRequestsPlugin.js";
2
+ import { createPartialResponse } from "./createPartialResponse.js";
3
3
  export { createPartialResponse, RangeRequestsPlugin };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { createPartialResponse } from "./createPartialResponse.js";
2
1
  import { RangeRequestsPlugin } from "./RangeRequestsPlugin.js";
2
+ import { createPartialResponse } from "./createPartialResponse.js";
3
3
  export { createPartialResponse, RangeRequestsPlugin };
package/dist/index.js CHANGED
@@ -139,8 +139,8 @@ import { assert, SerwistError, logger } from '@serwist/core/internal';
139
139
  return slicedResponse;
140
140
  } catch (error) {
141
141
  if (process.env.NODE_ENV !== "production") {
142
- logger.warn(`Unable to construct a partial response; returning a ` + `416 Range Not Satisfiable response instead.`);
143
- logger.groupCollapsed(`View details here.`);
142
+ logger.warn("Unable to construct a partial response; returning a " + "416 Range Not Satisfiable response instead.");
143
+ logger.groupCollapsed("View details here.");
144
144
  logger.log(error);
145
145
  logger.log(request);
146
146
  logger.log(originalResponse);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serwist/range-requests",
3
- "version": "8.4.0",
3
+ "version": "8.4.2",
4
4
  "type": "module",
5
5
  "description": "This library creates a new Response, given a source Response and a Range header value.",
6
6
  "files": [
@@ -40,16 +40,16 @@
40
40
  "./package.json": "./package.json"
41
41
  },
42
42
  "dependencies": {
43
- "@serwist/core": "8.4.0"
43
+ "@serwist/core": "8.4.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "rollup": "4.9.1",
47
- "@serwist/constants": "8.4.0"
47
+ "@serwist/constants": "8.4.2"
48
48
  },
49
49
  "scripts": {
50
50
  "build": "rimraf dist && cross-env NODE_ENV=production rollup --config rollup.config.js",
51
51
  "dev": "rollup --config rollup.config.js --watch",
52
- "lint": "eslint src --ext ts,tsx,js,jsx,cjs,mjs",
52
+ "lint": "biome lint ./src",
53
53
  "typecheck": "tsc"
54
54
  }
55
55
  }