textextensions
Advanced tools
Comparing version 4.0.0 to 4.1.0-next.1590010542.c2cdabad8a8764f758569d732db1e85f3756efe4
# History | ||
## v4.1.0 2020 May 21 | ||
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation) | ||
## v4.0.0 2020 May 11 | ||
@@ -4,0 +8,0 @@ |
142
package.json
{ | ||
"title": "The Definitive List of Text Extensions", | ||
"name": "textextensions", | ||
"version": "4.0.0", | ||
"version": "4.1.0-next.1590010542.c2cdabad8a8764f758569d732db1e85f3756efe4", | ||
"description": "A package that contains an array of every single file extension there is for text files", | ||
@@ -10,8 +10,12 @@ "homepage": "https://github.com/bevry/textextensions", | ||
"browser", | ||
"export-default", | ||
"extensions", | ||
"json", | ||
"module", | ||
"node", | ||
"text", | ||
"text extensions", | ||
"text-extensions" | ||
"text-extensions", | ||
"typed", | ||
"types", | ||
"typescript" | ||
], | ||
@@ -80,23 +84,22 @@ "badges": { | ||
{ | ||
"description": "JSON", | ||
"description": "TypeScript source code with Import for modules", | ||
"directory": "source", | ||
"entry": "index.json", | ||
"entry": "index.ts", | ||
"tags": [ | ||
"json" | ||
"typescript", | ||
"import" | ||
], | ||
"engines": { | ||
"node": true, | ||
"browsers": true | ||
} | ||
"engines": false | ||
}, | ||
{ | ||
"description": "json compiled for Node.js 14 with Require for modules", | ||
"directory": "edition-node-14", | ||
"description": "TypeScript compiled against ESNext for Node.js with Require for modules", | ||
"directory": "edition-esnext", | ||
"entry": "index.js", | ||
"tags": [ | ||
"javascript", | ||
"esnext", | ||
"require" | ||
], | ||
"engines": { | ||
"node": true, | ||
"node": "10 || 12 || 13 || 14", | ||
"browsers": false | ||
@@ -106,42 +109,51 @@ } | ||
{ | ||
"description": "json compiled for Node.js 10 with Require for modules", | ||
"directory": "edition-node-10", | ||
"description": "TypeScript compiled against ES2019 for web browsers with Import for modules", | ||
"directory": "edition-browsers", | ||
"entry": "index.js", | ||
"tags": [ | ||
"javascript", | ||
"require" | ||
"import" | ||
], | ||
"engines": { | ||
"node": true, | ||
"browsers": false | ||
"node": false, | ||
"browsers": "defaults" | ||
} | ||
} | ||
], | ||
"types": "./compiled-types/", | ||
"type": "commonjs", | ||
"main": "index.js", | ||
"browser": "source/index.json", | ||
"dependencies": { | ||
"editions": "^2.3.0" | ||
}, | ||
"main": "edition-esnext/index.js", | ||
"browser": "edition-browsers/index.js", | ||
"module": "edition-browsers/index.js", | ||
"devDependencies": { | ||
"@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", | ||
"@bevry/update-contributors": "^1.5.0", | ||
"@typescript-eslint/eslint-plugin": "^2.34.0", | ||
"@typescript-eslint/parser": "^2.34.0", | ||
"assert-helpers": "^6.4.0", | ||
"binaryextensions": "^2.2.0", | ||
"kava": "^5.0.0", | ||
"projectz": "^2.1.0", | ||
"valid-directory": "^1.6.0" | ||
"eslint": "^7.0.0", | ||
"eslint-config-bevry": "^3.5.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"kava": "^5.1.0", | ||
"prettier": "^2.0.5", | ||
"projectz": "^2.2.0", | ||
"surge": "^0.21.3", | ||
"typedoc": "^0.17.7", | ||
"typescript": "^3.9.3", | ||
"valid-directory": "^1.6.0", | ||
"valid-module": "^1.0.0" | ||
}, | ||
"scripts": { | ||
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next", | ||
"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:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-esnext && npm run our:compile:types", | ||
"our:compile:edition-browsers": "tsc --module ESNext --target ES2019 --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 ) || true", | ||
"our:compile:edition-esnext": "tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true", | ||
"our:compile:types": "tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationDir ./compiled-types/ --declarationMap", | ||
"our:deploy": "echo no need for this project", | ||
"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:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz", | ||
"our:meta:contributors": "update-contributors", | ||
"our:meta:docs": "npm run our:meta:docs:typedoc", | ||
"our:meta:docs:typedoc": "rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source", | ||
"our:meta:projectz": "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", | ||
@@ -156,44 +168,18 @@ "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:test": "npm run our:verify && npm test", | ||
"our:verify": "npm run our:verify:directory", | ||
"our:verify:directory": "npx valid-directory", | ||
"test": "node ./test.js" | ||
"our:verify": "npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier", | ||
"our:verify:directory": "valid-directory", | ||
"our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source", | ||
"our:verify:module": "valid-module", | ||
"our:verify:prettier": "prettier --write .", | ||
"test": "node ./edition-esnext/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" | ||
] | ||
} | ||
} | ||
"eslintConfig": { | ||
"extends": [ | ||
"bevry" | ||
] | ||
}, | ||
"prettier": { | ||
"semi": false, | ||
"singleQuote": true | ||
} | ||
} |
@@ -38,3 +38,5 @@ <!-- TITLE/ --> | ||
``` javascript | ||
[Complete API Documentation.](http://master.textextensions.bevry.surge.sh/docs/globals.html) | ||
```javascript | ||
console.log(require('textextensions')) | ||
@@ -49,3 +51,2 @@ ``` | ||
<!-- INSTALL/ --> | ||
@@ -58,6 +59,22 @@ | ||
<li>Install: <code>npm install --save textextensions</code></li> | ||
<li>Import: <code>import * as pkg from ('textextensions')</code></li> | ||
<li>Require: <code>const pkg = require('textextensions')</code></li> | ||
<li>Import: <code>import pkg from ('textextensions')</code></li> | ||
<li>Require: <code>const pkg = require('textextensions').default</code></li> | ||
</ul> | ||
<a href="https://www.pika.dev/cdn" title="100% Native ES Modules CDN"><h3>pika</h3></a> | ||
``` html | ||
<script type="module"> | ||
import pkg from '//cdn.pika.dev/textextensions/^4.1.0' | ||
</script> | ||
``` | ||
<a href="https://unpkg.com" title="unpkg is a fast, global content delivery network for everything on npm"><h3>unpkg</h3></a> | ||
``` html | ||
<script type="module"> | ||
import pkg from '//unpkg.com/textextensions@^4.1.0' | ||
</script> | ||
``` | ||
<a href="https://jspm.io" title="Native ES Modules CDN"><h3>jspm</h3></a> | ||
@@ -67,3 +84,3 @@ | ||
<script type="module"> | ||
import * as pkg from '//dev.jspm.io/textextensions@4.0.0' | ||
import pkg from '//dev.jspm.io/textextensions@4.1.0' | ||
</script> | ||
@@ -76,6 +93,6 @@ ``` | ||
<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> | ||
<ul><li><code>textextensions/source/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 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li> | ||
<li><code>textextensions</code> aliases <code>textextensions/edition-esnext/index.js</code></li> | ||
<li><code>textextensions/edition-esnext/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#ES.Next" title="ECMAScript Next">ESNext</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 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-browsers/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 web browsers with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li></ul> | ||
@@ -82,0 +99,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
27789
0
12
310
161
17
1
- Removededitions@^2.3.0
- Removededitions@2.3.1(transitive)
- Removederrlop@2.2.0(transitive)
- Removedsemver@6.3.1(transitive)