mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-30 06:55:33 +01:00
Merge pull request #553 from orangemug/maintenance/update-deps-20191009
Update dependencies
This commit is contained in:
commit
369cc23a30
4 changed files with 6509 additions and 8588 deletions
1
.babelrc
1
.babelrc
|
@ -4,6 +4,7 @@
|
||||||
"@babel/preset-react"
|
"@babel/preset-react"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
|
"static-fs",
|
||||||
"react-hot-loader/babel",
|
"react-hot-loader/babel",
|
||||||
"@babel/plugin-proposal-class-properties"
|
"@babel/plugin-proposal-class-properties"
|
||||||
],
|
],
|
||||||
|
|
14978
package-lock.json
generated
14978
package-lock.json
generated
File diff suppressed because it is too large
Load diff
114
package.json
114
package.json
|
@ -20,14 +20,14 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://github.com/maputnik/editor#readme",
|
"homepage": "https://github.com/maputnik/editor#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.1.2",
|
"@babel/runtime": "^7.6.3",
|
||||||
"@mapbox/mapbox-gl-rtl-text": "^0.2.2",
|
"@mapbox/mapbox-gl-rtl-text": "^0.2.3",
|
||||||
"@mapbox/mapbox-gl-style-spec": "^13.7.2",
|
"@mapbox/mapbox-gl-style-spec": "^13.9.0",
|
||||||
"classnames": "^2.2.6",
|
"classnames": "^2.2.6",
|
||||||
"codemirror": "^5.40.2",
|
"codemirror": "^5.49.0",
|
||||||
"color": "^3.0.0",
|
"color": "^3.1.2",
|
||||||
"detect-browser": "^4.5.0",
|
"detect-browser": "^4.7.0",
|
||||||
"file-saver": "^1.3.8",
|
"file-saver": "^2.0.2",
|
||||||
"jsonlint": "github:josdejong/jsonlint#85a19d7",
|
"jsonlint": "github:josdejong/jsonlint#85a19d7",
|
||||||
"lodash.capitalize": "^4.2.1",
|
"lodash.capitalize": "^4.2.1",
|
||||||
"lodash.clamp": "^4.0.3",
|
"lodash.clamp": "^4.0.3",
|
||||||
|
@ -35,28 +35,28 @@
|
||||||
"lodash.get": "^4.4.2",
|
"lodash.get": "^4.4.2",
|
||||||
"lodash.isequal": "^4.5.0",
|
"lodash.isequal": "^4.5.0",
|
||||||
"lodash.throttle": "^4.1.1",
|
"lodash.throttle": "^4.1.1",
|
||||||
"mapbox-gl": "^1.2.0",
|
"mapbox-gl": "^1.4.1",
|
||||||
"mapbox-gl-inspect": "^1.3.1",
|
"mapbox-gl-inspect": "^1.3.1",
|
||||||
"maputnik-design": "github:maputnik/design",
|
"maputnik-design": "github:maputnik/design",
|
||||||
"ol": "^6.0.0-beta.8",
|
"ol": "^6.0.1",
|
||||||
"ol-mapbox-style": "^5.0.0-beta.2",
|
"ol-mapbox-style": "^5.0.2",
|
||||||
"prop-types": "^15.6.2",
|
"prop-types": "^15.7.2",
|
||||||
"react": "^16.5.2",
|
"react": "^16.10.2",
|
||||||
"react-aria-menubutton": "^6.0.1",
|
"react-aria-menubutton": "^6.2.0",
|
||||||
"react-aria-modal": "^3.0.0",
|
"react-aria-modal": "^4.0.0",
|
||||||
"react-autobind": "^1.0.6",
|
"react-autobind": "^1.0.6",
|
||||||
"react-autocomplete": "^1.8.1",
|
"react-autocomplete": "^1.8.1",
|
||||||
"react-codemirror2": "^5.1.0",
|
"react-codemirror2": "^6.0.0",
|
||||||
"react-collapse": "^4.0.3",
|
"react-collapse": "^4.0.3",
|
||||||
"react-color": "^2.14.1",
|
"react-color": "^2.17.3",
|
||||||
"react-dom": "^16.5.2",
|
"react-dom": "^16.10.2",
|
||||||
"react-file-reader-input": "^2.0.0",
|
"react-file-reader-input": "^2.0.0",
|
||||||
"react-icon-base": "^2.1.2",
|
"react-icon-base": "^2.1.2",
|
||||||
"react-icons": "^3.1.0",
|
"react-icons": "^3.7.0",
|
||||||
"react-motion": "^0.5.2",
|
"react-motion": "^0.5.2",
|
||||||
"react-sortable-hoc": "^0.8.3",
|
"react-sortable-hoc": "^1.10.1",
|
||||||
"reconnecting-websocket": "^3.2.2",
|
"reconnecting-websocket": "^4.2.0",
|
||||||
"slugify": "^1.3.1",
|
"slugify": "^1.3.5",
|
||||||
"url": "^0.11.0"
|
"url": "^0.11.0"
|
||||||
},
|
},
|
||||||
"jshintConfig": {
|
"jshintConfig": {
|
||||||
|
@ -100,51 +100,51 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.1.2",
|
"@babel/core": "^7.6.3",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.1.0",
|
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
||||||
"@babel/plugin-transform-runtime": "^7.1.0",
|
"@babel/plugin-transform-runtime": "^7.6.2",
|
||||||
"@babel/preset-env": "^7.1.0",
|
"@babel/preset-env": "^7.6.3",
|
||||||
"@babel/preset-flow": "^7.0.0",
|
"@babel/preset-flow": "^7.0.0",
|
||||||
"@babel/preset-react": "^7.0.0",
|
"@babel/preset-react": "^7.6.3",
|
||||||
"@wdio/cli": "^5.10.4",
|
"@wdio/cli": "^5.14.5",
|
||||||
"@wdio/local-runner": "^5.10.4",
|
"@wdio/local-runner": "^5.14.5",
|
||||||
"@wdio/mocha-framework": "^5.10.1",
|
"@wdio/mocha-framework": "^5.14.4",
|
||||||
"@wdio/selenium-standalone-service": "^5.9.3",
|
"@wdio/selenium-standalone-service": "^5.13.2",
|
||||||
"@wdio/spec-reporter": "^5.9.3",
|
"@wdio/spec-reporter": "^5.14.5",
|
||||||
"@wdio/sync": "^5.10.1",
|
"@wdio/sync": "^5.14.4",
|
||||||
"babel-eslint": "^10.0.1",
|
"babel-eslint": "^10.0.3",
|
||||||
"babel-loader": "8.0.4",
|
"babel-loader": "8.0.6",
|
||||||
"babel-plugin-istanbul": "^5.0.1",
|
"babel-plugin-istanbul": "^5.2.0",
|
||||||
"copy-webpack-plugin": "^4.5.2",
|
"babel-plugin-static-fs": "^3.0.0",
|
||||||
"cors": "^2.8.4",
|
"copy-webpack-plugin": "^5.0.4",
|
||||||
"cross-env": "^5.2.0",
|
"cors": "^2.8.5",
|
||||||
"css-loader": "^1.0.0",
|
"cross-env": "^6.0.3",
|
||||||
"eslint": "^5.6.1",
|
"css-loader": "^3.2.0",
|
||||||
"eslint-plugin-react": "^7.11.1",
|
"eslint": "^6.5.1",
|
||||||
|
"eslint-plugin-react": "^7.16.0",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"file-loader": "^2.0.0",
|
"file-loader": "^4.2.0",
|
||||||
"html-webpack-plugin": "^3.2.0",
|
"html-webpack-plugin": "^3.2.0",
|
||||||
"is-docker": "^2.0.0",
|
"is-docker": "^2.0.0",
|
||||||
"istanbul": "^0.4.5",
|
"istanbul": "^0.4.5",
|
||||||
"istanbul-lib-coverage": "^2.0.1",
|
"istanbul-lib-coverage": "^2.0.5",
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
"mocha": "^6.1.4",
|
"mocha": "^6.2.1",
|
||||||
"node-sass": "^4.12.0",
|
"node-sass": "^4.12.0",
|
||||||
"raw-loader": "^0.5.1",
|
"react-hot-loader": "^4.12.15",
|
||||||
"react-hot-loader": "^4.3.11",
|
"sass-loader": "^8.0.0",
|
||||||
"sass-loader": "^7.1.0",
|
|
||||||
"selenium-standalone": "^6.16.0",
|
"selenium-standalone": "^6.16.0",
|
||||||
"style-loader": "^0.23.0",
|
"style-loader": "^1.0.0",
|
||||||
"stylelint": "^10.0.0",
|
"stylelint": "^11.0.0",
|
||||||
"stylelint-config-recommended-scss": "^3.2.0",
|
"stylelint-config-recommended-scss": "^4.0.0",
|
||||||
"stylelint-scss": "^3.5.4",
|
"stylelint-scss": "^3.11.1",
|
||||||
"transform-loader": "^0.2.4",
|
"transform-loader": "^0.2.4",
|
||||||
"uuid": "^3.3.2",
|
"uuid": "^3.3.3",
|
||||||
"webdriverio": "^5.10.4",
|
"webdriverio": "^5.14.5",
|
||||||
"webpack": "^4.20.2",
|
"webpack": "^4.41.0",
|
||||||
"webpack-bundle-analyzer": "^3.0.2",
|
"webpack-bundle-analyzer": "^3.5.2",
|
||||||
"webpack-cleanup-plugin": "^0.5.1",
|
"webpack-cleanup-plugin": "^0.5.1",
|
||||||
"webpack-cli": "^3.1.2",
|
"webpack-cli": "^3.3.9",
|
||||||
"webpack-dev-server": "^3.1.9"
|
"webpack-dev-server": "^3.8.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import MapboxGl from 'mapbox-gl'
|
import MapboxGl from 'mapbox-gl'
|
||||||
|
import {readFileSync} from 'fs'
|
||||||
|
|
||||||
// Load mapbox-gl-rtl-text using object urls without needing http://localhost for AJAX.
|
const data = readFileSync(__dirname+"/../../node_modules/@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js", "utf8");
|
||||||
const data = require("raw-loader?mimetype=text/javascript!@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js");
|
|
||||||
|
|
||||||
const blob = new window.Blob([data], {
|
const blob = new window.Blob([data], {
|
||||||
type: "text/javascript"
|
type: "text/javascript"
|
||||||
|
|
Loading…
Reference in a new issue