Comparing version 2.3.0 to 2.3.1
# History | ||
## v2.3.1 2020 May 21 | ||
- Cherry-pick the types compilation from v3 to hopefully fix the consumption error: | ||
``` | ||
node_modules/editions/source/index.ts:6:20 - error TS7016: Could not find a declaration file for module 'semver'. '/Users/balupton/Projects/active/envfile/node_modules/semver/semver.js' implicitly has an 'any' type. | ||
Try `npm install @types/semver` if it exists or add a new declaration (.d.ts) file containing `declare module 'semver';` | ||
6 import semver from 'semver' | ||
``` | ||
## v2.3.0 2019 December 11 | ||
@@ -22,7 +32,9 @@ | ||
``` | ||
./node_modules/editions/edition-node-0.8/index.js:310 | ||
if (editionError.code.indexOf('unsupported-edition-engines-node-version') === 0) { | ||
^ | ||
if (editionError.code.indexOf('unsupported-edition-engines-node-version') === 0) { | ||
^ | ||
TypeError: Cannot read property 'indexOf' of undefined | ||
``` | ||
@@ -35,7 +47,9 @@ | ||
``` | ||
./node_modules/errlop/index.js:4 | ||
module.exports = require('editions').requirePackage(__dirname, require) | ||
^ | ||
module.exports = require('editions').requirePackage(\_\_dirname, require) | ||
^ | ||
TypeError: require(...).requirePackage is not a function | ||
``` | ||
@@ -132,1 +146,5 @@ | ||
- Initial release | ||
``` | ||
``` |
{ | ||
"name": "editions", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Publish multiple editions for your JavaScript packages consistently and easily (e.g. source edition, esnext edition, es2015 edition)", | ||
@@ -90,7 +90,7 @@ "homepage": "https://github.com/bevry/editions", | ||
"engines": { | ||
"node": "0.8 || 0.10 || 0.12 || 4 || 6 || 8 || 10 || 12 || 13" | ||
"node": "0.8 || 0.10 || 0.12 || 4 || 6 || 8 || 10 || 12 || 13 || 14" | ||
} | ||
} | ||
], | ||
"types": "source/index.ts", | ||
"types": "./compiled-types/", | ||
"type": "commonjs", | ||
@@ -120,4 +120,5 @@ "main": "edition-es5/index.js", | ||
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next", | ||
"our:compile": "npm run our:compile:edition-es5", | ||
"our:compile": "npm run our:compile:edition-es5 && npm run our:compile:types", | ||
"our:compile:edition-es5": "tsc --module commonjs --target ES5 --outDir ./edition-es5 --project tsconfig.json && test -d edition-es5/source && ( mv edition-es5/source edition-temp && rm -Rf edition-es5 && mv edition-temp edition-es5 ) || true", | ||
"our:compile:types": "tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationDir ./compiled-types/ --declarationMap", | ||
"our:deploy": "echo no need for this project", | ||
@@ -124,0 +125,0 @@ "our:meta": "npm run our:meta:docs && npm run our:meta:projectz", |
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
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
59368
14
866