Skip to content

Commit

Permalink
Update deps (honestbleeps#4832)
Browse files Browse the repository at this point in the history
Tested in browser: Chrome 70
  • Loading branch information
erikdesjardins committed Aug 26, 2018
1 parent c0733ee commit a96dd5d
Show file tree
Hide file tree
Showing 7 changed files with 659 additions and 922 deletions.
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
suppress_comment=\\(.\\|\n\\)*\\$FlowIgnore

[version]
0.75.0
0.79.1
15 changes: 8 additions & 7 deletions flow/lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ declare class Object {
static (o: string): String; // eslint-disable-line flowtype/no-primitive-constructor-types
static <T: Object>(o: T): T;
static assign: Object$Assign;
static create(o: any, properties?: any): any; // compiler magic
static defineProperties(o: any, properties: any): any;
static defineProperty(o: any, p: any, attributes: any): any;
static create(o: any, properties?: PropertyDescriptorMap): any; // compiler magic
static defineProperties(o: any, properties: PropertyDescriptorMap): any;
static defineProperty<T>(o: any, p: any, attributes: PropertyDescriptor<T>): any;
static entries<K, V>(object: { [K]: V }): Array<[K, V]>;
static entries(object: any): Array<[string, mixed]>;
static freeze<T>(o: T): T;
static getOwnPropertyDescriptor(o: any, p: any): any;
static getOwnPropertyDescriptor<T>(o: any, p: any): PropertyDescriptor<T> | void;
static getOwnPropertyNames(o: any): Array<string>;
static getOwnPropertySymbols(o: any): Symbol[];
static getPrototypeOf: Object$GetPrototypeOf;
Expand All @@ -28,12 +28,13 @@ declare class Object {
static isFrozen(o: any): boolean;
static isSealed(o: any): boolean;
static keys(o: any): Array<string>;
static preventExtensions(o: any): any;
static seal(o: any): any;
static setPrototypeOf(o: any, proto: ?Object): bool;
static preventExtensions<T>(o: T): T;
static seal<T>(o: T): T;
static setPrototypeOf(o: any, proto: ?Object): any;
static values<T>(object: { [any]: T }): Array<T>;
static values(object: any): Array<mixed>;
hasOwnProperty(prop: any): boolean;
isPrototypeOf(o: any): boolean;
propertyIsEnumerable(prop: any): boolean;
toLocaleString(): string;
toString(): string;
Expand Down
5 changes: 0 additions & 5 deletions flow/lib/escapeStringRegexp.js

This file was deleted.

2 changes: 1 addition & 1 deletion lib/modules/floater.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const containers = {
this.$element().css('top', 8 + getHeaderOffset(true));

if (!document.querySelector('#RESPinnedHeaderSpacer')) { // No need to hide the floater if whole header is pinned
// $FlowIssue TODO
// $FlowIssue https://github.com/facebook/flow/pull/4664
new IntersectionObserver(entries => {
this.$element().get(0).hidden = entries[0].isIntersecting;
}).observe(document.querySelector('#header'));
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function mapScalarToObject<Field: { key: string }>(option: { fields: Fiel
option.fields.forEach((field, index) => {
Object.defineProperty(object, field.key, {
get: () => value[index],
set: v => (value[index] = v),
set: v => { value[index] = v; },
});
});

Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,22 @@
"jquery": "3.3.1",
"jquery-sortable": "0.9.13",
"jquery.tokeninput": "Reddit-Enhancement-Suite/jquery-tokeninput#v2.0.1",
"js-base64": "2.4.5",
"js-base64": "2.4.8",
"lodash": "4.17.10",
"moment": "2.22.2",
"numeral": "2.0.6",
"resize-observer-lite": "Reddit-Enhancement-Suite/resize-observer-lite#59af4a859cb7da7859fec1f6bceecf26dd278916",
"snudown-js": "3.1.1",
"snudown-js": "3.1.2",
"suncalc": "1.8.0",
"tinycolor2": "1.4.1",
"whatwg-fetch": "2.0.4"
},
"devDependencies": {
"autoprefixer": "8.6.4",
"autoprefixer": "9.1.3",
"ava": "0.25.0",
"babel-core": "6.26.3",
"babel-eslint": "8.2.5",
"babel-loader": "7.1.4",
"babel-eslint": "8.2.6",
"babel-loader": "7.1.5",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-dead-code-elimination": "2.2.2",
Expand All @@ -92,7 +92,7 @@
"chrome-extension-deploy": "3.0.0",
"coveralls": "3.0.2",
"cross-env": "5.2.0",
"css-loader": "0.28.11",
"css-loader": "1.0.0",
"edge-extension-deploy": "1.0.1",
"eslint": "4.19.1",
"eslint-import-resolver-webpack": "0.10.1",
Expand All @@ -105,9 +105,9 @@
"eslint-plugin-prefer-spread": "1.0.3",
"exec-loader": "4.0.0",
"extricate-loader": "3.0.0",
"file-loader": "1.1.11",
"file-loader": "2.0.0",
"firefox-extension-deploy": "1.1.0",
"flow-bin": "0.75.0",
"flow-bin": "0.79.1",
"html-loader": "0.5.5",
"inert-entry-webpack-plugin": "4.0.2",
"interpolate-loader": "2.0.0",
Expand All @@ -116,20 +116,20 @@
"lodash-webpack-plugin": "0.11.5",
"manifoldjs": "0.7.6",
"nightwatch": "0.9.21",
"nyc": "11.8.0",
"nyc": "12.0.2",
"opera-extension-deploy": "0.2.3",
"postcss-loader": "2.1.5",
"postcss-loader": "3.0.0",
"prop-loader": "1.0.0",
"rimraf": "2.6.2",
"sass": "1.10.1",
"sass": "1.13.0",
"sass-lint": "1.12.1",
"sass-loader": "7.1.0",
"semver": "5.5.0",
"semver": "5.5.1",
"sibling-loader": "1.2.0",
"spawn-loader": "6.0.0",
"url-loader": "1.0.1",
"webpack": "4.14.0",
"webpack-cli": "3.0.8",
"url-loader": "1.1.1",
"webpack": "4.17.1",
"webpack-cli": "3.1.0",
"zip-webpack-plugin": "3.0.0"
}
}
Loading

0 comments on commit a96dd5d

Please sign in to comment.