diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 2c50c7a..b45ef73 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -2,4 +2,3 @@ github: [w3nl] patreon: w3news -buymeacoffee: https://www.buymeacoffee.com/hckrnews diff --git a/.nvmrc b/.nvmrc index d5a1596..8783404 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.10.0 +20.12.2 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0c78357..74d1b3a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,3 @@ # Contributing -HckrNews Arrays is Free and Open Source Software. Issues and pull requests are more than welcome! +TroJS Arrays is Free and Open Source Software. Issues and pull requests are more than welcome! diff --git a/LICENSE b/LICENSE index a8fba07..a490ee1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 Hckr.News +Copyright (c) 2024 TroJS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 13a6b96..805d9a9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Array Helpers -[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-stats] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Codecov Status][codecov-image]][codecov-url] [![Scrutinizer Code Quality][scrutinizer-image]][scrutinizer-url] +[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-stats] Array helpers, so you can get very fast your data from the array. @@ -9,7 +9,6 @@ Array helpers, so you can get very fast your data from the array. If it has saved you development time, please consider [sponsoring the project](https://github.com/sponsors/w3nl) with GitHub sponsors! -But me a coffee/book: https://www.buymeacoffee.com/hckrnews Or on patreon: https://patreon.com/w3news ## Example usage @@ -17,7 +16,7 @@ Or on patreon: https://patreon.com/w3news here an example array. ```javascript -import { Arr } from '@hckrnews/arrays'; +import { Arr } from '@trojs/arrays'; var exampleArray = new Arr([ { @@ -544,16 +543,16 @@ npm run lint ## node.js -To include @hckrnews/arrays in Node, first install with npm. +To include @trojs/arrays in Node, first install with npm. ``` -npm install @hckrnews/arrays +npm install @trojs/arrays ``` Use the package in your node files. ```javascript -import { Arr } from '@hckrnews/arrays'; +import { Arr } from '@trojs/arrays'; ``` Than you can use all array helpers from this package in your node files. @@ -561,15 +560,7 @@ Than you can use all array helpers from this package in your node files. An example is included `example/node.js` -[downloads-image]: https://img.shields.io/npm/dm/@hckrnews/arrays.svg -[npm-url]: https://www.npmjs.com/package/@hckrnews/arrays -[npm-image]: https://img.shields.io/npm/v/@hckrnews/arrays.svg -[npm-stats]: https://npm-stat.com/charts.html?package=@hckrnews/arrays -[travis-url]: https://www.travis-ci.com/github/hckrnews/arrays -[travis-image]: https://www.travis-ci.com/hckrnews/arrays.svg?branch=main -[coveralls-url]: https://coveralls.io/r/hckrnews/arrays -[coveralls-image]: https://img.shields.io/coveralls/hckrnews/arrays/master.svg -[codecov-url]: https://app.codecov.io/gh/hckrnews/arrays -[codecov-image]: https://img.shields.io/codecov/c/github/hckrnews/arrays.svg -[scrutinizer-url]: https://scrutinizer-ci.com/g/hckrnews/arrays/?branch=master -[scrutinizer-image]: https://scrutinizer-ci.com/g/hckrnews/arrays/badges/quality-score.png?b=main +[downloads-image]: https://img.shields.io/npm/dm/@trojs/arrays.svg +[npm-url]: https://www.npmjs.com/package/@trojs/arrays +[npm-image]: https://img.shields.io/npm/v/@trojs/arrays.svg +[npm-stats]: https://npm-stat.com/charts.html?package=@trojs/arrays diff --git a/package-lock.json b/package-lock.json index 66c3a43..680aa50 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "@hckrnews/arrays", - "version": "4.0.4", + "name": "@trojs/arrays", + "version": "5.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@hckrnews/arrays", - "version": "4.0.4", + "name": "@trojs/arrays", + "version": "5.0.0", "license": "MIT", "devDependencies": { "@hckrnews/eslint-config": "^3.0.0", @@ -57,9 +57,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.1.tgz", - "integrity": "sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.4.tgz", + "integrity": "sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -69,9 +69,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.1.tgz", - "integrity": "sha512-+BIznRzyqBf+2wCTxcKE3wDjfGeCoVE61KSHGpkzqrLi8qxqFwBeUFyId2cxkTmm55fzDGnm0+yCxaxygrLUnQ==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.4.tgz", + "integrity": "sha512-dkxf7+hn8mFBwKjs9bvBlArzLVxVbS8usaPUDd5p2a9JCL9tB8OaOVN1isD4+Xyk4ns89/xeOmbQvgdK7IIVdA==", "dev": true, "dependencies": { "regenerator-runtime": "^0.14.0" @@ -210,9 +210,9 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", - "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", "dev": true }, "node_modules/@istanbuljs/schema": { @@ -457,15 +457,16 @@ } }, "node_modules/array-includes": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.7.tgz", - "integrity": "sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", + "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1", + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.4", "is-string": "^1.0.7" }, "engines": { @@ -754,9 +755,9 @@ } }, "node_modules/cli-table3": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.3.tgz", - "integrity": "sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==", + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.4.tgz", + "integrity": "sha512-Lm3L0p+/npIQWNIiyF/nAn7T5dnOwR3xNTHXYEBFBFVPXzCVNZ5lqEC/1eo/EVfpDsQ1I+TX4ORPQgp+UI0CRw==", "dev": true, "dependencies": { "string-width": "^4.2.0" @@ -1084,9 +1085,9 @@ } }, "node_modules/es-abstract": { - "version": "1.23.2", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.2.tgz", - "integrity": "sha512-60s3Xv2T2p1ICykc7c+DNDPLDMm9t4QxCOUU0K9JxiLjM3C1zB9YVdN7tjxrFd4+AkZ8CdX1ovUga4P2+1e+/w==", + "version": "1.23.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", + "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", "dev": true, "dependencies": { "array-buffer-byte-length": "^1.0.1", @@ -1128,11 +1129,11 @@ "safe-regex-test": "^1.0.3", "string.prototype.trim": "^1.2.9", "string.prototype.trimend": "^1.0.8", - "string.prototype.trimstart": "^1.0.7", + "string.prototype.trimstart": "^1.0.8", "typed-array-buffer": "^1.0.2", "typed-array-byte-length": "^1.0.1", "typed-array-byte-offset": "^1.0.2", - "typed-array-length": "^1.0.5", + "typed-array-length": "^1.0.6", "unbox-primitive": "^1.0.2", "which-typed-array": "^1.1.15" }, @@ -1395,9 +1396,9 @@ } }, "node_modules/eslint-plugin-html": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-html/-/eslint-plugin-html-8.0.0.tgz", - "integrity": "sha512-NINLBAXM3mLa3k5Ezr/kNLHAJJwbot6lS7Ro+SUftDw4cA51KMmcDuCf98GP6Q6kTVPY1hIggzskxAdxfUPXSA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-html/-/eslint-plugin-html-8.1.0.tgz", + "integrity": "sha512-5bRZQwxZew2Yo9Fa8diz2C9RmzIw9Gs4yzmmjUcpuzhdLW8aVcDtYzEHhNNdt01Z0m4AzSJNuY63RXvzStvDgA==", "dev": true, "dependencies": { "htmlparser2": "^9.1.0" @@ -3717,14 +3718,17 @@ } }, "node_modules/string.prototype.trimstart": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", - "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3955,9 +3959,9 @@ } }, "node_modules/typed-array-length": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.5.tgz", - "integrity": "sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", + "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", "dev": true, "dependencies": { "call-bind": "^1.0.7", diff --git a/package.json b/package.json index 857cf43..314827d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@hckrnews/arrays", - "version": "4.0.4", + "name": "@trojs/arrays", + "version": "5.0.0", "description": "Usefull array helpers.", "files": [ "src/helpers.js", @@ -35,7 +35,7 @@ ], "author": { "name": "Pieter Wigboldus", - "url": "https://hckr.news/" + "url": "https://trojs.org/" }, "bugs": { "url": "https://github.com/hckrnews/arrays/issues"