version-range
Advanced tools
Comparing version 4.2.0 to 4.3.0-next.1700540958.252b80501ac8f33a1f58532b24ac32eb6efb978b
{ | ||
"name": "version-range", | ||
"version": "4.2.0", | ||
"version": "4.3.0-next.1700540958.252b80501ac8f33a1f58532b24ac32eb6efb978b", | ||
"description": "Check version ranges like `>=N` and `X || Y || Z` with support for Node.js, Web Browsers, Deno, and TypeScript.", | ||
@@ -145,2 +145,13 @@ "homepage": "https://github.com/bevry/version-range", | ||
{ | ||
"description": "TypeScript compiled Types with Import for modules", | ||
"directory": "edition-types", | ||
"entry": "index.d.ts", | ||
"tags": [ | ||
"compiled", | ||
"types", | ||
"import" | ||
], | ||
"engines": false | ||
}, | ||
{ | ||
"description": "TypeScript source code made to be compatible with Deno", | ||
@@ -160,3 +171,3 @@ "directory": "edition-deno", | ||
], | ||
"types": "./compiled-types/", | ||
"types": "edition-types/index.d.ts", | ||
"type": "module", | ||
@@ -166,2 +177,3 @@ "main": "edition-es2022/index.js", | ||
"node": { | ||
"types": "./edition-types/index.d.ts", | ||
"import": "./edition-es2022-esm/index.js", | ||
@@ -171,2 +183,3 @@ "require": "./edition-es2022/index.js" | ||
"browser": { | ||
"types": "./edition-types/index.d.ts", | ||
"import": "./edition-browsers/index.js" | ||
@@ -181,6 +194,6 @@ } | ||
"@bevry/update-contributors": "^1.23.0", | ||
"@types/node": "^20.9.2", | ||
"@typescript-eslint/eslint-plugin": "^6.11.0", | ||
"@typescript-eslint/parser": "^6.11.0", | ||
"assert-helpers": "^11.4.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", | ||
@@ -198,7 +211,7 @@ "eslint-config-bevry": "^5.0.0", | ||
"valid-directory": "^4.4.0", | ||
"valid-module": "^2.3.0" | ||
"valid-module": "^2.4.0" | ||
}, | ||
"scripts": { | ||
"our:clean": "rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next", | ||
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:types", | ||
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types", | ||
"our:compile:deno": "make-deno-edition --attempt", | ||
@@ -208,3 +221,3 @@ "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 ) )", | ||
"our:compile:edition-es2022-esm": "tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/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'", | ||
@@ -244,4 +257,4 @@ "our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz", | ||
"browser": true, | ||
"nodeVersionTestedMinimum": 8 | ||
"nodeVersionsTestedRange": ">=8" | ||
} | ||
} | ||
} |
@@ -90,3 +90,3 @@ <!-- TITLE/ --> | ||
``` typescript | ||
import pkg from 'https://unpkg.com/version-range@^4.2.0/edition-deno/index.ts' | ||
import pkg from 'https://unpkg.com/version-range@^4.3.0/edition-deno/index.ts' | ||
``` | ||
@@ -98,3 +98,3 @@ | ||
<script type="module"> | ||
import pkg from '//cdn.skypack.dev/version-range@^4.2.0' | ||
import pkg from '//cdn.skypack.dev/version-range@^4.3.0' | ||
</script> | ||
@@ -107,3 +107,3 @@ ``` | ||
<script type="module"> | ||
import pkg from '//unpkg.com/version-range@^4.2.0' | ||
import pkg from '//unpkg.com/version-range@^4.3.0' | ||
</script> | ||
@@ -116,3 +116,3 @@ ``` | ||
<script type="module"> | ||
import pkg from '//dev.jspm.io/version-range@4.2.0' | ||
import pkg from '//dev.jspm.io/version-range@4.3.0' | ||
</script> | ||
@@ -130,2 +130,3 @@ ``` | ||
<li><code>version-range/edition-es2022-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 ES2022 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>version-range/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>version-range/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> | ||
@@ -132,0 +133,0 @@ |
@@ -10,5 +10,6 @@ { | ||
"target": "ES2022", | ||
"module": "ESNext" | ||
"module": "ESNext", | ||
"downlevelIteration": true | ||
}, | ||
"include": ["source"] | ||
} |
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
74384
1048
197
1