istextorbinary
Advanced tools
Comparing version 9.1.0 to 9.2.0-next.1700850377.22774e3a89ab2b07ba7b25cd9f7a364a1c2598e9
{ | ||
"title": "Is Text or Binary?", | ||
"name": "istextorbinary", | ||
"version": "9.1.0", | ||
"version": "9.2.0-next.1700850377.22774e3a89ab2b07ba7b25cd9f7a364a1c2598e9", | ||
"description": "Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.", | ||
@@ -13,2 +13,6 @@ "homepage": "https://github.com/bevry/istextorbinary", | ||
"check", | ||
"deno", | ||
"deno-edition", | ||
"deno-entry", | ||
"denoland", | ||
"detect", | ||
@@ -203,2 +207,16 @@ "encoding", | ||
"engines": false | ||
}, | ||
{ | ||
"description": "TypeScript source code made to be compatible with Deno", | ||
"directory": "edition-deno", | ||
"entry": "index.ts", | ||
"tags": [ | ||
"typescript", | ||
"import", | ||
"deno" | ||
], | ||
"engines": { | ||
"deno": true, | ||
"browsers": true | ||
} | ||
} | ||
@@ -221,7 +239,8 @@ ], | ||
}, | ||
"deno": "edition-deno/index.ts", | ||
"browser": "edition-browsers/index.js", | ||
"module": "edition-browsers/index.js", | ||
"dependencies": { | ||
"binaryextensions": "^6.6.0", | ||
"editions": "^6.15.0", | ||
"binaryextensions": "^6.7.0", | ||
"editions": "^6.16.0", | ||
"textextensions": "^6.6.0" | ||
@@ -234,9 +253,10 @@ }, | ||
"@typescript-eslint/parser": "^6.12.0", | ||
"assert-helpers": "^11.5.0", | ||
"assert-helpers": "^11.6.0", | ||
"eslint": "^8.54.0", | ||
"eslint-config-bevry": "^5.1.0", | ||
"eslint-config-bevry": "^5.2.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"filedirname": "^3.0.1", | ||
"filedirname": "^3.1.0", | ||
"kava": "^7.3.0", | ||
"make-deno-edition": "^2.0.0", | ||
"prettier": "^3.1.0", | ||
@@ -252,3 +272,4 @@ "projectz": "^3.3.0", | ||
"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:edition-es5 && npm run our:compile:edition-types", | ||
"our:compile": "npm run our:compile:deno && 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-es5 && npm run our:compile:edition-types", | ||
"our:compile:deno": "make-deno-edition --attempt", | ||
"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 ) )", | ||
@@ -292,2 +313,2 @@ "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", | ||
} | ||
} | ||
} |
@@ -92,2 +92,8 @@ <!-- TITLE/ --> | ||
<a href="https://deno.land" title="Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js"><h3>Deno</h3></a> | ||
``` typescript | ||
import * as pkg from 'https://unpkg.com/istextorbinary@^9.2.0/edition-deno/index.ts' | ||
``` | ||
<a href="https://www.skypack.dev" title="Skypack is a JavaScript Delivery Network for modern web apps"><h3>Skypack</h3></a> | ||
@@ -97,3 +103,3 @@ | ||
<script type="module"> | ||
import * as pkg from '//cdn.skypack.dev/istextorbinary@^9.1.0' | ||
import * as pkg from '//cdn.skypack.dev/istextorbinary@^9.2.0' | ||
</script> | ||
@@ -106,3 +112,3 @@ ``` | ||
<script type="module"> | ||
import * as pkg from '//unpkg.com/istextorbinary@^9.1.0' | ||
import * as pkg from '//unpkg.com/istextorbinary@^9.2.0' | ||
</script> | ||
@@ -115,3 +121,3 @@ ``` | ||
<script type="module"> | ||
import * as pkg from '//dev.jspm.io/istextorbinary@9.1.0' | ||
import * as pkg from '//dev.jspm.io/istextorbinary@9.2.0' | ||
</script> | ||
@@ -131,3 +137,4 @@ ``` | ||
<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> | ||
<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> | ||
<li><code>istextorbinary/edition-deno/index.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> source code made to be compatible with <a href="https://deno.land" title="Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js">Deno</a></li></ul> | ||
@@ -134,0 +141,0 @@ <!-- /INSTALL --> |
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
101000
20
1601
213
19
1
Updatedbinaryextensions@^6.7.0
Updatededitions@^6.16.0