Sha256: c809ef2c27b2e9e47cea6781d1b61e92adabccb139abfac009df253cfc4f6fd3

Contents?: true

Size: 268 Bytes

Versions: 137

Compression:

Stored size: 268 Bytes

Contents

const Range = require('../classes/range')

// Mostly just for testing and legacy API reasons
const toComparators = (range, options) =>
  new Range(range, options).set
    .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))

module.exports = toComparators

Version data entries

137 entries across 92 versions & 12 rubygems

Version Path
immosquare-cleaner-0.1.17 node_modules/jsonc-eslint-parser/node_modules/semver/ranges/to-comparators.js
immosquare-cleaner-0.1.16 node_modules/jsonc-eslint-parser/node_modules/semver/ranges/to-comparators.js
immosquare-cleaner-0.1.14 node_modules/jsonc-eslint-parser/node_modules/semver/ranges/to-comparators.js
immosquare-cleaner-0.1.13 node_modules/jsonc-eslint-parser/node_modules/semver/ranges/to-comparators.js
immosquare-cleaner-0.1.12 node_modules/jsonc-eslint-parser/node_modules/semver/ranges/to-comparators.js
immosquare-cleaner-0.1.11 node_modules/jsonc-eslint-parser/node_modules/semver/ranges/to-comparators.js
immosquare-cleaner-0.1.10 node_modules/jsonc-eslint-parser/node_modules/semver/ranges/to-comparators.js
immosquare-cleaner-0.1.9 node_modules/jsonc-eslint-parser/node_modules/semver/ranges/to-comparators.js
immosquare-cleaner-0.1.8 node_modules/jsonc-eslint-parser/node_modules/semver/ranges/to-comparators.js
immosquare-cleaner-0.1.7 node_modules/jsonc-eslint-parser/node_modules/semver/ranges/to-comparators.js
immosquare-cleaner-0.1.6 node_modules/jsonc-eslint-parser/node_modules/semver/ranges/to-comparators.js
decidim-0.26.8 packages/eslint-config/node_modules/builtins/node_modules/semver/ranges/to-comparators.js
decidim-0.26.8 packages/eslint-config/node_modules/eslint-plugin-n/node_modules/semver/ranges/to-comparators.js
decidim-0.27.1 packages/webpacker/node_modules/semver/ranges/to-comparators.js
decidim-0.26.4 packages/webpacker/node_modules/semver/ranges/to-comparators.js
decidim-0.27.0 packages/webpacker/node_modules/semver/ranges/to-comparators.js
decidim-0.26.3 packages/webpacker/node_modules/semver/ranges/to-comparators.js
decidim-0.27.0.rc2 packages/webpacker/node_modules/semver/ranges/to-comparators.js
decidim-0.27.0.rc1 packages/webpacker/node_modules/semver/ranges/to-comparators.js
appmap-0.72.2 ./node_modules/semver/ranges/to-comparators.js