@tokenizer/range
Advanced tools
Comparing version 0.5.3 to 0.6.0
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export interface IChunk { | ||
@@ -3,0 +2,0 @@ offset: number; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.tokenizer = exports.parseContentRange = void 0; | ||
exports.parseContentRange = void 0; | ||
exports.tokenizer = tokenizer; | ||
const range_request_factory_1 = require("./range-request-factory"); | ||
@@ -17,3 +18,2 @@ var range_request_tokenizer_1 = require("./range-request-tokenizer"); | ||
} | ||
exports.tokenizer = tokenizer; | ||
//# sourceMappingURL=index.js.map |
@@ -18,3 +18,3 @@ "use strict"; | ||
if (config) { | ||
this.config = Object.assign(Object.assign({}, this.config), config); | ||
this.config = { ...this.config, ...config }; | ||
} | ||
@@ -21,0 +21,0 @@ const headRequestInfo = await this.getHeadRequestInfo(); |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { AbstractTokenizer } from 'strtok3/lib/AbstractTokenizer'; | ||
@@ -3,0 +2,0 @@ import { IContentRangeType, IHeadRequestInfo, IRangeRequestClient } from './types'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.parseContentRange = exports.roundRange = exports.RangeRequestTokenizer = void 0; | ||
exports.RangeRequestTokenizer = void 0; | ||
exports.roundRange = roundRange; | ||
exports.parseContentRange = parseContentRange; | ||
const initDebug = require("debug"); | ||
@@ -119,3 +121,2 @@ const AbstractTokenizer_1 = require("strtok3/lib/AbstractTokenizer"); | ||
} | ||
exports.roundRange = roundRange; | ||
/** | ||
@@ -139,3 +140,2 @@ * Convert HTTP range header value to IContentRangeType | ||
} | ||
exports.parseContentRange = parseContentRange; | ||
//# sourceMappingURL=range-request-tokenizer.js.map |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { IFileInfo } from 'strtok3/lib/core'; | ||
@@ -3,0 +2,0 @@ export interface IRangeRequestConfig { |
{ | ||
"name": "@tokenizer/range", | ||
"version": "0.5.3", | ||
"version": "0.6.0", | ||
"description": "Range-request tokenizer adapter", | ||
@@ -20,3 +20,3 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=14" | ||
}, | ||
@@ -61,19 +61,19 @@ "funding": { | ||
"devDependencies": { | ||
"@types/chai": "^4.2.14", | ||
"@types/fs-extra": "^9.0.6", | ||
"@types/chai": "^4.3.4", | ||
"@types/fs-extra": "^11.0.4", | ||
"@types/mocha": "^8.2.0", | ||
"@types/node": "^18.6.2", | ||
"chai": "^4.3.4", | ||
"del-cli": "^5.0.0", | ||
"fs-extra": "^10.1.0", | ||
"@types/node": "^20.14.10", | ||
"chai": "^4.3.7", | ||
"del-cli": "^5.1.0", | ||
"fs-extra": "^11.2.0", | ||
"mocha": "^9.2.2", | ||
"music-metadata": "^7.12.5", | ||
"nyc": "^15.1.0", | ||
"ts-loader": "^9.3.1", | ||
"ts-node": "^10.9.1", | ||
"music-metadata": "^7.14.0", | ||
"nyc": "^17.0.0", | ||
"ts-loader": "^9.5.1", | ||
"ts-node": "^10.9.2", | ||
"tslint": "^6.1.3", | ||
"typescript": "^4.7.4" | ||
"typescript": "^5.5.3" | ||
}, | ||
"dependencies": { | ||
"debug": "^4.3.2", | ||
"debug": "^4.3.5", | ||
"strtok3": "^6.3.0" | ||
@@ -80,0 +80,0 @@ }, |
@@ -1,7 +0,6 @@ | ||
![Node.js CI](https://github.com/Borewit/tokenizer-range/workflows/Node.js%20CI/badge.svg) | ||
[![Node.js CI](https://github.com/Borewit/tokenizer-range/actions/workflows/nodejs-ci.yml/badge.svg?branch=master)](https://github.com/Borewit/tokenizer-range/actions/workflows/nodejs-ci.yml) | ||
[![CodeQL](https://github.com/Borewit/tokenizer-range/actions/workflows/codeql.yml/badge.svg?branch=master)](https://github.com/Borewit/tokenizer-range/actions/workflows/codeql.yml) | ||
[![NPM version](https://badge.fury.io/js/%40tokenizer%2Frange.svg)](https://badge.fury.io/js/%40tokenizer%2Frange) | ||
[![npm downloads](http://img.shields.io/npm/dm/@tokenizer/range.svg)](https://npmcharts.com/compare/@tokenizer/range?interval=30) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/Borewit/tokenizer-range/badge.svg?targetFile=package.json)](https://snyk.io/test/github/Borewit/tokenizer-range?targetFile=package.json) | ||
[![Total alerts](https://img.shields.io/lgtm/alerts/g/Borewit/tokenizer-range.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Borewit/tokenizer-range/alerts/) | ||
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/Borewit/tokenizer-range.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Borewit/tokenizer-range/context:javascript) | ||
@@ -8,0 +7,0 @@ # @tokenizer/range |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27840
514
87
Updateddebug@^4.3.5