@jcoreio/toolchain 5.10.1 → 5.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jcoreio/toolchain",
3
- "version": "5.10.1",
3
+ "version": "5.10.3",
4
4
  "description": "base JS build toolchain",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,8 +1,8 @@
1
- const { gte } = require('semver')
1
+ const { gt } = require('semver')
2
2
 
3
3
  async function migrateEslintEnvComments({ fromVersion }) {
4
4
  // istanbul ignore next
5
- if (fromVersion && gte(fromVersion, '5.10.1')) {
5
+ if (fromVersion && gt(fromVersion, '5.10.3')) {
6
6
  return
7
7
  }
8
8
 
@@ -53,7 +53,6 @@ const babelParseOpts = {
53
53
  },
54
54
  cjs: {
55
55
  sourceType: 'commonjs',
56
- allowReturnOutsideFunction: true,
57
56
  startLine: 1,
58
57
  },
59
58
  mjs: {
@@ -102,13 +101,11 @@ const babelParseOpts = {
102
101
  },
103
102
  cts: {
104
103
  sourceType: 'commonjs',
105
- allowReturnOutsideFunction: true,
106
104
  startLine: 1,
107
105
  plugins: [...commonPlugins, 'typescript', 'decorators-legacy'],
108
106
  },
109
107
  'd.cts': {
110
108
  sourceType: 'commonjs',
111
- allowReturnOutsideFunction: true,
112
109
  startLine: 1,
113
110
  plugins: [
114
111
  ...commonPlugins,