istextorbinary
Advanced tools
Comparing version 8.1.0 to 8.2.0-next.1700547389.7ceccaa53df3f19b275f833f0be3a67b57c07883
{ | ||
"title": "Is Text or Binary?", | ||
"name": "istextorbinary", | ||
"version": "8.1.0", | ||
"version": "8.2.0-next.1700547389.7ceccaa53df3f19b275f833f0be3a67b57c07883", | ||
"description": "Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.", | ||
@@ -49,3 +49,2 @@ "homepage": "https://github.com/bevry/istextorbinary", | ||
"patreon", | ||
"flattr", | ||
"liberapay", | ||
@@ -56,3 +55,5 @@ "buymeacoffee", | ||
"paypal", | ||
"wishlist" | ||
"---", | ||
"discord", | ||
"twitch" | ||
], | ||
@@ -62,3 +63,3 @@ "config": { | ||
"githubSponsorsUsername": "balupton", | ||
"thanksdevGithubUsername": "balupton", | ||
"thanksdevGithubUsername": "bevry", | ||
"buymeacoffeeUsername": "balupton", | ||
@@ -72,2 +73,5 @@ "cryptoURL": "https://bevry.me/crypto", | ||
"wishlistURL": "https://bevry.me/wishlist", | ||
"discordServerID": "1147436445783560193", | ||
"discordServerInvite": "nQuXddV7VP", | ||
"twitchUsername": "balupton", | ||
"githubUsername": "bevry", | ||
@@ -175,5 +179,16 @@ "githubRepository": "istextorbinary", | ||
} | ||
}, | ||
{ | ||
"description": "TypeScript compiled Types with Import for modules", | ||
"directory": "edition-types", | ||
"entry": "index.d.ts", | ||
"tags": [ | ||
"compiled", | ||
"types", | ||
"import" | ||
], | ||
"engines": false | ||
} | ||
], | ||
"types": "./compiled-types/", | ||
"types": "edition-types/index.d.ts", | ||
"type": "module", | ||
@@ -183,2 +198,3 @@ "main": "index.cjs", | ||
"node": { | ||
"types": "./edition-types/index.d.ts", | ||
"import": "./edition-es2019-esm/index.js", | ||
@@ -189,2 +205,3 @@ "default": "./index.cjs", | ||
"browser": { | ||
"types": "./edition-types/index.d.ts", | ||
"import": "./edition-browsers/index.js" | ||
@@ -196,29 +213,29 @@ } | ||
"dependencies": { | ||
"binaryextensions": "^6.3.0", | ||
"binaryextensions": "^6.4.0", | ||
"editions": "^6.13.0", | ||
"textextensions": "^6.2.0" | ||
"textextensions": "^6.4.0" | ||
}, | ||
"devDependencies": { | ||
"@bevry/update-contributors": "^1.23.0", | ||
"@types/node": "^20.9.0", | ||
"@typescript-eslint/eslint-plugin": "^6.11.0", | ||
"@typescript-eslint/parser": "^6.11.0", | ||
"assert-helpers": "^11.4.0", | ||
"eslint": "^8.53.0", | ||
"eslint-config-bevry": "^4.0.0", | ||
"@types/node": "^20.9.3", | ||
"@typescript-eslint/eslint-plugin": "^6.12.0", | ||
"@typescript-eslint/parser": "^6.12.0", | ||
"assert-helpers": "^11.5.0", | ||
"eslint": "^8.54.0", | ||
"eslint-config-bevry": "^5.0.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"filedirname": "^2.9.0", | ||
"kava": "^7.2.0", | ||
"filedirname": "^2.10.0", | ||
"kava": "^7.3.0", | ||
"prettier": "^3.1.0", | ||
"projectz": "^3.0.0", | ||
"projectz": "^3.2.0", | ||
"surge": "^0.23.1", | ||
"typedoc": "^0.25.3", | ||
"typescript": "5.2.2", | ||
"valid-directory": "^4.2.0", | ||
"valid-module": "^2.2.0" | ||
"valid-directory": "^4.4.0", | ||
"valid-module": "^2.4.0" | ||
}, | ||
"scripts": { | ||
"our:clean": "rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next", | ||
"our:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:edition-es2022 && npm run our:compile:types", | ||
"our:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:edition-es2022 && npm run our:compile:edition-types", | ||
"our:compile:edition-browsers": "tsc --module ESNext --target ES2022 --outDir ./edition-browsers --project tsconfig.json && ( test ! -d edition-browsers/source || ( mv edition-browsers/source edition-temp && rm -rf edition-browsers && mv edition-temp edition-browsers ) )", | ||
@@ -228,3 +245,3 @@ "our:compile:edition-es2019": "tsc --module commonjs --target ES2019 --outDir ./edition-es2019 --project tsconfig.json && ( test ! -d edition-es2019/source || ( mv edition-es2019/source edition-temp && rm -rf edition-es2019 && mv edition-temp edition-es2019 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2019/package.json", | ||
"our:compile:edition-es2022": "tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json", | ||
"our:compile:types": "tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -rf compiled-types && mv edition-temp compiled-types ) )", | ||
"our:compile:edition-types": "tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )", | ||
"our:deploy": "printf '%s\n' 'no need for this project'", | ||
@@ -262,2 +279,2 @@ "our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz", | ||
} | ||
} | ||
} |
@@ -15,5 +15,4 @@ <!-- TITLE/ --> | ||
<span class="badge-githubsponsors"><a href="https://github.com/sponsors/balupton" title="Donate to this project using GitHub Sponsors"><img src="https://img.shields.io/badge/github-donate-yellow.svg" alt="GitHub Sponsors donate button" /></a></span> | ||
<span class="badge-thanksdev"><a href="https://thanks.dev/u/gh/balupton" title="Donate to this project using ThanksDev"><img src="https://img.shields.io/badge/thanksdev-donate-yellow.svg" alt="ThanksDev donate button" /></a></span> | ||
<span class="badge-thanksdev"><a href="https://thanks.dev/u/gh/bevry" title="Donate to this project using ThanksDev"><img src="https://img.shields.io/badge/thanksdev-donate-yellow.svg" alt="ThanksDev donate button" /></a></span> | ||
<span class="badge-patreon"><a href="https://patreon.com/bevry" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span> | ||
<span class="badge-flattr"><a href="https://flattr.com/profile/balupton" title="Donate to this project using Flattr"><img src="https://img.shields.io/badge/flattr-donate-yellow.svg" alt="Flattr donate button" /></a></span> | ||
<span class="badge-liberapay"><a href="https://liberapay.com/bevry" title="Donate to this project using Liberapay"><img src="https://img.shields.io/badge/liberapay-donate-yellow.svg" alt="Liberapay donate button" /></a></span> | ||
@@ -24,3 +23,5 @@ <span class="badge-buymeacoffee"><a href="https://buymeacoffee.com/balupton" title="Donate to this project using Buy Me A Coffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg" alt="Buy Me A Coffee donate button" /></a></span> | ||
<span class="badge-paypal"><a href="https://bevry.me/paypal" title="Donate to this project using Paypal"><img src="https://img.shields.io/badge/paypal-donate-yellow.svg" alt="PayPal donate button" /></a></span> | ||
<span class="badge-wishlist"><a href="https://bevry.me/wishlist" title="Buy an item on our wishlist for us"><img src="https://img.shields.io/badge/wishlist-donate-yellow.svg" alt="Wishlist browse button" /></a></span> | ||
<br class="badge-separator" /> | ||
<span class="badge-discord"><a href="https://discord.gg/nQuXddV7VP" title="Join this project's community on Discord"><img src="https://img.shields.io/discord/1147436445783560193?logo=discord&label=discord" alt="Discord server badge" /></a></span> | ||
<span class="badge-twitch"><a href="https://www.twitch.tv/balupton" title="Join this project's community on Twitch"><img src="https://img.shields.io/twitch/status/balupton?logo=twitch" alt="Twitch community badge" /></a></span> | ||
@@ -97,3 +98,3 @@ <!-- /BADGES --> | ||
<script type="module"> | ||
import * as pkg from '//cdn.skypack.dev/istextorbinary@^8.1.0' | ||
import * as pkg from '//cdn.skypack.dev/istextorbinary@^8.2.0' | ||
</script> | ||
@@ -106,3 +107,3 @@ ``` | ||
<script type="module"> | ||
import * as pkg from '//unpkg.com/istextorbinary@^8.1.0' | ||
import * as pkg from '//unpkg.com/istextorbinary@^8.2.0' | ||
</script> | ||
@@ -115,3 +116,3 @@ ``` | ||
<script type="module"> | ||
import * as pkg from '//dev.jspm.io/istextorbinary@8.1.0' | ||
import * as pkg from '//dev.jspm.io/istextorbinary@8.2.0' | ||
</script> | ||
@@ -129,3 +130,4 @@ ``` | ||
<li><code>istextorbinary/edition-es2019/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019" title="ECMAScript ES2019">ES2019</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 10 || 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li> | ||
<li><code>istextorbinary/edition-es2019-esm/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019" title="ECMAScript ES2019">ES2019</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li></ul> | ||
<li><code>istextorbinary/edition-es2019-esm/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019" title="ECMAScript ES2019">ES2019</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li> | ||
<li><code>istextorbinary/edition-types/index.d.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled Types with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li></ul> | ||
@@ -170,5 +172,4 @@ <!-- /INSTALL --> | ||
<span class="badge-githubsponsors"><a href="https://github.com/sponsors/balupton" title="Donate to this project using GitHub Sponsors"><img src="https://img.shields.io/badge/github-donate-yellow.svg" alt="GitHub Sponsors donate button" /></a></span> | ||
<span class="badge-thanksdev"><a href="https://thanks.dev/u/gh/balupton" title="Donate to this project using ThanksDev"><img src="https://img.shields.io/badge/thanksdev-donate-yellow.svg" alt="ThanksDev donate button" /></a></span> | ||
<span class="badge-thanksdev"><a href="https://thanks.dev/u/gh/bevry" title="Donate to this project using ThanksDev"><img src="https://img.shields.io/badge/thanksdev-donate-yellow.svg" alt="ThanksDev donate button" /></a></span> | ||
<span class="badge-patreon"><a href="https://patreon.com/bevry" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span> | ||
<span class="badge-flattr"><a href="https://flattr.com/profile/balupton" title="Donate to this project using Flattr"><img src="https://img.shields.io/badge/flattr-donate-yellow.svg" alt="Flattr donate button" /></a></span> | ||
<span class="badge-liberapay"><a href="https://liberapay.com/bevry" title="Donate to this project using Liberapay"><img src="https://img.shields.io/badge/liberapay-donate-yellow.svg" alt="Liberapay donate button" /></a></span> | ||
@@ -179,3 +180,2 @@ <span class="badge-buymeacoffee"><a href="https://buymeacoffee.com/balupton" title="Donate to this project using Buy Me A Coffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg" alt="Buy Me A Coffee donate button" /></a></span> | ||
<span class="badge-paypal"><a href="https://bevry.me/paypal" title="Donate to this project using Paypal"><img src="https://img.shields.io/badge/paypal-donate-yellow.svg" alt="PayPal donate button" /></a></span> | ||
<span class="badge-wishlist"><a href="https://bevry.me/wishlist" title="Buy an item on our wishlist for us"><img src="https://img.shields.io/badge/wishlist-donate-yellow.svg" alt="Wishlist browse button" /></a></span> | ||
@@ -182,0 +182,0 @@ <h3>Contributors</h3> |
@@ -5,3 +5,3 @@ # Security Policy | ||
This project meets standardized secure software development practices, including 2FA for all members, password managers with monitoring, secure secret retrieval instead of storage. [Learn more about our practices.](https://tidelift.com/funding/github/npm/istextorbinary) | ||
This project meets standardized secure software development practices, including 2FA for all members, password managers with monitoring, secure secret retrieval instead of storage. [Learn about our practices.](https://tidelift.com/funding/github/npm/istextorbinary) | ||
@@ -12,5 +12,5 @@ ## Supported Versions | ||
[Refer to supported ecosystem versions: `Editions` section in `README.md`.](https://github.com/bevry/istextorbinary/blob/master/README.md#Editions) | ||
[Refer to supported ecosystem versions: `Editions` section in `README.md`](https://github.com/bevry/istextorbinary/blob/master/README.md#Editions) | ||
[Refer to automated support of ecosystem versions: `boundation` entries in `HISTORY.md`.](https://github.com/bevry/istextorbinary/blob/master/HISTORY.md) | ||
[Refer to automated support of ecosystem versions: `boundation` entries in `HISTORY.md`](https://github.com/bevry/istextorbinary/blob/master/HISTORY.md) | ||
@@ -17,0 +17,0 @@ Besides testing and verification, out CI also [auto-merges](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions) [Dependabot security updates](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates) and [auto-publishes](https://github.com/bevry-actions/npm) successful builds of the [`master` branch](https://github.com/bevry/wait/actions?query=branch%3Amaster) to the [`next` version tag](https://www.npmjs.com/package/istextorbinary?activeTab=versions), offering immediate resolutions before scheduled maintenance releases. |
@@ -10,5 +10,6 @@ { | ||
"target": "ES2022", | ||
"module": "ESNext" | ||
"module": "ESNext", | ||
"downlevelIteration": true | ||
}, | ||
"include": ["source"] | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
81481
1130
1
Updatedbinaryextensions@^6.4.0
Updatedtextextensions@^6.4.0