Sha256: a84bb1ff4e6d94dea770ead126c2ef3d06c076d408295c5adef16bb4cef24059

Contents?: true

Size: 219 Bytes

Versions: 14

Compression:

Stored size: 219 Bytes

Contents

var url = require("url")

function resolveUrl(/* ...urls */) {
  return Array.prototype.reduce.call(arguments, function(resolved, nextUrl) {
    return url.resolve(resolved, nextUrl)
  })
}

module.exports = resolveUrl

Version data entries

14 entries across 13 versions & 7 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/source-map-resolve/lib/resolve-url.js
epuber-stylus-source-0.54.8 vendor/node_modules/source-map-resolve/lib/resolve-url.js
tang-0.2.1 spec/tang_app/node_modules/source-map-resolve/lib/resolve-url.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/source-map-resolve/lib/resolve-url.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/source-map-resolve/lib/resolve-url.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/source-map-resolve/lib/resolve-url.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/source-map-resolve/lib/resolve-url.js
tang-0.2.0 spec/tang_app/node_modules/source-map-resolve/lib/resolve-url.js
tang-0.1.0 spec/tang_app/node_modules/source-map-resolve/lib/resolve-url.js
tang-0.0.9 spec/tang_app/node_modules/source-map-resolve/lib/resolve-url.js
enju_library-0.3.8 spec/dummy/node_modules/source-map-resolve/lib/resolve-url.js
ilog-0.4.1 node_modules/source-map-resolve/lib/resolve-url.js
ilog-0.4.0 node_modules/source-map-resolve/lib/resolve-url.js
ilog-0.3.3 node_modules/source-map-resolve/lib/resolve-url.js