Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

istextorbinary

Package Overview
Dependencies
Maintainers
4
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

istextorbinary - npm Package Compare versions

Comparing version 2.6.0 to 3.0.0-next.1574052962.e6c63c6493b333bf1a5d738eef3dbb5b197fa503

5

HISTORY.md
# History
## v3.0.0 2019 November 18
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
- Minimum required node version changed from `node: >=0.12` to `node: >=8` to keep up with mandatory ecosystem changes
## v2.6.0 2019 November 13

@@ -4,0 +9,0 @@

61

package.json
{
"title": "Is Text or Binary?",
"name": "istextorbinary",
"version": "2.6.0",
"version": "3.0.0-next.1574052962.e6c63c6493b333bf1a5d738eef3dbb5b197fa503",
"description": "Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.",

@@ -74,3 +74,4 @@ "homepage": "https://github.com/bevry/istextorbinary",

"dependabot[bot] (http://github.com/apps/dependabot)",
"shinnn (http://qiita.com/shinnn)"
"shinnn (http://qiita.com/shinnn)",
"dependabot-preview[bot] (http://github.com/apps/dependabot-preview)"
],

@@ -85,3 +86,3 @@ "bugs": {

"engines": {
"node": ">=0.12"
"node": ">=8"
},

@@ -99,3 +100,3 @@ "editions": [

"engines": {
"node": "6 || 8 || 10 || 12 || 13",
"node": "8 || 10 || 12",
"browsers": false

@@ -116,23 +117,9 @@ }

}
},
{
"description": "esnext compiled for node.js 0.12 with require for modules",
"directory": "edition-node-0.12",
"entry": "index.js",
"tags": [
"javascript",
"require"
],
"engines": {
"node": "0.12 || 4 || 6 || 8 || 10 || 12 || 13",
"browsers": false
}
}
],
"main": "index.js",
"main": "source/index.js",
"browser": "edition-browsers/index.js",
"dependencies": {
"binaryextensions": "^2.1.2",
"editions": "^2.2.0",
"textextensions": "^2.5.0"
"binaryextensions": "^2.2.0",
"textextensions": "^2.6.0"
},

@@ -144,9 +131,9 @@ "devDependencies": {

"@babel/preset-env": "^7.7.1",
"assert-helpers": "4.10.0",
"assert-helpers": "5.4.0",
"eslint": "^6.6.0",
"eslint-config-bevry": "^1.2.1",
"eslint-config-prettier": "^6.5.0",
"eslint-config-bevry": "^1.3.0",
"eslint-config-prettier": "^6.6.0",
"eslint-plugin-prettier": "^3.1.1",
"jsdoc": "^3.6.3",
"kava": "^3.2.0",
"kava": "4.0.0",
"minami": "^1.2.3",

@@ -156,9 +143,8 @@ "prettier": "^1.19.1",

"surge": "^0.21.3",
"valid-directory": "^1.0.0"
"valid-directory": "^1.1.1"
},
"scripts": {
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-node-0.12",
"our:compile": "npm run our:compile:edition-browsers",
"our:compile:edition-browsers": "env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source",
"our:compile:edition-node-0.12": "env BABEL_ENV=edition-node-0.12 babel --out-dir ./edition-node-0.12 ./source",
"our:deploy": "echo no need for this project",

@@ -182,3 +168,3 @@ "our:meta": "npm run our:meta:docs && npm run our:meta:projectz",

"our:verify:prettier": "prettier --write ./source/**",
"test": "node ./test.js"
"test": "node ./source/test.js"
},

@@ -210,19 +196,2 @@ "eslintConfig": {

]
},
"edition-node-0.12": {
"sourceType": "script",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "0.12"
},
"modules": "commonjs"
}
]
],
"plugins": [
"@babel/proposal-object-rest-spread"
]
}

@@ -229,0 +198,0 @@ }

@@ -92,6 +92,5 @@ <!-- TITLE/ -->

<ul><li><code>istextorbinary</code> aliases <code>istextorbinary/index.js</code> which uses <a href="https://editions.bevry.me" title="Editions are the best way to produce and consume packages you care about.">Editions</a> to automatically select the correct edition for the consumers environment</li>
<ul><li><code>istextorbinary</code> aliases <code>istextorbinary/source/index.js</code></li>
<li><code>istextorbinary/source/index.js</code> is esnext source code with require for modules</li>
<li><code>istextorbinary/edition-browsers/index.js</code> is esnext compiled for browsers with require for modules</li>
<li><code>istextorbinary/edition-node-0.12/index.js</code> is esnext compiled for node.js 0.12 with require for modules</li></ul>
<li><code>istextorbinary/edition-browsers/index.js</code> is esnext compiled for browsers with require for modules</li></ul>

@@ -165,3 +164,4 @@ <h3><a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a></h3>

<li><a href="http://github.com/apps/dependabot">dependabot[bot]</a> — <a href="https://github.com/bevry/istextorbinary/commits?author=dependabot[bot]" title="View the GitHub contributions of dependabot[bot] on repository bevry/istextorbinary">view contributions</a></li>
<li><a href="http://qiita.com/shinnn">shinnn</a> — <a href="https://github.com/bevry/istextorbinary/commits?author=shinnn" title="View the GitHub contributions of shinnn on repository bevry/istextorbinary">view contributions</a></li></ul>
<li><a href="http://qiita.com/shinnn">shinnn</a> — <a href="https://github.com/bevry/istextorbinary/commits?author=shinnn" title="View the GitHub contributions of shinnn on repository bevry/istextorbinary">view contributions</a></li>
<li><a href="http://github.com/apps/dependabot-preview">dependabot-preview[bot]</a> — <a href="https://github.com/bevry/istextorbinary/commits?author=dependabot-preview[bot]" title="View the GitHub contributions of dependabot-preview[bot] on repository bevry/istextorbinary">view contributions</a></li></ul>

@@ -168,0 +168,0 @@ <a href="https://github.com/bevry/istextorbinary/blob/master/CONTRIBUTING.md#files">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc