From 9ddc6e105b2a3f8809edd8efacd534fb82a3f7a2 Mon Sep 17 00:00:00 2001 From: Fredrik Nicol Date: Fri, 13 Apr 2018 13:03:15 +0200 Subject: [PATCH] Bump MDN --- index.d.ts | 34 +++++++++++++++++++++------------- index.js.flow | 26 +++++++++++++------------- package.json | 6 +++--- yarn.lock | 10 +++++----- 4 files changed, 42 insertions(+), 34 deletions(-) diff --git a/index.d.ts b/index.d.ts index 5eec1d9..96ef91a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -349,7 +349,6 @@ export interface VendorLonghandProperties { MozAnimationTimingFunction?: AnimationTimingFunctionProperty; MozAppearance?: MozAppearanceProperty; MozBackfaceVisibility?: BackfaceVisibilityProperty; - MozBackgroundSize?: BackgroundSizeProperty; MozBinding?: MozBindingProperty; MozBorderBottomColors?: MozBorderBottomColorsProperty; MozBorderEndColor?: BorderInlineEndColorProperty; @@ -384,7 +383,6 @@ export interface VendorLonghandProperties { MozPaddingStart?: PaddingInlineStartProperty; MozPerspective?: PerspectiveProperty; MozPerspectiveOrigin?: PerspectiveOriginProperty; - MozResize?: ResizeProperty; MozStackSizing?: MozStackSizingProperty; MozTabSize?: TabSizeProperty; MozTextBlink?: MozTextBlinkProperty; @@ -628,6 +626,8 @@ export interface ObsoleteProperties { /** @deprecated */ MozBackgroundInlinePolicy?: BoxDecorationBreakProperty; /** @deprecated */ + MozBackgroundSize?: BackgroundSizeProperty; + /** @deprecated */ MozBorderRadius?: BorderRadiusProperty; /** @deprecated */ MozBorderRadiusTopright?: BorderTopRightRadiusProperty; @@ -652,6 +652,8 @@ export interface ObsoleteProperties { /** @deprecated */ MozOutlineWidth?: OutlineWidthProperty; /** @deprecated */ + MozResize?: ResizeProperty; + /** @deprecated */ MozTextAlignLast?: TextAlignLastProperty; /** @deprecated */ MozTextDecorationColor?: TextDecorationColorProperty; @@ -1123,7 +1125,6 @@ export interface VendorLonghandPropertiesHyphen { "-moz-animation-timing-function"?: AnimationTimingFunctionProperty; "-moz-appearance"?: MozAppearanceProperty; "-moz-backface-visibility"?: BackfaceVisibilityProperty; - "-moz-background-size"?: BackgroundSizeProperty; "-moz-binding"?: MozBindingProperty; "-moz-border-bottom-colors"?: MozBorderBottomColorsProperty; "-moz-border-end-color"?: BorderInlineEndColorProperty; @@ -1158,7 +1159,6 @@ export interface VendorLonghandPropertiesHyphen { "-moz-padding-start"?: PaddingInlineStartProperty; "-moz-perspective"?: PerspectiveProperty; "-moz-perspective-origin"?: PerspectiveOriginProperty; - "-moz-resize"?: ResizeProperty; "-moz-stack-sizing"?: MozStackSizingProperty; "-moz-tab-size"?: TabSizeProperty; "-moz-text-blink"?: MozTextBlinkProperty; @@ -1402,6 +1402,8 @@ export interface ObsoletePropertiesHyphen { /** @deprecated */ "-moz-background-inline-policy"?: BoxDecorationBreakProperty; /** @deprecated */ + "-moz-background-size"?: BackgroundSizeProperty; + /** @deprecated */ "-moz-border-radius"?: BorderRadiusProperty; /** @deprecated */ "-moz-border-radius-topright"?: BorderTopRightRadiusProperty; @@ -1426,6 +1428,8 @@ export interface ObsoletePropertiesHyphen { /** @deprecated */ "-moz-outline-width"?: OutlineWidthProperty; /** @deprecated */ + "-moz-resize"?: ResizeProperty; + /** @deprecated */ "-moz-text-align-last"?: TextAlignLastProperty; /** @deprecated */ "-moz-text-decoration-color"?: TextDecorationColorProperty; @@ -1901,7 +1905,6 @@ export interface VendorLonghandPropertiesFallback { MozAnimationTimingFunction?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[]; MozAppearance?: MozAppearanceProperty | MozAppearanceProperty[]; MozBackfaceVisibility?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[]; - MozBackgroundSize?: BackgroundSizeProperty | BackgroundSizeProperty[]; MozBinding?: MozBindingProperty | MozBindingProperty[]; MozBorderBottomColors?: MozBorderBottomColorsProperty | MozBorderBottomColorsProperty[]; MozBorderEndColor?: BorderInlineEndColorProperty | BorderInlineEndColorProperty[]; @@ -1936,7 +1939,6 @@ export interface VendorLonghandPropertiesFallback { MozPaddingStart?: PaddingInlineStartProperty | PaddingInlineStartProperty[]; MozPerspective?: PerspectiveProperty | PerspectiveProperty[]; MozPerspectiveOrigin?: PerspectiveOriginProperty | PerspectiveOriginProperty[]; - MozResize?: ResizeProperty | ResizeProperty[]; MozStackSizing?: MozStackSizingProperty | MozStackSizingProperty[]; MozTabSize?: TabSizeProperty | TabSizeProperty[]; MozTextBlink?: MozTextBlinkProperty | MozTextBlinkProperty[]; @@ -2180,6 +2182,8 @@ export interface ObsoletePropertiesFallback { /** @deprecated */ MozBackgroundInlinePolicy?: BoxDecorationBreakProperty | BoxDecorationBreakProperty[]; /** @deprecated */ + MozBackgroundSize?: BackgroundSizeProperty | BackgroundSizeProperty[]; + /** @deprecated */ MozBorderRadius?: BorderRadiusProperty | BorderRadiusProperty[]; /** @deprecated */ MozBorderRadiusTopright?: BorderTopRightRadiusProperty | BorderTopRightRadiusProperty[]; @@ -2204,6 +2208,8 @@ export interface ObsoletePropertiesFallback { /** @deprecated */ MozOutlineWidth?: OutlineWidthProperty | OutlineWidthProperty[]; /** @deprecated */ + MozResize?: ResizeProperty | ResizeProperty[]; + /** @deprecated */ MozTextAlignLast?: TextAlignLastProperty | TextAlignLastProperty[]; /** @deprecated */ MozTextDecorationColor?: TextDecorationColorProperty | TextDecorationColorProperty[]; @@ -2681,7 +2687,6 @@ export interface VendorLonghandPropertiesHyphenFallback { "-moz-animation-timing-function"?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[]; "-moz-appearance"?: MozAppearanceProperty | MozAppearanceProperty[]; "-moz-backface-visibility"?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[]; - "-moz-background-size"?: BackgroundSizeProperty | BackgroundSizeProperty[]; "-moz-binding"?: MozBindingProperty | MozBindingProperty[]; "-moz-border-bottom-colors"?: MozBorderBottomColorsProperty | MozBorderBottomColorsProperty[]; "-moz-border-end-color"?: BorderInlineEndColorProperty | BorderInlineEndColorProperty[]; @@ -2716,7 +2721,6 @@ export interface VendorLonghandPropertiesHyphenFallback { "-moz-padding-start"?: PaddingInlineStartProperty | PaddingInlineStartProperty[]; "-moz-perspective"?: PerspectiveProperty | PerspectiveProperty[]; "-moz-perspective-origin"?: PerspectiveOriginProperty | PerspectiveOriginProperty[]; - "-moz-resize"?: ResizeProperty | ResizeProperty[]; "-moz-stack-sizing"?: MozStackSizingProperty | MozStackSizingProperty[]; "-moz-tab-size"?: TabSizeProperty | TabSizeProperty[]; "-moz-text-blink"?: MozTextBlinkProperty | MozTextBlinkProperty[]; @@ -2960,6 +2964,8 @@ export interface ObsoletePropertiesHyphenFallback { /** @deprecated */ "-moz-background-inline-policy"?: BoxDecorationBreakProperty | BoxDecorationBreakProperty[]; /** @deprecated */ + "-moz-background-size"?: BackgroundSizeProperty | BackgroundSizeProperty[]; + /** @deprecated */ "-moz-border-radius"?: BorderRadiusProperty | BorderRadiusProperty[]; /** @deprecated */ "-moz-border-radius-topright"?: BorderTopRightRadiusProperty | BorderTopRightRadiusProperty[]; @@ -2984,6 +2990,8 @@ export interface ObsoletePropertiesHyphenFallback { /** @deprecated */ "-moz-outline-width"?: OutlineWidthProperty | OutlineWidthProperty[]; /** @deprecated */ + "-moz-resize"?: ResizeProperty | ResizeProperty[]; + /** @deprecated */ "-moz-text-align-last"?: TextAlignLastProperty | TextAlignLastProperty[]; /** @deprecated */ "-moz-text-decoration-color"?: TextDecorationColorProperty | TextDecorationColorProperty[]; @@ -3356,14 +3364,14 @@ export type AdvancedPseudos = | ":nth-of-type"; export type SimplePseudos = - | "-moz-full-screen" - | "-webkit-full-screen" | ":-moz-any-link" + | ":-moz-full-screen" | ":-moz-placeholder" | ":-moz-read-only" | ":-moz-read-write" | ":-ms-fullscreen" | ":-webkit-any-link" + | ":-webkit-full-screen" | "::-moz-placeholder" | "::-moz-progress-bar" | "::-moz-range-progress" @@ -3958,15 +3966,15 @@ type OutlineStyleProperty = Globals | BrStyle | "auto"; type OutlineWidthProperty = Globals | BrWidth; -type OverflowProperty = Globals | "auto" | "hidden" | "scroll" | "visible"; +type OverflowProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible"; type OverflowClipBoxProperty = Globals | "content-box" | "padding-box"; type OverflowWrapProperty = Globals | "break-word" | "normal"; -type OverflowXProperty = Globals | "auto" | "hidden" | "scroll" | "visible"; +type OverflowXProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible"; -type OverflowYProperty = Globals | "auto" | "hidden" | "scroll" | "visible"; +type OverflowYProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible"; type OverscrollBehaviorProperty = Globals | "auto" | "contain" | "none" | string; diff --git a/index.js.flow b/index.js.flow index 165becb..24be516 100644 --- a/index.js.flow +++ b/index.js.flow @@ -350,7 +350,6 @@ export type VendorLonghandProperties = { MozAnimationTimingFunction?: AnimationTimingFunctionProperty, MozAppearance?: MozAppearanceProperty, MozBackfaceVisibility?: BackfaceVisibilityProperty, - MozBackgroundSize?: BackgroundSizeProperty, MozBinding?: MozBindingProperty, MozBorderBottomColors?: MozBorderBottomColorsProperty, MozBorderEndColor?: BorderInlineEndColorProperty, @@ -385,7 +384,6 @@ export type VendorLonghandProperties = { MozPaddingStart?: PaddingInlineStartProperty, MozPerspective?: PerspectiveProperty, MozPerspectiveOrigin?: PerspectiveOriginProperty, - MozResize?: ResizeProperty, MozStackSizing?: MozStackSizingProperty, MozTabSize?: TabSizeProperty, MozTextBlink?: MozTextBlinkProperty, @@ -609,6 +607,7 @@ export type ObsoleteProperties = { KhtmlBoxOrient?: BoxOrientProperty, KhtmlBoxPack?: BoxPackProperty, MozBackgroundInlinePolicy?: BoxDecorationBreakProperty, + MozBackgroundSize?: BackgroundSizeProperty, MozBorderRadius?: BorderRadiusProperty, MozBorderRadiusTopright?: BorderTopRightRadiusProperty, MozBoxDirection?: BoxDirectionProperty, @@ -621,6 +620,7 @@ export type ObsoleteProperties = { MozOutlineColor?: OutlineColorProperty, MozOutlineStyle?: OutlineStyleProperty, MozOutlineWidth?: OutlineWidthProperty, + MozResize?: ResizeProperty, MozTextAlignLast?: TextAlignLastProperty, MozTextDecorationColor?: TextDecorationColorProperty, MozTextDecorationLine?: TextDecorationLineProperty, @@ -1066,7 +1066,6 @@ export type VendorLonghandPropertiesHyphen = { "-moz-animation-timing-function"?: AnimationTimingFunctionProperty, "-moz-appearance"?: MozAppearanceProperty, "-moz-backface-visibility"?: BackfaceVisibilityProperty, - "-moz-background-size"?: BackgroundSizeProperty, "-moz-binding"?: MozBindingProperty, "-moz-border-bottom-colors"?: MozBorderBottomColorsProperty, "-moz-border-end-color"?: BorderInlineEndColorProperty, @@ -1101,7 +1100,6 @@ export type VendorLonghandPropertiesHyphen = { "-moz-padding-start"?: PaddingInlineStartProperty, "-moz-perspective"?: PerspectiveProperty, "-moz-perspective-origin"?: PerspectiveOriginProperty, - "-moz-resize"?: ResizeProperty, "-moz-stack-sizing"?: MozStackSizingProperty, "-moz-tab-size"?: TabSizeProperty, "-moz-text-blink"?: MozTextBlinkProperty, @@ -1325,6 +1323,7 @@ export type ObsoletePropertiesHyphen = { "-khtml-box-orient"?: BoxOrientProperty, "-khtml-box-pack"?: BoxPackProperty, "-moz-background-inline-policy"?: BoxDecorationBreakProperty, + "-moz-background-size"?: BackgroundSizeProperty, "-moz-border-radius"?: BorderRadiusProperty, "-moz-border-radius-topright"?: BorderTopRightRadiusProperty, "-moz-box-direction"?: BoxDirectionProperty, @@ -1337,6 +1336,7 @@ export type ObsoletePropertiesHyphen = { "-moz-outline-color"?: OutlineColorProperty, "-moz-outline-style"?: OutlineStyleProperty, "-moz-outline-width"?: OutlineWidthProperty, + "-moz-resize"?: ResizeProperty, "-moz-text-align-last"?: TextAlignLastProperty, "-moz-text-decoration-color"?: TextDecorationColorProperty, "-moz-text-decoration-line"?: TextDecorationLineProperty, @@ -1785,7 +1785,6 @@ export type VendorLonghandPropertiesFallback = { MozAnimationTimingFunction?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[], MozAppearance?: MozAppearanceProperty | MozAppearanceProperty[], MozBackfaceVisibility?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[], - MozBackgroundSize?: BackgroundSizeProperty | BackgroundSizeProperty[], MozBinding?: MozBindingProperty | MozBindingProperty[], MozBorderBottomColors?: MozBorderBottomColorsProperty | MozBorderBottomColorsProperty[], MozBorderEndColor?: BorderInlineEndColorProperty | BorderInlineEndColorProperty[], @@ -1820,7 +1819,6 @@ export type VendorLonghandPropertiesFallback = { MozPaddingStart?: PaddingInlineStartProperty | PaddingInlineStartProperty[], MozPerspective?: PerspectiveProperty | PerspectiveProperty[], MozPerspectiveOrigin?: PerspectiveOriginProperty | PerspectiveOriginProperty[], - MozResize?: ResizeProperty | ResizeProperty[], MozStackSizing?: MozStackSizingProperty | MozStackSizingProperty[], MozTabSize?: TabSizeProperty | TabSizeProperty[], MozTextBlink?: MozTextBlinkProperty | MozTextBlinkProperty[], @@ -2044,6 +2042,7 @@ export type ObsoletePropertiesFallback = { KhtmlBoxOrient?: BoxOrientProperty | BoxOrientProperty[], KhtmlBoxPack?: BoxPackProperty | BoxPackProperty[], MozBackgroundInlinePolicy?: BoxDecorationBreakProperty | BoxDecorationBreakProperty[], + MozBackgroundSize?: BackgroundSizeProperty | BackgroundSizeProperty[], MozBorderRadius?: BorderRadiusProperty | BorderRadiusProperty[], MozBorderRadiusTopright?: BorderTopRightRadiusProperty | BorderTopRightRadiusProperty[], MozBoxDirection?: BoxDirectionProperty | BoxDirectionProperty[], @@ -2056,6 +2055,7 @@ export type ObsoletePropertiesFallback = { MozOutlineColor?: OutlineColorProperty | OutlineColorProperty[], MozOutlineStyle?: OutlineStyleProperty | OutlineStyleProperty[], MozOutlineWidth?: OutlineWidthProperty | OutlineWidthProperty[], + MozResize?: ResizeProperty | ResizeProperty[], MozTextAlignLast?: TextAlignLastProperty | TextAlignLastProperty[], MozTextDecorationColor?: TextDecorationColorProperty | TextDecorationColorProperty[], MozTextDecorationLine?: TextDecorationLineProperty | TextDecorationLineProperty[], @@ -2504,7 +2504,6 @@ export type VendorLonghandPropertiesHyphenFallback = { "-moz-animation-timing-function"?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[], "-moz-appearance"?: MozAppearanceProperty | MozAppearanceProperty[], "-moz-backface-visibility"?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[], - "-moz-background-size"?: BackgroundSizeProperty | BackgroundSizeProperty[], "-moz-binding"?: MozBindingProperty | MozBindingProperty[], "-moz-border-bottom-colors"?: MozBorderBottomColorsProperty | MozBorderBottomColorsProperty[], "-moz-border-end-color"?: BorderInlineEndColorProperty | BorderInlineEndColorProperty[], @@ -2539,7 +2538,6 @@ export type VendorLonghandPropertiesHyphenFallback = { "-moz-padding-start"?: PaddingInlineStartProperty | PaddingInlineStartProperty[], "-moz-perspective"?: PerspectiveProperty | PerspectiveProperty[], "-moz-perspective-origin"?: PerspectiveOriginProperty | PerspectiveOriginProperty[], - "-moz-resize"?: ResizeProperty | ResizeProperty[], "-moz-stack-sizing"?: MozStackSizingProperty | MozStackSizingProperty[], "-moz-tab-size"?: TabSizeProperty | TabSizeProperty[], "-moz-text-blink"?: MozTextBlinkProperty | MozTextBlinkProperty[], @@ -2763,6 +2761,7 @@ export type ObsoletePropertiesHyphenFallback = { "-khtml-box-orient"?: BoxOrientProperty | BoxOrientProperty[], "-khtml-box-pack"?: BoxPackProperty | BoxPackProperty[], "-moz-background-inline-policy"?: BoxDecorationBreakProperty | BoxDecorationBreakProperty[], + "-moz-background-size"?: BackgroundSizeProperty | BackgroundSizeProperty[], "-moz-border-radius"?: BorderRadiusProperty | BorderRadiusProperty[], "-moz-border-radius-topright"?: BorderTopRightRadiusProperty | BorderTopRightRadiusProperty[], "-moz-box-direction"?: BoxDirectionProperty | BoxDirectionProperty[], @@ -2775,6 +2774,7 @@ export type ObsoletePropertiesHyphenFallback = { "-moz-outline-color"?: OutlineColorProperty | OutlineColorProperty[], "-moz-outline-style"?: OutlineStyleProperty | OutlineStyleProperty[], "-moz-outline-width"?: OutlineWidthProperty | OutlineWidthProperty[], + "-moz-resize"?: ResizeProperty | ResizeProperty[], "-moz-text-align-last"?: TextAlignLastProperty | TextAlignLastProperty[], "-moz-text-decoration-color"?: TextDecorationColorProperty | TextDecorationColorProperty[], "-moz-text-decoration-line"?: TextDecorationLineProperty | TextDecorationLineProperty[], @@ -3120,14 +3120,14 @@ export type AdvancedPseudos = | ":nth-of-type"; export type SimplePseudos = - | "-moz-full-screen" - | "-webkit-full-screen" | ":-moz-any-link" + | ":-moz-full-screen" | ":-moz-placeholder" | ":-moz-read-only" | ":-moz-read-write" | ":-ms-fullscreen" | ":-webkit-any-link" + | ":-webkit-full-screen" | "::-moz-placeholder" | "::-moz-progress-bar" | "::-moz-range-progress" @@ -3722,15 +3722,15 @@ type OutlineStyleProperty = Globals | BrStyle | "auto"; type OutlineWidthProperty = Globals | BrWidth; -type OverflowProperty = Globals | "auto" | "hidden" | "scroll" | "visible"; +type OverflowProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible"; type OverflowClipBoxProperty = Globals | "content-box" | "padding-box"; type OverflowWrapProperty = Globals | "break-word" | "normal"; -type OverflowXProperty = Globals | "auto" | "hidden" | "scroll" | "visible"; +type OverflowXProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible"; -type OverflowYProperty = Globals | "auto" | "hidden" | "scroll" | "visible"; +type OverflowYProperty = Globals | "auto" | "clip" | "hidden" | "scroll" | "visible"; type OverscrollBehaviorProperty = Globals | "auto" | "contain" | "none" | string; diff --git a/package.json b/package.json index e1c9409..f4b1c49 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "chokidar": "^2.0.0", "flow-bin": "^0.69.0", "jest": "^22.2.1", - "mdn-browser-compat-data": "0.0.30", - "mdn-data": "1.1.1", + "mdn-browser-compat-data": "git+https://github.com/mdn/browser-compat-data.git#3ab7b502352239d2131571d7463e098d2317532d", + "mdn-data": "git+https://github.com/mdn/data.git#af0369d9445c7e6f44f818d2034ccac16f328da9", "prettier": "^1.10.2", "ts-node": "^5.0.1", "tslint": "^5.9.1", @@ -32,7 +32,7 @@ "test": "jest --no-cache", "typecheck": "tsc typecheck.ts --noEmit --pretty & flow check typecheck.js", "prepublish": "tsc && npm run test && npm run build && npm run typecheck", - "rebase-build": "git rebase -s recursive -X theirs --exec \"yarn build && git commit -a --amend --no-verify --no-edit --allow-empty\"" + "rebase-build": "git rebase -s recursive -X theirs --exec \"yarn --ignore-scripts && yarn build && git commit -a --amend --no-verify --no-edit --allow-empty\"" }, "files": [ "index.d.ts", diff --git a/yarn.lock b/yarn.lock index 3969202..a563677 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2083,15 +2083,15 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -mdn-browser-compat-data@0.0.30: - version "0.0.30" - resolved "https://registry.yarnpkg.com/mdn-browser-compat-data/-/mdn-browser-compat-data-0.0.30.tgz#6cd9f14ff475dd503b45cac094b65524519dfae7" +"mdn-browser-compat-data@git+https://github.com/mdn/browser-compat-data.git#3ab7b502352239d2131571d7463e098d2317532d": + version "0.0.31" + resolved "git+https://github.com/mdn/browser-compat-data.git#3ab7b502352239d2131571d7463e098d2317532d" dependencies: extend "3.0.1" -mdn-data@1.1.1: +"mdn-data@git+https://github.com/mdn/data.git#af0369d9445c7e6f44f818d2034ccac16f328da9": version "1.1.1" - resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-1.1.1.tgz#79586c90321787e5a2e51eb6823bb448949bc1ab" + resolved "git+https://github.com/mdn/data.git#af0369d9445c7e6f44f818d2034ccac16f328da9" mem@^1.1.0: version "1.1.0"