Comparing version 5.0.3 to 5.0.4
@@ -0,0 +0,0 @@ import { decode, encode } from './utf8'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ // eslint-disable-next-line import/no-unassigned-import |
@@ -0,0 +0,0 @@ import { TextDecoder, TextEncoder } from 'util'; |
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -270,3 +270,3 @@ "use strict"; | ||
readUtf8(n = 1) { | ||
return utf8_1.decode(this.readBytes(n)); | ||
return (0, utf8_1.decode)(this.readBytes(n)); | ||
} | ||
@@ -406,3 +406,3 @@ /** | ||
writeUtf8(str) { | ||
return this.writeBytes(utf8_1.encode(str)); | ||
return this.writeBytes((0, utf8_1.encode)(str)); | ||
} | ||
@@ -409,0 +409,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
import './text-encoding-polyfill'; | ||
export declare function decode(bytes: Uint8Array): string; | ||
export declare function encode(str: string): Uint8Array; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function decode(bytes: Uint8Array): string; | ||
export declare function encode(str: string): Uint8Array; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "iobuffer", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"description": "Read and write binary data on ArrayBuffers", | ||
@@ -18,9 +18,11 @@ "main": "./lib/IOBuffer.js", | ||
"scripts": { | ||
"check-types": "tsc --noEmit", | ||
"clean": "rimraf lib lib-esm", | ||
"eslint": "eslint src --ext ts", | ||
"eslint": "eslint src", | ||
"eslint-fix": "npm run eslint -- --fix", | ||
"prepublishOnly": "npm run tsc", | ||
"test": "npm run test-coverage && npm run eslint", | ||
"test-coverage": "npm run test-only -- --coverage", | ||
"test-only": "jest", | ||
"prepack": "npm run tsc", | ||
"prettier": "prettier --check src", | ||
"prettier-write": "prettier --write src", | ||
"test": "npm run test-only && npm run eslint && npm run prettier && npm run check-types", | ||
"test-only": "jest --coverage", | ||
"tsc": "npm run clean && npm run tsc-cjs && npm run tsc-esm", | ||
@@ -40,29 +42,13 @@ "tsc-cjs": "tsc --project tsconfig.cjs.json", | ||
"homepage": "https://github.com/image-js/iobuffer#readme", | ||
"jest": { | ||
"preset": "ts-jest", | ||
"testEnvironment": "node" | ||
}, | ||
"cheminfo": { | ||
"docs": { | ||
"tsEntry": "src/IOBuffer.ts" | ||
} | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^26.0.20", | ||
"@types/node": "^14.14.31", | ||
"eslint": "^7.20.0", | ||
"eslint-config-cheminfo-typescript": "^8.0.8", | ||
"jest": "^26.6.3", | ||
"prettier": "^2.2.1", | ||
"@types/jest": "^27.0.2", | ||
"@types/node": "^16.10.3", | ||
"eslint": "^7.32.0", | ||
"eslint-config-cheminfo-typescript": "^9.0.0", | ||
"jest": "^27.2.5", | ||
"prettier": "^2.4.1", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^26.5.2", | ||
"typescript": "^4.2.2" | ||
}, | ||
"prettier": { | ||
"arrowParens": "always", | ||
"semi": true, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"trailingComma": "all" | ||
"ts-jest": "^27.0.5", | ||
"typescript": "^4.4.3" | ||
} | ||
} |
# iobuffer | ||
[![NPM version][npm-image]][npm-url] | ||
[![build status][ci-image]][ci-url] | ||
[![Test coverage][codecov-image]][codecov-url] | ||
[![npm download][download-image]][download-url] | ||
Read and write binary data in ArrayBuffers. | ||
<h3 align="center"> | ||
<a href="https://www.zakodium.com"> | ||
<img src="https://www.zakodium.com/brand/zakodium-logo-white.svg" width="50" alt="Zakodium logo" /> | ||
</a> | ||
<p> | ||
Maintained by <a href="https://www.zakodium.com">Zakodium</a> | ||
</p> | ||
[![NPM version][npm-image]][npm-url] | ||
[![build status][ci-image]][ci-url] | ||
[![Test coverage][codecov-image]][codecov-url] | ||
[![npm download][download-image]][download-url] | ||
</h3> | ||
## Installation | ||
@@ -11,0 +23,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
65
104715
27