Socket
Socket
Sign inDemoInstall

textextensions

Package Overview
Dependencies
1
Maintainers
2
Versions
115
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.3.0 to 4.0.0-next.1589196031.8d4fdf5691dc0f93177907f1b5c457fa539ad0fa

index.js

5

HISTORY.md
# History
## v4.0.0 2020 May 11
- 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: >=8` to `node: >=10` to keep up with mandatory ecosystem changes
## v3.3.0 2019 December 10

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

123

package.json
{
"title": "The Definitive List of Text Extensions",
"name": "textextensions",
"version": "3.3.0",
"version": "4.0.0-next.1589196031.8d4fdf5691dc0f93177907f1b5c457fa539ad0fa",
"description": "A package that contains an array of every single file extension there is for text files",

@@ -9,4 +9,7 @@ "homepage": "https://github.com/bevry/textextensions",

"keywords": [
"browser",
"extensions",
"json",
"node",
"text",
"extensions",
"text extensions",

@@ -43,3 +46,7 @@ "text-extensions"

"wishlistURL": "https://bevry.me/wishlist",
"travisTLD": "com"
"travisTLD": "com",
"githubUsername": "bevry",
"githubRepository": "textextensions",
"githubSlug": "bevry/textextensions",
"npmPackageName": "textextensions"
}

@@ -50,14 +57,13 @@ },

"maintainers": [
"Benjamin Lupton <b@lupton.cc> (http://balupton.com)"
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)"
],
"contributors": [
"Benjamin Lupton <b@lupton.cc> (http://balupton.com)",
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)",
"Felipe Beline <felipe@fbeline.com> (https://github.com/fbeline)",
"Jamy Timmermans <jamy@mixer.com> (https://github.com/JamyDev)",
"Felipe Beline <felipe@fbeline.com> (http://blog.fbeline.com)",
"Joshua Evans <TheJoshuaEvans@gmail.com> (https://github.com/TheJoshuaEvans)",
"LvChengbin <lvchengbin59@gmail.com> (https://github.com/LvChengbin)",
"jaswrks (http://src.works)",
"monsterkodi (http://monsterkodi.github.io)",
"jaswrks (http://jaswrks.com)",
"Joshua Evans <TheJoshuaEvans@gmail.com> (http://www.linkedin.com/profile/view?id=351521559)",
"LvChengbin <lvchengbin59@gmail.com> (https://github.com/LvChengbin)",
"dependabot-preview[bot] (http://github.com/apps/dependabot-preview)"
"jaswrks (https://github.com/jaswrks)",
"monsterkodi (https://github.com/monsterkodi)"
],

@@ -72,3 +78,3 @@ "bugs": {

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

@@ -87,20 +93,57 @@ "editions": [

}
},
{
"description": "json compiled for Node.js 14 with Require for modules",
"directory": "edition-node-14",
"entry": "index.js",
"tags": [
"javascript",
"require"
],
"engines": {
"node": true,
"browsers": false
}
},
{
"description": "json compiled for Node.js 10 with Require for modules",
"directory": "edition-node-10",
"entry": "index.js",
"tags": [
"javascript",
"require"
],
"engines": {
"node": true,
"browsers": false
}
}
],
"type": "commonjs",
"main": "source/index.json",
"main": "index.js",
"browser": "source/index.json",
"dependencies": {
"editions": "^2.3.0"
},
"devDependencies": {
"assert-helpers": "^5.8.0",
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/plugin-proposal-object-rest-spread": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@bevry/update-contributors": "^1.4.0",
"assert-helpers": "^6.2.0",
"binaryextensions": "^2.2.0",
"kava": "^4.4.0",
"projectz": "^1.16.0",
"valid-directory": "^1.5.0"
"kava": "^5.0.0",
"projectz": "^2.1.0",
"valid-directory": "^1.6.0"
},
"scripts": {
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "echo no need for this project",
"our:compile": "npm run our:compile:edition-node-10 && npm run our:compile:edition-node-14",
"our:compile:edition-node-10": "env BABEL_ENV=edition-node-10 babel --out-dir ./edition-node-10 ./source",
"our:compile:edition-node-14": "env BABEL_ENV=edition-node-14 babel --out-dir ./edition-node-14 ./source",
"our:deploy": "echo no need for this project",
"our:meta": "npm run our:meta:projectz",
"our:meta:projectz": "projectz compile",
"our:meta": "npm run our:meta:contributors && npm run our:meta:projectz",
"our:meta:contributors": "npx @bevry/update-contributors",
"our:meta:projectz": "npx projectz compile",
"our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push",

@@ -117,4 +160,42 @@ "our:release:check-changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)",

"our:verify:directory": "npx valid-directory",
"test": "node ./source/test.js"
"test": "node ./test.js"
},
"babel": {
"env": {
"edition-node-14": {
"sourceType": "script",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "14"
},
"modules": false
}
]
],
"plugins": [
"@babel/proposal-object-rest-spread"
]
},
"edition-node-10": {
"sourceType": "script",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "10"
},
"modules": false
}
]
],
"plugins": [
"@babel/proposal-object-rest-spread"
]
}
}
}
}

52

README.md

@@ -36,2 +36,15 @@ <!-- TITLE/ -->

## Usage
``` javascript
console.log(require('textextensions'))
```
Missing an extension? [Send a pull request!](https://github.com/bevry/textextensions/edit/master/source/index.json)
Want a definitive list of binary extensions? Check out [bevry/binaryextensions](https://github.com/bevry/binaryextensions)
Want to detect if a file is text or binary? Check out [bevry/istextorbinary](https://github.com/bevry/istextorbinary)
<!-- INSTALL/ -->

@@ -44,3 +57,4 @@

<li>Install: <code>npm install --save textextensions</code></li>
<li>Require: <code>require('textextensions')</code></li>
<li>Import: <code>import * as pkg from ('textextensions')</code></li>
<li>Require: <code>const pkg = require('textextensions')</code></li>
</ul>

@@ -52,3 +66,3 @@

<script type="module">
import * as pkg from '//dev.jspm.io/textextensions'
import * as pkg from '//dev.jspm.io/textextensions@4.0.0'
</script>

@@ -61,4 +75,6 @@ ```

<ul><li><code>textextensions</code> aliases <code>textextensions/source/index.json</code></li>
<li><code>textextensions/source/index.json</code> is JSON</li></ul>
<ul><li><code>textextensions</code> aliases <code>textextensions/index.js</code> which uses the <a href="https://github.com/bevry/editions" title="You can use the Editions Autoloader to autoload the appropriate edition for your consumers environment">Editions Autoloader</a> to automatically select the correct edition for the consumer's environment</li>
<li><code>textextensions/source/index.json</code> is JSON</li>
<li><code>textextensions/edition-node-14/index.js</code> is json compiled for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 14 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>textextensions/edition-node-10/index.js</code> is json compiled for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 10 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li></ul>

@@ -68,15 +84,2 @@ <!-- /INSTALL -->

## Usage
``` javascript
console.log(require('textextensions'))
```
Missing an extension? [Send a pull request!](https://github.com/bevry/textextensions/edit/master/source/index.json)
Want a definitive list of binary extensions? Check out [bevry/binaryextensions](https://github.com/bevry/binaryextensions)
Want to detect if a file is text or binary? Check out [bevry/istextorbinary](https://github.com/bevry/istextorbinary)
<!-- HISTORY/ -->

@@ -99,3 +102,3 @@

<ul><li><a href="http://balupton.com">Benjamin Lupton</a> — <a href="https://github.com/bevry/textextensions/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/textextensions">view contributions</a></li></ul>
<ul><li><a href="https://github.com/balupton">Benjamin Lupton</a> — <a href="https://github.com/bevry/textextensions/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/textextensions">view contributions</a></li></ul>

@@ -120,11 +123,10 @@ <h3>Sponsors</h3>

<ul><li><a href="http://balupton.com">Benjamin Lupton</a> — <a href="https://github.com/bevry/textextensions/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/textextensions">view contributions</a></li>
<ul><li><a href="https://github.com/balupton">Benjamin Lupton</a> — <a href="https://github.com/bevry/textextensions/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/textextensions">view contributions</a></li>
<li><a href="https://github.com/fbeline">Felipe Beline</a> — <a href="https://github.com/bevry/textextensions/commits?author=fbeline" title="View the GitHub contributions of Felipe Beline on repository bevry/textextensions">view contributions</a></li>
<li><a href="https://github.com/JamyDev">Jamy Timmermans</a> — <a href="https://github.com/bevry/textextensions/commits?author=JamyDev" title="View the GitHub contributions of Jamy Timmermans on repository bevry/textextensions">view contributions</a></li>
<li><a href="http://blog.fbeline.com">Felipe Beline</a> — <a href="https://github.com/bevry/textextensions/commits?author=fbeline" title="View the GitHub contributions of Felipe Beline on repository bevry/textextensions">view contributions</a></li>
<li><a href="https://github.com/TheJoshuaEvans">Joshua Evans</a> — <a href="https://github.com/bevry/textextensions/commits?author=TheJoshuaEvans" title="View the GitHub contributions of Joshua Evans on repository bevry/textextensions">view contributions</a></li>
<li><a href="https://github.com/LvChengbin">LvChengbin</a> — <a href="https://github.com/bevry/textextensions/commits?author=LvChengbin" title="View the GitHub contributions of LvChengbin on repository bevry/textextensions">view contributions</a></li>
<li><a href="http://src.works">jaswrks</a></li>
<li><a href="http://monsterkodi.github.io">monsterkodi</a> — <a href="https://github.com/bevry/textextensions/commits?author=monsterkodi" title="View the GitHub contributions of monsterkodi on repository bevry/textextensions">view contributions</a></li>
<li><a href="http://jaswrks.com">jaswrks</a> — <a href="https://github.com/bevry/textextensions/commits?author=jaswrks" title="View the GitHub contributions of jaswrks on repository bevry/textextensions">view contributions</a></li>
<li><a href="http://www.linkedin.com/profile/view?id=351521559">Joshua Evans</a> — <a href="https://github.com/bevry/textextensions/commits?author=TheJoshuaEvans" title="View the GitHub contributions of Joshua Evans on repository bevry/textextensions">view contributions</a></li>
<li><a href="https://github.com/LvChengbin">LvChengbin</a> — <a href="https://github.com/bevry/textextensions/commits?author=LvChengbin" title="View the GitHub contributions of LvChengbin on repository bevry/textextensions">view contributions</a></li>
<li><a href="http://github.com/apps/dependabot-preview">dependabot-preview[bot]</a> — <a href="https://github.com/bevry/textextensions/commits?author=dependabot-preview[bot]" title="View the GitHub contributions of dependabot-preview[bot] on repository bevry/textextensions">view contributions</a></li></ul>
<li><a href="https://github.com/jaswrks">jaswrks</a> — <a href="https://github.com/bevry/textextensions/commits?author=jaswrks" title="View the GitHub contributions of jaswrks on repository bevry/textextensions">view contributions</a></li>
<li><a href="https://github.com/monsterkodi">monsterkodi</a> — <a href="https://github.com/bevry/textextensions/commits?author=monsterkodi" title="View the GitHub contributions of monsterkodi on repository bevry/textextensions">view contributions</a></li></ul>

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc