diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index fa9699b..0000000 --- a/.prettierrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "semi": true, - "trailingComma": "all", - "singleQuote": true, - "printWidth": 80, - "tabWidth": 2 -} diff --git a/README.md b/README.md index 069cd72..5aef4a8 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,13 @@ # js-workers -Workers is the library for multi-threading in MatrixAI's JavaScript/TypeScript applications. It is based on top of threads.js. +Workers is the library for multi-threading in MatrixAI's JavaScript/TypeScript +applications. It is based on top of threads.js. Currently no support for Mobile OSes. -Note that only `ArrayBuffer` can be zero-copy transferred to the worker threads. This means if you are wroking with Node `Buffer` you must first slice and copy the `ArrayBuffer` out of the Node `Buffer`. +Note that only `ArrayBuffer` can be zero-copy transferred to the worker threads. +This means if you are wroking with Node `Buffer` you must first slice and copy +the `ArrayBuffer` out of the Node `Buffer`. ```ts const b = Buffer.from('hello world'); @@ -70,7 +73,9 @@ npm run lintfix npm run bench ``` -View benchmarks here: https://github.com/MatrixAI/js-workers/blob/master/benches/results/WorkerManager.chart.html with https://raw.githack.com/ +View benchmarks here: +https://github.com/MatrixAI/js-workers/blob/master/benches/results/WorkerManager.chart.html +with https://raw.githack.com/ ### Docs Generation diff --git a/package-lock.json b/package-lock.json index 1b4d9ca..08c4662 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "rxjs": "^7.8.2" }, "devDependencies": { - "@matrixai/lint": "^0.2.6", + "@matrixai/lint": "^0.2.11", "@swc/core": "^1.3.76", "@swc/jest": "^0.2.29", "@types/jest": "^29.5.2", @@ -2018,9 +2018,9 @@ "license": "Apache-2.0" }, "node_modules/@matrixai/lint": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@matrixai/lint/-/lint-0.2.6.tgz", - "integrity": "sha512-Cbx6SCTAqSt7lTKkaXL7wB+KbkiXYpQ0LdV5fPcnzEfG0sCuG8dbJcwzgHT5Qn7ubG71BBLUVFjHY1EGADzT8g==", + "version": "0.2.11", + "resolved": "https://registry.npmjs.org/@matrixai/lint/-/lint-0.2.11.tgz", + "integrity": "sha512-Q/atLaVExgQbd7b/sXCvTAIus0M+egxr6fjHFNzpUZGY3Gu+UkYQrel/440JnvZ+fK8fq9GTHewpa14H08AcRw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -11812,9 +11812,9 @@ "integrity": "sha512-75hH7ZTmhM/VXeICXCPiVr/ZxQSoBwXh2HOI3AhD8AGYDDsEJsm4tnDSr/6vT3vS0ryZb3kb9mpAmCeibdrF3w==" }, "@matrixai/lint": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@matrixai/lint/-/lint-0.2.6.tgz", - "integrity": "sha512-Cbx6SCTAqSt7lTKkaXL7wB+KbkiXYpQ0LdV5fPcnzEfG0sCuG8dbJcwzgHT5Qn7ubG71BBLUVFjHY1EGADzT8g==", + "version": "0.2.11", + "resolved": "https://registry.npmjs.org/@matrixai/lint/-/lint-0.2.11.tgz", + "integrity": "sha512-Q/atLaVExgQbd7b/sXCvTAIus0M+egxr6fjHFNzpUZGY3Gu+UkYQrel/440JnvZ+fK8fq9GTHewpa14H08AcRw==", "dev": true, "requires": { "@eslint/compat": "^1.2.5", diff --git a/package.json b/package.json index 7f3c841..381c92d 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "rxjs": "^7.8.2" }, "devDependencies": { - "@matrixai/lint": "^0.2.6", + "@matrixai/lint": "^0.2.11", "@swc/core": "^1.3.76", "@swc/jest": "^0.2.29", "@types/jest": "^29.5.2",