Move ohauth to be a yarn managed asset

This commit is contained in:
Tom Hughes 2020-08-06 19:09:32 +01:00
parent 916c48fd47
commit 6db96ae2fe
5 changed files with 21 additions and 2590 deletions

View file

@ -25,12 +25,6 @@ folder 'vendor/assets' do
end
end
folder 'ohauth' do
from 'git://github.com/osmlab/ohauth.git' do
file 'ohauth.js'
end
end
folder 'iD' do
from 'git://github.com/openstreetmap/iD', :branch => 'release' do
folder 'iD/data', 'dist/data'

View file

@ -1,4 +1,4 @@
//= require ohauth
//= require ohauth/ohauth
$(document).ready(function () {
var application_data = $("head").data();

View file

@ -6,7 +6,8 @@
"html5shiv": "^3.7.3",
"jquery-simulate": "^1.0.2",
"leaflet": "^1.6.0",
"leaflet.locatecontrol": "^0.71.1"
"leaflet.locatecontrol": "^0.71.1",
"ohauth": "^0.2.2"
},
"devDependencies": {
"eslint": "^7.3.1"

File diff suppressed because it is too large Load diff

View file

@ -462,6 +462,11 @@ js-yaml@^3.13.1:
argparse "^1.0.7"
esprima "^4.0.0"
jshashes@~1.0.3:
version "1.0.7"
resolved "https://registry.yarnpkg.com/jshashes/-/jshashes-1.0.7.tgz#bed8c97a0e9632fd0513916f55f76dd5486be59f"
integrity sha1-vtjJeg6WMv0FE5FvVfdt1Uhr5Z8=
json-schema-traverse@^0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
@ -524,6 +529,14 @@ natural-compare@^1.4.0:
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=
ohauth@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/ohauth/-/ohauth-0.2.2.tgz#6d28fbddd15a710a076b9128b457f503e869c853"
integrity sha1-bSj73dFacQoHa5EotFf1A+hpyFM=
dependencies:
jshashes "~1.0.3"
xtend "^4.0.0"
once@^1.3.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
@ -727,3 +740,8 @@ write@1.0.3:
integrity sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==
dependencies:
mkdirp "^0.5.1"
xtend@^4.0.0:
version "4.0.2"
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"
integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==