@lando/drupal 1.12.0 → 1.14.0

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.
Files changed (150) hide show
  1. package/.eslintignore +5 -0
  2. package/.lando.yml +1 -2
  3. package/CHANGELOG.md +26 -0
  4. package/LICENSE +21 -0
  5. package/README.md +20 -27
  6. package/builders/_drupaly.js +44 -19
  7. package/builders/drupal-mariadb.js +1 -1
  8. package/builders/drupal-mssql.js +1 -1
  9. package/builders/drupal-mysql.js +7 -1
  10. package/builders/drupal-nginx.js +1 -1
  11. package/builders/drupal-php.js +1 -3
  12. package/builders/drupal-postgres.js +1 -1
  13. package/config/drupal11/mysql8.cnf +44 -92
  14. package/inits/drupal10.js +5 -0
  15. package/inits/drupal11.js +7 -0
  16. package/inits/drupal6.js +4 -0
  17. package/inits/drupal7.js +3 -0
  18. package/inits/drupal8.js +3 -0
  19. package/inits/drupal9.js +5 -0
  20. package/netlify.toml +1 -1
  21. package/node_modules/@lando/mariadb/.lando.yml +1 -1
  22. package/node_modules/@lando/mariadb/.node-version +1 -1
  23. package/node_modules/@lando/mariadb/CHANGELOG.md +12 -1
  24. package/node_modules/@lando/mariadb/LICENSE +21 -0
  25. package/node_modules/@lando/mariadb/README.md +5 -2
  26. package/node_modules/@lando/mariadb/builders/mariadb.js +26 -22
  27. package/node_modules/@lando/mariadb/netlify.toml +9 -2
  28. package/node_modules/@lando/mariadb/package.json +8 -8
  29. package/node_modules/@lando/mysql/.lando.yml +1 -1
  30. package/node_modules/@lando/mysql/CHANGELOG.md +5 -0
  31. package/node_modules/@lando/mysql/LICENSE +21 -0
  32. package/node_modules/@lando/mysql/README.md +5 -2
  33. package/node_modules/@lando/mysql/builders/mysql.js +9 -5
  34. package/node_modules/@lando/mysql/netlify.toml +9 -0
  35. package/node_modules/@lando/mysql/package.json +8 -8
  36. package/node_modules/@lando/php/.lando.yml +1 -1
  37. package/node_modules/@lando/php/AGENTS.md +81 -0
  38. package/node_modules/@lando/php/CHANGELOG.md +31 -0
  39. package/node_modules/@lando/php/LICENSE +21 -0
  40. package/node_modules/@lando/php/README.md +9 -3
  41. package/node_modules/@lando/php/builders/php.js +39 -12
  42. package/node_modules/@lando/php/images/5.6-apache/Dockerfile +9 -4
  43. package/node_modules/@lando/php/images/5.6-fpm/Dockerfile +9 -4
  44. package/node_modules/@lando/php/images/7.0-apache/Dockerfile +9 -4
  45. package/node_modules/@lando/php/images/7.0-fpm/Dockerfile +9 -4
  46. package/node_modules/@lando/php/images/7.1-apache/Dockerfile +1 -1
  47. package/node_modules/@lando/php/images/7.1-fpm/Dockerfile +1 -1
  48. package/node_modules/@lando/php/images/7.2-apache/Dockerfile +1 -1
  49. package/node_modules/@lando/php/images/7.2-fpm/Dockerfile +1 -1
  50. package/node_modules/@lando/php/images/7.3-apache/Dockerfile +1 -1
  51. package/node_modules/@lando/php/images/7.3-fpm/Dockerfile +1 -1
  52. package/node_modules/@lando/php/images/7.4-apache/Dockerfile +2 -2
  53. package/node_modules/@lando/php/images/7.4-fpm/Dockerfile +2 -2
  54. package/node_modules/@lando/php/images/8.0-apache/Dockerfile +2 -2
  55. package/node_modules/@lando/php/images/8.0-fpm/Dockerfile +2 -2
  56. package/node_modules/@lando/php/images/8.1-apache/Dockerfile +1 -1
  57. package/node_modules/@lando/php/images/8.1-fpm/Dockerfile +1 -1
  58. package/node_modules/@lando/php/images/8.2-apache/Dockerfile +1 -1
  59. package/node_modules/@lando/php/images/8.2-fpm/Dockerfile +1 -1
  60. package/node_modules/@lando/php/images/8.3-apache/Dockerfile +23 -22
  61. package/node_modules/@lando/php/images/8.3-fpm/Dockerfile +22 -22
  62. package/node_modules/@lando/php/images/8.4-apache/Dockerfile +21 -22
  63. package/node_modules/@lando/php/images/8.4-fpm/Dockerfile +21 -22
  64. package/node_modules/@lando/php/images/8.5-apache/Dockerfile +77 -0
  65. package/node_modules/@lando/php/images/8.5-fpm/Dockerfile +78 -0
  66. package/node_modules/@lando/php/netlify.toml +10 -1
  67. package/node_modules/@lando/php/node_modules/@lando/nginx/.lando.yml +1 -1
  68. package/node_modules/@lando/php/node_modules/@lando/nginx/.node-version +1 -1
  69. package/node_modules/@lando/php/node_modules/@lando/nginx/CHANGELOG.md +9 -1
  70. package/node_modules/@lando/php/node_modules/@lando/nginx/LICENSE +21 -0
  71. package/node_modules/@lando/php/node_modules/@lando/nginx/README.md +5 -2
  72. package/node_modules/@lando/php/node_modules/@lando/nginx/builders/nginx.js +34 -15
  73. package/node_modules/@lando/php/node_modules/@lando/nginx/netlify.toml +9 -4
  74. package/node_modules/@lando/php/node_modules/@lando/nginx/package.json +8 -8
  75. package/node_modules/@lando/php/package.json +10 -10
  76. package/node_modules/@lando/php/scripts/install-db-client.sh +31 -0
  77. package/node_modules/@lando/php/scripts/mariadb-compat-install.sh +42 -0
  78. package/node_modules/@lando/php/scripts/mysql-client-install.sh +62 -0
  79. package/node_modules/@lando/postgres/.lando.yml +1 -1
  80. package/node_modules/@lando/postgres/CHANGELOG.md +15 -0
  81. package/node_modules/@lando/postgres/LICENSE +21 -0
  82. package/node_modules/@lando/postgres/README.md +5 -2
  83. package/node_modules/@lando/postgres/builders/postgres.js +11 -10
  84. package/node_modules/@lando/postgres/netlify.toml +9 -4
  85. package/node_modules/@lando/postgres/package.json +8 -8
  86. package/node_modules/semver/README.md +14 -4
  87. package/node_modules/semver/bin/semver.js +4 -1
  88. package/node_modules/semver/classes/comparator.js +2 -0
  89. package/node_modules/semver/classes/index.js +2 -0
  90. package/node_modules/semver/classes/range.js +2 -0
  91. package/node_modules/semver/classes/semver.js +22 -5
  92. package/node_modules/semver/functions/clean.js +2 -0
  93. package/node_modules/semver/functions/cmp.js +2 -0
  94. package/node_modules/semver/functions/coerce.js +2 -0
  95. package/node_modules/semver/functions/compare-build.js +2 -0
  96. package/node_modules/semver/functions/compare-loose.js +2 -0
  97. package/node_modules/semver/functions/compare.js +2 -0
  98. package/node_modules/semver/functions/diff.js +7 -12
  99. package/node_modules/semver/functions/eq.js +2 -0
  100. package/node_modules/semver/functions/gt.js +2 -0
  101. package/node_modules/semver/functions/gte.js +2 -0
  102. package/node_modules/semver/functions/inc.js +2 -0
  103. package/node_modules/semver/functions/lt.js +2 -0
  104. package/node_modules/semver/functions/lte.js +2 -0
  105. package/node_modules/semver/functions/major.js +2 -0
  106. package/node_modules/semver/functions/minor.js +2 -0
  107. package/node_modules/semver/functions/neq.js +2 -0
  108. package/node_modules/semver/functions/parse.js +2 -0
  109. package/node_modules/semver/functions/patch.js +2 -0
  110. package/node_modules/semver/functions/prerelease.js +2 -0
  111. package/node_modules/semver/functions/rcompare.js +2 -0
  112. package/node_modules/semver/functions/rsort.js +2 -0
  113. package/node_modules/semver/functions/satisfies.js +2 -0
  114. package/node_modules/semver/functions/sort.js +2 -0
  115. package/node_modules/semver/functions/valid.js +2 -0
  116. package/node_modules/semver/index.js +2 -0
  117. package/node_modules/semver/internal/constants.js +2 -0
  118. package/node_modules/semver/internal/debug.js +2 -0
  119. package/node_modules/semver/internal/identifiers.js +2 -0
  120. package/node_modules/semver/internal/lrucache.js +2 -0
  121. package/node_modules/semver/internal/parse-options.js +2 -0
  122. package/node_modules/semver/internal/re.js +10 -4
  123. package/node_modules/semver/package.json +8 -7
  124. package/node_modules/semver/preload.js +2 -0
  125. package/node_modules/semver/ranges/gtr.js +2 -0
  126. package/node_modules/semver/ranges/intersects.js +2 -0
  127. package/node_modules/semver/ranges/ltr.js +2 -0
  128. package/node_modules/semver/ranges/max-satisfying.js +2 -0
  129. package/node_modules/semver/ranges/min-satisfying.js +2 -0
  130. package/node_modules/semver/ranges/min-version.js +2 -0
  131. package/node_modules/semver/ranges/outside.js +2 -0
  132. package/node_modules/semver/ranges/simplify.js +2 -0
  133. package/node_modules/semver/ranges/subset.js +2 -0
  134. package/node_modules/semver/ranges/to-comparators.js +2 -0
  135. package/node_modules/semver/ranges/valid.js +2 -0
  136. package/package.json +13 -13
  137. package/LICENSE.md +0 -674
  138. package/PRIVACY.md +0 -169
  139. package/node_modules/@lando/mariadb/LICENSE.md +0 -674
  140. package/node_modules/@lando/mariadb/PRIVACY.md +0 -169
  141. package/node_modules/@lando/mariadb/tmpfile +0 -0
  142. package/node_modules/@lando/mysql/.tool-versions +0 -1
  143. package/node_modules/@lando/mysql/LICENSE.md +0 -674
  144. package/node_modules/@lando/mysql/PRIVACY.md +0 -169
  145. package/node_modules/@lando/php/LICENSE.md +0 -674
  146. package/node_modules/@lando/php/PRIVACY.md +0 -169
  147. package/node_modules/@lando/php/node_modules/@lando/nginx/LICENSE.md +0 -674
  148. package/node_modules/@lando/php/node_modules/@lando/nginx/PRIVACY.md +0 -169
  149. package/node_modules/@lando/postgres/LICENSE.md +0 -674
  150. package/node_modules/@lando/postgres/PRIVACY.md +0 -169
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const ANY = Symbol('SemVer ANY')
2
4
  // hoisted class for cyclic dependency
3
5
  class Comparator {
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  module.exports = {
2
4
  SemVer: require('./semver.js'),
3
5
  Range: require('./range.js'),
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const SPACE_CHARACTERS = /\s+/g
2
4
 
3
5
  // hoisted class for cyclic dependency
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const debug = require('../internal/debug')
2
4
  const { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')
3
5
  const { safeRe: re, t } = require('../internal/re')
@@ -10,7 +12,7 @@ class SemVer {
10
12
 
11
13
  if (version instanceof SemVer) {
12
14
  if (version.loose === !!options.loose &&
13
- version.includePrerelease === !!options.includePrerelease) {
15
+ version.includePrerelease === !!options.includePrerelease) {
14
16
  return version
15
17
  } else {
16
18
  version = version.version
@@ -176,6 +178,19 @@ class SemVer {
176
178
  // preminor will bump the version up to the next minor release, and immediately
177
179
  // down to pre-release. premajor and prepatch work the same way.
178
180
  inc (release, identifier, identifierBase) {
181
+ if (release.startsWith('pre')) {
182
+ if (!identifier && identifierBase === false) {
183
+ throw new Error('invalid increment argument: identifier is empty')
184
+ }
185
+ // Avoid an invalid semver results
186
+ if (identifier) {
187
+ const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE])
188
+ if (!match || match[1] !== identifier) {
189
+ throw new Error(`invalid identifier: ${identifier}`)
190
+ }
191
+ }
192
+ }
193
+
179
194
  switch (release) {
180
195
  case 'premajor':
181
196
  this.prerelease.length = 0
@@ -206,6 +221,12 @@ class SemVer {
206
221
  }
207
222
  this.inc('pre', identifier, identifierBase)
208
223
  break
224
+ case 'release':
225
+ if (this.prerelease.length === 0) {
226
+ throw new Error(`version ${this.raw} is not a prerelease`)
227
+ }
228
+ this.prerelease.length = 0
229
+ break
209
230
 
210
231
  case 'major':
211
232
  // If this is a pre-major version, bump up to the same major version.
@@ -249,10 +270,6 @@ class SemVer {
249
270
  case 'pre': {
250
271
  const base = Number(identifierBase) ? 1 : 0
251
272
 
252
- if (!identifier && identifierBase === false) {
253
- throw new Error('invalid increment argument: identifier is empty')
254
- }
255
-
256
273
  if (this.prerelease.length === 0) {
257
274
  this.prerelease = [base]
258
275
  } else {
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const parse = require('./parse')
2
4
  const clean = (version, options) => {
3
5
  const s = parse(version.trim().replace(/^[=v]+/, ''), options)
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const eq = require('./eq')
2
4
  const neq = require('./neq')
3
5
  const gt = require('./gt')
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const SemVer = require('../classes/semver')
2
4
  const parse = require('./parse')
3
5
  const { safeRe: re, t } = require('../internal/re')
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const SemVer = require('../classes/semver')
2
4
  const compareBuild = (a, b, loose) => {
3
5
  const versionA = new SemVer(a, loose)
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const compare = require('./compare')
2
4
  const compareLoose = (a, b) => compare(a, b, true)
3
5
  module.exports = compareLoose
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const SemVer = require('../classes/semver')
2
4
  const compare = (a, b, loose) =>
3
5
  new SemVer(a, loose).compare(new SemVer(b, loose))
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const parse = require('./parse.js')
2
4
 
3
5
  const diff = (version1, version2) => {
@@ -27,20 +29,13 @@ const diff = (version1, version2) => {
27
29
  return 'major'
28
30
  }
29
31
 
30
- // Otherwise it can be determined by checking the high version
31
-
32
- if (highVersion.patch) {
33
- // anything higher than a patch bump would result in the wrong version
32
+ // If the main part has no difference
33
+ if (lowVersion.compareMain(highVersion) === 0) {
34
+ if (lowVersion.minor && !lowVersion.patch) {
35
+ return 'minor'
36
+ }
34
37
  return 'patch'
35
38
  }
36
-
37
- if (highVersion.minor) {
38
- // anything higher than a minor bump would result in the wrong version
39
- return 'minor'
40
- }
41
-
42
- // bumping major/minor/patch all have same result
43
- return 'major'
44
39
  }
45
40
 
46
41
  // add the `pre` prefix if we are going to a prerelease version
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const compare = require('./compare')
2
4
  const eq = (a, b, loose) => compare(a, b, loose) === 0
3
5
  module.exports = eq
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const compare = require('./compare')
2
4
  const gt = (a, b, loose) => compare(a, b, loose) > 0
3
5
  module.exports = gt
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const compare = require('./compare')
2
4
  const gte = (a, b, loose) => compare(a, b, loose) >= 0
3
5
  module.exports = gte
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const SemVer = require('../classes/semver')
2
4
 
3
5
  const inc = (version, release, options, identifier, identifierBase) => {
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const compare = require('./compare')
2
4
  const lt = (a, b, loose) => compare(a, b, loose) < 0
3
5
  module.exports = lt
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const compare = require('./compare')
2
4
  const lte = (a, b, loose) => compare(a, b, loose) <= 0
3
5
  module.exports = lte
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const SemVer = require('../classes/semver')
2
4
  const major = (a, loose) => new SemVer(a, loose).major
3
5
  module.exports = major
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const SemVer = require('../classes/semver')
2
4
  const minor = (a, loose) => new SemVer(a, loose).minor
3
5
  module.exports = minor
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const compare = require('./compare')
2
4
  const neq = (a, b, loose) => compare(a, b, loose) !== 0
3
5
  module.exports = neq
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const SemVer = require('../classes/semver')
2
4
  const parse = (version, options, throwErrors = false) => {
3
5
  if (version instanceof SemVer) {
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const SemVer = require('../classes/semver')
2
4
  const patch = (a, loose) => new SemVer(a, loose).patch
3
5
  module.exports = patch
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const parse = require('./parse')
2
4
  const prerelease = (version, options) => {
3
5
  const parsed = parse(version, options)
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const compare = require('./compare')
2
4
  const rcompare = (a, b, loose) => compare(b, a, loose)
3
5
  module.exports = rcompare
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const compareBuild = require('./compare-build')
2
4
  const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))
3
5
  module.exports = rsort
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const Range = require('../classes/range')
2
4
  const satisfies = (version, range, options) => {
3
5
  try {
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const compareBuild = require('./compare-build')
2
4
  const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))
3
5
  module.exports = sort
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const parse = require('./parse')
2
4
  const valid = (version, options) => {
3
5
  const v = parse(version, options)
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  // just pre-load all the stuff that index.js lazily exports
2
4
  const internalRe = require('./internal/re')
3
5
  const constants = require('./internal/constants')
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  // Note: this is the semver.org version of the spec that it implements
2
4
  // Not necessarily the package version of this code.
3
5
  const SEMVER_SPEC_VERSION = '2.0.0'
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const debug = (
2
4
  typeof process === 'object' &&
3
5
  process.env &&
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const numeric = /^[0-9]+$/
2
4
  const compareIdentifiers = (a, b) => {
3
5
  const anum = numeric.test(a)
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  class LRUCache {
2
4
  constructor () {
3
5
  this.max = 1000
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  // parse out just the options we care about
2
4
  const looseOption = Object.freeze({ loose: true })
3
5
  const emptyOpts = Object.freeze({ })
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const {
2
4
  MAX_SAFE_COMPONENT_LENGTH,
3
5
  MAX_SAFE_BUILD_LENGTH,
@@ -10,6 +12,7 @@ exports = module.exports = {}
10
12
  const re = exports.re = []
11
13
  const safeRe = exports.safeRe = []
12
14
  const src = exports.src = []
15
+ const safeSrc = exports.safeSrc = []
13
16
  const t = exports.t = {}
14
17
  let R = 0
15
18
 
@@ -42,6 +45,7 @@ const createToken = (name, value, isGlobal) => {
42
45
  debug(name, index, value)
43
46
  t[name] = index
44
47
  src[index] = value
48
+ safeSrc[index] = safe
45
49
  re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
46
50
  safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
47
51
  }
@@ -74,12 +78,14 @@ createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
74
78
 
75
79
  // ## Pre-release Version Identifier
76
80
  // A numeric identifier, or a non-numeric identifier.
81
+ // Non-numberic identifiers include numberic identifiers but can be longer.
82
+ // Therefore non-numberic identifiers must go first.
77
83
 
78
- createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]
79
- }|${src[t.NONNUMERICIDENTIFIER]})`)
84
+ createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]
85
+ }|${src[t.NUMERICIDENTIFIER]})`)
80
86
 
81
- createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]
82
- }|${src[t.NONNUMERICIDENTIFIER]})`)
87
+ createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NONNUMERICIDENTIFIER]
88
+ }|${src[t.NUMERICIDENTIFIERLOOSE]})`)
83
89
 
84
90
  // ## Pre-release Version
85
91
  // Hyphen, followed by one or more dot-separated pre-release version
@@ -1,20 +1,21 @@
1
1
  {
2
2
  "name": "semver",
3
- "version": "7.6.3",
3
+ "version": "7.7.2",
4
4
  "description": "The semantic version parser used by npm.",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "tap",
8
8
  "snap": "tap",
9
- "lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
9
+ "lint": "npm run eslint",
10
10
  "postlint": "template-oss-check",
11
- "lintfix": "npm run lint -- --fix",
11
+ "lintfix": "npm run eslint -- --fix",
12
12
  "posttest": "npm run lint",
13
- "template-oss-apply": "template-oss-apply --force"
13
+ "template-oss-apply": "template-oss-apply --force",
14
+ "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
14
15
  },
15
16
  "devDependencies": {
16
- "@npmcli/eslint-config": "^4.0.0",
17
- "@npmcli/template-oss": "4.22.0",
17
+ "@npmcli/eslint-config": "^5.0.0",
18
+ "@npmcli/template-oss": "4.24.3",
18
19
  "benchmark": "^2.1.4",
19
20
  "tap": "^16.0.0"
20
21
  },
@@ -51,7 +52,7 @@
51
52
  "author": "GitHub Inc.",
52
53
  "templateOSS": {
53
54
  "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
54
- "version": "4.22.0",
55
+ "version": "4.24.3",
55
56
  "engines": ">=10",
56
57
  "distPaths": [
57
58
  "classes/",
@@ -1,2 +1,4 @@
1
+ 'use strict'
2
+
1
3
  // XXX remove in v8 or beyond
2
4
  module.exports = require('./index.js')
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  // Determine if version is greater than all the versions possible in the range.
2
4
  const outside = require('./outside')
3
5
  const gtr = (version, range, options) => outside(version, range, '>', options)
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const Range = require('../classes/range')
2
4
  const intersects = (r1, r2, options) => {
3
5
  r1 = new Range(r1, options)
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const outside = require('./outside')
2
4
  // Determine if version is less than all the versions possible in the range
3
5
  const ltr = (version, range, options) => outside(version, range, '<', options)
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const SemVer = require('../classes/semver')
2
4
  const Range = require('../classes/range')
3
5
 
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const SemVer = require('../classes/semver')
2
4
  const Range = require('../classes/range')
3
5
  const minSatisfying = (versions, range, options) => {
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const SemVer = require('../classes/semver')
2
4
  const Range = require('../classes/range')
3
5
  const gt = require('../functions/gt')
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const SemVer = require('../classes/semver')
2
4
  const Comparator = require('../classes/comparator')
3
5
  const { ANY } = Comparator
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  // given a set of versions and a range, create a "simplified" range
2
4
  // that includes the same versions that the original range does
3
5
  // If the original range is shorter than the simplified one, return that.
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const Range = require('../classes/range.js')
2
4
  const Comparator = require('../classes/comparator.js')
3
5
  const { ANY } = Comparator
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const Range = require('../classes/range')
2
4
 
3
5
  // Mostly just for testing and legacy API reasons
@@ -1,3 +1,5 @@
1
+ 'use strict'
2
+
1
3
  const Range = require('../classes/range')
2
4
  const validRange = (range, options) => {
3
5
  try {
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@lando/drupal",
3
3
  "description": "A Lando plugin that provides a tight integration with Drupal.",
4
- "version": "1.12.0",
4
+ "version": "1.14.0",
5
5
  "author": "Mike Pirog @pirog",
6
- "license": "GPL-3.0",
6
+ "license": "MIT",
7
7
  "repository": "lando/drupal",
8
8
  "bugs": "https://github.com/lando/drupal/issues/new/choose",
9
9
  "homepage": "https://github.com/lando/drupal",
@@ -14,7 +14,7 @@
14
14
  "drupal"
15
15
  ],
16
16
  "engines": {
17
- "node": ">=18.0.0"
17
+ "node": ">=20.0.0"
18
18
  },
19
19
  "lando": {},
20
20
  "main": "index.js",
@@ -43,18 +43,18 @@
43
43
  "test": "npm run lint && npm run test:unit"
44
44
  },
45
45
  "dependencies": {
46
- "@lando/mariadb": "^1.6.3",
46
+ "@lando/mariadb": "^1.8.0",
47
47
  "@lando/mssql": "^1.4.3",
48
- "@lando/mysql": "^1.5.0",
49
- "@lando/php": "^1.7.1",
50
- "@lando/postgres": "^1.4.4",
48
+ "@lando/mysql": "^1.6.0",
49
+ "@lando/php": "^1.11.0",
50
+ "@lando/postgres": "^1.6.0",
51
51
  "lodash": "^4.17.21",
52
- "semver": "^7.5.4"
52
+ "semver": "^7.7.2"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@babel/eslint-parser": "^7.16.0",
56
56
  "@lando/leia": "^1.0.0-beta.3",
57
- "@lando/vitepress-theme-default-plus": "^1.1.0-beta.24",
57
+ "@lando/vitepress-theme-default-plus": "^1.1.1",
58
58
  "chai": "^4.3.4",
59
59
  "command-line-test": "^1.0.10",
60
60
  "eslint": "^7.32.0",
@@ -75,9 +75,9 @@
75
75
  "semver"
76
76
  ],
77
77
  "dist": {
78
- "integrity": "sha512-iCBPPIwT980yuDdiFcF+QUD3o0QEOjCfm2EU49iJNMXRYXXRutNdDZx9XhDXLyIS7CAIY/QtJsnEZ9yTh18hFA==",
79
- "shasum": "21bd6c197804104637f63b90f24827b222ff2cbe",
80
- "filename": "lando-drupal-1.12.0.tgz",
81
- "unpackedSize": 10667705
78
+ "integrity": "sha512-Mgd7jSGj9fr9dOcPdKqoC4BRk/gXLkOTY7MlfwveMIiAZrybU4zpxphzji3f94FdiuFrPr+U2fEWKe4ons8t9Q==",
79
+ "shasum": "8ac87472662a3150a13d983c6617a4ed68883898",
80
+ "filename": "lando-drupal-1.14.0.tgz",
81
+ "unpackedSize": 10429789
82
82
  }
83
83
  }