Browse Source

Updated dependencies

Fixed issues with typescript 2.9
update-deps
Alex Mikhalev 7 years ago
parent
commit
e4f1c1c6a3
  1. 3
      app/state/inject.tsx
  2. 102
      package.json
  3. 2925
      yarn.lock

3
app/state/inject.tsx

@ -27,7 +27,8 @@ export class ProvideState extends React.Component<{
} }
} }
type Diff<T extends string, U extends string> = ({[P in T]: P } & {[P in U]: never } & { [x: string]: never })[T]; type Diff<T extends string | number | symbol, U extends string | number | symbol> =
({[P in T]: P } & {[P in U]: never } & { [x: string]: never })[T];
type Omit<T, K extends keyof T> = {[P in Diff<keyof T, K>]: T[P]}; type Omit<T, K extends keyof T> = {[P in Diff<keyof T, K>]: T[P]};
export function injectState<P extends { "state": StateBase }>(Component: React.ComponentType<P>) { export function injectState<P extends { "state": StateBase }>(Component: React.ComponentType<P>) {

102
package.json

@ -35,79 +35,79 @@
}, },
"homepage": "https://github.com/amikhalev/sprinklers3#readme", "homepage": "https://github.com/amikhalev/sprinklers3#readme",
"dependencies": { "dependencies": {
"chalk": "^2.3.2", "chalk": "^2.4.1",
"express": "^4.16.3", "express": "^4.16.3",
"express-pino-logger": "^3.0.1", "express-pino-logger": "^3.0.2",
"mobx": "^4.1.1", "mobx": "^5.0.3",
"module-alias": "^2.0.6", "module-alias": "^2.1.0",
"moment": "^2.22.0", "moment": "^2.22.2",
"mqtt": "^2.17.0", "mqtt": "^2.18.1",
"pino": "^4.16.1", "pino": "^4.17.3",
"postcss-cssnext": "^3.1.0", "postcss-cssnext": "^3.1.0",
"serializr": "^1.1.14", "serializr": "^1.2.0",
"uglify-es": "3.3.9", "uglify-es": "3.3.9",
"ws": "^5.1.1" "ws": "^5.2.1"
}, },
"devDependencies": { "devDependencies": {
"@types/async": "^2.0.49", "@types/async": "^2.0.49",
"@types/classnames": "^2.2.0", "@types/classnames": "^2.2.4",
"@types/core-js": "^0.9.46", "@types/core-js": "^2.5.0",
"@types/express": "^4.11.1", "@types/express": "^4.16.0",
"@types/lodash": "^4.14.106", "@types/lodash": "^4.14.110",
"@types/node": "^9.6.4", "@types/node": "^10.3.5",
"@types/object-assign": "^4.0.30", "@types/object-assign": "^4.0.30",
"@types/pino": "^4.7.1", "@types/pino": "^4.16.0",
"@types/prop-types": "^15.5.1", "@types/prop-types": "^15.5.3",
"@types/react": "16.3.9", "@types/react": "16.4.1",
"@types/react-dom": "16.0.5", "@types/react-dom": "16.0.6",
"@types/react-hot-loader": "^3.0.6", "@types/react-hot-loader": "^4.1.0",
"@types/webpack-env": "^1.13.6", "@types/webpack-env": "^1.13.6",
"@types/ws": "^4.0.2", "@types/ws": "^5.1.2",
"async": "^2.6.0", "async": "^2.6.1",
"autoprefixer": "^8.2.0", "autoprefixer": "^8.6.3",
"awesome-typescript-loader": "^5.0.0", "awesome-typescript-loader": "^5.2.0",
"case-sensitive-paths-webpack-plugin": "^2.1.2", "case-sensitive-paths-webpack-plugin": "^2.1.2",
"classnames": "^2.2.5", "classnames": "^2.2.6",
"css-loader": "^0.28.11", "css-loader": "^0.28.11",
"dotenv": "^5.0.1", "dotenv": "^6.0.0",
"file-loader": "^1.1.11", "file-loader": "^1.1.11",
"font-awesome": "^4.7.0", "font-awesome": "^4.7.0",
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^3.2.0",
"lodash": "^4.17.5", "lodash": "^4.17.10",
"mobx-react": "^5.0.0", "mobx-react": "^5.2.3",
"mobx-react-devtools": "^5.0.1", "mobx-react-devtools": "^5.0.1",
"node-sass": "^4.8.3", "node-sass": "^4.8.3",
"nodemon": "^1.17.3", "nodemon": "^1.17.5",
"npm-run-all": "^4.1.2", "npm-run-all": "^4.1.3",
"object-assign": "^4.1.1", "object-assign": "^4.1.1",
"postcss-flexbugs-fixes": "^3.3.0", "postcss-flexbugs-fixes": "^3.3.1",
"postcss-loader": "^2.1.3", "postcss-loader": "^2.1.5",
"promise": "^8.0.1", "promise": "^8.0.1",
"prop-types": "^15.6.1", "prop-types": "^15.6.2",
"react": "16.3.1", "react": "16.4.1",
"react-dev-utils": "^5.0.1", "react-dev-utils": "^5.0.1",
"react-dom": "16.3.1", "react-dom": "16.4.1",
"react-hot-loader": "^4.0.1", "react-hot-loader": "^4.3.3",
"sass-loader": "^6.0.7", "sass-loader": "^7.0.3",
"semantic-ui-css": "^2.3.1", "semantic-ui-css": "^2.3.2",
"semantic-ui-react": "^0.79.1", "semantic-ui-react": "^0.81.1",
"source-map-loader": "^0.2.3", "source-map-loader": "^0.2.3",
"style-loader": "^0.20.3", "style-loader": "^0.21.0",
"ts-loader": "^4.2.0", "ts-loader": "^4.4.1",
"tslint": "^5.9.1", "tslint": "^5.10.0",
"tslint-loader": "^3.6.0", "tslint-loader": "^3.6.0",
"tslint-react": "^3.5.1", "tslint-react": "^3.6.0",
"typescript": "^2.3.4", "typescript": "^2.9.2",
"uglifyjs-webpack-plugin": "^1.2.4", "uglifyjs-webpack-plugin": "^1.2.6",
"url-loader": "^1.0.1", "url-loader": "^1.0.1",
"webpack": "^4.5.0", "webpack": "^4.12.0",
"webpack-cli": "^2.0.14", "webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.3" "webpack-dev-server": "^3.1.4"
}, },
"resolutions": { "resolutions": {
"**/@types/react": "16.3.9", "**/@types/react": "16.4.1",
"**/@types/react-dom": "16.0.5", "**/@types/react-dom": "16.0.6",
"**/react": "16.3.1", "**/react": "16.4.1",
"**/react-dom": "16.3.1" "**/react-dom": "16.4.1"
} }
} }

2925
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save