ecma.json (hoppscotch-2.2.1) | : | ecma.json (hoppscotch-3.0.0) | ||
---|---|---|---|---|
skipping to change at line 284 | skipping to change at line 284 | |||
"!type": "fn(obj: ?) -> bool" | "!type": "fn(obj: ?) -> bool" | |||
} | } | |||
} | } | |||
}, | }, | |||
"Function": { | "Function": { | |||
"!type": "fn(body: string) -> fn()", | "!type": "fn(body: string) -> fn()", | |||
"prototype": { | "prototype": { | |||
"!stdProto": "Function", | "!stdProto": "Function", | |||
"apply": { | "apply": { | |||
"!type": "fn(this: ?, args: [?])", | "!type": "fn(this: ?, args: [?])", | |||
"!effects": [ | "!effects": ["call and return !this this=!0 !1.<i> !1.<i> !1.<i>"] | |||
"call and return !this this=!0 !1.<i> !1.<i> !1.<i>" | ||||
] | ||||
}, | }, | |||
"call": { | "call": { | |||
"!type": "fn(this: ?, args?: ?) -> !this.!ret", | "!type": "fn(this: ?, args?: ?) -> !this.!ret", | |||
"!effects": [ | "!effects": ["call and return !this this=!0 !1 !2 !3 !4"] | |||
"call and return !this this=!0 !1 !2 !3 !4" | ||||
] | ||||
}, | }, | |||
"bind": { | "bind": { | |||
"!type": "fn(this: ?, args?: ?) -> !custom:Function_bind" | "!type": "fn(this: ?, args?: ?) -> !custom:Function_bind" | |||
}, | }, | |||
"prototype": "?" | "prototype": "?" | |||
} | } | |||
}, | }, | |||
"Array": { | "Array": { | |||
"!type": "fn(size: number) -> !custom:Array_ctor", | "!type": "fn(size: number) -> !custom:Array_ctor", | |||
"isArray": { | "isArray": { | |||
"!type": "fn(value: ?) -> bool" | "!type": "fn(value: ?) -> bool" | |||
}, | }, | |||
"from": { | "from": { | |||
"!type": "fn(arrayLike: ?, mapFn?: fn(elt: ?, i: number) -> ?, thisArg?: ? ) -> [!0.<i>]", | "!type": "fn(arrayLike: ?, mapFn?: fn(elt: ?, i: number) -> ?, thisArg?: ? ) -> [!0.<i>]", | |||
"!effects": [ | "!effects": ["call !1 this=!2 !0.<i> number"] | |||
"call !1 this=!2 !0.<i> number" | ||||
] | ||||
}, | }, | |||
"of": { | "of": { | |||
"!type": "fn(elementN: ?) -> [!0]" | "!type": "fn(elementN: ?) -> [!0]" | |||
}, | }, | |||
"prototype": { | "prototype": { | |||
"!stdProto": "Array", | "!stdProto": "Array", | |||
"length": { | "length": { | |||
"!type": "number" | "!type": "number" | |||
}, | }, | |||
"concat": { | "concat": { | |||
skipping to change at line 333 | skipping to change at line 327 | |||
"!type": "fn(separator?: string) -> string" | "!type": "fn(separator?: string) -> string" | |||
}, | }, | |||
"splice": { | "splice": { | |||
"!type": "fn(pos: number, amount: number, newelt?: ?) -> [?]" | "!type": "fn(pos: number, amount: number, newelt?: ?) -> [?]" | |||
}, | }, | |||
"pop": { | "pop": { | |||
"!type": "fn() -> !this.<i>" | "!type": "fn() -> !this.<i>" | |||
}, | }, | |||
"push": { | "push": { | |||
"!type": "fn(newelt: ?) -> number", | "!type": "fn(newelt: ?) -> number", | |||
"!effects": [ | "!effects": ["propagate !0 !this.<i>"] | |||
"propagate !0 !this.<i>" | ||||
] | ||||
}, | }, | |||
"shift": { | "shift": { | |||
"!type": "fn() -> !this.<i>" | "!type": "fn() -> !this.<i>" | |||
}, | }, | |||
"unshift": { | "unshift": { | |||
"!type": "fn(newelt: ?) -> number", | "!type": "fn(newelt: ?) -> number", | |||
"!effects": [ | "!effects": ["propagate !0 !this.<i>"] | |||
"propagate !0 !this.<i>" | ||||
] | ||||
}, | }, | |||
"slice": { | "slice": { | |||
"!type": "fn(from?: number, to?: number) -> !this" | "!type": "fn(from?: number, to?: number) -> !this" | |||
}, | }, | |||
"reverse": { | "reverse": { | |||
"!type": "fn()" | "!type": "fn()" | |||
}, | }, | |||
"sort": { | "sort": { | |||
"!type": "fn(compare?: fn(a: ?, b: ?) -> number)", | "!type": "fn(compare?: fn(a: ?, b: ?) -> number)", | |||
"!effects": [ | "!effects": ["call !0 !this.<i> !this.<i>"] | |||
"call !0 !this.<i> !this.<i>" | ||||
] | ||||
}, | }, | |||
"indexOf": { | "indexOf": { | |||
"!type": "fn(elt: ?, from?: number) -> number" | "!type": "fn(elt: ?, from?: number) -> number" | |||
}, | }, | |||
"lastIndexOf": { | "lastIndexOf": { | |||
"!type": "fn(elt: ?, from?: number) -> number" | "!type": "fn(elt: ?, from?: number) -> number" | |||
}, | }, | |||
"every": { | "every": { | |||
"!type": "fn(test: fn(elt: ?, i: number, array: +Array) -> bool, context ?: ?) -> bool", | "!type": "fn(test: fn(elt: ?, i: number, array: +Array) -> bool, context ?: ?) -> bool", | |||
"!effects": [ | "!effects": ["call !0 this=!1 !this.<i> number !this"] | |||
"call !0 this=!1 !this.<i> number !this" | ||||
] | ||||
}, | }, | |||
"some": { | "some": { | |||
"!type": "fn(test: fn(elt: ?, i: number, array: +Array) -> bool, context ?: ?) -> bool", | "!type": "fn(test: fn(elt: ?, i: number, array: +Array) -> bool, context ?: ?) -> bool", | |||
"!effects": [ | "!effects": ["call !0 this=!1 !this.<i> number !this"] | |||
"call !0 this=!1 !this.<i> number !this" | ||||
] | ||||
}, | }, | |||
"filter": { | "filter": { | |||
"!type": "fn(test: fn(elt: ?, i: number, array: +Array) -> bool, context ?: ?) -> !this", | "!type": "fn(test: fn(elt: ?, i: number, array: +Array) -> bool, context ?: ?) -> !this", | |||
"!effects": [ | "!effects": ["call !0 this=!1 !this.<i> number !this"] | |||
"call !0 this=!1 !this.<i> number !this" | ||||
] | ||||
}, | }, | |||
"forEach": { | "forEach": { | |||
"!type": "fn(f: fn(elt: ?, i: number, array: +Array), context?: ?)", | "!type": "fn(f: fn(elt: ?, i: number, array: +Array), context?: ?)", | |||
"!effects": [ | "!effects": ["call !0 this=!1 !this.<i> number !this"] | |||
"call !0 this=!1 !this.<i> number !this" | ||||
] | ||||
}, | }, | |||
"map": { | "map": { | |||
"!type": "fn(f: fn(elt: ?, i: number, array: +Array) -> ?, context?: ?) -> [!0.!ret]", | "!type": "fn(f: fn(elt: ?, i: number, array: +Array) -> ?, context?: ?) -> [!0.!ret]", | |||
"!effects": [ | "!effects": ["call !0 this=!1 !this.<i> number !this"] | |||
"call !0 this=!1 !this.<i> number !this" | ||||
] | ||||
}, | }, | |||
"reduce": { | "reduce": { | |||
"!type": "fn(combine: fn(sum: ?, elt: ?, i: number, array: +Array) -> ?, init?: ?) -> !0.!ret", | "!type": "fn(combine: fn(sum: ?, elt: ?, i: number, array: +Array) -> ?, init?: ?) -> !0.!ret", | |||
"!effects": [ | "!effects": ["call !0 !1 !this.<i> number !this"] | |||
"call !0 !1 !this.<i> number !this" | ||||
] | ||||
}, | }, | |||
"reduceRight": { | "reduceRight": { | |||
"!type": "fn(combine: fn(sum: ?, elt: ?, i: number, array: +Array) -> ?, init?: ?) -> !0.!ret", | "!type": "fn(combine: fn(sum: ?, elt: ?, i: number, array: +Array) -> ?, init?: ?) -> !0.!ret", | |||
"!effects": [ | "!effects": ["call !0 !1 !this.<i> number !this"] | |||
"call !0 !1 !this.<i> number !this" | ||||
] | ||||
}, | }, | |||
"copyWithin": { | "copyWithin": { | |||
"!type": "fn(target: number, start: number, end?: number) -> !this" | "!type": "fn(target: number, start: number, end?: number) -> !this" | |||
}, | }, | |||
"entries": { | "entries": { | |||
"!type": "fn() -> +iter[:t=[number, !this.<i>]]" | "!type": "fn() -> +iter[:t=[number, !this.<i>]]" | |||
}, | }, | |||
"fill": { | "fill": { | |||
"!type": "fn(value: ?, start?: number, end?: number) -> !this" | "!type": "fn(value: ?, start?: number, end?: number) -> !this" | |||
}, | }, | |||
skipping to change at line 800 | skipping to change at line 774 | |||
}, | }, | |||
"setMilliseconds": { | "setMilliseconds": { | |||
"!type": "fn(ms: number) -> number" | "!type": "fn(ms: number) -> number" | |||
}, | }, | |||
"setUTCMilliseconds": { | "setUTCMilliseconds": { | |||
"!type": "fn(ms: number) -> number" | "!type": "fn(ms: number) -> number" | |||
}, | }, | |||
"toJSON": { | "toJSON": { | |||
"!type": "fn() -> string" | "!type": "fn() -> string" | |||
} | } | |||
} | }, | |||
"nested_overflow": "nested environment variables are limited to 10 levels" | ||||
}, | }, | |||
"Error": { | "error": { | |||
"!type": "fn(message: string)", | "!type": "fn(message: string)", | |||
"prototype": { | "prototype": { | |||
"name": { | "name": { | |||
"!type": "string" | "!type": "string" | |||
}, | }, | |||
"message": { | "message": { | |||
"!type": "string" | "!type": "string" | |||
} | } | |||
} | } | |||
}, | }, | |||
End of changes. 15 change blocks. | ||||
41 lines changed or deleted | 16 lines changed or added |