Skip to content
Myr

feat: convert Immer to TypeScript

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Should have no observable changes in behavior for consumers, but marking as minor just in case :)

authored by Michel Weststrate · committed by GitHub · parents 8bc21c8, c879e2d · Browse files · 27 files+3755 added−2613 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

27 files+3755 added−2613 removed

  • tests:+329 added−308 removed
  • other:+3426 added−2305 removed

27 files+3755 added−2613 removed

modified:__tests__/draft.ts+246 added-242 removed
1import {assert, _} from "spec.ts"2import {Draft} from "../dist/immer.js"2import {Draft} from "../src/index"34// For checking if a type is assignable to its draft type (and vice versa)5declare const toDraft: <T>(value: T) => Draft<T>6declare const fromDraft: <T>(draft: Draft<T>) => T5const toDraft: <T>(value: T) => Draft<T> = x => x as any6const fromDraft: <T>(draft: Draft<T>) => T = x => x as any78test("draft.ts", () => {8// DraftArray<T>9{10 // NOTE: As of 3.2.2, everything fails without "extends any"11 ;<Value extends any>(val: ReadonlyArray<Value>) => {12 val = _ as Draft<typeof val>13 let elem: Value = _ as Draft<Value>9 // DraftArray<T>10 {11 // NOTE: As of 3.2.2, everything fails without "extends any"12 ;<Value extends any>(val: ReadonlyArray<Value>) => {13 val = _ as Draft<typeof val>14 let elem: Value = _ as Draft<Value>15 }16 }15}1717// Tuple18{19 let val: [1, 2] = _20 assert(toDraft(val), val)21 assert(fromDraft(toDraft(val)), val)22}18 // Tuple19 {20 let val: [1, 2] = _21 assert(toDraft(val), val)22 assert(fromDraft(toDraft(val)), val)23 }2424// Tuple (nested in a tuple)25{26 let val: [[1, 2]] = _27 assert(toDraft(val), val)28 assert(fromDraft(toDraft(val)), val)29}25 // Tuple (nested in a tuple)26 {27 let val: [[1, 2]] = _28 assert(toDraft(val), val)29 assert(fromDraft(toDraft(val)), val)30 }3131// Tuple (nested in two mutable arrays)32{33 let val: [1, 2][][] = _34 let draft: typeof val = _35 val = assert(toDraft(val), draft)36 assert(fromDraft(draft), val)37}32 // Tuple (nested in two mutable arrays)33 {34 let val: [1, 2][][] = _35 let draft: typeof val = _36 val = assert(toDraft(val), draft)37 assert(fromDraft(draft), val)38 }3939// Tuple (nested in two readonly arrays)40{41 let val: ReadonlyArray<ReadonlyArray<[1, 2]>> = _42 let draft: [1, 2][][] = _43 val = assert(toDraft(val), draft)44}40 // Tuple (nested in two readonly arrays)41 {42 let val: ReadonlyArray<ReadonlyArray<[1, 2]>> = _43 let draft: [1, 2][][] = _44 val = assert(toDraft(val), draft)45 }4646// Readonly tuple47{48 // TODO: Uncomment this when readonly tuples are supported.49 // More info: https://stackoverflow.com/a/53822074/222855950 // let val: Readonly<[1, 2]> = _51 // let draft: [1, 2] = _52 // draft = assert(toDraft(val), draft)53 // val = fromDraft(draft)54}47 // Readonly tuple48 {49 // TODO: Uncomment this when readonly tuples are supported.50 // More info: https://stackoverflow.com/a/53822074/222855951 // let val: Readonly<[1, 2]> = _52 // let draft: [1, 2] = _53 // draft = assert(toDraft(val), draft)54 // val = fromDraft(draft)55 }5656// Mutable array57{58 let val: string[] = _59 assert(toDraft(val), val)60 assert(fromDraft(toDraft(val)), val)61}57 // Mutable array58 {59 let val: string[] = _60 assert(toDraft(val), val)61 assert(fromDraft(toDraft(val)), val)62 }6363// Mutable array (nested in tuple)64{65 let val: [string[]] = _66 assert(toDraft(val), val)67 assert(fromDraft(toDraft(val)), val)68}64 // Mutable array (nested in tuple)65 {66 let val: [string[]] = _67 assert(toDraft(val), val)68 assert(fromDraft(toDraft(val)), val)69 }7070// Readonly array71{72 let val: ReadonlyArray<string> = _73 let draft: string[] = _74 val = assert(toDraft(val), draft)75 fromDraft(draft)76}71 // Readonly array72 {73 let val: ReadonlyArray<string> = _74 let draft: string[] = _75 val = assert(toDraft(val), draft)76 fromDraft(draft)77 }7878// Readonly array (nested in readonly object)79{80 let val: {readonly a: ReadonlyArray<string>} = _81 let draft: {a: string[]} = _82 val = assert(toDraft(val), draft)83 fromDraft(draft)84}79 // Readonly array (nested in readonly object)80 {81 let val: {readonly a: ReadonlyArray<string>} = _82 let draft: {a: string[]} = _83 val = assert(toDraft(val), draft)84 fromDraft(draft)85 }8686// Mutable object87{88 let val: {a: 1} = _89 assert(toDraft(val), val)90 assert(fromDraft(toDraft(val)), val)91}87 // Mutable object88 {89 let val: {a: 1} = _90 assert(toDraft(val), val)91 assert(fromDraft(toDraft(val)), val)92 }9393// Mutable object (nested in mutable object)94{95 let val: {a: {b: 1}} = _96 assert(toDraft(val), val)97 assert(fromDraft(toDraft(val)), val)98}94 // Mutable object (nested in mutable object)95 {96 let val: {a: {b: 1}} = _97 assert(toDraft(val), val)98 assert(fromDraft(toDraft(val)), val)99 }100100// Interface101{102 interface Foo {103 a: {b: number}101 // Interface102 {103 interface Foo {104 a: {b: number}105 }106 let val: Foo = _107 assert(toDraft(val), val)108 assert(fromDraft(toDraft(val)), val)109 }105 let val: Foo = _106 assert(toDraft(val), val)107 assert(fromDraft(toDraft(val)), val)108}110110// Interface (nested in interface)111{112 interface Foo {113 a: {b: number}111 // Interface (nested in interface)112 {113 interface Foo {114 a: {b: number}115 }116 interface Bar {117 foo: Foo118 }119 let val: Bar = _120 assert(toDraft(val), val)121 assert(fromDraft(toDraft(val)), val)122 }115 interface Bar {116 foo: Foo123124 // Readonly object125 {126 let val: {readonly a: 1} = _127 let draft: {a: 1} = _128 val = assert(toDraft(val), draft)129 }118 let val: Bar = _119 assert(toDraft(val), val)120 assert(fromDraft(toDraft(val)), val)121}130123// Readonly object124{125 let val: {readonly a: 1} = _126 let draft: {a: 1} = _127 val = assert(toDraft(val), draft)128}131 // Readonly object (nested in tuple)132 {133 let val: [{readonly a: 1}] = _134 let draft: [{a: 1}] = _135 val = assert(toDraft(val), draft)136 }137130// Readonly object (nested in tuple)131{132 let val: [{readonly a: 1}] = _133 let draft: [{a: 1}] = _134 val = assert(toDraft(val), draft)135}138 // Loose function139 {140 let val: Function = _141 assert(toDraft(val), val)142 assert(fromDraft(toDraft(val)), val)143 }144137// Loose function138{139 let val: Function = _140 assert(toDraft(val), val)141 assert(fromDraft(toDraft(val)), val)142}145 // Strict function146 {147 let val: () => void = _148 assert(toDraft(val), val)149 assert(fromDraft(toDraft(val)), val)150 }151144// Strict function145{146 let val: () => void = _147 assert(toDraft(val), val)148 assert(fromDraft(toDraft(val)), val)149}150151// Class type (mutable)152{153 class Foo {154 private test: any155 constructor(public bar: string) {}152 // Class type (mutable)153 {154 class Foo {155 private test: any156 constructor(public bar: string) {}157 }158 let val: Foo = _159 // TODO: Uncomment this when plain object types can be distinguished from class types.160 // More info here: https://github.com/Microsoft/TypeScript/issues/29063161 // assert(toDraft(val), val)162 // assert(fromDraft(toDraft(val)), val)163 }157 let val: Foo = _158 // TODO: Uncomment this when plain object types can be distinguished from class types.159 // More info here: https://github.com/Microsoft/TypeScript/issues/29063160 // assert(toDraft(val), val)161 // assert(fromDraft(toDraft(val)), val)162}164164// Class type (readonly)165{166 class Foo {167 private test: any168 constructor(readonly bar: string) {}165 // Class type (readonly)166 {167 class Foo {168 private test: any169 constructor(readonly bar: string) {}170 }171 let val: Foo = _172 // TODO: Uncomment this when plain object types can be distinguished from class types.173 // More info here: https://github.com/Microsoft/TypeScript/issues/29063174 // assert(toDraft(val), val)175 // assert(fromDraft(toDraft(val)), val)176 }170 let val: Foo = _171 // TODO: Uncomment this when plain object types can be distinguished from class types.172 // More info here: https://github.com/Microsoft/TypeScript/issues/29063173 // assert(toDraft(val), val)174 // assert(fromDraft(toDraft(val)), val)175}177177// Map instance178{179 let val: Map<any, any> = _180 assert(toDraft(val), val)181 assert(fromDraft(toDraft(val)), val)178 // Map instance179 {180 let val: Map<any, any> = _181 assert(toDraft(val), val)182 assert(fromDraft(toDraft(val)), val)183183 // Weak maps184 let weak: WeakMap<any, any> = _185 assert(toDraft(weak), weak)186 assert(fromDraft(toDraft(weak)), weak)187}184 // Weak maps185 let weak: WeakMap<any, any> = _186 assert(toDraft(weak), weak)187 assert(fromDraft(toDraft(weak)), weak)188 }189189// Set instance190{191 let val: Set<any> = _192 assert(toDraft(val), val)193 assert(fromDraft(toDraft(val)), val)190 // Set instance191 {192 let val: Set<any> = _193 assert(toDraft(val), val)194 assert(fromDraft(toDraft(val)), val)195195 // Weak sets196 let weak: WeakSet<any> = _197 assert(toDraft(weak), weak)198 assert(fromDraft(toDraft(weak)), weak)199}196 // Weak sets197 let weak: WeakSet<any> = _198 assert(toDraft(weak), weak)199 assert(fromDraft(toDraft(weak)), weak)200 }201201// Promise object202{203 let val: Promise<any> = _204 assert(toDraft(val), val)205 assert(fromDraft(toDraft(val)), val)206}202 // Promise object203 {204 let val: Promise<any> = _205 assert(toDraft(val), val)206 assert(fromDraft(toDraft(val)), val)207 }208208// Date instance209{210 let val: Date = _211 assert(toDraft(val), val)212 assert(fromDraft(toDraft(val)), val)213}209 // Date instance210 {211 let val: Date = _212 assert(toDraft(val), val)213 assert(fromDraft(toDraft(val)), val)214 }215215// RegExp instance216{217 let val: RegExp = _218 assert(toDraft(val), val)219 assert(fromDraft(toDraft(val)), val)220}216 // RegExp instance217 {218 let val: RegExp = _219 assert(toDraft(val), val)220 assert(fromDraft(toDraft(val)), val)221 }222222// Boxed primitive223{224 let val: Boolean = _225 assert(toDraft(val), val)226 assert(fromDraft(toDraft(val)), val)227}223 // Boxed primitive224 {225 let val: Boolean = _226 assert(toDraft(val), val)227 assert(fromDraft(toDraft(val)), val)228 }229229// String literal230{231 let val: string = _232 assert(toDraft(val), val)233 assert(fromDraft(toDraft(val)), val)234}230 // String literal231 {232 let val: string = _233 assert(toDraft(val), val)234 assert(fromDraft(toDraft(val)), val)235 }236236// Any237{238 let val: any = _239 assert(toDraft(val), val)240 assert(fromDraft(toDraft(val)), val)241}237 // Any238 {239 let val: any = _240 assert(toDraft(val), val)241 assert(fromDraft(toDraft(val)), val)242 }243243// Never244{245 let val: never = _ as never246 assert(toDraft(val), val)247 assert(fromDraft(toDraft(val)), val)248}244 // Never245 {246 let val: never = _ as never247 assert(toDraft(val), val)248 assert(fromDraft(toDraft(val)), val)249 }250250// Unknown251{252 let val: unknown = _253 assert(toDraft(val), val)254 assert(fromDraft(toDraft(val)), val)255}251 // Unknown252 {253 let val: unknown = _254 assert(toDraft(val), val)255 assert(fromDraft(toDraft(val)), val)256 }257257// Numeral258{259 let val: 1 = _260 assert(toDraft(val), val)261 assert(fromDraft(toDraft(val)), val)262}258 // Numeral259 {260 let val: 1 = _261 assert(toDraft(val), val)262 assert(fromDraft(toDraft(val)), val)263 }264264// Union of numerals265{266 let val: 1 | 2 | 3 = _267 assert(toDraft(val), val)268 assert(fromDraft(toDraft(val)), val)269}265 // Union of numerals266 {267 let val: 1 | 2 | 3 = _268 assert(toDraft(val), val)269 assert(fromDraft(toDraft(val)), val)270 }271271// Union of tuple, array, object272{273 let val: [0] | ReadonlyArray<string> | Readonly<{a: 1}> = _274 let draft: [0] | string[] | {a: 1} = _275 val = assert(toDraft(val), draft)276}277278// Generic type279{280 // NOTE: "extends any" only helps a little.281 const $ = <T extends any>(val: ReadonlyArray<T>) => {282 let draft: Draft<typeof val> = _272 // Union of tuple, array, object273 {274 let val: [0] | ReadonlyArray<string> | Readonly<{a: 1}> = _275 let draft: [0] | string[] | {a: 1} = _276 val = assert(toDraft(val), draft)284 // $ExpectError: [ts] Argument of type 'DraftArray<T>' is not assignable to parameter of type 'Draft<T>'. [2345]285 // assert(fromDraft(draft), draft)277 }278279 // Generic type280 {281 // NOTE: "extends any" only helps a little.282 const $ = <T extends any>(val: ReadonlyArray<T>) => {283 let draft: Draft<typeof val> = _284 val = assert(toDraft(val), draft)285 // $ExpectError: [ts] Argument of type 'DraftArray<T>' is not assignable to parameter of type 'Draft<T>'. [2345]286 // assert(fromDraft(draft), draft)287}287 }288 }289290 expect(true).toBe(true)291})
added:__tests__/empty.ts+13 added
modified:__tests__/immutable.ts+50 added-46 removed
deleted:__tests__/null-base.js-11 removed
added:__tests__/null.js+11 added
modified:__tests__/produce.ts+9 added-9 removed
4 unmodified lines
5 Patch,6 nothing,7 Draft,8 Immutable9} from "../dist/immer.js"9} from "../src/"1011interface State {12 readonly num: number13 readonly foo?: string
210 unmodified lines
224 assert(result, _ as number)225})226227it("works with return type of: number | undefined", () => {228 let base = _ as {a: number}228 let base = {a: 0} as {a: number}229 let result = produce(base, draft => {230 return draft.a < 0 ? 0 : undefined231 })232 assert(result, _ as {a: number} | number)233})234235it("can return an object type that is identical to the base type", () => {236 let base = _ as {a: number}236 let base = {a: 0} as {a: number}237 let result = produce(base, draft => {238 return draft.a < 0 ? {a: 0} : undefined239 })240 // TODO: Can we resolve the weird union of identical object types?241 assert(result, _ as {a: number} | {a: number})242})243244it("can return an object type that is _not_ assignable to the base type", () => {245 let base = _ as {a: number}245 let base = {a: 0} as {a: number}246 let result = produce(base, draft => {247 return draft.a < 0 ? {a: true} : undefined248 })249 assert(result, _ as {a: number} | {a: boolean})
6 unmodified lines
256 assert(result, _ as any[])257})258259it("can produce an undefined value", () => {260 let base = _ as {readonly a: number}260 let base = {a: 0} as {readonly a: number}261262 // Return only nothing.263 let result = produce(base, _ => nothing)264 assert(result, undefined)
14 unmodified lines
279})280281it("can return a promise", () => {282 type Base = {readonly a: number}283 let base = _ as Base283 let base = {a: 0} as Base284285 // Return a promise only.286 let res1 = produce(base, draft => {287 return Promise.resolve(draft.a > 0 ? null : undefined)
7 unmodified lines
295 assert(res2, _ as Base | Promise<Base>)296})297298it("works with `void` hack", () => {299 let base = _ as {readonly a: number}299 let base = {a: 0} as {readonly a: number}300 let copy = produce(base, s => void s.a++)301 assert(copy, base)302})303
5 unmodified lines
309 draft.splice(index, 0, elem)310 draft.concat([elem])311 })312 }313 let val: {readonly a: ReadonlyArray<number>} = 0 as any314 let arr: ReadonlyArray<typeof val> = 0 as any313 let val: {readonly a: ReadonlyArray<number>} = {a: []} as any314 let arr: ReadonlyArray<typeof val> = [] as any315 insert(arr, 0, val)316})317318it("can work with non-readonly base types", () => {
131 unmodified lines
deleted:src/common.js-247 removed
1export const NOTHING =2 typeof Symbol !== "undefined"3 ? Symbol("immer-nothing")4 : {["immer-nothing"]: true}56export const DRAFTABLE =7 typeof Symbol !== "undefined" && Symbol.for8 ? Symbol.for("immer-draftable")9 : "__$immer_draftable"1011export const DRAFT_STATE =12 typeof Symbol !== "undefined" && Symbol.for13 ? Symbol.for("immer-state")14 : "__$immer_state"1516export function isDraft(value) {17 return !!value && !!value[DRAFT_STATE]18}1920export function isDraftable(value) {21 if (!value) return false22 return (23 isPlainObject(value) ||24 !!value[DRAFTABLE] ||25 !!value.constructor[DRAFTABLE] ||26 isMap(value) ||27 isSet(value)28 )29}3031export function isPlainObject(value) {32 if (!value || typeof value !== "object") return false33 if (Array.isArray(value)) return true34 const proto = Object.getPrototypeOf(value)35 return !proto || proto === Object.prototype36}3738export function original(value) {39 if (value && value[DRAFT_STATE]) {40 return value[DRAFT_STATE].base41 }42 // otherwise return undefined43}4445// We use Maps as `drafts` for Sets, not Objects46// See proxy.js47export function assignSet(target, override) {48 override.forEach(value => {49 // When we add new drafts we have to remove their originals if present50 const prev = original(value)51 if (prev) target.delete(prev)52 target.add(value)53 })54 return target55}5657// We use Maps as `drafts` for Maps, not Objects58// See proxy.js59export function assignMap(target, override) {60 override.forEach((value, key) => target.set(key, value))61 return target62}6364export const assign =65 Object.assign ||66 ((target, ...overrides) => {67 overrides.forEach(override => {68 if (typeof override === "object" && override !== null)69 Object.keys(override).forEach(key => (target[key] = override[key]))70 })71 return target72 })7374export const ownKeys =75 typeof Reflect !== "undefined" && Reflect.ownKeys76 ? Reflect.ownKeys77 : typeof Object.getOwnPropertySymbols !== "undefined"78 ? obj =>79 Object.getOwnPropertyNames(obj).concat(80 Object.getOwnPropertySymbols(obj)81 )82 : Object.getOwnPropertyNames8384export function shallowCopy(base, invokeGetters = false) {85 if (Array.isArray(base)) return base.slice()86 if (isMap(base)) return new Map(base)87 if (isSet(base)) return new Set(base)88 const clone = Object.create(Object.getPrototypeOf(base))89 ownKeys(base).forEach(key => {90 if (key === DRAFT_STATE) {91 return // Never copy over draft state.92 }93 const desc = Object.getOwnPropertyDescriptor(base, key)94 let {value} = desc95 if (desc.get) {96 if (!invokeGetters) {97 throw new Error("Immer drafts cannot have computed properties")98 }99 value = desc.get.call(base)100 }101 if (desc.enumerable) {102 clone[key] = value103 } else {104 Object.defineProperty(clone, key, {105 value,106 writable: true,107 configurable: true108 })109 }110 })111 return clone112}113114export function each(obj, iter) {115 if (Array.isArray(obj) || isMap(obj) || isSet(obj)) {116 obj.forEach((entry, index) => iter(index, entry, obj))117 } else {118 ownKeys(obj).forEach(key => iter(key, obj[key], obj))119 }120}121122export function isEnumerable(base, prop) {123 const desc = Object.getOwnPropertyDescriptor(base, prop)124 return !!desc && desc.enumerable125}126127export function has(thing, prop) {128 return isMap(thing)129 ? thing.has(prop)130 : Object.prototype.hasOwnProperty.call(thing, prop)131}132133export function get(thing, prop) {134 return isMap(thing) ? thing.get(prop) : thing[prop]135}136137export function is(x, y) {138 // From: https://github.com/facebook/fbjs/blob/c69904a511b900266935168223063dd8772dfc40/packages/fbjs/src/core/shallowEqual.js139 if (x === y) {140 return x !== 0 || 1 / x === 1 / y141 } else {142 return x !== x && y !== y143 }144}145146export const hasSymbol = typeof Symbol !== "undefined"147148export const hasMap = typeof Map !== "undefined"149150export function isMap(target) {151 return hasMap && target instanceof Map152}153154export const hasSet = typeof Set !== "undefined"155156export function isSet(target) {157 return hasSet && target instanceof Set158}159160export function makeIterable(next) {161 let self162 return (self = {163 [Symbol.iterator]: () => self,164 next165 })166}167168/** Map.prototype.values _-or-_ Map.prototype.entries */169export function iterateMapValues(state, prop, receiver) {170 const isEntries = prop !== "values"171 return () => {172 const iterator = latest(state)[Symbol.iterator]()173 return makeIterable(() => {174 const result = iterator.next()175 if (!result.done) {176 const [key] = result.value177 const value = receiver.get(key)178 result.value = isEntries ? [key, value] : value179 }180 return result181 })182 }183}184185export function makeIterateSetValues(createProxy) {186 function iterateSetValues(state, prop) {187 const isEntries = prop === "entries"188 return () => {189 const iterator = latest(state)[Symbol.iterator]()190 return makeIterable(() => {191 const result = iterator.next()192 if (!result.done) {193 const value = wrapSetValue(state, result.value)194 result.value = isEntries ? [value, value] : value195 }196 return result197 })198 }199 }200201 function wrapSetValue(state, value) {202 const key = original(value) || value203 let draft = state.drafts.get(key)204 if (!draft) {205 if (state.finalized || !isDraftable(value) || state.finalizing) {206 return value207 }208 draft = createProxy(value, state)209 state.drafts.set(key, draft)210 if (state.modified) {211 state.copy.add(draft)212 }213 }214 return draft215 }216217 return iterateSetValues218}219220function latest(state) {221 return state.copy || state.base222}223224export function clone(obj) {225 if (!isDraftable(obj)) return obj226 if (Array.isArray(obj)) return obj.map(clone)227 if (isMap(obj)) return new Map(obj)228 if (isSet(obj)) return new Set(obj)229 const cloned = Object.create(Object.getPrototypeOf(obj))230 for (const key in obj) cloned[key] = clone(obj[key])231 return cloned232}233234export function freeze(obj, deep = false) {235 if (!isDraftable(obj) || isDraft(obj) || Object.isFrozen(obj)) return236 if (isSet(obj)) {237 obj.add = obj.clear = obj.delete = dontMutateFrozenCollections238 } else if (isMap(obj)) {239 obj.set = obj.clear = obj.delete = dontMutateFrozenCollections240 }241 Object.freeze(obj)242 if (deep) each(obj, (_, value) => freeze(value, true))243}244245function dontMutateFrozenCollections() {246 throw new Error("This object has been frozen and should not be mutated")247}
added:src/common.ts+283 added
1import {Objectish, ObjectishNoSet, ImmerState} from "./types"23/** Use a class type for `nothing` so its type is unique */4export class Nothing {5 // This lets us do `Exclude<T, Nothing>`6 // TODO: do this better, use unique symbol instead7 private _: any8}910/**11 * The sentinel value returned by producers to replace the draft with undefined.12 */13export const NOTHING: Nothing =14 typeof Symbol !== "undefined"15 ? Symbol("immer-nothing")16 : ({["immer-nothing"]: true} as any)1718/**19 * To let Immer treat your class instances as plain immutable objects20 * (albeit with a custom prototype), you must define either an instance property21 * or a static property on each of your custom classes.22 *23 * Otherwise, your class instance will never be drafted, which means it won't be24 * safe to mutate in a produce callback.25 */26export const DRAFTABLE: unique symbol =27 typeof Symbol !== "undefined" && Symbol.for28 ? Symbol.for("immer-draftable")29 : ("__$immer_draftable" as any)3031export const DRAFT_STATE: unique symbol =32 typeof Symbol !== "undefined" && Symbol.for33 ? Symbol.for("immer-state")34 : ("__$immer_state" as any)3536/** Returns true if the given value is an Immer draft */37export function isDraft(value: any): boolean {38 return !!value && !!value[DRAFT_STATE]39}4041/** Returns true if the given value can be drafted by Immer */42export function isDraftable(value: any): boolean {43 if (!value) return false44 return (45 isPlainObject(value) ||46 !!value[DRAFTABLE] ||47 !!value.constructor[DRAFTABLE] ||48 isMap(value) ||49 isSet(value)50 )51}5253export function isPlainObject(value): boolean {54 if (!value || typeof value !== "object") return false55 if (Array.isArray(value)) return true56 const proto = Object.getPrototypeOf(value)57 return !proto || proto === Object.prototype58}5960/** Get the underlying object that is represented by the given draft */61export function original<T>(value: T): T | undefined {62 if (value && value[DRAFT_STATE]) {63 return value[DRAFT_STATE].base64 }65 // otherwise return undefined66}6768// We use Maps as `drafts` for Sets, not Objects69// See proxy.js70export function assignSet(target: Map<any, any>, override) {71 override.forEach(value => {72 // When we add new drafts we have to remove their originals if present73 const prev = original(value)74 if (prev) target.delete(prev)75 // @ts-ignore TODO investigate76 target.add(value)77 })78 return target79}8081// We use Maps as `drafts` for Maps, not Objects82// See proxy.js83export function assignMap(target: Map<any, any>, override: Map<any, any>) {84 override.forEach((value, key) => target.set(key, value))85 return target86}8788export const assign =89 Object.assign ||90 ((target, ...overrides) => {91 overrides.forEach(override => {92 if (typeof override === "object" && override !== null)93 Object.keys(override).forEach(key => (target[key] = override[key]))94 })95 return target96 })9798export const ownKeys: (target) => PropertyKey[] =99 typeof Reflect !== "undefined" && Reflect.ownKeys100 ? Reflect.ownKeys101 : typeof Object.getOwnPropertySymbols !== "undefined"102 ? obj =>103 Object.getOwnPropertyNames(obj).concat(Object.getOwnPropertySymbols(104 obj105 ) as any)106 : Object.getOwnPropertyNames107108export function shallowCopy<T extends Objectish>(109 base: T,110 invokeGetters?: boolean111): T112export function shallowCopy(base, invokeGetters = false) {113 if (Array.isArray(base)) return base.slice()114 if (isMap(base)) return new Map(base)115 if (isSet(base)) return new Set(base)116 const clone = Object.create(Object.getPrototypeOf(base))117 ownKeys(base).forEach(key => {118 if (key === DRAFT_STATE) {119 return // Never copy over draft state.120 }121 const desc = Object.getOwnPropertyDescriptor(base, key)!122 let {value} = desc123 if (desc.get) {124 if (!invokeGetters) {125 throw new Error("Immer drafts cannot have computed properties")126 }127 value = desc.get.call(base)128 }129 if (desc.enumerable) {130 clone[key] = value131 } else {132 Object.defineProperty(clone, key, {133 value,134 writable: true,135 configurable: true136 })137 }138 })139 return clone140}141142export function each<T extends Objectish>(143 obj: T,144 iter: (key: PropertyKey, value: any, source: T) => void145)146export function each(obj, iter) {147 if (Array.isArray(obj) || isMap(obj) || isSet(obj)) {148 obj.forEach((entry, index) => iter(index, entry, obj))149 } else {150 ownKeys(obj).forEach(key => iter(key, obj[key], obj))151 }152}153154export function isEnumerable(base: {}, prop: PropertyKey): boolean {155 const desc = Object.getOwnPropertyDescriptor(base, prop)156 return desc && desc.enumerable ? true : false157}158159export function has(thing: ObjectishNoSet, prop: PropertyKey): boolean {160 return isMap(thing)161 ? thing.has(prop)162 : Object.prototype.hasOwnProperty.call(thing, prop)163}164165export function get(thing: ObjectishNoSet, prop: PropertyKey) {166 return isMap(thing) ? thing.get(prop) : thing[prop]167}168169export function is(x, y): boolean {170 // From: https://github.com/facebook/fbjs/blob/c69904a511b900266935168223063dd8772dfc40/packages/fbjs/src/core/shallowEqual.js171 if (x === y) {172 return x !== 0 || 1 / x === 1 / y173 } else {174 return x !== x && y !== y175 }176}177178export const hasSymbol = typeof Symbol !== "undefined"179180export const hasMap = typeof Map !== "undefined"181182export function isMap(target): target is Map<any, any> {183 return hasMap && target instanceof Map184}185186export const hasSet = typeof Set !== "undefined"187188export function isSet(target): target is Set<any> {189 return hasSet && target instanceof Set190}191192export function makeIterable(next: () => {done: boolean; value: any}) {193 let self194 return (self = {195 [Symbol.iterator]: () => self,196 next197 })198}199200/** Map.prototype.values _-or-_ Map.prototype.entries */201export function iterateMapValues(state, prop, receiver) {202 const isEntries = prop !== "values"203 return () => {204 const iterator = latest(state)[Symbol.iterator]()205 return makeIterable(() => {206 const result = iterator.next()207 if (!result.done) {208 const [key] = result.value209 const value = receiver.get(key)210 result.value = isEntries ? [key, value] : value211 }212 return result213 })214 }215}216217export function makeIterateSetValues(createProxy) {218 function iterateSetValues(state, prop?) {219 const isEntries = prop === "entries"220 return () => {221 const iterator = latest(state)[Symbol.iterator]()222 return makeIterable(() => {223 const result = iterator.next()224 if (!result.done) {225 const value = wrapSetValue(state, result.value)226 result.value = isEntries ? [value, value] : value227 }228 return result229 })230 }231 }232233 function wrapSetValue(state, value) {234 const key = original(value) || value235 let draft = state.drafts.get(key)236 if (!draft) {237 if (state.finalized || !isDraftable(value) || state.finalizing) {238 return value239 }240 draft = createProxy(value, state)241 state.drafts.set(key, draft)242 if (state.modified) {243 state.copy.add(draft)244 }245 }246 return draft247 }248249 return iterateSetValues250}251252function latest<T = any>(state: ImmerState<T>): T {253 return state.copy || state.base254}255256export function clone<T extends Objectish>(obj: T): T257export function clone(obj) {258 if (!isDraftable(obj)) return obj259 if (Array.isArray(obj)) return obj.map(clone)260 if (isMap(obj)) return new Map(obj)261 if (isSet(obj)) return new Set(obj)262 const cloned = Object.create(Object.getPrototypeOf(obj))263 for (const key in obj) cloned[key] = clone(obj[key])264 return cloned265}266267export function freeze<T extends Objectish>(268 obj: T,269 deep: boolean = false270): void {271 if (!isDraftable(obj) || isDraft(obj) || Object.isFrozen(obj)) return272 if (isSet(obj)) {273 obj.add = obj.clear = obj.delete = dontMutateFrozenCollections as any274 } else if (isMap(obj)) {275 obj.set = obj.clear = obj.delete = dontMutateFrozenCollections as any276 }277 Object.freeze(obj)278 if (deep) each(obj, (_, value) => freeze(value, true))279}280281function dontMutateFrozenCollections() {282 throw new Error("This object has been frozen and should not be mutated")283}
deleted:src/es5.js-468 removed
1"use strict"2import {3 each,4 has,5 is,6 isDraft,7 isDraftable,8 isEnumerable,9 isMap,10 isSet,11 hasSymbol,12 shallowCopy,13 DRAFT_STATE,14 iterateMapValues,15 makeIterable,16 makeIterateSetValues17} from "./common"18import {ImmerScope} from "./scope"1920export function willFinalize(scope, result, isReplaced) {21 scope.drafts.forEach(draft => {22 draft[DRAFT_STATE].finalizing = true23 })24 if (!isReplaced) {25 if (scope.patches) {26 markChangesRecursively(scope.drafts[0])27 }28 // This is faster when we don't care about which attributes changed.29 markChangesSweep(scope.drafts)30 }31 // When a child draft is returned, look for changes.32 else if (isDraft(result) && result[DRAFT_STATE].scope === scope) {33 markChangesSweep(scope.drafts)34 }35}3637export function createProxy(base, parent) {38 const isArray = Array.isArray(base)39 const draft = clonePotentialDraft(base)4041 if (isMap(base)) {42 proxyMap(draft)43 } else if (isSet(base)) {44 proxySet(draft)45 } else {46 each(draft, prop => {47 proxyProperty(draft, prop, isArray || isEnumerable(base, prop))48 })49 }5051 // See "proxy.js" for property documentation.52 const scope = parent ? parent.scope : ImmerScope.current53 const state = {54 scope,55 modified: false,56 finalizing: false, // es5 only57 finalized: false,58 assigned: isMap(base) ? new Map() : {},59 parent,60 base,61 draft,62 drafts: isSet(base) ? new Map() : null,63 copy: null,64 revoke,65 revoked: false // es5 only66 }6768 createHiddenProperty(draft, DRAFT_STATE, state)69 scope.drafts.push(draft)70 return draft71}7273function revoke() {74 this.revoked = true75}7677function latest(state) {78 return state.copy || state.base79}8081// Access a property without creating an Immer draft.82function peek(draft, prop) {83 const state = draft[DRAFT_STATE]84 if (state && !state.finalizing) {85 state.finalizing = true86 const value = draft[prop]87 state.finalizing = false88 return value89 }90 return draft[prop]91}9293function get(state, prop) {94 assertUnrevoked(state)95 const value = peek(latest(state), prop)96 if (state.finalizing) return value97 // Create a draft if the value is unmodified.98 if (value === peek(state.base, prop) && isDraftable(value)) {99 prepareCopy(state)100 return (state.copy[prop] = createProxy(value, state))101 }102 return value103}104105function set(state, prop, value) {106 assertUnrevoked(state)107 state.assigned[prop] = true108 if (!state.modified) {109 if (is(value, peek(latest(state), prop))) return110 markChanged(state)111 prepareCopy(state)112 }113 state.copy[prop] = value114}115116function markChanged(state) {117 if (!state.modified) {118 state.modified = true119 if (state.parent) markChanged(state.parent)120 }121}122123function prepareCopy(state) {124 if (!state.copy) state.copy = clonePotentialDraft(state.base)125}126127function clonePotentialDraft(base) {128 const state = base && base[DRAFT_STATE]129 if (state) {130 state.finalizing = true131 const draft = shallowCopy(state.draft, true)132 state.finalizing = false133 return draft134 }135 return shallowCopy(base)136}137138// property descriptors are recycled to make sure we don't create a get and set closure per property,139// but share them all instead140const descriptors = {}141142function proxyProperty(draft, prop, enumerable) {143 let desc = descriptors[prop]144 if (desc) {145 desc.enumerable = enumerable146 } else {147 descriptors[prop] = desc = {148 configurable: true,149 enumerable,150 get() {151 return get(this[DRAFT_STATE], prop)152 },153 set(value) {154 set(this[DRAFT_STATE], prop, value)155 }156 }157 }158 Object.defineProperty(draft, prop, desc)159}160161function proxyMap(target) {162 Object.defineProperties(target, mapTraps)163164 if (hasSymbol) {165 Object.defineProperty(166 target,167 Symbol.iterator,168 proxyMethod(iterateMapValues)169 )170 }171}172173const mapTraps = finalizeTraps({174 size: state => latest(state).size,175 has: state => key => latest(state).has(key),176 set: state => (key, value) => {177 if (latest(state).get(key) !== value) {178 prepareCopy(state)179 markChanged(state)180 state.assigned.set(key, true)181 state.copy.set(key, value)182 }183 return state.draft184 },185 delete: state => key => {186 prepareCopy(state)187 markChanged(state)188 state.assigned.set(key, false)189 state.copy.delete(key)190 return false191 },192 clear: state => () => {193 if (!state.copy) {194 prepareCopy(state)195 }196 markChanged(state)197 state.assigned = new Map()198 for (const key of latest(state).keys()) {199 state.assigned.set(key, false)200 }201 return state.copy.clear()202 },203 forEach: (state, key, reciever) => cb => {204 latest(state).forEach((value, key, map) => {205 cb(reciever.get(key), key, map)206 })207 },208 get: state => key => {209 const value = latest(state).get(key)210211 if (state.finalizing || state.finalized || !isDraftable(value)) {212 return value213 }214215 if (value !== state.base.get(key)) {216 return value217 }218 const draft = createProxy(value, state)219 prepareCopy(state)220 state.copy.set(key, draft)221 return draft222 },223 keys: state => () => latest(state).keys(),224 values: iterateMapValues,225 entries: iterateMapValues226})227228function proxySet(target) {229 Object.defineProperties(target, setTraps)230231 if (hasSymbol) {232 Object.defineProperty(233 target,234 Symbol.iterator,235 proxyMethod(iterateSetValues)236 )237 }238}239240const iterateSetValues = makeIterateSetValues(createProxy)241242const setTraps = finalizeTraps({243 size: state => {244 return latest(state).size245 },246 add: state => value => {247 if (!latest(state).has(value)) {248 markChanged(state)249 if (!state.copy) {250 prepareCopy(state)251 }252 state.copy.add(value)253 }254 return state.draft255 },256 delete: state => value => {257 markChanged(state)258 if (!state.copy) {259 prepareCopy(state)260 }261 return state.copy.delete(value)262 },263 has: state => key => {264 return latest(state).has(key)265 },266 clear: state => () => {267 markChanged(state)268 if (!state.copy) {269 prepareCopy(state)270 }271 return state.copy.clear()272 },273 keys: iterateSetValues,274 entries: iterateSetValues,275 values: iterateSetValues,276 forEach: state => (cb, thisArg) => {277 const iterator = iterateSetValues(state)()278 let result = iterator.next()279 while (!result.done) {280 cb.call(thisArg, result.value, result.value, state.draft)281 result = iterator.next()282 }283 }284})285286function finalizeTraps(traps) {287 return Object.keys(traps).reduce(function(acc, key) {288 const builder = key === "size" ? proxyAttr : proxyMethod289 acc[key] = builder(traps[key], key)290 return acc291 }, {})292}293294function proxyAttr(fn) {295 return {296 get() {297 const state = this[DRAFT_STATE]298 assertUnrevoked(state)299 return fn(state)300 }301 }302}303304function proxyMethod(trap, key) {305 return {306 get() {307 return function(...args) {308 const state = this[DRAFT_STATE]309 assertUnrevoked(state)310 return trap(state, key, state.draft)(...args)311 }312 }313 }314}315316function assertUnrevoked(state) {317 if (state.revoked === true)318 throw new Error(319 "Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? " +320 JSON.stringify(latest(state))321 )322}323324// This looks expensive, but only proxies are visited, and only objects without known changes are scanned.325function markChangesSweep(drafts) {326 // The natural order of drafts in the `scope` array is based on when they327 // were accessed. By processing drafts in reverse natural order, we have a328 // better chance of processing leaf nodes first. When a leaf node is known to329 // have changed, we can avoid any traversal of its ancestor nodes.330 for (let i = drafts.length - 1; i >= 0; i--) {331 const state = drafts[i][DRAFT_STATE]332 if (!state.modified) {333 if (Array.isArray(state.base)) {334 if (hasArrayChanges(state)) markChanged(state)335 } else if (isMap(state.base)) {336 if (hasMapChanges(state)) markChanged(state)337 } else if (isSet(state.base)) {338 if (hasSetChanges(state)) markChanged(state)339 } else if (hasObjectChanges(state)) {340 markChanged(state)341 }342 }343 }344}345346function markChangesRecursively(object) {347 if (!object || typeof object !== "object") return348 const state = object[DRAFT_STATE]349 if (!state) return350 const {base, draft, assigned} = state351 if (!Array.isArray(object)) {352 // Look for added keys.353 Object.keys(draft).forEach(key => {354 // The `undefined` check is a fast path for pre-existing keys.355 if (base[key] === undefined && !has(base, key)) {356 assigned[key] = true357 markChanged(state)358 } else if (!assigned[key]) {359 // Only untouched properties trigger recursion.360 markChangesRecursively(draft[key])361 }362 })363 // Look for removed keys.364 Object.keys(base).forEach(key => {365 // The `undefined` check is a fast path for pre-existing keys.366 if (draft[key] === undefined && !has(draft, key)) {367 assigned[key] = false368 markChanged(state)369 }370 })371 } else if (hasArrayChanges(state)) {372 markChanged(state)373 assigned.length = true374 if (draft.length < base.length) {375 for (let i = draft.length; i < base.length; i++) assigned[i] = false376 } else {377 for (let i = base.length; i < draft.length; i++) assigned[i] = true378 }379 for (let i = 0; i < draft.length; i++) {380 // Only untouched indices trigger recursion.381 if (assigned[i] === undefined) markChangesRecursively(draft[i])382 }383 }384}385386function hasObjectChanges(state) {387 const {base, draft} = state388389 // Search for added keys and changed keys. Start at the back, because390 // non-numeric keys are ordered by time of definition on the object.391 const keys = Object.keys(draft)392 for (let i = keys.length - 1; i >= 0; i--) {393 const key = keys[i]394 const baseValue = base[key]395 // The `undefined` check is a fast path for pre-existing keys.396 if (baseValue === undefined && !has(base, key)) {397 return true398 }399 // Once a base key is deleted, future changes go undetected, because its400 // descriptor is erased. This branch detects any missed changes.401 else {402 const value = draft[key]403 const state = value && value[DRAFT_STATE]404 if (state ? state.base !== baseValue : !is(value, baseValue)) {405 return true406 }407 }408 }409410 // At this point, no keys were added or changed.411 // Compare key count to determine if keys were deleted.412 return keys.length !== Object.keys(base).length413}414415function hasArrayChanges(state) {416 const {draft} = state417 if (draft.length !== state.base.length) return true418 // See #116419 // If we first shorten the length, our array interceptors will be removed.420 // If after that new items are added, result in the same original length,421 // those last items will have no intercepting property.422 // So if there is no own descriptor on the last position, we know that items were removed and added423 // N.B.: splice, unshift, etc only shift values around, but not prop descriptors, so we only have to check424 // the last one425 const descriptor = Object.getOwnPropertyDescriptor(draft, draft.length - 1)426 // descriptor can be null, but only for newly created sparse arrays, eg. new Array(10)427 if (descriptor && !descriptor.get) return true428 // For all other cases, we don't have to compare, as they would have been picked up by the index setters429 return false430}431432function hasMapChanges(state) {433 const {base, draft} = state434435 if (base.size !== draft.size) return true436437 // IE11 supports only forEach iteration438 let hasChanges = false439 draft.forEach(function(value, key) {440 if (!hasChanges) {441 hasChanges = isDraftable(value) ? value.modified : value !== base.get(key)442 }443 })444 return hasChanges445}446447function hasSetChanges(state) {448 const {base, draft} = state449450 if (base.size !== draft.size) return true451452 // IE11 supports only forEach iteration453 let hasChanges = false454 draft.forEach(function(value, key) {455 if (!hasChanges) {456 hasChanges = isDraftable(value) ? value.modified : !base.has(key)457 }458 })459 return hasChanges460}461462function createHiddenProperty(target, prop, value) {463 Object.defineProperty(target, prop, {464 value: value,465 enumerable: false,466 writable: true467 })468}
added:src/es5.ts+495 added
1"use strict"2import {3 each,4 has,5 is,6 isDraft,7 isDraftable,8 isEnumerable,9 isMap,10 isSet,11 hasSymbol,12 shallowCopy,13 DRAFT_STATE,14 iterateMapValues,15 makeIterable,16 makeIterateSetValues17} from "./common"18import {ImmerScope} from "./scope"19import {ImmerState} from "./types"2021interface ES5Draft {22 [DRAFT_STATE]: ES5State23}2425// TODO: merge with ImmerState?26interface ES5State<T = any> {27 scope: ImmerScope28 modified: boolean29 finalizing: boolean30 finalized: boolean31 assigned: Map<any, any> | {[key: string]: any}32 parent: ES5State33 base: T34 draft: T & ES5Draft35 drafts: Map<any, any> | null36 copy: T | null37 revoke()38 revoked: boolean39}4041export function willFinalize(42 scope: ImmerScope,43 result: any,44 isReplaced: boolean45) {46 scope.drafts!.forEach(draft => {47 draft[DRAFT_STATE].finalizing = true48 })49 if (!isReplaced) {50 if (scope.patches) {51 markChangesRecursively(scope.drafts![0])52 }53 // This is faster when we don't care about which attributes changed.54 markChangesSweep(scope.drafts)55 }56 // When a child draft is returned, look for changes.57 else if (isDraft(result) && result[DRAFT_STATE].scope === scope) {58 markChangesSweep(scope.drafts)59 }60}6162export function createProxy<T>(base: T, parent: ES5State): ES5Draft {63 const isArray = Array.isArray(base)64 const draft = clonePotentialDraft(base)6566 if (isMap(base)) {67 proxyMap(draft)68 } else if (isSet(base)) {69 proxySet(draft)70 } else {71 each(draft, prop => {72 proxyProperty(draft, prop, isArray || isEnumerable(base, prop))73 })74 }7576 // See "proxy.js" for property documentation.77 const scope = parent ? parent.scope : ImmerScope.current!78 const state: ES5State<T> = {79 scope,80 modified: false,81 finalizing: false, // es5 only82 finalized: false,83 assigned: isMap(base) ? new Map() : {},84 parent,85 base,86 draft,87 drafts: isSet(base) ? new Map() : null,88 copy: null,89 revoke,90 revoked: false // es5 only91 }9293 createHiddenProperty(draft, DRAFT_STATE, state)94 scope.drafts!.push(draft)95 return draft96}9798function revoke(this: ES5State) {99 this.revoked = true100}101102function latest(state) {103 return state.copy || state.base104}105106// Access a property without creating an Immer draft.107function peek(draft, prop) {108 const state = draft[DRAFT_STATE]109 if (state && !state.finalizing) {110 state.finalizing = true111 const value = draft[prop]112 state.finalizing = false113 return value114 }115 return draft[prop]116}117118function get(state, prop) {119 assertUnrevoked(state)120 const value = peek(latest(state), prop)121 if (state.finalizing) return value122 // Create a draft if the value is unmodified.123 if (value === peek(state.base, prop) && isDraftable(value)) {124 prepareCopy(state)125 return (state.copy[prop] = createProxy(value, state))126 }127 return value128}129130function set(state, prop, value) {131 assertUnrevoked(state)132 state.assigned[prop] = true133 if (!state.modified) {134 if (is(value, peek(latest(state), prop))) return135 markChanged(state)136 prepareCopy(state)137 }138 state.copy[prop] = value139}140141function markChanged(state) {142 if (!state.modified) {143 state.modified = true144 if (state.parent) markChanged(state.parent)145 }146}147148function prepareCopy(state) {149 if (!state.copy) state.copy = clonePotentialDraft(state.base)150}151152function clonePotentialDraft(base) {153 const state = base && base[DRAFT_STATE]154 if (state) {155 state.finalizing = true156 const draft = shallowCopy(state.draft, true)157 state.finalizing = false158 return draft159 }160 return shallowCopy(base)161}162163// property descriptors are recycled to make sure we don't create a get and set closure per property,164// but share them all instead165const descriptors = {}166167function proxyProperty(draft, prop, enumerable) {168 let desc = descriptors[prop]169 if (desc) {170 desc.enumerable = enumerable171 } else {172 descriptors[prop] = desc = {173 configurable: true,174 enumerable,175 get() {176 return get(this[DRAFT_STATE], prop)177 },178 set(value) {179 set(this[DRAFT_STATE], prop, value)180 }181 }182 }183 Object.defineProperty(draft, prop, desc)184}185186function proxyMap(target) {187 Object.defineProperties(target, mapTraps)188189 if (hasSymbol) {190 Object.defineProperty(191 target,192 Symbol.iterator,193 // @ts-ignore194 proxyMethod(iterateMapValues) //TODO: , Symbol.iterator)195 )196 }197}198199const mapTraps = finalizeTraps({200 size: state => latest(state).size,201 has: state => key => latest(state).has(key),202 set: state => (key, value) => {203 if (latest(state).get(key) !== value) {204 prepareCopy(state)205 markChanged(state)206 state.assigned.set(key, true)207 state.copy.set(key, value)208 }209 return state.draft210 },211 delete: state => key => {212 prepareCopy(state)213 markChanged(state)214 state.assigned.set(key, false)215 state.copy.delete(key)216 return false217 },218 clear: state => () => {219 if (!state.copy) {220 prepareCopy(state)221 }222 markChanged(state)223 state.assigned = new Map()224 for (const key of latest(state).keys()) {225 state.assigned.set(key, false)226 }227 return state.copy.clear()228 },229 forEach: (state, key, reciever) => cb => {230 latest(state).forEach((value, key, map) => {231 cb(reciever.get(key), key, map)232 })233 },234 get: state => key => {235 const value = latest(state).get(key)236237 if (state.finalizing || state.finalized || !isDraftable(value)) {238 return value239 }240241 if (value !== state.base.get(key)) {242 return value243 }244 const draft = createProxy(value, state)245 prepareCopy(state)246 state.copy.set(key, draft)247 return draft248 },249 keys: state => () => latest(state).keys(),250 values: iterateMapValues,251 entries: iterateMapValues252})253254function proxySet(target) {255 Object.defineProperties(target, setTraps)256257 if (hasSymbol) {258 Object.defineProperty(259 target,260 Symbol.iterator,261 // @ts-ignore262 proxyMethod(iterateSetValues) //TODO: , Symbol.iterator)263 )264 }265}266267const iterateSetValues = makeIterateSetValues(createProxy)268269const setTraps = finalizeTraps({270 size: state => {271 return latest(state).size272 },273 add: state => value => {274 if (!latest(state).has(value)) {275 markChanged(state)276 if (!state.copy) {277 prepareCopy(state)278 }279 state.copy.add(value)280 }281 return state.draft282 },283 delete: state => value => {284 markChanged(state)285 if (!state.copy) {286 prepareCopy(state)287 }288 return state.copy.delete(value)289 },290 has: state => key => {291 return latest(state).has(key)292 },293 clear: state => () => {294 markChanged(state)295 if (!state.copy) {296 prepareCopy(state)297 }298 return state.copy.clear()299 },300 keys: iterateSetValues,301 entries: iterateSetValues,302 values: iterateSetValues,303 forEach: state => (cb, thisArg) => {304 const iterator = iterateSetValues(state)()305 let result = iterator.next()306 while (!result.done) {307 cb.call(thisArg, result.value, result.value, state.draft)308 result = iterator.next()309 }310 }311})312313function finalizeTraps(traps) {314 return Object.keys(traps).reduce(function(acc, key) {315 const builder = key === "size" ? proxyAttr : proxyMethod316 acc[key] = builder(traps[key], key)317 return acc318 }, {})319}320321function proxyAttr(fn) {322 return {323 get() {324 const state = this[DRAFT_STATE]325 assertUnrevoked(state)326 return fn(state)327 }328 }329}330331function proxyMethod(trap, key) {332 return {333 get() {334 return function(this: ES5Draft, ...args) {335 const state = this[DRAFT_STATE]336 assertUnrevoked(state)337 return trap(state, key, state.draft)(...args)338 }339 }340 }341}342343function assertUnrevoked(state) {344 if (state.revoked === true)345 throw new Error(346 "Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? " +347 JSON.stringify(latest(state))348 )349}350351// This looks expensive, but only proxies are visited, and only objects without known changes are scanned.352function markChangesSweep(drafts) {353 // The natural order of drafts in the `scope` array is based on when they354 // were accessed. By processing drafts in reverse natural order, we have a355 // better chance of processing leaf nodes first. When a leaf node is known to356 // have changed, we can avoid any traversal of its ancestor nodes.357 for (let i = drafts.length - 1; i >= 0; i--) {358 const state = drafts[i][DRAFT_STATE]359 if (!state.modified) {360 if (Array.isArray(state.base)) {361 if (hasArrayChanges(state)) markChanged(state)362 } else if (isMap(state.base)) {363 if (hasMapChanges(state)) markChanged(state)364 } else if (isSet(state.base)) {365 if (hasSetChanges(state)) markChanged(state)366 } else if (hasObjectChanges(state)) {367 markChanged(state)368 }369 }370 }371}372373function markChangesRecursively(object) {374 if (!object || typeof object !== "object") return375 const state = object[DRAFT_STATE]376 if (!state) return377 const {base, draft, assigned} = state378 if (!Array.isArray(object)) {379 // Look for added keys.380 Object.keys(draft).forEach(key => {381 // The `undefined` check is a fast path for pre-existing keys.382 if (base[key] === undefined && !has(base, key)) {383 assigned[key] = true384 markChanged(state)385 } else if (!assigned[key]) {386 // Only untouched properties trigger recursion.387 markChangesRecursively(draft[key])388 }389 })390 // Look for removed keys.391 Object.keys(base).forEach(key => {392 // The `undefined` check is a fast path for pre-existing keys.393 if (draft[key] === undefined && !has(draft, key)) {394 assigned[key] = false395 markChanged(state)396 }397 })398 } else if (hasArrayChanges(state)) {399 markChanged(state)400 assigned.length = true401 if (draft.length < base.length) {402 for (let i = draft.length; i < base.length; i++) assigned[i] = false403 } else {404 for (let i = base.length; i < draft.length; i++) assigned[i] = true405 }406 for (let i = 0; i < draft.length; i++) {407 // Only untouched indices trigger recursion.408 if (assigned[i] === undefined) markChangesRecursively(draft[i])409 }410 }411}412413function hasObjectChanges(state) {414 const {base, draft} = state415416 // Search for added keys and changed keys. Start at the back, because417 // non-numeric keys are ordered by time of definition on the object.418 const keys = Object.keys(draft)419 for (let i = keys.length - 1; i >= 0; i--) {420 const key = keys[i]421 const baseValue = base[key]422 // The `undefined` check is a fast path for pre-existing keys.423 if (baseValue === undefined && !has(base, key)) {424 return true425 }426 // Once a base key is deleted, future changes go undetected, because its427 // descriptor is erased. This branch detects any missed changes.428 else {429 const value = draft[key]430 const state = value && value[DRAFT_STATE]431 if (state ? state.base !== baseValue : !is(value, baseValue)) {432 return true433 }434 }435 }436437 // At this point, no keys were added or changed.438 // Compare key count to determine if keys were deleted.439 return keys.length !== Object.keys(base).length440}441442function hasArrayChanges(state) {443 const {draft} = state444 if (draft.length !== state.base.length) return true445 // See #116446 // If we first shorten the length, our array interceptors will be removed.447 // If after that new items are added, result in the same original length,448 // those last items will have no intercepting property.449 // So if there is no own descriptor on the last position, we know that items were removed and added450 // N.B.: splice, unshift, etc only shift values around, but not prop descriptors, so we only have to check451 // the last one452 const descriptor = Object.getOwnPropertyDescriptor(draft, draft.length - 1)453 // descriptor can be null, but only for newly created sparse arrays, eg. new Array(10)454 if (descriptor && !descriptor.get) return true455 // For all other cases, we don't have to compare, as they would have been picked up by the index setters456 return false457}458459function hasMapChanges(state) {460 const {base, draft} = state461462 if (base.size !== draft.size) return true463464 // IE11 supports only forEach iteration465 let hasChanges = false466 draft.forEach(function(value, key) {467 if (!hasChanges) {468 hasChanges = isDraftable(value) ? value.modified : value !== base.get(key)469 }470 })471 return hasChanges472}473474function hasSetChanges(state) {475 const {base, draft} = state476477 if (base.size !== draft.size) return true478479 // IE11 supports only forEach iteration480 let hasChanges = false481 draft.forEach(function(value, key) {482 if (!hasChanges) {483 hasChanges = isDraftable(value) ? value.modified : !base.has(key)484 }485 })486 return hasChanges487}488489function createHiddenProperty(target, prop, value) {490 Object.defineProperty(target, prop, {491 value: value,492 enumerable: false,493 writable: true494 })495}
deleted:src/immer.d.ts-309 removed
1type Tail<T extends any[]> = ((...t: T) => any) extends ((2 _: any,3 ...tail: infer TT4) => any)5 ? TT6 : []78/** Object types that should never be mapped */9type AtomicObject =10 | Function11 | WeakMap<any, any>12 | WeakSet<any>13 | Promise<any>14 | Date15 | RegExp16 | Boolean17 | Number18 | String1920export type Draft<T> = T extends AtomicObject21 ? T22 : T extends Map<infer K, infer V>23 ? DraftMap<K, V>24 : T extends Set<infer V>25 ? DraftSet<V>26 : T extends object27 ? {-readonly [K in keyof T]: Draft<T[K]>}28 : T2930// Inline these in ts 3.731interface DraftMap<K, V> extends Map<Draft<K>, Draft<V>> {}3233// Inline these in ts 3.734interface DraftSet<V> extends Set<Draft<V>> {}3536/** Convert a mutable type into a readonly type */37export type Immutable<T> = T extends AtomicObject38 ? T39 : T extends Map<infer K, infer V>40 ? // Ideally, but wait for TS 3.7: ? Omit<ImmutableMap<K, V>, "set" | "delete" | "clear">41 ImmutableMap<K, V>42 : T extends Set<infer V>43 ? // Ideally, but wait for TS 3.7: ? Omit<ImmutableSet<V>, "add" | "delete" | "clear">44 ImmutableSet<V>45 : T extends object46 ? {readonly [K in keyof T]: Immutable<T[K]>}47 : T4849interface ImmutableMap<K, V> extends Map<Immutable<K>, Immutable<V>> {}5051interface ImmutableSet<V> extends Set<Immutable<V>> {}5253export interface Patch {54 op: "replace" | "remove" | "add"55 path: (string | number)[]56 value?: any57}5859export type PatchListener = (patches: Patch[], inversePatches: Patch[]) => void6061/** Converts `nothing` into `undefined` */62type FromNothing<T> = T extends Nothing ? undefined : T6364/** The inferred return type of `produce` */65export type Produced<Base, Return> = Return extends void66 ? Base67 : Return extends Promise<infer Result>68 ? Promise<Result extends void ? Base : FromNothing<Result>>69 : FromNothing<Return>7071/**72 * The `produce` function takes a value and a "recipe function" (whose73 * return value often depends on the base state). The recipe function is74 * free to mutate its first argument however it wants. All mutations are75 * only ever applied to a __copy__ of the base state.76 *77 * Pass only a function to create a "curried producer" which relieves you78 * from passing the recipe function every time.79 *80 * Only plain objects and arrays are made mutable. All other objects are81 * considered uncopyable.82 *83 * Note: This function is __bound__ to its `Immer` instance.84 *85 * @param {any} base - the initial state86 * @param {Function} producer - function that receives a proxy of the base state as first argument and which can be freely modified87 * @param {Function} patchListener - optional function that will be called with all the patches produced here88 * @returns {any} a new state, or the initial state if nothing was modified89 */90export interface IProduce {91 /** Curried producer */92 <93 Recipe extends (...args: any[]) => any,94 Params extends any[] = Parameters<Recipe>,95 T = Params[0]96 >(97 recipe: Recipe98 ): <Base extends Immutable<T>>(99 base: Base,100 ...rest: Tail<Params>101 ) => Produced<Base, ReturnType<Recipe>>102 // ^ by making the returned type generic, the actual type of the passed in object is preferred103 // over the type used in the recipe. However, it does have to satisfy the immutable version used in the recipe104 // Note: the type of S is the widened version of T, so it can have more props than T, but that is technically actually correct!105106 /** Curried producer with initial state */107 <108 Recipe extends (...args: any[]) => any,109 Params extends any[] = Parameters<Recipe>,110 T = Params[0]111 >(112 recipe: Recipe,113 initialState: Immutable<T>114 ): <Base extends Immutable<T>>(115 base?: Base,116 ...rest: Tail<Params>117 ) => Produced<Base, ReturnType<Recipe>>118119 /** Normal producer */120 <Base, D = Draft<Base>, Return = void>(121 base: Base,122 recipe: (draft: D) => Return,123 listener?: PatchListener124 ): Produced<Base, Return>125}126127export const produce: IProduce128export default produce129130/**131 * Like `produce`, but instead of just returning the new state,132 * a tuple is returned with [nextState, patches, inversePatches]133 *134 * Like produce, this function supports currying135 */136export interface IProduceWithPatches {137 /** Curried producer */138 <139 Recipe extends (...args: any[]) => any,140 Params extends any[] = Parameters<Recipe>,141 T = Params[0]142 >(143 recipe: Recipe144 ): <Base extends Immutable<T>>(145 base: Base,146 ...rest: Tail<Params>147 ) => [Produced<Base, ReturnType<Recipe>>, Patch[], Patch[]]148 // ^ by making the returned type generic, the actual type of the passed in object is preferred149 // over the type used in the recipe. However, it does have to satisfy the immutable version used in the recipe150 // Note: the type of S is the widened version of T, so it can have more props than T, but that is technically actually correct!151152 /** Curried producer with initial state */153 <154 Recipe extends (...args: any[]) => any,155 Params extends any[] = Parameters<Recipe>,156 T = Params[0]157 >(158 recipe: Recipe,159 initialState: Immutable<T>160 ): <Base extends Immutable<T>>(161 base?: Base,162 ...rest: Tail<Params>163 ) => [Produced<Base, ReturnType<Recipe>>, Patch[], Patch[]]164165 /** Normal producer */166 <Base, D = Draft<Base>, Return = void>(167 base: Base,168 recipe: (draft: D) => Return169 ): [Produced<Base, Return>, Patch[], Patch[]]170}171export const produceWithPatches: IProduceWithPatches172173/** Use a class type for `nothing` so its type is unique */174declare class Nothing {175 // This lets us do `Exclude<T, Nothing>`176 private _: any177}178179/**180 * The sentinel value returned by producers to replace the draft with undefined.181 */182export const nothing: Nothing183184/**185 * To let Immer treat your class instances as plain immutable objects186 * (albeit with a custom prototype), you must define either an instance property187 * or a static property on each of your custom classes.188 *189 * Otherwise, your class instance will never be drafted, which means it won't be190 * safe to mutate in a produce callback.191 */192export const immerable: unique symbol193194/**195 * Pass true to automatically freeze all copies created by Immer.196 *197 * By default, auto-freezing is disabled in production.198 */199export function setAutoFreeze(autoFreeze: boolean): void200201/**202 * Pass true to use the ES2015 `Proxy` class when creating drafts, which is203 * always faster than using ES5 proxies.204 *205 * By default, feature detection is used, so calling this is rarely necessary.206 */207export function setUseProxies(useProxies: boolean): void208209/**210 * Apply an array of Immer patches to the first argument.211 *212 * This function is a producer, which means copy-on-write is in effect.213 */214export function applyPatches<S>(base: S, patches: Patch[]): S215216/**217 * Create an Immer draft from the given base state, which may be a draft itself.218 * The draft can be modified until you finalize it with the `finishDraft` function.219 */220export function createDraft<T>(base: T): Draft<T>221222/**223 * Finalize an Immer draft from a `createDraft` call, returning the base state224 * (if no changes were made) or a modified copy. The draft must *not* be225 * mutated afterwards.226 *227 * Pass a function as the 2nd argument to generate Immer patches based on the228 * changes that were made.229 */230export function finishDraft<T>(draft: T, listener?: PatchListener): Immutable<T>231232/** Get the underlying object that is represented by the given draft */233export function original<T>(value: T): T | void234235/** Returns true if the given value is an Immer draft */236export function isDraft(value: any): boolean237238/** Returns true if the given value can be drafted by Immer */239export function isDraftable(value: any): boolean240241export class Immer {242 constructor(config: {243 useProxies?: boolean244 autoFreeze?: boolean245 onAssign?: (246 state: ImmerState,247 prop: string | number,248 value: unknown249 ) => void250 onDelete?: (state: ImmerState, prop: string | number) => void251 onCopy?: (state: ImmerState) => void252 })253 /**254 * The `produce` function takes a value and a "recipe function" (whose255 * return value often depends on the base state). The recipe function is256 * free to mutate its first argument however it wants. All mutations are257 * only ever applied to a __copy__ of the base state.258 *259 * Pass only a function to create a "curried producer" which relieves you260 * from passing the recipe function every time.261 *262 * Only plain objects and arrays are made mutable. All other objects are263 * considered uncopyable.264 *265 * Note: This function is __bound__ to its `Immer` instance.266 *267 * @param {any} base - the initial state268 * @param {Function} producer - function that receives a proxy of the base state as first argument and which can be freely modified269 * @param {Function} patchListener - optional function that will be called with all the patches produced here270 * @returns {any} a new state, or the initial state if nothing was modified271 */272 produce: IProduce273 /**274 * When true, `produce` will freeze the copies it creates.275 */276 readonly autoFreeze: boolean277 /**278 * When true, drafts are ES2015 proxies.279 */280 readonly useProxies: boolean281 /**282 * Pass true to automatically freeze all copies created by Immer.283 *284 * By default, auto-freezing is disabled in production.285 */286 setAutoFreeze(autoFreeze: boolean): void287 /**288 * Pass true to use the ES2015 `Proxy` class when creating drafts, which is289 * always faster than using ES5 proxies.290 *291 * By default, feature detection is used, so calling this is rarely necessary.292 */293 setUseProxies(useProxies: boolean): void294}295296export interface ImmerState<T = any> {297 parent?: ImmerState298 base: T299 copy: T300 assigned: {[prop: string]: boolean; [index: number]: boolean}301}302303// Backward compatibility with --target es5304declare global {305 interface Set<T> {}306 interface Map<K, V> {}307 interface WeakSet<T> {}308 interface WeakMap<K extends object, V> {}309}
deleted:src/immer.js-349 removed
1import * as legacyProxy from "./es5"2import * as modernProxy from "./proxy"3import {applyPatches, generatePatches} from "./patches"4import {5 assign,6 each,7 has,8 is,9 isDraft,10 isSet,11 get,12 isMap,13 isDraftable,14 isEnumerable,15 shallowCopy,16 DRAFT_STATE,17 NOTHING,18 freeze19} from "./common"20import {ImmerScope} from "./scope"2122function verifyMinified() {}2324const configDefaults = {25 useProxies:26 typeof Proxy !== "undefined" &&27 typeof Proxy.revocable !== "undefined" &&28 typeof Reflect !== "undefined",29 autoFreeze:30 typeof process !== "undefined"31 ? process.env.NODE_ENV !== "production"32 : verifyMinified.name === "verifyMinified",33 onAssign: null,34 onDelete: null,35 onCopy: null36}3738export class Immer {39 constructor(config) {40 assign(this, configDefaults, config)41 this.setUseProxies(this.useProxies)42 this.produce = this.produce.bind(this)43 this.produceWithPatches = this.produceWithPatches.bind(this)44 }45 produce(base, recipe, patchListener) {46 // curried invocation47 if (typeof base === "function" && typeof recipe !== "function") {48 const defaultBase = recipe49 recipe = base5051 const self = this52 return function curriedProduce(base = defaultBase, ...args) {53 return self.produce(base, draft => recipe.call(this, draft, ...args)) // prettier-ignore54 }55 }5657 // prettier-ignore58 {59 if (typeof recipe !== "function") {60 throw new Error("The first or second argument to `produce` must be a function")61 }62 if (patchListener !== undefined && typeof patchListener !== "function") {63 throw new Error("The third argument to `produce` must be a function or undefined")64 }65 }6667 let result6869 // Only plain objects, arrays, and "immerable classes" are drafted.70 if (isDraftable(base)) {71 const scope = ImmerScope.enter()72 const proxy = this.createProxy(base)73 let hasError = true74 try {75 result = recipe(proxy)76 hasError = false77 } finally {78 // finally instead of catch + rethrow better preserves original stack79 if (hasError) scope.revoke()80 else scope.leave()81 }82 if (typeof Promise !== "undefined" && result instanceof Promise) {83 return result.then(84 result => {85 scope.usePatches(patchListener)86 return this.processResult(result, scope)87 },88 error => {89 scope.revoke()90 throw error91 }92 )93 }94 scope.usePatches(patchListener)95 return this.processResult(result, scope)96 } else {97 result = recipe(base)98 if (result === NOTHING) return undefined99 if (result === undefined) result = base100 this.maybeFreeze(result, true)101 return result102 }103 }104 produceWithPatches(arg1, arg2, arg3) {105 if (typeof arg1 === "function") {106 const self = this107 return (state, ...args) =>108 this.produceWithPatches(state, draft => arg1(draft, ...args))109 }110 // non-curried form111 if (arg3)112 throw new Error("A patch listener cannot be passed to produceWithPatches")113 let patches, inversePatches114 const nextState = this.produce(arg1, arg2, (p, ip) => {115 patches = p116 inversePatches = ip117 })118 return [nextState, patches, inversePatches]119 }120 createDraft(base) {121 if (!isDraftable(base)) {122 throw new Error("First argument to `createDraft` must be a plain object, an array, or an immerable object") // prettier-ignore123 }124 const scope = ImmerScope.enter()125 const proxy = this.createProxy(base)126 proxy[DRAFT_STATE].isManual = true127 scope.leave()128 return proxy129 }130 finishDraft(draft, patchListener) {131 const state = draft && draft[DRAFT_STATE]132 if (!state || !state.isManual) {133 throw new Error("First argument to `finishDraft` must be a draft returned by `createDraft`") // prettier-ignore134 }135 if (state.finalized) {136 throw new Error("The given draft is already finalized") // prettier-ignore137 }138 const {scope} = state139 scope.usePatches(patchListener)140 return this.processResult(undefined, scope)141 }142 setAutoFreeze(value) {143 this.autoFreeze = value144 }145 setUseProxies(value) {146 this.useProxies = value147 assign(this, value ? modernProxy : legacyProxy)148 }149 applyPatches(base, patches) {150 // If a patch replaces the entire state, take that replacement as base151 // before applying patches152 let i153 for (i = patches.length - 1; i >= 0; i--) {154 const patch = patches[i]155 if (patch.path.length === 0 && patch.op === "replace") {156 base = patch.value157 break158 }159 }160161 if (isDraft(base)) {162 // N.B: never hits if some patch a replacement, patches are never drafts163 return applyPatches(base, patches)164 }165 // Otherwise, produce a copy of the base state.166 return this.produce(base, draft =>167 applyPatches(draft, patches.slice(i + 1))168 )169 }170 /** @internal */171 processResult(result, scope) {172 const baseDraft = scope.drafts[0]173 const isReplaced = result !== undefined && result !== baseDraft174 this.willFinalize(scope, result, isReplaced)175 if (isReplaced) {176 if (baseDraft[DRAFT_STATE].modified) {177 scope.revoke()178 throw new Error("An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.") // prettier-ignore179 }180 if (isDraftable(result)) {181 // Finalize the result in case it contains (or is) a subset of the draft.182 result = this.finalize(result, null, scope)183 this.maybeFreeze(result)184 }185 if (scope.patches) {186 scope.patches.push({187 op: "replace",188 path: [],189 value: result190 })191 scope.inversePatches.push({192 op: "replace",193 path: [],194 value: baseDraft[DRAFT_STATE].base195 })196 }197 } else {198 // Finalize the base draft.199 result = this.finalize(baseDraft, [], scope)200 }201 scope.revoke()202 if (scope.patches) {203 scope.patchListener(scope.patches, scope.inversePatches)204 }205 return result !== NOTHING ? result : undefined206 }207 /**208 * @internal209 * Finalize a draft, returning either the unmodified base state or a modified210 * copy of the base state.211 */212 finalize(draft, path, scope) {213 const state = draft[DRAFT_STATE]214 if (!state) {215 if (Object.isFrozen(draft)) return draft216 return this.finalizeTree(draft, null, scope)217 }218 // Never finalize drafts owned by another scope.219 if (state.scope !== scope) {220 return draft221 }222 if (!state.modified) {223 this.maybeFreeze(state.base, true)224 return state.base225 }226 if (!state.finalized) {227 state.finalized = true228 this.finalizeTree(state.draft, path, scope)229230 // We cannot really delete anything inside of a Set. We can only replace the whole Set.231 if (this.onDelete && !isSet(state.base)) {232 // The `assigned` object is unreliable with ES5 drafts.233 if (this.useProxies) {234 const {assigned} = state235 each(assigned, (prop, exists) => {236 if (!exists) this.onDelete(state, prop)237 })238 } else {239 // TODO: Figure it out for Maps and Sets if we need to support ES5240 const {base, copy} = state241 each(base, prop => {242 if (!has(copy, prop)) this.onDelete(state, prop)243 })244 }245 }246 if (this.onCopy) {247 this.onCopy(state)248 }249250 // At this point, all descendants of `state.copy` have been finalized,251 // so we can be sure that `scope.canAutoFreeze` is accurate.252 if (this.autoFreeze && scope.canAutoFreeze) {253 freeze(state.copy, false)254 }255256 if (path && scope.patches) {257 generatePatches(state, path, scope.patches, scope.inversePatches)258 }259 }260 return state.copy261 }262 /**263 * @internal264 * Finalize all drafts in the given state tree.265 */266 finalizeTree(root, rootPath, scope) {267 const state = root[DRAFT_STATE]268 if (state) {269 if (!this.useProxies) {270 // Create the final copy, with added keys and without deleted keys.271 state.copy = shallowCopy(state.draft, true)272 }273 root = state.copy274 }275276 const needPatches = !!rootPath && !!scope.patches277 const finalizeProperty = (prop, value, parent) => {278 if (value === parent) {279 throw Error("Immer forbids circular references")280 }281282 // In the `finalizeTree` method, only the `root` object may be a draft.283 const isDraftProp = !!state && parent === root284 const isSetMember = isSet(parent)285286 if (isDraft(value)) {287 const path =288 isDraftProp &&289 needPatches &&290 !isSetMember && // Set objects are atomic since they have no keys.291 !has(state.assigned, prop) // Skip deep patches for assigned keys.292 ? rootPath.concat(prop)293 : null294295 // Drafts owned by `scope` are finalized here.296 value = this.finalize(value, path, scope)297 replace(parent, prop, value)298299 // Drafts from another scope must prevent auto-freezing.300 if (isDraft(value)) {301 scope.canAutoFreeze = false302 }303304 // Unchanged drafts are never passed to the `onAssign` hook.305 if (isDraftProp && value === get(state.base, prop)) return306 }307 // Unchanged draft properties are ignored.308 else if (isDraftProp && is(value, get(state.base, prop))) {309 return310 }311 // Search new objects for unfinalized drafts. Frozen objects should never contain drafts.312 else if (isDraftable(value) && !Object.isFrozen(value)) {313 each(value, finalizeProperty)314 this.maybeFreeze(value)315 }316317 if (isDraftProp && this.onAssign && !isSetMember) {318 this.onAssign(state, prop, value)319 }320 }321322 each(root, finalizeProperty)323 return root324 }325 maybeFreeze(value, deep = false) {326 if (this.autoFreeze && !isDraft(value)) {327 freeze(value, deep)328 }329 }330}331332function replace(parent, prop, value) {333 if (isMap(parent)) {334 parent.set(prop, value)335 } else if (isSet(parent)) {336 // In this case, the `prop` is actually a draft.337 parent.delete(prop)338 parent.add(value)339 } else if (Array.isArray(parent) || isEnumerable(parent, prop)) {340 // Preserve non-enumerable properties.341 parent[prop] = value342 } else {343 Object.defineProperty(parent, prop, {344 value,345 writable: true,346 configurable: true347 })348 }349}
added:src/immer.ts+417 added
1import * as legacyProxy from "./es5"2import * as modernProxy from "./proxy"3import {applyPatches, generatePatches} from "./patches"4import {5 assign,6 each,7 has,8 is,9 isDraft,10 isSet,11 get,12 isMap,13 isDraftable,14 isEnumerable,15 shallowCopy,16 DRAFT_STATE,17 NOTHING,18 freeze19} from "./common"20import {ImmerScope} from "./scope"21import {ImmerState, IProduce, IProduceWithPatches, Objectish, PatchListener, Draft, Patch} from "./types"2223function verifyMinified() {}2425const configDefaults = {26 useProxies:27 typeof Proxy !== "undefined" &&28 typeof Proxy.revocable !== "undefined" &&29 typeof Reflect !== "undefined",30 autoFreeze:31 typeof process !== "undefined"32 ? process.env.NODE_ENV !== "production"33 : verifyMinified.name === "verifyMinified",34 onAssign: null,35 onDelete: null,36 onCopy: null37}3839interface ProducersFns {40 produce: IProduce41 produceWithPatches: IProduceWithPatches42}4344export class Immer implements ProducersFns {45 useProxies: boolean = false46 autoFreeze: boolean = false47 onAssign?: (48 state: ImmerState,49 prop: string | number,50 value: unknown51 ) => void52 onDelete?: (state: ImmerState, prop: string | number) => void53 onCopy?: (state: ImmerState) => void54 createProxy!:<T>(value: T) => T;55 willFinalize!: (scope: ImmerScope, thing: any, isReplaced: boolean) => void;5657 constructor(config?: {58 useProxies?: boolean59 autoFreeze?: boolean60 onAssign?: (61 state: ImmerState,62 prop: string | number,63 value: unknown64 ) => void65 onDelete?: (state: ImmerState, prop: string | number) => void66 onCopy?: (state: ImmerState) => void67 }) {68 assign(this, configDefaults, config)69 this.setUseProxies(this.useProxies)70 this.produce = this.produce.bind(this)71 this.produceWithPatches = this.produceWithPatches.bind(this)72 }7374 /**75 * The `produce` function takes a value and a "recipe function" (whose76 * return value often depends on the base state). The recipe function is77 * free to mutate its first argument however it wants. All mutations are78 * only ever applied to a __copy__ of the base state.79 *80 * Pass only a function to create a "curried producer" which relieves you81 * from passing the recipe function every time.82 *83 * Only plain objects and arrays are made mutable. All other objects are84 * considered uncopyable.85 *86 * Note: This function is __bound__ to its `Immer` instance.87 *88 * @param {any} base - the initial state89 * @param {Function} producer - function that receives a proxy of the base state as first argument and which can be freely modified90 * @param {Function} patchListener - optional function that will be called with all the patches produced here91 * @returns {any} a new state, or the initial state if nothing was modified92 */93 produce(base, recipe?, patchListener?) {94 // curried invocation95 if (typeof base === "function" && typeof recipe !== "function") {96 const defaultBase = recipe97 recipe = base9899 const self = this100 return function curriedProduce(this: any, base = defaultBase, ...args) {101 return self.produce(base, draft => recipe.call(this, draft, ...args)) // prettier-ignore102 }103 }104105 // prettier-ignore106 {107 if (typeof recipe !== "function") {108 throw new Error("The first or second argument to `produce` must be a function")109 }110 if (patchListener !== undefined && typeof patchListener !== "function") {111 throw new Error("The third argument to `produce` must be a function or undefined")112 }113 }114115 let result116117 // Only plain objects, arrays, and "immerable classes" are drafted.118 if (isDraftable(base)) {119 const scope = ImmerScope.enter()120 const proxy = this.createProxy(base)121 let hasError = true122 try {123 result = recipe(proxy)124 hasError = false125 } finally {126 // finally instead of catch + rethrow better preserves original stack127 if (hasError) scope.revoke()128 else scope.leave()129 }130 if (typeof Promise !== "undefined" && result instanceof Promise) {131 return result.then(132 result => {133 scope.usePatches(patchListener)134 return this.processResult(result, scope)135 },136 error => {137 scope.revoke()138 throw error139 }140 )141 }142 scope.usePatches(patchListener)143 return this.processResult(result, scope)144 } else {145 result = recipe(base)146 if (result === NOTHING) return undefined147 if (result === undefined) result = base148 this.maybeFreeze(result, true)149 return result150 }151 }152153 produceWithPatches(arg1, arg2?, arg3?): any {154 if (typeof arg1 === "function") {155 const self = this156 return (state, ...args) =>157 this.produceWithPatches(state, draft => arg1(draft, ...args))158 }159 // non-curried form160 if (arg3)161 throw new Error("A patch listener cannot be passed to produceWithPatches")162 let patches, inversePatches163 const nextState = this.produce(arg1, arg2, (p, ip) => {164 patches = p165 inversePatches = ip166 })167 return [nextState, patches, inversePatches]168 }169170 createDraft<T extends Objectish>(base: T): Draft<T> {171 if (!isDraftable(base)) {172 throw new Error("First argument to `createDraft` must be a plain object, an array, or an immerable object") // prettier-ignore173 }174 const scope = ImmerScope.enter()175 const proxy = this.createProxy(base)176 proxy[DRAFT_STATE].isManual = true177 scope.leave()178 return proxy as any179 }180181 finishDraft<D extends Draft<any>>(draft: D, patchListener: PatchListener): D extends Draft<infer T> ? T : never {182 const state = draft && draft[DRAFT_STATE]183 if (!state || !state.isManual) {184 throw new Error("First argument to `finishDraft` must be a draft returned by `createDraft`") // prettier-ignore185 }186 if (state.finalized) {187 throw new Error("The given draft is already finalized") // prettier-ignore188 }189 const {scope} = state190 scope.usePatches(patchListener)191 return this.processResult(undefined, scope)192 }193194 /**195 * Pass true to automatically freeze all copies created by Immer.196 *197 * By default, auto-freezing is disabled in production.198 */199 setAutoFreeze(value: boolean) {200 this.autoFreeze = value201 }202203 /**204 * Pass true to use the ES2015 `Proxy` class when creating drafts, which is205 * always faster than using ES5 proxies.206 *207 * By default, feature detection is used, so calling this is rarely necessary.208 */209 setUseProxies(value: boolean) {210 this.useProxies = value211 assign(this, value ? modernProxy : legacyProxy)212 }213214 applyPatches(base: Objectish, patches: Patch[]) {215 // If a patch replaces the entire state, take that replacement as base216 // before applying patches217 let i218 for (i = patches.length - 1; i >= 0; i--) {219 const patch = patches[i]220 if (patch.path.length === 0 && patch.op === "replace") {221 base = patch.value222 break223 }224 }225226 if (isDraft(base)) {227 // N.B: never hits if some patch a replacement, patches are never drafts228 return applyPatches(base, patches)229 }230 // Otherwise, produce a copy of the base state.231 return this.produce(base, draft =>232 applyPatches(draft, patches.slice(i + 1))233 )234 }235236 /** @internal */237 processResult(result: any, scope: ImmerScope) {238 const baseDraft = scope.drafts![0]239 const isReplaced = result !== undefined && result !== baseDraft240 this.willFinalize(scope, result, isReplaced)241 if (isReplaced) {242 if (baseDraft[DRAFT_STATE].modified) {243 scope.revoke()244 throw new Error("An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.") // prettier-ignore245 }246 if (isDraftable(result)) {247 // Finalize the result in case it contains (or is) a subset of the draft.248 result = this.finalize(result, null, scope)249 this.maybeFreeze(result)250 }251 if (scope.patches) {252 scope.patches.push({253 op: "replace",254 path: [],255 value: result256 })257 scope.inversePatches!.push({258 op: "replace",259 path: [],260 value: baseDraft[DRAFT_STATE].base261 })262 }263 } else {264 // Finalize the base draft.265 result = this.finalize(baseDraft, [], scope)266 }267 scope.revoke()268 if (scope.patches) {269 scope.patchListener!(scope.patches, scope.inversePatches!)270 }271 return result !== NOTHING ? result : undefined272 }273274 /**275 * @internal276 * Finalize a draft, returning either the unmodified base state or a modified277 * copy of the base state.278 */279 finalize(draft: any, path: string[] | null, scope: ImmerScope) {280 const state = draft[DRAFT_STATE]281 if (!state) {282 if (Object.isFrozen(draft)) return draft283 return this.finalizeTree(draft, null, scope)284 }285 // Never finalize drafts owned by another scope.286 if (state.scope !== scope) {287 return draft288 }289 if (!state.modified) {290 this.maybeFreeze(state.base, true)291 return state.base292 }293 if (!state.finalized) {294 state.finalized = true295 this.finalizeTree(state.draft, path, scope)296297 // We cannot really delete anything inside of a Set. We can only replace the whole Set.298 if (this.onDelete && !isSet(state.base)) {299 // The `assigned` object is unreliable with ES5 drafts.300 if (this.useProxies) {301 const {assigned} = state302 each(assigned, (prop, exists) => {303 if (!exists) this.onDelete?.(state, prop as any)304 })305 } else {306 // TODO: Figure it out for Maps and Sets if we need to support ES5307 const {base, copy} = state308 each(base, prop => {309 if (!has(copy, prop)) this.onDelete?.(state, prop as any)310 })311 }312 }313 if (this.onCopy) {314 this.onCopy(state)315 }316317 // At this point, all descendants of `state.copy` have been finalized,318 // so we can be sure that `scope.canAutoFreeze` is accurate.319 if (this.autoFreeze && scope.canAutoFreeze) {320 freeze(state.copy, false)321 }322323 if (path && scope.patches) {324 generatePatches(state, path, scope.patches, scope.inversePatches!)325 }326 }327 return state.copy328 }329330 /**331 * @internal332 * Finalize all drafts in the given state tree.333 */334 finalizeTree(root: any, rootPath: string[] | null, scope: ImmerScope) {335 const state = root[DRAFT_STATE]336 if (state) {337 if (!this.useProxies) {338 // Create the final copy, with added keys and without deleted keys.339 state.copy = shallowCopy(state.draft, true)340 }341 root = state.copy342 }343344 const needPatches = !!rootPath && !!scope.patches345 const finalizeProperty = (prop, value, parent) => {346 if (value === parent) {347 throw Error("Immer forbids circular references")348 }349350 // In the `finalizeTree` method, only the `root` object may be a draft.351 const isDraftProp = !!state && parent === root352 const isSetMember = isSet(parent)353354 if (isDraft(value)) {355 const path =356 isDraftProp &&357 needPatches &&358 !isSetMember && // Set objects are atomic since they have no keys.359 !has(state.assigned, prop) // Skip deep patches for assigned keys.360 ? rootPath!.concat(prop)361 : null362363 // Drafts owned by `scope` are finalized here.364 value = this.finalize(value, path, scope)365 replace(parent, prop, value)366367 // Drafts from another scope must prevent auto-freezing.368 if (isDraft(value)) {369 scope.canAutoFreeze = false370 }371372 // Unchanged drafts are never passed to the `onAssign` hook.373 if (isDraftProp && value === get(state.base, prop)) return374 }375 // Unchanged draft properties are ignored.376 else if (isDraftProp && is(value, get(state.base, prop))) {377 return378 }379 // Search new objects for unfinalized drafts. Frozen objects should never contain drafts.380 else if (isDraftable(value) && !Object.isFrozen(value)) {381 each(value, finalizeProperty)382 this.maybeFreeze(value)383 }384385 if (isDraftProp && this.onAssign && !isSetMember) {386 this.onAssign(state, prop, value)387 }388 }389390 each(root, finalizeProperty)391 return root392 }393 maybeFreeze(value, deep = false) {394 if (this.autoFreeze && !isDraft(value)) {395 freeze(value, deep)396 }397 }398}399400function replace(parent, prop, value) {401 if (isMap(parent)) {402 parent.set(prop, value)403 } else if (isSet(parent)) {404 // In this case, the `prop` is actually a draft.405 parent.delete(prop)406 parent.add(value)407 } else if (Array.isArray(parent) || isEnumerable(parent, prop)) {408 // Preserve non-enumerable properties.409 parent[prop] = value410 } else {411 Object.defineProperty(parent, prop, {412 value,413 writable: true,414 configurable: true415 })416 }417}
deleted:src/index.js-79 removed
added:src/index.ts+84 added
1import {Immer} from "./immer"2import {IProduce, IProduceWithPatches} from "./types"34export {Draft, Immutable, Patch, PatchListener} from "./types"56const immer = new Immer()78/**9 * The `produce` function takes a value and a "recipe function" (whose10 * return value often depends on the base state). The recipe function is11 * free to mutate its first argument however it wants. All mutations are12 * only ever applied to a __copy__ of the base state.13 *14 * Pass only a function to create a "curried producer" which relieves you15 * from passing the recipe function every time.16 *17 * Only plain objects and arrays are made mutable. All other objects are18 * considered uncopyable.19 *20 * Note: This function is __bound__ to its `Immer` instance.21 *22 * @param {any} base - the initial state23 * @param {Function} producer - function that receives a proxy of the base state as first argument and which can be freely modified24 * @param {Function} patchListener - optional function that will be called with all the patches produced here25 * @returns {any} a new state, or the initial state if nothing was modified26 */27export const produce: IProduce = immer.produce28export default produce2930/**31 * Like `produce`, but `produceWithPatches` always returns a tuple32 * [nextState, patches, inversePatches] (instead of just the next state)33 */34export const produceWithPatches: IProduceWithPatches = immer.produceWithPatches.bind(35 immer36)3738/**39 * Pass true to automatically freeze all copies created by Immer.40 *41 * By default, auto-freezing is disabled in production.42 */43export const setAutoFreeze = immer.setAutoFreeze.bind(immer)4445/**46 * Pass true to use the ES2015 `Proxy` class when creating drafts, which is47 * always faster than using ES5 proxies.48 *49 * By default, feature detection is used, so calling this is rarely necessary.50 */51export const setUseProxies = immer.setUseProxies.bind(immer)5253/**54 * Apply an array of Immer patches to the first argument.55 *56 * This function is a producer, which means copy-on-write is in effect.57 */58export const applyPatches = immer.applyPatches.bind(immer)5960/**61 * Create an Immer draft from the given base state, which may be a draft itself.62 * The draft can be modified until you finalize it with the `finishDraft` function.63 */64export const createDraft = immer.createDraft.bind(immer)6566/**67 * Finalize an Immer draft from a `createDraft` call, returning the base state68 * (if no changes were made) or a modified copy. The draft must *not* be69 * mutated afterwards.70 *71 * Pass a function as the 2nd argument to generate Immer patches based on the72 * changes that were made.73 */74export const finishDraft = immer.finishDraft.bind(immer)7576export {77 original,78 isDraft,79 isDraftable,80 NOTHING as nothing,81 DRAFTABLE as immerable82} from "./common"8384export {Immer}
deleted:src/patches.js-186 removed
1import {get, each, isMap, isSet, has, clone} from "./common"23export function generatePatches(state, basePath, patches, inversePatches) {4 const generatePatchesFn = Array.isArray(state.base)5 ? generateArrayPatches6 : isSet(state.base)7 ? generateSetPatches8 : generatePatchesFromAssigned910 generatePatchesFn(state, basePath, patches, inversePatches)11}1213function generateArrayPatches(state, basePath, patches, inversePatches) {14 let {base, copy, assigned} = state1516 // Reduce complexity by ensuring `base` is never longer.17 if (copy.length < base.length) {18 ;[base, copy] = [copy, base]19 ;[patches, inversePatches] = [inversePatches, patches]20 }2122 const delta = copy.length - base.length2324 // Find the first replaced index.25 let start = 026 while (base[start] === copy[start] && start < base.length) {27 ++start28 }2930 // Find the last replaced index. Search from the end to optimize splice patches.31 let end = base.length32 while (end > start && base[end - 1] === copy[end + delta - 1]) {33 --end34 }3536 // Process replaced indices.37 for (let i = start; i < end; ++i) {38 if (assigned[i] && copy[i] !== base[i]) {39 const path = basePath.concat([i])40 patches.push({41 op: "replace",42 path,43 value: copy[i]44 })45 inversePatches.push({46 op: "replace",47 path,48 value: base[i]49 })50 }51 }5253 const replaceCount = patches.length5455 // Process added indices.56 for (let i = end + delta - 1; i >= end; --i) {57 const path = basePath.concat([i])58 patches[replaceCount + i - end] = {59 op: "add",60 path,61 value: copy[i]62 }63 inversePatches.push({64 op: "remove",65 path66 })67 }68}6970// This is used for both Map objects and normal objects.71function generatePatchesFromAssigned(state, basePath, patches, inversePatches) {72 const {base, copy} = state73 each(state.assigned, (key, assignedValue) => {74 const origValue = get(base, key)75 const value = get(copy, key)76 const op = !assignedValue ? "remove" : has(base, key) ? "replace" : "add"77 if (origValue === value && op === "replace") return78 const path = basePath.concat(key)79 patches.push(op === "remove" ? {op, path} : {op, path, value})80 inversePatches.push(81 op === "add"82 ? {op: "remove", path}83 : op === "remove"84 ? {op: "add", path, value: origValue}85 : {op: "replace", path, value: origValue}86 )87 })88}8990function generateSetPatches(state, basePath, patches, inversePatches) {91 let {base, copy} = state9293 let i = 094 for (const value of base) {95 if (!copy.has(value)) {96 const path = basePath.concat([i])97 patches.push({98 op: "remove",99 path,100 value101 })102 inversePatches.unshift({103 op: "add",104 path,105 value106 })107 }108 i++109 }110 i = 0111 for (const value of copy) {112 if (!base.has(value)) {113 const path = basePath.concat([i])114 patches.push({115 op: "add",116 path,117 value118 })119 inversePatches.unshift({120 op: "remove",121 path,122 value123 })124 }125 i++126 }127}128129export const applyPatches = (draft, patches) => {130 for (const patch of patches) {131 const {path, op} = patch132133 if (!path.length) throw new Error("Illegal state")134135 let base = draft136 for (let i = 0; i < path.length - 1; i++) {137 base = get(base, path[i])138 if (!base || typeof base !== "object")139 throw new Error("Cannot apply patch, path doesn't resolve: " + path.join("/")) // prettier-ignore140 }141142 const value = clone(patch.value) // used to clone patch to ensure original patch is not modified, see #411143144 const key = path[path.length - 1]145 switch (op) {146 case "replace":147 if (isMap(base)) {148 base.set(key, value)149 } else if (isSet(base)) {150 throw new Error('Sets cannot have "replace" patches.')151 } else {152 // if value is an object, then it's assigned by reference153 // in the following add or remove ops, the value field inside the patch will also be modifyed154 // so we use value from the cloned patch155 base[key] = value156 }157 break158 case "add":159 if (isSet(base)) {160 base.delete(patch.value)161 }162163 Array.isArray(base)164 ? base.splice(key, 0, value)165 : isMap(base)166 ? base.set(key, value)167 : isSet(base)168 ? base.add(value)169 : (base[key] = value)170 break171 case "remove":172 Array.isArray(base)173 ? base.splice(key, 1)174 : isMap(base)175 ? base.delete(key)176 : isSet(base)177 ? base.delete(patch.value)178 : delete base[key]179 break180 default:181 throw new Error("Unsupported patch operation: " + op)182 }183 }184185 return draft186}
added:src/patches.ts+207 added
1import {get, each, isMap, isSet, has, clone} from "./common"2import {Patch, ImmerState} from "./types"34export function generatePatches(5 state: ImmerState,6 basePath: (string | number)[],7 patches: Patch[],8 inversePatches: Patch[]9) {10 const generatePatchesFn = Array.isArray(state.base)11 ? generateArrayPatches12 : isSet(state.base)13 ? generateSetPatches14 : generatePatchesFromAssigned1516 generatePatchesFn(state, basePath, patches, inversePatches)17}1819function generateArrayPatches(20 state: ImmerState,21 basePath: (string | number)[],22 patches: Patch[],23 inversePatches: Patch[]24) {25 let {base, copy, assigned} = state2627 // Reduce complexity by ensuring `base` is never longer.28 if (copy.length < base.length) {29 ;[base, copy] = [copy, base]30 ;[patches, inversePatches] = [inversePatches, patches]31 }3233 const delta = copy.length - base.length3435 // Find the first replaced index.36 let start = 037 while (base[start] === copy[start] && start < base.length) {38 ++start39 }4041 // Find the last replaced index. Search from the end to optimize splice patches.42 let end = base.length43 while (end > start && base[end - 1] === copy[end + delta - 1]) {44 --end45 }4647 // Process replaced indices.48 for (let i = start; i < end; ++i) {49 if (assigned[i] && copy[i] !== base[i]) {50 const path = basePath.concat([i])51 patches.push({52 op: "replace",53 path,54 value: copy[i]55 })56 inversePatches.push({57 op: "replace",58 path,59 value: base[i]60 })61 }62 }6364 const replaceCount = patches.length6566 // Process added indices.67 for (let i = end + delta - 1; i >= end; --i) {68 const path = basePath.concat([i])69 patches[replaceCount + i - end] = {70 op: "add",71 path,72 value: copy[i]73 }74 inversePatches.push({75 op: "remove",76 path77 })78 }79}8081// This is used for both Map objects and normal objects.82function generatePatchesFromAssigned(83 state: ImmerState,84 basePath: (number | string)[],85 patches: Patch[],86 inversePatches: Patch[]87) {88 const {base, copy} = state89 each(state.assigned, (key, assignedValue) => {90 const origValue = get(base, key)91 const value = get(copy, key)92 const op = !assignedValue ? "remove" : has(base, key) ? "replace" : "add"93 if (origValue === value && op === "replace") return94 const path = basePath.concat(key as any)95 patches.push(op === "remove" ? {op, path} : {op, path, value})96 inversePatches.push(97 op === "add"98 ? {op: "remove", path}99 : op === "remove"100 ? {op: "add", path, value: origValue}101 : {op: "replace", path, value: origValue}102 )103 })104}105106function generateSetPatches(107 state: ImmerState,108 basePath: (number | string)[],109 patches: Patch[],110 inversePatches: Patch[]111) {112 let {base, copy} = state113114 let i = 0115 base.forEach(value => {116 if (!copy.has(value)) {117 const path = basePath.concat([i])118 patches.push({119 op: "remove",120 path,121 value122 })123 inversePatches.unshift({124 op: "add",125 path,126 value127 })128 }129 i++130 })131 i = 0132 copy.forEach(value => {133 if (!base.has(value)) {134 const path = basePath.concat([i])135 patches.push({136 op: "add",137 path,138 value139 })140 inversePatches.unshift({141 op: "remove",142 path,143 value144 })145 }146 i++147 })148}149150export function applyPatches<T>(draft: T, patches: Patch[]): T {151 patches.forEach(patch => {152 const {path, op} = patch153154 if (!path.length) throw new Error("Illegal state")155156 let base = draft157 for (let i = 0; i < path.length - 1; i++) {158 base = get(base, path[i])159 if (!base || typeof base !== "object")160 throw new Error("Cannot apply patch, path doesn't resolve: " + path.join("/")) // prettier-ignore161 }162163 const value = clone(patch.value) // used to clone patch to ensure original patch is not modified, see #411164165 const key = path[path.length - 1]166 switch (op) {167 case "replace":168 if (isMap(base)) {169 base.set(key, value)170 } else if (isSet(base)) {171 throw new Error('Sets cannot have "replace" patches.')172 } else {173 // if value is an object, then it's assigned by reference174 // in the following add or remove ops, the value field inside the patch will also be modifyed175 // so we use value from the cloned patch176 base[key] = value177 }178 break179 case "add":180 if (isSet(base)) {181 base.delete(patch.value)182 }183184 Array.isArray(base)185 ? base.splice(key as any, 0, value)186 : isMap(base)187 ? base.set(key, value)188 : isSet(base)189 ? base.add(value)190 : (base[key] = value)191 break192 case "remove":193 Array.isArray(base)194 ? base.splice(key as any, 1)195 : isMap(base)196 ? base.delete(key)197 : isSet(base)198 ? base.delete(patch.value)199 : delete base[key]200 break201 default:202 throw new Error("Unsupported patch operation: " + op)203 }204 })205206 return draft207}
deleted:src/proxy.js-373 removed
1"use strict"2import {3 assign,4 each,5 has,6 is,7 isDraftable,8 isDraft,9 isMap,10 isSet,11 hasSymbol,12 shallowCopy,13 makeIterable,14 DRAFT_STATE,15 assignMap,16 assignSet,17 original,18 iterateMapValues,19 makeIterateSetValues20} from "./common"21import {ImmerScope} from "./scope"2223// Do nothing before being finalized.24export function willFinalize() {}2526/**27 * Returns a new draft of the `base` object.28 *29 * The second argument is the parent draft-state (used internally).30 */31export function createProxy(base, parent) {32 const scope = parent ? parent.scope : ImmerScope.current33 const state = {34 // Track which produce call this is associated with.35 scope,36 // True for both shallow and deep changes.37 modified: false,38 // Used during finalization.39 finalized: false,40 // Track which properties have been assigned (true) or deleted (false).41 assigned: {},42 // The parent draft state.43 parent,44 // The base state.45 base,46 // The base proxy.47 draft: null,48 // Any property proxies.49 drafts: {},50 // The base copy with any updated values.51 copy: null,52 // Called by the `produce` function.53 revoke: null54 }5556 let target = state57 let traps = objectTraps58 if (Array.isArray(base)) {59 target = [state]60 traps = arrayTraps61 }62 // Map drafts must support object keys, so we use Map objects to track changes.63 else if (isMap(base)) {64 traps = mapTraps65 state.drafts = new Map()66 state.assigned = new Map()67 }68 // Set drafts use a Map object to track which of its values are drafted.69 // And we don't need the "assigned" property, because Set objects have no keys.70 else if (isSet(base)) {71 traps = setTraps72 state.drafts = new Map()73 }7475 const {revoke, proxy} = Proxy.revocable(target, traps)7677 state.draft = proxy78 state.revoke = revoke7980 scope.drafts.push(proxy)81 return proxy82}8384/**85 * Object drafts86 */8788const objectTraps = {89 get(state, prop) {90 if (prop === DRAFT_STATE) return state91 let {drafts} = state9293 // Check for existing draft in unmodified state.94 if (!state.modified && has(drafts, prop)) {95 return drafts[prop]96 }9798 const value = latest(state)[prop]99 if (state.finalized || !isDraftable(value)) {100 return value101 }102103 // Check for existing draft in modified state.104 if (state.modified) {105 // Assigned values are never drafted. This catches any drafts we created, too.106 if (value !== peek(state.base, prop)) return value107 // Store drafts on the copy (when one exists).108 drafts = state.copy109 }110111 return (drafts[prop] = createProxy(value, state))112 },113 has(state, prop) {114 return prop in latest(state)115 },116 ownKeys(state) {117 return Reflect.ownKeys(latest(state))118 },119 set(state, prop, value) {120 if (!state.modified) {121 const baseValue = peek(state.base, prop)122 // Optimize based on value's truthiness. Truthy values are guaranteed to123 // never be undefined, so we can avoid the `in` operator. Lastly, truthy124 // values may be drafts, but falsy values are never drafts.125 const isUnchanged = value126 ? is(baseValue, value) || value === state.drafts[prop]127 : is(baseValue, value) && prop in state.base128 if (isUnchanged) return true129 markChanged(state)130 }131 state.assigned[prop] = true132 state.copy[prop] = value133 return true134 },135 deleteProperty(state, prop) {136 // The `undefined` check is a fast path for pre-existing keys.137 if (peek(state.base, prop) !== undefined || prop in state.base) {138 state.assigned[prop] = false139 markChanged(state)140 } else if (state.assigned[prop]) {141 // if an originally not assigned property was deleted142 delete state.assigned[prop]143 }144 if (state.copy) delete state.copy[prop]145 return true146 },147 // Note: We never coerce `desc.value` into an Immer draft, because we can't make148 // the same guarantee in ES5 mode.149 getOwnPropertyDescriptor(state, prop) {150 const owner = latest(state)151 const desc = Reflect.getOwnPropertyDescriptor(owner, prop)152 if (desc) {153 desc.writable = true154 desc.configurable = !Array.isArray(owner) || prop !== "length"155 }156 return desc157 },158 defineProperty() {159 throw new Error("Object.defineProperty() cannot be used on an Immer draft") // prettier-ignore160 },161 getPrototypeOf(state) {162 return Object.getPrototypeOf(state.base)163 },164 setPrototypeOf() {165 throw new Error("Object.setPrototypeOf() cannot be used on an Immer draft") // prettier-ignore166 }167}168169/**170 * Array drafts171 */172173const arrayTraps = {}174each(objectTraps, (key, fn) => {175 arrayTraps[key] = function() {176 arguments[0] = arguments[0][0]177 return fn.apply(this, arguments)178 }179})180arrayTraps.deleteProperty = function(state, prop) {181 if (isNaN(parseInt(prop))) {182 throw new Error("Immer only supports deleting array indices") // prettier-ignore183 }184 return objectTraps.deleteProperty.call(this, state[0], prop)185}186arrayTraps.set = function(state, prop, value) {187 if (prop !== "length" && isNaN(parseInt(prop))) {188 throw new Error("Immer only supports setting array indices and the 'length' property") // prettier-ignore189 }190 return objectTraps.set.call(this, state[0], prop, value)191}192193// Used by Map and Set drafts194const reflectTraps = makeReflectTraps([195 "ownKeys",196 "has",197 "set",198 "deleteProperty",199 "defineProperty",200 "getOwnPropertyDescriptor",201 "preventExtensions",202 "isExtensible",203 "getPrototypeOf"204])205206/**207 * Map drafts208 */209210const mapTraps = makeTrapsForGetters({211 [DRAFT_STATE]: state => state,212 size: state => latest(state).size,213 has: state => key => latest(state).has(key),214 set: state => (key, value) => {215 const values = latest(state)216 if (!values.has(key) || values.get(key) !== value) {217 markChanged(state)218 state.assigned.set(key, true)219 state.copy.set(key, value)220 }221 return state.draft222 },223 delete: state => key => {224 if (latest(state).has(key)) {225 markChanged(state)226 state.assigned.set(key, false)227 return state.copy.delete(key)228 }229 return false230 },231 clear: state => () => {232 markChanged(state)233 state.assigned = new Map()234 for (const key of latest(state).keys()) {235 state.assigned.set(key, false)236 }237 return state.copy.clear()238 },239 forEach: (state, _, receiver) => (cb, thisArg) =>240 latest(state).forEach((_, key, map) => {241 const value = receiver.get(key)242 cb.call(thisArg, value, key, map)243 }),244 get: state => key => {245 const drafts = state.modified ? state.copy : state.drafts246247 if (drafts.has(key)) {248 const value = drafts.get(key)249250 if (isDraft(value) || !isDraftable(value)) return value251252 const draft = createProxy(value, state)253 drafts.set(key, draft)254 return draft255 }256257 const value = latest(state).get(key)258 if (state.finalized || !isDraftable(value)) {259 return value260 }261262 const draft = createProxy(value, state)263 drafts.set(key, draft)264 return draft265 },266 keys: state => () => latest(state).keys(),267 values: iterateMapValues,268 entries: iterateMapValues,269 [hasSymbol ? Symbol.iterator : "@@iterator"]: iterateMapValues270})271272const iterateSetValues = makeIterateSetValues(createProxy)273/**274 * Set drafts275 */276277const setTraps = makeTrapsForGetters({278 [DRAFT_STATE]: state => state,279 size: state => latest(state).size,280 has: state => key => latest(state).has(key),281 add: state => value => {282 if (!latest(state).has(value)) {283 markChanged(state)284 state.copy.add(value)285 }286 return state.draft287 },288 delete: state => value => {289 markChanged(state)290 return state.copy.delete(value)291 },292 clear: state => () => {293 markChanged(state)294 return state.copy.clear()295 },296 forEach: state => (cb, thisArg) => {297 const iterator = iterateSetValues(state)()298 let result = iterator.next()299 while (!result.done) {300 cb.call(thisArg, result.value, result.value, state.draft)301 result = iterator.next()302 }303 },304 keys: iterateSetValues,305 values: iterateSetValues,306 entries: iterateSetValues,307 [hasSymbol ? Symbol.iterator : "@@iterator"]: iterateSetValues308})309310/**311 * Helpers312 */313314// Retrieve the latest values of the draft.315function latest(state) {316 return state.copy || state.base317}318319// Access a property without creating an Immer draft.320function peek(draft, prop) {321 const state = draft[DRAFT_STATE]322 const desc = Reflect.getOwnPropertyDescriptor(323 state ? latest(state) : draft,324 prop325 )326 return desc && desc.value327}328329function markChanged(state) {330 if (!state.modified) {331 state.modified = true332333 const {base, drafts, parent} = state334 const copy = shallowCopy(base)335336 if (isSet(base)) {337 // Note: The `drafts` property is preserved for Set objects, since338 // we need to keep track of which values are drafted.339 assignSet(copy, drafts)340 } else {341 // Merge nested drafts into the copy.342 if (isMap(base)) assignMap(copy, drafts)343 else assign(copy, drafts)344 state.drafts = null345 }346347 state.copy = copy348 if (parent) {349 markChanged(parent)350 }351 }352}353354/** Create traps that all use the `Reflect` API on the `latest(state)` */355function makeReflectTraps(names) {356 return names.reduce((traps, name) => {357 traps[name] = (state, ...args) => Reflect[name](latest(state), ...args)358 return traps359 }, {})360}361362function makeTrapsForGetters(getters) {363 return assign({}, reflectTraps, {364 get(state, prop, receiver) {365 return getters.hasOwnProperty(prop)366 ? getters[prop](state, prop, receiver)367 : Reflect.get(state, prop, receiver)368 },369 setPrototypeOf(state) {370 throw new Error("Object.setPrototypeOf() cannot be used on an Immer draft") // prettier-ignore371 }372 })373}
added:src/proxy.ts+430 added
1"use strict"2import {3 assign,4 each,5 has,6 is,7 isDraftable,8 isDraft,9 isMap,10 isSet,11 hasSymbol,12 shallowCopy,13 makeIterable,14 DRAFT_STATE,15 assignMap,16 assignSet,17 original,18 iterateMapValues,19 makeIterateSetValues20} from "./common"21import {ImmerScope} from "./scope"2223// Do nothing before being finalized.24export function willFinalize() {}2526interface ES6Draft {}2728interface ES6State<T = any> {29 scope: ImmerScope30 modified: boolean31 finalized: boolean32 assigned:33 | {34 [property: string]: boolean35 }36 | Map<string, boolean> // TODO: always use a Map?37 parent: ES6State38 base: T39 draft: ES6Draft | null40 drafts:41 | {42 [property: string]: ES6Draft43 }44 | Map<string, ES6Draft> // TODO: always use a Map?45 copy: T | null46 revoke: null | (() => void)47}4849/**50 * Returns a new draft of the `base` object.51 *52 * The second argument is the parent draft-state (used internally).53 */54export function createProxy<T extends object>(55 base: T,56 parent: ES6State57): ES6Draft {58 const scope = parent ? parent.scope : ImmerScope.current!59 const state: ES6State<T> = {60 // Track which produce call this is associated with.61 scope,62 // True for both shallow and deep changes.63 modified: false,64 // Used during finalization.65 finalized: false,66 // Track which properties have been assigned (true) or deleted (false).67 assigned: {},68 // The parent draft state.69 parent,70 // The base state.71 base,72 // The base proxy.73 draft: null,74 // Any property proxies.75 drafts: {},76 // The base copy with any updated values.77 copy: null,78 // Called by the `produce` function.79 revoke: null80 }8182 // the traps must target something, a bit like the 'real' base.83 // but also, we need to be able to determine from the target what the relevant state is84 // (to avoid creating traps per instance to capture the state in closure,85 // and to avoid creating weird hidden properties as well)86 // So the trick is to use 'state' as the actual 'target'! (and make sure we intercept everything)87 // Note that in the case of an array, we put the state in an array to have better Reflect defaults ootb88 let target: T = state as any89 let traps: ProxyHandler<object | Array<any>> = objectTraps90 if (Array.isArray(base)) {91 target = [state] as any92 traps = arrayTraps93 }94 // Map drafts must support object keys, so we use Map objects to track changes.95 else if (isMap(base)) {96 traps = mapTraps97 state.drafts = new Map()98 state.assigned = new Map()99 }100 // Set drafts use a Map object to track which of its values are drafted.101 // And we don't need the "assigned" property, because Set objects have no keys.102 else if (isSet(base)) {103 traps = setTraps104 state.drafts = new Map()105 }106107 const {revoke, proxy} = Proxy.revocable(target, traps)108109 state.draft = proxy110 state.revoke = revoke111112 scope.drafts!.push(proxy)113 return proxy114}115116/**117 * Object drafts118 */119const objectTraps: ProxyHandler<ES6State> = {120 get(state, prop) {121 if (prop === DRAFT_STATE) return state122 let {drafts} = state123124 // Check for existing draft in unmodified state.125 if (!state.modified && has(drafts, prop)) {126 return drafts[prop]127 }128129 const value = latest(state)[prop]130 if (state.finalized || !isDraftable(value)) {131 return value132 }133134 // Check for existing draft in modified state.135 if (state.modified) {136 // Assigned values are never drafted. This catches any drafts we created, too.137 if (value !== peek(state.base, prop)) return value138 // Store drafts on the copy (when one exists).139 drafts = state.copy140 }141142 return (drafts[prop] = createProxy(value, state))143 },144 has(state, prop) {145 return prop in latest(state)146 },147 ownKeys(state) {148 return Reflect.ownKeys(latest(state))149 },150 set(state, prop, value) {151 if (!state.modified) {152 const baseValue = peek(state.base, prop)153 // Optimize based on value's truthiness. Truthy values are guaranteed to154 // never be undefined, so we can avoid the `in` operator. Lastly, truthy155 // values may be drafts, but falsy values are never drafts.156 const isUnchanged = value157 ? is(baseValue, value) || value === state.drafts[prop]158 : is(baseValue, value) && prop in state.base159 if (isUnchanged) return true160 markChanged(state)161 }162 state.assigned[prop] = true163 state.copy[prop] = value164 return true165 },166 deleteProperty(state, prop) {167 // The `undefined` check is a fast path for pre-existing keys.168 if (peek(state.base, prop) !== undefined || prop in state.base) {169 state.assigned[prop] = false170 markChanged(state)171 } else if (state.assigned[prop]) {172 // if an originally not assigned property was deleted173 delete state.assigned[prop]174 }175 if (state.copy) delete state.copy[prop]176 return true177 },178 // Note: We never coerce `desc.value` into an Immer draft, because we can't make179 // the same guarantee in ES5 mode.180 getOwnPropertyDescriptor(state, prop) {181 const owner = latest(state)182 const desc = Reflect.getOwnPropertyDescriptor(owner, prop)183 if (desc) {184 desc.writable = true185 desc.configurable = !Array.isArray(owner) || prop !== "length"186 }187 return desc188 },189 defineProperty() {190 throw new Error("Object.defineProperty() cannot be used on an Immer draft") // prettier-ignore191 },192 getPrototypeOf(state) {193 return Object.getPrototypeOf(state.base)194 },195 setPrototypeOf() {196 throw new Error("Object.setPrototypeOf() cannot be used on an Immer draft") // prettier-ignore197 }198}199200/**201 * Array drafts202 */203204const arrayTraps: ProxyHandler<[ES6State]> = {}205each(objectTraps, (key, fn) => {206 arrayTraps[key] = function() {207 arguments[0] = arguments[0][0]208 return fn.apply(this, arguments)209 }210})211arrayTraps.deleteProperty = function(state, prop) {212 if (isNaN(parseInt(prop as any))) {213 throw new Error("Immer only supports deleting array indices") // prettier-ignore214 }215 return objectTraps.deleteProperty!.call(this, state[0], prop)216}217arrayTraps.set = function(state, prop, value) {218 if (prop !== "length" && isNaN(parseInt(prop as any))) {219 throw new Error("Immer only supports setting array indices and the 'length' property") // prettier-ignore220 }221 return objectTraps.set!.call(this, state[0], prop, value, state[0])222}223224// Used by Map and Set drafts225const reflectTraps = makeReflectTraps([226 "ownKeys",227 "has",228 "set",229 "deleteProperty",230 "defineProperty",231 "getOwnPropertyDescriptor",232 "preventExtensions",233 "isExtensible",234 "getPrototypeOf"235])236237/**238 * Map drafts239 */240241const mapTraps = makeTrapsForGetters<Map<any, any>>({242 [DRAFT_STATE]: state => state,243 size: state => latest(state).size,244 has: state => key => latest(state).has(key),245 set: state => (key, value) => {246 const values = latest(state)247 if (!values.has(key) || values.get(key) !== value) {248 markChanged(state)249 // @ts-ignore250 state.assigned.set(key, true)251 state.copy!.set(key, value)252 }253 return state.draft254 },255 delete: state => key => {256 if (latest(state).has(key)) {257 markChanged(state)258 // @ts-ignore259 state.assigned.set(key, false)260 return state.copy!.delete(key)261 }262 return false263 },264 clear: state => () => {265 markChanged(state)266 state.assigned = new Map()267 each(latest(state).keys(), (_, key) => {268 // @ts-ignore269 state.assigned.set(key, false)270 })271 return state.copy!.clear()272 },273 // @ts-ignore274 forEach: (state, _, receiver) => (cb, thisArg) =>275 latest(state).forEach((_, key, map) => {276 const value = receiver.get(key)277 cb.call(thisArg, value, key, map)278 }),279 get: state => key => {280 const drafts = state.modified ? state.copy : state.drafts281282 // @ts-ignore TODO: ...or fix by using different ES6Draft types (but better just unify to maps)283 if (drafts!.has(key)) {284 // @ts-ignore285 const value = drafts.get(key)286287 if (isDraft(value) || !isDraftable(value)) return value288289 const draft = createProxy(value, state)290 // @ts-ignore291 drafts.set(key, draft)292 return draft293 }294295 const value = latest(state).get(key)296 if (state.finalized || !isDraftable(value)) {297 return value298 }299300 const draft = createProxy(value, state)301 //@ts-ignore302 drafts.set(key, draft)303 return draft304 },305 keys: state => () => latest(state).keys(),306 //@ts-ignore307 values: iterateMapValues,308 //@ts-ignore309 entries: iterateMapValues,310 [hasSymbol ? Symbol.iterator : "@@iterator"]: iterateMapValues311})312313const iterateSetValues = makeIterateSetValues(createProxy)314/**315 * Set drafts316 */317318const setTraps = makeTrapsForGetters<Set<any>>({319 //@ts-ignore320 [DRAFT_STATE]: state => state,321 size: state => latest(state).size,322 has: state => key => latest(state).has(key),323 add: state => value => {324 if (!latest(state).has(value)) {325 markChanged(state)326 //@ts-ignore327 state.copy.add(value)328 }329 return state.draft330 },331 delete: state => value => {332 markChanged(state)333 //@ts-ignore334 return state.copy.delete(value)335 },336 clear: state => () => {337 markChanged(state)338 //@ts-ignore339 return state.copy.clear()340 },341 forEach: state => (cb, thisArg) => {342 const iterator = iterateSetValues(state)()343 let result = iterator.next()344 while (!result.done) {345 cb.call(thisArg, result.value, result.value, state.draft)346 result = iterator.next()347 }348 },349 keys: iterateSetValues,350 values: iterateSetValues,351 entries: iterateSetValues,352 [hasSymbol ? Symbol.iterator : "@@iterator"]: iterateSetValues353})354355/**356 * Helpers357 */358359// Retrieve the latest values of the draft.360function latest(state) {361 return state.copy || state.base362}363364// Access a property without creating an Immer draft.365function peek(draft, prop) {366 const state = draft[DRAFT_STATE]367 const desc = Reflect.getOwnPropertyDescriptor(368 state ? latest(state) : draft,369 prop370 )371 return desc && desc.value372}373374function markChanged(state) {375 if (!state.modified) {376 state.modified = true377378 const {base, drafts, parent} = state379 const copy = shallowCopy(base)380381 if (isSet(base)) {382 // Note: The `drafts` property is preserved for Set objects, since383 // we need to keep track of which values are drafted.384 assignSet(copy, drafts)385 } else {386 // Merge nested drafts into the copy.387 if (isMap(base)) assignMap(copy, drafts)388 else assign(copy, drafts)389 state.drafts = null390 }391392 state.copy = copy393 if (parent) {394 markChanged(parent)395 }396 }397}398399/** Create traps that all use the `Reflect` API on the `latest(state)` */400function makeReflectTraps<T extends object>(401 names: (keyof typeof Reflect)[]402): ProxyHandler<T> {403 return names.reduce(404 (traps, name) => {405 // @ts-ignore406 traps[name] = (state, ...args) => Reflect[name](latest(state), ...args)407 return traps408 },409 {} as any410 )411}412413function makeTrapsForGetters<T extends object>(414 getters: {415 [K in keyof T]: (416 state: ES6State<T>417 ) => /* Skip first arg of: ProxyHandler<T>[K] */ any418 }419): ProxyHandler<T> {420 return assign({}, reflectTraps, {421 get(state, prop, receiver) {422 return getters.hasOwnProperty(prop)423 ? getters[prop](state, prop, receiver)424 : Reflect.get(state, prop, receiver)425 },426 setPrototypeOf(state) {427 throw new Error("Object.setPrototypeOf() cannot be used on an Immer draft") // prettier-ignore428 }429 })430}
deleted:src/scope.js-42 removed
added:src/scope.ts+57 added
1import {DRAFT_STATE} from "./common"2import {ImmerState, Patch, PatchListener} from "./types"34/** Each scope represents a `produce` call. */5export class ImmerScope {6 static current?: ImmerScope78 patches?: Patch[]9 inversePatches?: Patch[]10 canAutoFreeze: boolean11 drafts: any[]12 parent?: ImmerScope13 patchListener?: PatchListener1415 constructor(parent?: ImmerScope) {16 this.drafts = []17 this.parent = parent1819 // Whenever the modified draft contains a draft from another scope, we20 // need to prevent auto-freezing so the unowned draft can be finalized.21 this.canAutoFreeze = true2223 // To avoid prototype lookups:24 this.patches = null as any // TODO:25 }2627 usePatches(patchListener: PatchListener) {28 if (patchListener) {29 this.patches = []30 this.inversePatches = []31 this.patchListener = patchListener32 }33 }3435 revoke() {36 this.leave()37 this.drafts.forEach(revoke)38 // @ts-ignore39 this.drafts = null // TODO: // Make draft-related methods throw.40 }4142 leave() {43 if (this === ImmerScope.current) {44 ImmerScope.current = this.parent45 }46 }4748 static enter() {49 const scope = new ImmerScope(ImmerScope.current)50 ImmerScope.current = scope51 return scope52 }53}5455function revoke(draft) {56 draft[DRAFT_STATE].revoke()57}
added:src/types.ts+187 added
1import {Nothing} from "./common"23export type Objectish = any[] | Map<any, any> | Set<any> | {}45export type ObjectishNoSet = any[] | Map<any, any> | {}67export interface ImmerState<T = any> {8 parent?: ImmerState9 base: T10 copy: T11 assigned: {[prop: string]: boolean; [index: number]: boolean}12}1314type Tail<T extends any[]> = ((...t: T) => any) extends ((15 _: any,16 ...tail: infer TT17) => any)18 ? TT19 : []2021/** Object types that should never be mapped */22type AtomicObject =23 | Function24 | WeakMap<any, any>25 | WeakSet<any>26 | Promise<any>27 | Date28 | RegExp29 | Boolean30 | Number31 | String3233export type Draft<T> = T extends AtomicObject34 ? T35 : T extends Map<infer K, infer V>36 ? DraftMap<K, V>37 : T extends Set<infer V>38 ? DraftSet<V>39 : T extends object40 ? {-readonly [K in keyof T]: Draft<T[K]>}41 : T4243// Inline these in ts 3.744interface DraftMap<K, V> extends Map<Draft<K>, Draft<V>> {}4546// Inline these in ts 3.747interface DraftSet<V> extends Set<Draft<V>> {}4849/** Convert a mutable type into a readonly type */50export type Immutable<T> = T extends AtomicObject51 ? T52 : T extends Map<infer K, infer V> // Ideally, but wait for TS 3.7: ? Omit<ImmutableMap<K, V>, "set" | "delete" | "clear">53 ? ImmutableMap<K, V>54 : T extends Set<infer V> // Ideally, but wait for TS 3.7: ? Omit<ImmutableSet<V>, "add" | "delete" | "clear">55 ? ImmutableSet<V>56 : T extends object57 ? {readonly [K in keyof T]: Immutable<T[K]>}58 : T5960interface ImmutableMap<K, V> extends Map<Immutable<K>, Immutable<V>> {}6162interface ImmutableSet<V> extends Set<Immutable<V>> {}6364export interface Patch {65 op: "replace" | "remove" | "add"66 path: (string | number)[]67 value?: any68}6970export type PatchListener = (patches: Patch[], inversePatches: Patch[]) => void7172/** Converts `nothing` into `undefined` */73type FromNothing<T> = T extends Nothing ? undefined : T7475/** The inferred return type of `produce` */76export type Produced<Base, Return> = Return extends void77 ? Base78 : Return extends Promise<infer Result>79 ? Promise<Result extends void ? Base : FromNothing<Result>>80 : FromNothing<Return>8182/**83 * The `produce` function takes a value and a "recipe function" (whose84 * return value often depends on the base state). The recipe function is85 * free to mutate its first argument however it wants. All mutations are86 * only ever applied to a __copy__ of the base state.87 *88 * Pass only a function to create a "curried producer" which relieves you89 * from passing the recipe function every time.90 *91 * Only plain objects and arrays are made mutable. All other objects are92 * considered uncopyable.93 *94 * Note: This function is __bound__ to its `Immer` instance.95 *96 * @param {any} base - the initial state97 * @param {Function} producer - function that receives a proxy of the base state as first argument and which can be freely modified98 * @param {Function} patchListener - optional function that will be called with all the patches produced here99 * @returns {any} a new state, or the initial state if nothing was modified100 */101export interface IProduce {102 /** Curried producer */103 <104 Recipe extends (...args: any[]) => any,105 Params extends any[] = Parameters<Recipe>,106 T = Params[0]107 >(108 recipe: Recipe109 ): <Base extends Immutable<T>>(110 base: Base,111 ...rest: Tail<Params>112 ) => Produced<Base, ReturnType<Recipe>>113 // ^ by making the returned type generic, the actual type of the passed in object is preferred114 // over the type used in the recipe. However, it does have to satisfy the immutable version used in the recipe115 // Note: the type of S is the widened version of T, so it can have more props than T, but that is technically actually correct!116117 /** Curried producer with initial state */118 <119 Recipe extends (...args: any[]) => any,120 Params extends any[] = Parameters<Recipe>,121 T = Params[0]122 >(123 recipe: Recipe,124 initialState: Immutable<T>125 ): <Base extends Immutable<T>>(126 base?: Base,127 ...rest: Tail<Params>128 ) => Produced<Base, ReturnType<Recipe>>129130 /** Normal producer */131 <Base, D = Draft<Base>, Return = void>(132 base: Base,133 recipe: (draft: D) => Return,134 listener?: PatchListener135 ): Produced<Base, Return>136}137138/**139 * Like `produce`, but instead of just returning the new state,140 * a tuple is returned with [nextState, patches, inversePatches]141 *142 * Like produce, this function supports currying143 */144export interface IProduceWithPatches {145 /** Curried producer */146 <147 Recipe extends (...args: any[]) => any,148 Params extends any[] = Parameters<Recipe>,149 T = Params[0]150 >(151 recipe: Recipe152 ): <Base extends Immutable<T>>(153 base: Base,154 ...rest: Tail<Params>155 ) => [Produced<Base, ReturnType<Recipe>>, Patch[], Patch[]]156 // ^ by making the returned type generic, the actual type of the passed in object is preferred157 // over the type used in the recipe. However, it does have to satisfy the immutable version used in the recipe158 // Note: the type of S is the widened version of T, so it can have more props than T, but that is technically actually correct!159160 /** Curried producer with initial state */161 <162 Recipe extends (...args: any[]) => any,163 Params extends any[] = Parameters<Recipe>,164 T = Params[0]165 >(166 recipe: Recipe,167 initialState: Immutable<T>168 ): <Base extends Immutable<T>>(169 base?: Base,170 ...rest: Tail<Params>171 ) => [Produced<Base, ReturnType<Recipe>>, Patch[], Patch[]]172173 /** Normal producer */174 <Base, D = Draft<Base>, Return = void>(175 base: Base,176 recipe: (draft: D) => Return177 ): [Produced<Base, Return>, Patch[], Patch[]]178}179180// Backward compatibility with --target es5181// TODO: still needed?182// declare global {183// interface Set<T> {}184// interface Map<K, V> {}185// interface WeakSet<T> {}186// interface WeakMap<K extends object, V> {}187// }
modified:.travis.yml-1 removed
14 unmodified lines
15 - yarn build || travis_terminate 116 - if-node-version 10 || { yarn test && travis_terminate 0; }17 - yarn coveralls18 - yarn test:flow19 - yarn test:dts19jobs:20 include:21 - stage: deploy22 if: branch == master && !fork
5 unmodified lines
modified:bili.config.ts+24 added-23 removed
1import {Config} from "bili"23const config: Config = {4 input: {5 immer: "src/index.js"6 },7 output: {8 format: ["cjs", "umd", "esm"],9 moduleName: "immer",10 sourceMap: true,11 sourceMapExcludeSources: true12 },13 babel: {14 // Replace babel-preset-env with buble15 minimal: true,16 babelrc: false17 },18 extendConfig(config, {format}) {19 if (format === "umd") {20 config.output.minify = true21 }22 if (format === "esm") {23 config.output.fileName = "[name].module.js"24 }25 return config26 }4 input: {5 immer: "src/index.ts"6 },7 output: {8 format: ["cjs", "umd", "esm"],9 moduleName: "immer",10 sourceMap: true,11 sourceMapExcludeSources: true12 },13 bundleNodeModules: true,14 babel: {15 // Replace babel-preset-env with buble16 minimal: true,17 babelrc: false18 },19 extendConfig(config, {format}) {20 if (format === "umd") {21 config.output.minify = true22 }23 if (format === "esm") {24 config.output.fileName = "[name].module.js"25 }26 return config27 }28}2930export default config
modified:package.json+13 added-9 removed
1{2 "name": "immer",3 "version": "4.0.0-beta.0",3 "version": "5.1.0-beta.2",4 "description": "Create your next immutable state by mutating the current one",5 "main": "dist/immer.js",6 "umd:main": "dist/immer.umd.js",7 "unpkg": "dist/immer.umd.js",8 "jsdelivr": "dist/immer.umd.js",9 "module": "dist/immer.module.js",10 "jsnext:main": "dist/immer.module.js",11 "react-native": "dist/immer.module.js",12 "types": "./dist/immer.d.ts",12 "types": "./dist/index.d.ts",13 "scripts": {14 "test": "jest",15 "test:perf": "NODE_ENV=production yarn-or-npm build && cd __performance_tests__ && babel-node add-data.js && babel-node todo.js && babel-node incremental.js",16 "test:flow": "yarn-or-npm flow check __tests__/flow",17 "test:dts": "tsc -p __tests__/tsconfig.json --noEmit",17 "watch": "jest --watch",18 "coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf ./coverage",19 "build": "rimraf dist/ && yarn-or-npm bili && yarn-or-npm typed",21 "typed": "cpx 'src/immer.{d.ts,js.flow}' dist -v",20 "typed": "cpx 'src/immer.js.flow' dist -v",21 "publish-docs": "cd website && GIT_USER=mweststrate USE_SSH=true yarn run publish-gh-pages",22 "start": "cd website && yarn start"23 },24 "husky": {
32 unmodified lines
57 "@babel/preset-env": "^7.3.4",58 "@types/jest": "^24.0.11",59 "babel-jest": "^24.4.0",60 "babel-preset-modern-browsers": "^13.1.0",62 "bili": "^4.7.0",61 "bili": "^4.8.1",62 "coveralls": "^3.0.0",63 "cpx": "^1.5.0",64 "cross-env": "^5.1.3",65 "deep-freeze": "^0.0.1",
7 unmodified lines
73 "prettier": "1.17.0",74 "pretty-quick": "^1.8.0",75 "regenerator-runtime": "^0.11.1",76 "rimraf": "^2.6.2",77 "rollup-plugin-typescript2": "^0.25.3",78 "seamless-immutable": "^7.1.3",79 "spec.ts": "^1.1.0",80 "ts-jest": "^24.2.0",80 "typescript": "3.6.4",81 "typescript": "^3.7.3",82 "yarn-or-npm": "^2.0.4"83 },84 "jest": {85 "moduleFileExtensions": [85 "js"86 "js",87 "ts"88 ],89 "testURL": "http://localhost",90 "transform": {89 "\\.js$": "babel-jest"90 }91 "\\.js$": "babel-jest",92 "\\.ts$": "ts-jest"93 },94 "preset": "ts-jest/presets/js-with-babel"95 }96}
modified:tsconfig.json+4 added-1 removed
1{2 "include": ["src"],3 "compilerOptions": {4 "lib": ["es2015"],5 "strict": true5 "strict": true,6 "declaration": true,7 "importHelpers": false,8 "noImplicitAny": false // TODO: true,9 }10}
modified:yarn.lock+1225 added-218 removed
24 unmodified lines
25 integrity sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==26 dependencies:27 "@babel/highlight" "^7.0.0"2829"@babel/core@^7.1.0", "@babel/core@^7.2.2", "@babel/core@^7.3.4":29"@babel/code-frame@^7.5.5":30 version "7.5.5"31 resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d"32 integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==33 dependencies:34 "@babel/highlight" "^7.0.0"3536"@babel/core@^7.1.0", "@babel/core@^7.3.4":37 version "7.4.3"38 resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.4.3.tgz#198d6d3af4567be3989550d97e068de94503074f"39 integrity sha512-oDpASqKFlbspQfzAE7yaeTmdljSH2ADIvBlb0RwbStltTuWa0+7CCI1fYVINNv9saHPa1W7oaKeuNuKj+RQCvA==40 dependencies:
11 unmodified lines
52 resolve "^1.3.2"53 semver "^5.4.1"54 source-map "^0.5.0"5556"@babel/core@^7.2.2":57 version "7.7.7"58 resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.7.7.tgz#ee155d2e12300bcc0cff6a8ad46f2af5063803e9"59 integrity sha512-jlSjuj/7z138NLZALxVgrx13AOtqip42ATZP7+kYl53GvDV6+4dCek1mVUo8z8c8Xnw/mx2q3d9HWh3griuesQ==60 dependencies:61 "@babel/code-frame" "^7.5.5"62 "@babel/generator" "^7.7.7"63 "@babel/helpers" "^7.7.4"64 "@babel/parser" "^7.7.7"65 "@babel/template" "^7.7.4"66 "@babel/traverse" "^7.7.4"67 "@babel/types" "^7.7.4"68 convert-source-map "^1.7.0"69 debug "^4.1.0"70 json5 "^2.1.0"71 lodash "^4.17.13"72 resolve "^1.3.2"73 semver "^5.4.1"74 source-map "^0.5.0"7576"@babel/generator@^7.0.0", "@babel/generator@^7.4.0":77 version "7.4.0"78 resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.4.0.tgz#c230e79589ae7a729fd4631b9ded4dc220418196"79 integrity sha512-/v5I+a1jhGSKLgZDcmAUZ4K/VePi43eRkUs3yePW1HB1iANOD5tqJXwGSG4BZhSksP8J9ejSlwGeTiiOFZOrXQ==
3 unmodified lines
83 lodash "^4.17.11"84 source-map "^0.5.0"85 trim-right "^1.0.1"8687"@babel/generator@^7.7.4", "@babel/generator@^7.7.7":88 version "7.7.7"89 resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.7.7.tgz#859ac733c44c74148e1a72980a64ec84b85f4f45"90 integrity sha512-/AOIBpHh/JU1l0ZFS4kiRCBnLi6OTHzh0RPk3h9isBxkkqELtQNFi1Vr/tiG9p1yfoUdKVwISuXWQR+hwwM4VQ==91 dependencies:92 "@babel/types" "^7.7.4"93 jsesc "^2.5.1"94 lodash "^4.17.13"95 source-map "^0.5.0"9697"@babel/helper-annotate-as-pure@^7.0.0":98 version "7.0.0"99 resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0.tgz#323d39dd0b50e10c7c06ca7d7638e6864d8c5c32"100 integrity sha512-3UYcJUj9kvSLbLbUIfQTqzcy5VX7GRZ/CCDrnOaZorFFM01aXp1+GJwuFGV4NDDoAS+mOUyHcO6UD/RfqOks3Q==101 dependencies:102 "@babel/types" "^7.0.0"103104"@babel/helper-annotate-as-pure@^7.7.4":105 version "7.7.4"106 resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.7.4.tgz#bb3faf1e74b74bd547e867e48f551fa6b098b6ce"107 integrity sha512-2BQmQgECKzYKFPpiycoF9tlb5HA4lrVyAmLLVK177EcQAqjVLciUb2/R+n1boQ9y5ENV3uz2ZqiNw7QMBBw1Og==108 dependencies:109 "@babel/types" "^7.7.4"110111"@babel/helper-builder-binary-assignment-operator-visitor@^7.1.0":112 version "7.1.0"113 resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.1.0.tgz#6b69628dfe4087798e0c4ed98e3d4a6b2fbd2f5f"114 integrity sha512-qNSR4jrmJ8M1VMM9tibvyRAHXQs2PmaksQF7c1CGJNipfe3D8p+wgNwgso/P2A2r2mdgBWAXljNWR0QRZAMW8w==115 dependencies:116 "@babel/helper-explode-assignable-expression" "^7.1.0"117 "@babel/types" "^7.0.0"11875"@babel/helper-builder-react-jsx@^7.3.0":76 version "7.3.0"77 resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.3.0.tgz#a1ac95a5d2b3e88ae5e54846bf462eeb81b318a4"78 integrity sha512-MjA9KgwCuPEkQd9ncSXvSyJ5y+j2sICHyrI0M3L+6fnS4wMSNDc1ARXsbTfbb2cXHn17VisSnU/sHFTCxVxSMw==119"@babel/helper-builder-binary-assignment-operator-visitor@^7.7.4":120 version "7.7.4"121 resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.7.4.tgz#5f73f2b28580e224b5b9bd03146a4015d6217f5f"122 integrity sha512-Biq/d/WtvfftWZ9Uf39hbPBYDUo986m5Bb4zhkeYDGUllF43D+nUe5M6Vuo6/8JDK/0YX/uBdeoQpyaNhNugZQ==123 dependencies:124 "@babel/helper-explode-assignable-expression" "^7.7.4"80 "@babel/types" "^7.3.0"125 "@babel/types" "^7.7.4"126127"@babel/helper-builder-react-jsx@^7.7.4":128 version "7.7.4"129 resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.7.4.tgz#da188d247508b65375b2c30cf59de187be6b0c66"130 integrity sha512-kvbfHJNN9dg4rkEM4xn1s8d1/h6TYNvajy9L1wx4qLn9HFg0IkTsQi4rfBe92nxrPUFcMsHoMV+8rU7MJb3fCA==131 dependencies:132 "@babel/types" "^7.7.4"133 esutils "^2.0.0"134135"@babel/helper-call-delegate@^7.4.0":136 version "7.4.0"
3 unmodified lines
140 "@babel/helper-hoist-variables" "^7.4.0"141 "@babel/traverse" "^7.4.0"142 "@babel/types" "^7.4.0"143144"@babel/helper-call-delegate@^7.7.4":145 version "7.7.4"146 resolved "https://registry.yarnpkg.com/@babel/helper-call-delegate/-/helper-call-delegate-7.7.4.tgz#621b83e596722b50c0066f9dc37d3232e461b801"147 integrity sha512-8JH9/B7J7tCYJ2PpWVpw9JhPuEVHztagNVuQAFBVFYluRMlpG7F1CgKEgGeL6KFqcsIa92ZYVj6DSc0XwmN1ZA==148 dependencies:149 "@babel/helper-hoist-variables" "^7.7.4"150 "@babel/traverse" "^7.7.4"151 "@babel/types" "^7.7.4"152153"@babel/helper-create-class-features-plugin@^7.7.4":154 version "7.7.4"155 resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.7.4.tgz#fce60939fd50618610942320a8d951b3b639da2d"156 integrity sha512-l+OnKACG4uiDHQ/aJT8dwpR+LhCJALxL0mJ6nzjB25e5IPwqV1VOsY7ah6UB1DG+VOXAIMtuC54rFJGiHkxjgA==157 dependencies:158 "@babel/helper-function-name" "^7.7.4"159 "@babel/helper-member-expression-to-functions" "^7.7.4"160 "@babel/helper-optimise-call-expression" "^7.7.4"161 "@babel/helper-plugin-utils" "^7.0.0"162 "@babel/helper-replace-supers" "^7.7.4"163 "@babel/helper-split-export-declaration" "^7.7.4"164165"@babel/helper-create-regexp-features-plugin@^7.7.4":166 version "7.7.4"167 resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.7.4.tgz#6d5762359fd34f4da1500e4cff9955b5299aaf59"168 integrity sha512-Mt+jBKaxL0zfOIWrfQpnfYCN7/rS6GKx6CCCfuoqVVd+17R8zNDlzVYmIi9qyb2wOk002NsmSTDymkIygDUH7A==169 dependencies:170 "@babel/helper-regex" "^7.4.4"171 regexpu-core "^4.6.0"172173"@babel/helper-define-map@^7.4.0":174 version "7.4.0"175 resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.4.0.tgz#cbfd8c1b2f12708e262c26f600cd16ed6a3bc6c9"176 integrity sha512-wAhQ9HdnLIywERVcSvX40CEJwKdAa1ID4neI9NXQPDOHwwA+57DqwLiPEVy2AIyWzAk0CQ8qx4awO0VUURwLtA==
1 unmodified line
178 "@babel/helper-function-name" "^7.1.0"179 "@babel/types" "^7.4.0"180 lodash "^4.17.11"181182"@babel/helper-define-map@^7.7.4":183 version "7.7.4"184 resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.7.4.tgz#2841bf92eb8bd9c906851546fe6b9d45e162f176"185 integrity sha512-v5LorqOa0nVQUvAUTUF3KPastvUt/HzByXNamKQ6RdJRTV7j8rLL+WB5C/MzzWAwOomxDhYFb1wLLxHqox86lg==186 dependencies:187 "@babel/helper-function-name" "^7.7.4"188 "@babel/types" "^7.7.4"189 lodash "^4.17.13"190191"@babel/helper-explode-assignable-expression@^7.1.0":192 version "7.1.0"193 resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.1.0.tgz#537fa13f6f1674df745b0c00ec8fe4e99681c8f6"194 integrity sha512-NRQpfHrJ1msCHtKjbzs9YcMmJZOg6mQMmGRB+hbamEdG5PNpaSm95275VD92DvJKuyl0s2sFiDmMZ+EnnvufqA==195 dependencies:196 "@babel/traverse" "^7.1.0"197 "@babel/types" "^7.0.0"198199"@babel/helper-explode-assignable-expression@^7.7.4":200 version "7.7.4"201 resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.7.4.tgz#fa700878e008d85dc51ba43e9fb835cddfe05c84"202 integrity sha512-2/SicuFrNSXsZNBxe5UGdLr+HZg+raWBLE9vC98bdYOKX/U6PY0mdGlYUJdtTDPSU0Lw0PNbKKDpwYHJLn2jLg==203 dependencies:204 "@babel/traverse" "^7.7.4"205 "@babel/types" "^7.7.4"206207"@babel/helper-function-name@^7.1.0":208 version "7.1.0"209 resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz#a0ceb01685f73355d4360c1247f582bfafc8ff53"210 integrity sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw==
1 unmodified line
212 "@babel/helper-get-function-arity" "^7.0.0"213 "@babel/template" "^7.1.0"214 "@babel/types" "^7.0.0"215216"@babel/helper-function-name@^7.7.4":217 version "7.7.4"218 resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.7.4.tgz#ab6e041e7135d436d8f0a3eca15de5b67a341a2e"219 integrity sha512-AnkGIdiBhEuiwdoMnKm7jfPfqItZhgRaZfMg1XX3bS25INOnLPjPG1Ppnajh8eqgt5kPJnfqrRHqFqmjKDZLzQ==220 dependencies:221 "@babel/helper-get-function-arity" "^7.7.4"222 "@babel/template" "^7.7.4"223 "@babel/types" "^7.7.4"224225"@babel/helper-get-function-arity@^7.0.0":226 version "7.0.0"227 resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz#83572d4320e2a4657263734113c42868b64e49c3"228 integrity sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ==229 dependencies:230 "@babel/types" "^7.0.0"231232"@babel/helper-get-function-arity@^7.7.4":233 version "7.7.4"234 resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz#cb46348d2f8808e632f0ab048172130e636005f0"235 integrity sha512-QTGKEdCkjgzgfJ3bAyRwF4yyT3pg+vDgan8DSivq1eS0gwi+KGKE5x8kRcbeFTb/673mkO5SN1IZfmCfA5o+EA==236 dependencies:237 "@babel/types" "^7.7.4"238239"@babel/helper-hoist-variables@^7.4.0":240 version "7.4.0"241 resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.4.0.tgz#25b621399ae229869329730a62015bbeb0a6fbd6"242 integrity sha512-/NErCuoe/et17IlAQFKWM24qtyYYie7sFIrW/tIQXpck6vAu2hhtYYsKLBWQV+BQZMbcIYPU/QMYuTufrY4aQw==243 dependencies:244 "@babel/types" "^7.4.0"245246"@babel/helper-hoist-variables@^7.7.4":247 version "7.7.4"248 resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.7.4.tgz#612384e3d823fdfaaf9fce31550fe5d4db0f3d12"249 integrity sha512-wQC4xyvc1Jo/FnLirL6CEgPgPCa8M74tOdjWpRhQYapz5JC7u3NYU1zCVoVAGCE3EaIP9T1A3iW0WLJ+reZlpQ==250 dependencies:251 "@babel/types" "^7.7.4"252253"@babel/helper-member-expression-to-functions@^7.0.0":254 version "7.0.0"255 resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.0.0.tgz#8cd14b0a0df7ff00f009e7d7a436945f47c7a16f"256 integrity sha512-avo+lm/QmZlv27Zsi0xEor2fKcqWG56D5ae9dzklpIaY7cQMK5N8VSpaNVPPagiqmy7LrEjK1IWdGMOqPu5csg==257 dependencies:258 "@babel/types" "^7.0.0"259260"@babel/helper-member-expression-to-functions@^7.7.4":261 version "7.7.4"262 resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.7.4.tgz#356438e2569df7321a8326644d4b790d2122cb74"263 integrity sha512-9KcA1X2E3OjXl/ykfMMInBK+uVdfIVakVe7W7Lg3wfXUNyS3Q1HWLFRwZIjhqiCGbslummPDnmb7vIekS0C1vw==264 dependencies:265 "@babel/types" "^7.7.4"266267"@babel/helper-module-imports@^7.0.0":268 version "7.0.0"269 resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0.tgz#96081b7111e486da4d2cd971ad1a4fe216cc2e3d"270 integrity sha512-aP/hlLq01DWNEiDg4Jn23i+CXxW/owM4WpDLFUbpjxe4NS3BhLVZQ5i7E0ZrxuQ/vwekIeciyamgB1UIYxxM6A==271 dependencies:272 "@babel/types" "^7.0.0"273274"@babel/helper-module-imports@^7.7.4":275 version "7.7.4"276 resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.7.4.tgz#e5a92529f8888bf319a6376abfbd1cebc491ad91"277 integrity sha512-dGcrX6K9l8258WFjyDLJwuVKxR4XZfU0/vTUgOQYWEnRD8mgr+p4d6fCUMq/ys0h4CCt/S5JhbvtyErjWouAUQ==278 dependencies:279 "@babel/types" "^7.7.4"280281"@babel/helper-module-transforms@^7.1.0", "@babel/helper-module-transforms@^7.4.3":282 version "7.4.3"283 resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.4.3.tgz#b1e357a1c49e58a47211a6853abb8e2aaefeb064"284 integrity sha512-H88T9IySZW25anu5uqyaC1DaQre7ofM+joZtAaO2F8NBdFfupH0SZ4gKjgSFVcvtx/aAirqA9L9Clio2heYbZA==
4 unmodified lines
289 "@babel/template" "^7.2.2"290 "@babel/types" "^7.2.2"291 lodash "^4.17.11"292293"@babel/helper-module-transforms@^7.7.4", "@babel/helper-module-transforms@^7.7.5":294 version "7.7.5"295 resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.7.5.tgz#d044da7ffd91ec967db25cd6748f704b6b244835"296 integrity sha512-A7pSxyJf1gN5qXVcidwLWydjftUN878VkalhXX5iQDuGyiGK3sOrrKKHF4/A4fwHtnsotv/NipwAeLzY4KQPvw==297 dependencies:298 "@babel/helper-module-imports" "^7.7.4"299 "@babel/helper-simple-access" "^7.7.4"300 "@babel/helper-split-export-declaration" "^7.7.4"301 "@babel/template" "^7.7.4"302 "@babel/types" "^7.7.4"303 lodash "^4.17.13"304305"@babel/helper-optimise-call-expression@^7.0.0":306 version "7.0.0"307 resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0.tgz#a2920c5702b073c15de51106200aa8cad20497d5"308 integrity sha512-u8nd9NQePYNQV8iPWu/pLLYBqZBa4ZaY1YWRFMuxrid94wKI1QNt67NEZ7GAe5Kc/0LLScbim05xZFWkAdrj9g==309 dependencies:310 "@babel/types" "^7.0.0"311312"@babel/helper-optimise-call-expression@^7.7.4":313 version "7.7.4"314 resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.7.4.tgz#034af31370d2995242aa4df402c3b7794b2dcdf2"315 integrity sha512-VB7gWZ2fDkSuqW6b1AKXkJWO5NyNI3bFL/kK79/30moK57blr6NbH8xcl2XcKCwOmJosftWunZqfO84IGq3ZZg==316 dependencies:317 "@babel/types" "^7.7.4"318319"@babel/helper-plugin-utils@^7.0.0":320 version "7.0.0"321 resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250"322 integrity sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==
4 unmodified lines
327 integrity sha512-hnoq5u96pLCfgjXuj8ZLX3QQ+6nAulS+zSgi6HulUwFbEruRAKwbGLU5OvXkE14L8XW6XsQEKsIDfgthKLRAyA==328 dependencies:329 lodash "^4.17.11"330331"@babel/helper-regex@^7.4.4":332 version "7.5.5"333 resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.5.5.tgz#0aa6824f7100a2e0e89c1527c23936c152cab351"334 integrity sha512-CkCYQLkfkiugbRDO8eZn6lRuR8kzZoGXCg3149iTk5se7g6qykSpy3+hELSwquhu+TgHn8nkLiBwHvNX8Hofcw==335 dependencies:336 lodash "^4.17.13"337338"@babel/helper-remap-async-to-generator@^7.1.0":339 version "7.1.0"340 resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.1.0.tgz#361d80821b6f38da75bd3f0785ece20a88c5fe7f"341 integrity sha512-3fOK0L+Fdlg8S5al8u/hWE6vhufGSn0bN09xm2LXMy//REAF8kDCrYoOBKYmA8m5Nom+sV9LyLCwrFynA8/slg==
3 unmodified lines
345 "@babel/template" "^7.1.0"346 "@babel/traverse" "^7.1.0"347 "@babel/types" "^7.0.0"348349"@babel/helper-remap-async-to-generator@^7.7.4":350 version "7.7.4"351 resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.7.4.tgz#c68c2407350d9af0e061ed6726afb4fff16d0234"352 integrity sha512-Sk4xmtVdM9sA/jCI80f+KS+Md+ZHIpjuqmYPk1M7F/upHou5e4ReYmExAiu6PVe65BhJPZA2CY9x9k4BqE5klw==353 dependencies:354 "@babel/helper-annotate-as-pure" "^7.7.4"355 "@babel/helper-wrap-function" "^7.7.4"356 "@babel/template" "^7.7.4"357 "@babel/traverse" "^7.7.4"358 "@babel/types" "^7.7.4"359360"@babel/helper-replace-supers@^7.1.0", "@babel/helper-replace-supers@^7.4.0":361 version "7.4.0"362 resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.4.0.tgz#4f56adb6aedcd449d2da9399c2dcf0545463b64c"363 integrity sha512-PVwCVnWWAgnal+kJ+ZSAphzyl58XrFeSKSAJRiqg5QToTsjL+Xu1f9+RJ+d+Q0aPhPfBGaYfkox66k86thxNSg==
2 unmodified lines
366 "@babel/helper-optimise-call-expression" "^7.0.0"367 "@babel/traverse" "^7.4.0"368 "@babel/types" "^7.4.0"369370"@babel/helper-replace-supers@^7.7.4":371 version "7.7.4"372 resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.7.4.tgz#3c881a6a6a7571275a72d82e6107126ec9e2cdd2"373 integrity sha512-pP0tfgg9hsZWo5ZboYGuBn/bbYT/hdLPVSS4NMmiRJdwWhP0IznPwN9AE1JwyGsjSPLC364I0Qh5p+EPkGPNpg==374 dependencies:375 "@babel/helper-member-expression-to-functions" "^7.7.4"376 "@babel/helper-optimise-call-expression" "^7.7.4"377 "@babel/traverse" "^7.7.4"378 "@babel/types" "^7.7.4"379380"@babel/helper-simple-access@^7.1.0":381 version "7.1.0"382 resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.1.0.tgz#65eeb954c8c245beaa4e859da6188f39d71e585c"383 integrity sha512-Vk+78hNjRbsiu49zAPALxTb+JUQCz1aolpd8osOF16BGnLtseD21nbHgLPGUwrXEurZgiCOUmvs3ExTu4F5x6w==384 dependencies:385 "@babel/template" "^7.1.0"386 "@babel/types" "^7.0.0"387388"@babel/helper-simple-access@^7.7.4":389 version "7.7.4"390 resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.7.4.tgz#a169a0adb1b5f418cfc19f22586b2ebf58a9a294"391 integrity sha512-zK7THeEXfan7UlWsG2A6CI/L9jVnI5+xxKZOdej39Y0YtDYKx9raHk5F2EtK9K8DHRTihYwg20ADt9S36GR78A==392 dependencies:393 "@babel/template" "^7.7.4"394 "@babel/types" "^7.7.4"395396"@babel/helper-split-export-declaration@^7.0.0", "@babel/helper-split-export-declaration@^7.4.0":397 version "7.4.0"398 resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.0.tgz#571bfd52701f492920d63b7f735030e9a3e10b55"399 integrity sha512-7Cuc6JZiYShaZnybDmfwhY4UYHzI6rlqhWjaIqbsJGsIqPimEYy5uh3akSRLMg65LSdSEnJ8a8/bWQN6u2oMGw==400 dependencies:401 "@babel/types" "^7.4.0"402403"@babel/helper-split-export-declaration@^7.7.4":404 version "7.7.4"405 resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.7.4.tgz#57292af60443c4a3622cf74040ddc28e68336fd8"406 integrity sha512-guAg1SXFcVr04Guk9eq0S4/rWS++sbmyqosJzVs8+1fH5NI+ZcmkaSkc7dmtAFbHFva6yRJnjW3yAcGxjueDug==407 dependencies:408 "@babel/types" "^7.7.4"409410"@babel/helper-wrap-function@^7.1.0":411 version "7.2.0"412 resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.2.0.tgz#c4e0012445769e2815b55296ead43a958549f6fa"413 integrity sha512-o9fP1BZLLSrYlxYEYyl2aS+Flun5gtjTIG8iln+XuEzQTs0PLagAGSXUcqruJwD5fM48jzIEggCKpIfWTcR7pQ==
2 unmodified lines
416 "@babel/template" "^7.1.0"417 "@babel/traverse" "^7.1.0"418 "@babel/types" "^7.2.0"419420"@babel/helper-wrap-function@^7.7.4":421 version "7.7.4"422 resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.7.4.tgz#37ab7fed5150e22d9d7266e830072c0cdd8baace"423 integrity sha512-VsfzZt6wmsocOaVU0OokwrIytHND55yvyT4BPB9AIIgwr8+x7617hetdJTsuGwygN5RC6mxA9EJztTjuwm2ofg==424 dependencies:425 "@babel/helper-function-name" "^7.7.4"426 "@babel/template" "^7.7.4"427 "@babel/traverse" "^7.7.4"428 "@babel/types" "^7.7.4"429430"@babel/helpers@^7.4.3":431 version "7.4.3"432 resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.4.3.tgz#7b1d354363494b31cb9a2417ae86af32b7853a3b"433 integrity sha512-BMh7X0oZqb36CfyhvtbSmcWc3GXocfxv3yNsAEuM0l+fAqSO22rQrUpijr3oE/10jCTrB6/0b9kzmG4VetCj8Q==
1 unmodified line
435 "@babel/template" "^7.4.0"436 "@babel/traverse" "^7.4.3"437 "@babel/types" "^7.4.0"438439"@babel/helpers@^7.7.4":440 version "7.7.4"441 resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.7.4.tgz#62c215b9e6c712dadc15a9a0dcab76c92a940302"442 integrity sha512-ak5NGZGJ6LV85Q1Zc9gn2n+ayXOizryhjSUBTdu5ih1tlVCJeuQENzc4ItyCVhINVXvIT/ZQ4mheGIsfBkpskg==443 dependencies:444 "@babel/template" "^7.7.4"445 "@babel/traverse" "^7.7.4"446 "@babel/types" "^7.7.4"447448"@babel/highlight@^7.0.0":449 version "7.0.0"450 resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0.tgz#f710c38c8d458e6dd9a201afb637fcb781ce99e4"451 integrity sha512-UFMC4ZeFC48Tpvj7C8UgLvtkaUuovQX+5xNWrsIoMG8o2z+XFKjKaN9iVmS84dPwVN00W4wPmqvYoZF3EGAsfw==
17 unmodified lines
469 version "7.4.3"470 resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.4.3.tgz#eb3ac80f64aa101c907d4ce5406360fe75b7895b"471 integrity sha512-gxpEUhTS1sGA63EGQGuA+WESPR/6tz6ng7tSHFCmaTJK/cGK8y37cBTspX+U2xCAue2IQVvF6Z0oigmjwD8YGQ==472473"@babel/parser@^7.7.4", "@babel/parser@^7.7.7":474 version "7.7.7"475 resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.7.7.tgz#1b886595419cf92d811316d5b715a53ff38b4937"476 integrity sha512-WtTZMZAZLbeymhkd/sEaPD8IQyGAhmuTuvTzLiCFM7iXiVdY0gc0IaI+cW0fh1BnSMbJSzXX6/fHllgHKwHhXw==477478"@babel/plugin-external-helpers@^7.2.0":479 version "7.2.0"480 resolved "https://registry.yarnpkg.com/@babel/plugin-external-helpers/-/plugin-external-helpers-7.2.0.tgz#7f4cb7dee651cd380d2034847d914288467a6be4"481 integrity sha512-QFmtcCShFkyAsNtdCM3lJPmRe1iB+vPZymlB4LnDIKEBj2yKQLQKtoxXxJ8ePT5fwMl4QGg303p4mB0UsSI2/g==
8 unmodified lines
490 "@babel/helper-plugin-utils" "^7.0.0"491 "@babel/helper-remap-async-to-generator" "^7.1.0"492 "@babel/plugin-syntax-async-generators" "^7.2.0"493494"@babel/plugin-proposal-async-generator-functions@^7.7.4":495 version "7.7.4"496 resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.7.4.tgz#0351c5ac0a9e927845fffd5b82af476947b7ce6d"497 integrity sha512-1ypyZvGRXriY/QP668+s8sFr2mqinhkRDMPSQLNghCQE+GAkFtp+wkHVvg2+Hdki8gwP+NFzJBJ/N1BfzCCDEw==498 dependencies:499 "@babel/helper-plugin-utils" "^7.0.0"500 "@babel/helper-remap-async-to-generator" "^7.7.4"501 "@babel/plugin-syntax-async-generators" "^7.7.4"502503"@babel/plugin-proposal-dynamic-import@^7.7.4":504 version "7.7.4"505 resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.7.4.tgz#dde64a7f127691758cbfed6cf70de0fa5879d52d"506 integrity sha512-StH+nGAdO6qDB1l8sZ5UBV8AC3F2VW2I8Vfld73TMKyptMU9DY5YsJAS8U81+vEtxcH3Y/La0wG0btDrhpnhjQ==507 dependencies:508 "@babel/helper-plugin-utils" "^7.0.0"509 "@babel/plugin-syntax-dynamic-import" "^7.7.4"510511"@babel/plugin-proposal-json-strings@^7.2.0":512 version "7.2.0"513 resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.2.0.tgz#568ecc446c6148ae6b267f02551130891e29f317"514 integrity sha512-MAFV1CA/YVmYwZG0fBQyXhmj0BHCB5egZHCKWIFVv/XCxAeVGIHfos3SwDck4LvCllENIAg7xMKOG5kH0dzyUg==515 dependencies:516 "@babel/helper-plugin-utils" "^7.0.0"517 "@babel/plugin-syntax-json-strings" "^7.2.0"518281"@babel/plugin-proposal-object-rest-spread@^7.3.1", "@babel/plugin-proposal-object-rest-spread@^7.3.4", "@babel/plugin-proposal-object-rest-spread@^7.4.3":519"@babel/plugin-proposal-json-strings@^7.7.4":520 version "7.7.4"521 resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.7.4.tgz#7700a6bfda771d8dc81973249eac416c6b4c697d"522 integrity sha512-wQvt3akcBTfLU/wYoqm/ws7YOAQKu8EVJEvHip/mzkNtjaclQoCCIqKXFP5/eyfnfbQCDV3OLRIK3mIVyXuZlw==523 dependencies:524 "@babel/helper-plugin-utils" "^7.0.0"525 "@babel/plugin-syntax-json-strings" "^7.7.4"526527"@babel/plugin-proposal-object-rest-spread@^7.3.1", "@babel/plugin-proposal-object-rest-spread@^7.7.7":528 version "7.7.7"529 resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.7.7.tgz#9f27075004ab99be08c5c1bd653a2985813cb370"530 integrity sha512-3qp9I8lelgzNedI3hrhkvhaEYree6+WHnyA/q4Dza9z7iEIs1eyhWyJnetk3jJ69RT0AT4G0UhEGwyGFJ7GUuQ==531 dependencies:532 "@babel/helper-plugin-utils" "^7.0.0"533 "@babel/plugin-syntax-object-rest-spread" "^7.7.4"534535"@babel/plugin-proposal-object-rest-spread@^7.3.4", "@babel/plugin-proposal-object-rest-spread@^7.4.3":536 version "7.4.3"537 resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.4.3.tgz#be27cd416eceeba84141305b93c282f5de23bbb4"538 integrity sha512-xC//6DNSSHVjq8O2ge0dyYlhshsH4T7XdCVoxbi5HzLYWfsC5ooFlJjrXk8RcAT+hjHAK9UjBXdylzSoDK3t4g==539 dependencies:
7 unmodified lines
547 dependencies:548 "@babel/helper-plugin-utils" "^7.0.0"549 "@babel/plugin-syntax-optional-catch-binding" "^7.2.0"550551"@babel/plugin-proposal-optional-catch-binding@^7.7.4":552 version "7.7.4"553 resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.7.4.tgz#ec21e8aeb09ec6711bc0a39ca49520abee1de379"554 integrity sha512-DyM7U2bnsQerCQ+sejcTNZh8KQEUuC3ufzdnVnSiUv/qoGJp2Z3hanKL18KDhsBT5Wj6a7CMT5mdyCNJsEaA9w==555 dependencies:556 "@babel/helper-plugin-utils" "^7.0.0"557 "@babel/plugin-syntax-optional-catch-binding" "^7.7.4"558559"@babel/plugin-proposal-unicode-property-regex@^7.2.0", "@babel/plugin-proposal-unicode-property-regex@^7.4.0":560 version "7.4.0"561 resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.4.0.tgz#202d91ee977d760ef83f4f416b280d568be84623"562 integrity sha512-h/KjEZ3nK9wv1P1FSNb9G079jXrNYR0Ko+7XkOx85+gM24iZbPn0rh4vCftk+5QKY7y1uByFataBTmX7irEF1w==
1 unmodified line
564 "@babel/helper-plugin-utils" "^7.0.0"565 "@babel/helper-regex" "^7.0.0"566 regexpu-core "^4.5.4"567568"@babel/plugin-proposal-unicode-property-regex@^7.7.7":569 version "7.7.7"570 resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.7.7.tgz#433fa9dac64f953c12578b29633f456b68831c4e"571 integrity sha512-80PbkKyORBUVm1fbTLrHpYdJxMThzM1UqFGh0ALEhO9TYbG86Ah9zQYAB/84axz2vcxefDLdZwWwZNlYARlu9w==572 dependencies:573 "@babel/helper-create-regexp-features-plugin" "^7.7.4"574 "@babel/helper-plugin-utils" "^7.0.0"575576"@babel/plugin-syntax-async-generators@^7.2.0":577 version "7.2.0"578 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.2.0.tgz#69e1f0db34c6f5a0cf7e2b3323bf159a76c8cb7f"579 integrity sha512-1ZrIRBv2t0GSlcwVoQ6VgSLpLgiN/FVQUzt9znxo7v2Ov4jJrs8RY8tv0wvDmFN3qIdMKWrmMMW6yZ0G19MfGg==580 dependencies:581 "@babel/helper-plugin-utils" "^7.0.0"582313"@babel/plugin-syntax-dynamic-import@^7.2.0":314 version "7.2.0"315 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.2.0.tgz#69c159ffaf4998122161ad8ebc5e6d1f55df8612"316 integrity sha512-mVxuJ0YroI/h/tbFTPGZR8cv6ai+STMKNBq0f8hFxsxWjl94qqhsb+wXbpNMDPU3cfR1TIsVFzU3nXyZMqyK4w==583"@babel/plugin-syntax-async-generators@^7.7.4":584 version "7.7.4"585 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.7.4.tgz#331aaf310a10c80c44a66b238b6e49132bd3c889"586 integrity sha512-Li4+EjSpBgxcsmeEF8IFcfV/+yJGxHXDirDkEoyFjumuwbmfCVHUt0HuowD/iGM7OhIRyXJH9YXxqiH6N815+g==587 dependencies:588 "@babel/helper-plugin-utils" "^7.0.0"589590"@babel/plugin-syntax-dynamic-import@^7.2.0", "@babel/plugin-syntax-dynamic-import@^7.7.4":591 version "7.7.4"592 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.7.4.tgz#29ca3b4415abfe4a5ec381e903862ad1a54c3aec"593 integrity sha512-jHQW0vbRGvwQNgyVxwDh4yuXu4bH1f5/EICJLAhl1SblLs2CDhrsmCk+v5XLdE9wxtAFRyxx+P//Iw+a5L/tTg==594 dependencies:595 "@babel/helper-plugin-utils" "^7.0.0"596597"@babel/plugin-syntax-json-strings@^7.2.0":598 version "7.2.0"599 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.2.0.tgz#72bd13f6ffe1d25938129d2a186b11fd62951470"600 integrity sha512-5UGYnMSLRE1dqqZwug+1LISpA403HzlSfsg6P9VXU6TBjcSHeNlw4DxDx7LgpF+iKZoOG/+uzqoRHTdcUpiZNg==601 dependencies:602 "@babel/helper-plugin-utils" "^7.0.0"603327"@babel/plugin-syntax-jsx@^7.2.0":328 version "7.2.0"329 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.2.0.tgz#0b85a3b4bc7cdf4cc4b8bf236335b907ca22e7c7"330 integrity sha512-VyN4QANJkRW6lDBmENzRszvZf3/4AXaj9YR7GwrWeeN9tEBPuXbmDYVU9bYBN0D70zCWVwUy0HWq2553VCb6Hw==604"@babel/plugin-syntax-json-strings@^7.7.4":605 version "7.7.4"606 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.7.4.tgz#86e63f7d2e22f9e27129ac4e83ea989a382e86cc"607 integrity sha512-QpGupahTQW1mHRXddMG5srgpHWqRLwJnJZKXTigB9RPFCCGbDGCgBeM/iC82ICXp414WeYx/tD54w7M2qRqTMg==608 dependencies:609 "@babel/helper-plugin-utils" "^7.0.0"610611"@babel/plugin-syntax-jsx@^7.7.4":612 version "7.7.4"613 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.7.4.tgz#dab2b56a36fb6c3c222a1fbc71f7bf97f327a9ec"614 integrity sha512-wuy6fiMe9y7HeZBWXYCGt2RGxZOj0BImZ9EyXJVnVGBKO/Br592rbR3rtIQn0eQhAk9vqaKP5n8tVqEFBQMfLg==615 dependencies:616 "@babel/helper-plugin-utils" "^7.0.0"617618"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.2.0":619 version "7.2.0"620 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.2.0.tgz#3b7a3e733510c57e820b9142a6579ac8b0dfad2e"621 integrity sha512-t0JKGgqk2We+9may3t0xDdmneaXmyxq0xieYcKHxIsrJO64n1OiMWNUtc5gQK1PA0NpdCRrtZp4z+IUaKugrSA==622 dependencies:623 "@babel/helper-plugin-utils" "^7.0.0"624625"@babel/plugin-syntax-object-rest-spread@^7.7.4":626 version "7.7.4"627 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.7.4.tgz#47cf220d19d6d0d7b154304701f468fc1cc6ff46"628 integrity sha512-mObR+r+KZq0XhRVS2BrBKBpr5jqrqzlPvS9C9vuOf5ilSwzloAl7RPWLrgKdWS6IreaVrjHxTjtyqFiOisaCwg==629 dependencies:630 "@babel/helper-plugin-utils" "^7.0.0"631632"@babel/plugin-syntax-optional-catch-binding@^7.2.0":633 version "7.2.0"634 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.2.0.tgz#a94013d6eda8908dfe6a477e7f9eda85656ecf5c"635 integrity sha512-bDe4xKNhb0LI7IvZHiA13kff0KEfaGX/Hv4lMA9+7TEc63hMNvfKo6ZFpXhKuEp+II/q35Gc4NoMeDZyaUbj9w==636 dependencies:637 "@babel/helper-plugin-utils" "^7.0.0"638348"@babel/plugin-syntax-typescript@^7.2.0":349 version "7.3.3"350 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.3.3.tgz#a7cc3f66119a9f7ebe2de5383cce193473d65991"351 integrity sha512-dGwbSMA1YhVS8+31CnPR7LB4pcbrzcV99wQzby4uAfrkZPYZlQ7ImwdpzLqi6Z6IL02b8IAL379CaMwo0x5Lag==639"@babel/plugin-syntax-optional-catch-binding@^7.7.4":640 version "7.7.4"641 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.7.4.tgz#a3e38f59f4b6233867b4a92dcb0ee05b2c334aa6"642 integrity sha512-4ZSuzWgFxqHRE31Glu+fEr/MirNZOMYmD/0BhBWyLyOOQz/gTAl7QmWm2hX1QxEIXsr2vkdlwxIzTyiYRC4xcQ==643 dependencies:644 "@babel/helper-plugin-utils" "^7.0.0"645646"@babel/plugin-syntax-top-level-await@^7.7.4":647 version "7.7.4"648 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.7.4.tgz#bd7d8fa7b9fee793a36e4027fd6dd1aa32f946da"649 integrity sha512-wdsOw0MvkL1UIgiQ/IFr3ETcfv1xb8RMM0H9wbiDyLaJFyiDg5oZvDLCXosIXmFeIlweML5iOBXAkqddkYNizg==650 dependencies:651 "@babel/helper-plugin-utils" "^7.0.0"652653"@babel/plugin-syntax-typescript@^7.7.4":654 version "7.7.4"655 resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.7.4.tgz#5d037ffa10f3b25a16f32570ebbe7a8c2efa304b"656 integrity sha512-77blgY18Hud4NM1ggTA8xVT/dBENQf17OpiToSa2jSmEY3fWXD2jwrdVlO4kq5yzUTeF15WSQ6b4fByNvJcjpQ==657 dependencies:658 "@babel/helper-plugin-utils" "^7.0.0"659660"@babel/plugin-transform-arrow-functions@^7.2.0":661 version "7.2.0"662 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.2.0.tgz#9aeafbe4d6ffc6563bf8f8372091628f00779550"663 integrity sha512-ER77Cax1+8/8jCB9fo4Ud161OZzWN5qawi4GusDuRLcDbDG+bIGYY20zb2dfAFdTRGzrfq2xZPvF0R64EHnimg==664 dependencies:665 "@babel/helper-plugin-utils" "^7.0.0"666667"@babel/plugin-transform-arrow-functions@^7.7.4":668 version "7.7.4"669 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.7.4.tgz#76309bd578addd8aee3b379d809c802305a98a12"670 integrity sha512-zUXy3e8jBNPiffmqkHRNDdZM2r8DWhCB7HhcoyZjiK1TxYEluLHAvQuYnTT+ARqRpabWqy/NHkO6e3MsYB5YfA==671 dependencies:672 "@babel/helper-plugin-utils" "^7.0.0"673674"@babel/plugin-transform-async-to-generator@^7.4.0":675 version "7.4.0"676 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.4.0.tgz#234fe3e458dce95865c0d152d256119b237834b0"677 integrity sha512-EeaFdCeUULM+GPFEsf7pFcNSxM7hYjoj5fiYbyuiXobW4JhFnjAv9OWzNwHyHcKoPNpAfeRDuW6VyaXEDUBa7g==
1 unmodified line
679 "@babel/helper-module-imports" "^7.0.0"680 "@babel/helper-plugin-utils" "^7.0.0"681 "@babel/helper-remap-async-to-generator" "^7.1.0"682683"@babel/plugin-transform-async-to-generator@^7.7.4":684 version "7.7.4"685 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.7.4.tgz#694cbeae6d613a34ef0292713fa42fb45c4470ba"686 integrity sha512-zpUTZphp5nHokuy8yLlyafxCJ0rSlFoSHypTUWgpdwoDXWQcseaect7cJ8Ppk6nunOM6+5rPMkod4OYKPR5MUg==687 dependencies:688 "@babel/helper-module-imports" "^7.7.4"689 "@babel/helper-plugin-utils" "^7.0.0"690 "@babel/helper-remap-async-to-generator" "^7.7.4"691692"@babel/plugin-transform-block-scoped-functions@^7.2.0":693 version "7.2.0"694 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.2.0.tgz#5d3cc11e8d5ddd752aa64c9148d0db6cb79fd190"695 integrity sha512-ntQPR6q1/NKuphly49+QiQiTN0O63uOwjdD6dhIjSWBI5xlrbUFh720TIpzBhpnrLfv2tNH/BXvLIab1+BAI0w==696 dependencies:697 "@babel/helper-plugin-utils" "^7.0.0"698699"@babel/plugin-transform-block-scoped-functions@^7.7.4":700 version "7.7.4"701 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.7.4.tgz#d0d9d5c269c78eaea76227ace214b8d01e4d837b"702 integrity sha512-kqtQzwtKcpPclHYjLK//3lH8OFsCDuDJBaFhVwf8kqdnF6MN4l618UDlcA7TfRs3FayrHj+svYnSX8MC9zmUyQ==703 dependencies:704 "@babel/helper-plugin-utils" "^7.0.0"705706"@babel/plugin-transform-block-scoping@^7.4.0":707 version "7.4.0"708 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.4.0.tgz#164df3bb41e3deb954c4ca32ffa9fcaa56d30bcb"709 integrity sha512-AWyt3k+fBXQqt2qb9r97tn3iBwFpiv9xdAiG+Gr2HpAZpuayvbL55yWrsV3MyHvXk/4vmSiedhDRl1YI2Iy5nQ==710 dependencies:711 "@babel/helper-plugin-utils" "^7.0.0"712 lodash "^4.17.11"713714"@babel/plugin-transform-block-scoping@^7.7.4":715 version "7.7.4"716 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.7.4.tgz#200aad0dcd6bb80372f94d9e628ea062c58bf224"717 integrity sha512-2VBe9u0G+fDt9B5OV5DQH4KBf5DoiNkwFKOz0TCvBWvdAN2rOykCTkrL+jTLxfCAm76l9Qo5OqL7HBOx2dWggg==718 dependencies:719 "@babel/helper-plugin-utils" "^7.0.0"720 lodash "^4.17.13"721722"@babel/plugin-transform-classes@^7.4.3":723 version "7.4.3"724 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.4.3.tgz#adc7a1137ab4287a555d429cc56ecde8f40c062c"725 integrity sha512-PUaIKyFUDtG6jF5DUJOfkBdwAS/kFFV3XFk7Nn0a6vR7ZT8jYw5cGtIlat77wcnd0C6ViGqo/wyNf4ZHytF/nQ==
6 unmodified lines
732 "@babel/helper-replace-supers" "^7.4.0"733 "@babel/helper-split-export-declaration" "^7.4.0"734 globals "^11.1.0"735736"@babel/plugin-transform-classes@^7.7.4":737 version "7.7.4"738 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.7.4.tgz#c92c14be0a1399e15df72667067a8f510c9400ec"739 integrity sha512-sK1mjWat7K+buWRuImEzjNf68qrKcrddtpQo3swi9j7dUcG6y6R6+Di039QN2bD1dykeswlagupEmpOatFHHUg==740 dependencies:741 "@babel/helper-annotate-as-pure" "^7.7.4"742 "@babel/helper-define-map" "^7.7.4"743 "@babel/helper-function-name" "^7.7.4"744 "@babel/helper-optimise-call-expression" "^7.7.4"745 "@babel/helper-plugin-utils" "^7.0.0"746 "@babel/helper-replace-supers" "^7.7.4"747 "@babel/helper-split-export-declaration" "^7.7.4"748 globals "^11.1.0"749750"@babel/plugin-transform-computed-properties@^7.2.0":751 version "7.2.0"752 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.2.0.tgz#83a7df6a658865b1c8f641d510c6f3af220216da"753 integrity sha512-kP/drqTxY6Xt3NNpKiMomfgkNn4o7+vKxK2DDKcBG9sHj51vHqMBGy8wbDS/J4lMxnqs153/T3+DmCEAkC5cpA==754 dependencies:755 "@babel/helper-plugin-utils" "^7.0.0"756757"@babel/plugin-transform-computed-properties@^7.7.4":758 version "7.7.4"759 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.7.4.tgz#e856c1628d3238ffe12d668eb42559f79a81910d"760 integrity sha512-bSNsOsZnlpLLyQew35rl4Fma3yKWqK3ImWMSC/Nc+6nGjC9s5NFWAer1YQ899/6s9HxO2zQC1WoFNfkOqRkqRQ==761 dependencies:762 "@babel/helper-plugin-utils" "^7.0.0"763764"@babel/plugin-transform-destructuring@^7.4.3":765 version "7.4.3"766 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.4.3.tgz#1a95f5ca2bf2f91ef0648d5de38a8d472da4350f"767 integrity sha512-rVTLLZpydDFDyN4qnXdzwoVpk1oaXHIvPEOkOLyr88o7oHxVc/LyrnDx+amuBWGOwUb7D1s/uLsKBNTx08htZg==768 dependencies:769 "@babel/helper-plugin-utils" "^7.0.0"770771"@babel/plugin-transform-destructuring@^7.7.4":772 version "7.7.4"773 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.7.4.tgz#2b713729e5054a1135097b6a67da1b6fe8789267"774 integrity sha512-4jFMXI1Cu2aXbcXXl8Lr6YubCn6Oc7k9lLsu8v61TZh+1jny2BWmdtvY9zSUlLdGUvcy9DMAWyZEOqjsbeg/wA==775 dependencies:776 "@babel/helper-plugin-utils" "^7.0.0"777778"@babel/plugin-transform-dotall-regex@^7.4.3":779 version "7.4.3"780 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.4.3.tgz#fceff1c16d00c53d32d980448606f812cd6d02bf"781 integrity sha512-9Arc2I0AGynzXRR/oPdSALv3k0rM38IMFyto7kOCwb5F9sLUt2Ykdo3V9yUPR+Bgr4kb6bVEyLkPEiBhzcTeoA==
1 unmodified line
783 "@babel/helper-plugin-utils" "^7.0.0"784 "@babel/helper-regex" "^7.4.3"785 regexpu-core "^4.5.4"786787"@babel/plugin-transform-dotall-regex@^7.7.7":788 version "7.7.7"789 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.7.7.tgz#3e9713f1b69f339e87fa796b097d73ded16b937b"790 integrity sha512-b4in+YlTeE/QmTgrllnb3bHA0HntYvjz8O3Mcbx75UBPJA2xhb5A8nle498VhxSXJHQefjtQxpnLPehDJ4TRlg==791 dependencies:792 "@babel/helper-create-regexp-features-plugin" "^7.7.4"793 "@babel/helper-plugin-utils" "^7.0.0"794795"@babel/plugin-transform-duplicate-keys@^7.2.0":796 version "7.2.0"797 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.2.0.tgz#d952c4930f312a4dbfff18f0b2914e60c35530b3"798 integrity sha512-q+yuxW4DsTjNceUiTzK0L+AfQ0zD9rWaTLiUqHA8p0gxx7lu1EylenfzjeIWNkPy6e/0VG/Wjw9uf9LueQwLOw==799 dependencies:800 "@babel/helper-plugin-utils" "^7.0.0"801802"@babel/plugin-transform-duplicate-keys@^7.7.4":803 version "7.7.4"804 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.7.4.tgz#3d21731a42e3f598a73835299dd0169c3b90ac91"805 integrity sha512-g1y4/G6xGWMD85Tlft5XedGaZBCIVN+/P0bs6eabmcPP9egFleMAo65OOjlhcz1njpwagyY3t0nsQC9oTFegJA==806 dependencies:807 "@babel/helper-plugin-utils" "^7.0.0"808809"@babel/plugin-transform-exponentiation-operator@^7.2.0":810 version "7.2.0"811 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.2.0.tgz#a63868289e5b4007f7054d46491af51435766008"812 integrity sha512-umh4hR6N7mu4Elq9GG8TOu9M0bakvlsREEC+ialrQN6ABS4oDQ69qJv1VtR3uxlKMCQMCvzk7vr17RHKcjx68A==813 dependencies:814 "@babel/helper-builder-binary-assignment-operator-visitor" "^7.1.0"815 "@babel/helper-plugin-utils" "^7.0.0"816817"@babel/plugin-transform-exponentiation-operator@^7.7.4":818 version "7.7.4"819 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.7.4.tgz#dd30c0191e3a1ba19bcc7e389bdfddc0729d5db9"820 integrity sha512-MCqiLfCKm6KEA1dglf6Uqq1ElDIZwFuzz1WH5mTf8k2uQSxEJMbOIEh7IZv7uichr7PMfi5YVSrr1vz+ipp7AQ==821 dependencies:822 "@babel/helper-builder-binary-assignment-operator-visitor" "^7.7.4"823 "@babel/helper-plugin-utils" "^7.0.0"824825"@babel/plugin-transform-for-of@^7.4.3":826 version "7.4.3"827 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.3.tgz#c36ff40d893f2b8352202a2558824f70cd75e9fe"828 integrity sha512-UselcZPwVWNSURnqcfpnxtMehrb8wjXYOimlYQPBnup/Zld426YzIhNEvuRsEWVHfESIECGrxoI6L5QqzuLH5Q==829 dependencies:830 "@babel/helper-plugin-utils" "^7.0.0"831832"@babel/plugin-transform-for-of@^7.7.4":833 version "7.7.4"834 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.7.4.tgz#248800e3a5e507b1f103d8b4ca998e77c63932bc"835 integrity sha512-zZ1fD1B8keYtEcKF+M1TROfeHTKnijcVQm0yO/Yu1f7qoDoxEIc/+GX6Go430Bg84eM/xwPFp0+h4EbZg7epAA==836 dependencies:837 "@babel/helper-plugin-utils" "^7.0.0"838839"@babel/plugin-transform-function-name@^7.2.0", "@babel/plugin-transform-function-name@^7.4.3":840 version "7.4.3"841 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.4.3.tgz#130c27ec7fb4f0cba30e958989449e5ec8d22bbd"842 integrity sha512-uT5J/3qI/8vACBR9I1GlAuU/JqBtWdfCrynuOkrWG6nCDieZd5przB1vfP59FRHBZQ9DC2IUfqr/xKqzOD5x0A==843 dependencies:844 "@babel/helper-function-name" "^7.1.0"845 "@babel/helper-plugin-utils" "^7.0.0"846847"@babel/plugin-transform-function-name@^7.7.4":848 version "7.7.4"849 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.7.4.tgz#75a6d3303d50db638ff8b5385d12451c865025b1"850 integrity sha512-E/x09TvjHNhsULs2IusN+aJNRV5zKwxu1cpirZyRPw+FyyIKEHPXTsadj48bVpc1R5Qq1B5ZkzumuFLytnbT6g==851 dependencies:852 "@babel/helper-function-name" "^7.7.4"853 "@babel/helper-plugin-utils" "^7.0.0"854855"@babel/plugin-transform-literals@^7.2.0":856 version "7.2.0"857 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.2.0.tgz#690353e81f9267dad4fd8cfd77eafa86aba53ea1"858 integrity sha512-2ThDhm4lI4oV7fVQ6pNNK+sx+c/GM5/SaML0w/r4ZB7sAneD/piDJtwdKlNckXeyGK7wlwg2E2w33C/Hh+VFCg==859 dependencies:860 "@babel/helper-plugin-utils" "^7.0.0"861862"@babel/plugin-transform-literals@^7.7.4":863 version "7.7.4"864 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.7.4.tgz#27fe87d2b5017a2a5a34d1c41a6b9f6a6262643e"865 integrity sha512-X2MSV7LfJFm4aZfxd0yLVFrEXAgPqYoDG53Br/tCKiKYfX0MjVjQeWPIhPHHsCqzwQANq+FLN786fF5rgLS+gw==866 dependencies:867 "@babel/helper-plugin-utils" "^7.0.0"868869"@babel/plugin-transform-member-expression-literals@^7.2.0":870 version "7.2.0"871 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.2.0.tgz#fa10aa5c58a2cb6afcf2c9ffa8cb4d8b3d489a2d"872 integrity sha512-HiU3zKkSU6scTidmnFJ0bMX8hz5ixC93b4MHMiYebmk2lUVNGOboPsqQvx5LzooihijUoLR/v7Nc1rbBtnc7FA==873 dependencies:874 "@babel/helper-plugin-utils" "^7.0.0"875876"@babel/plugin-transform-member-expression-literals@^7.7.4":877 version "7.7.4"878 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.7.4.tgz#aee127f2f3339fc34ce5e3055d7ffbf7aa26f19a"879 integrity sha512-9VMwMO7i69LHTesL0RdGy93JU6a+qOPuvB4F4d0kR0zyVjJRVJRaoaGjhtki6SzQUu8yen/vxPKN6CWnCUw6bA==880 dependencies:881 "@babel/helper-plugin-utils" "^7.0.0"882883"@babel/plugin-transform-modules-amd@^7.2.0":884 version "7.2.0"885 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.2.0.tgz#82a9bce45b95441f617a24011dc89d12da7f4ee6"886 integrity sha512-mK2A8ucqz1qhrdqjS9VMIDfIvvT2thrEsIQzbaTdc5QFzhDjQv2CkJJ5f6BXIkgbmaoax3zBr2RyvV/8zeoUZw==887 dependencies:888 "@babel/helper-module-transforms" "^7.1.0"889 "@babel/helper-plugin-utils" "^7.0.0"890891"@babel/plugin-transform-modules-amd@^7.7.5":892 version "7.7.5"893 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.7.5.tgz#39e0fb717224b59475b306402bb8eedab01e729c"894 integrity sha512-CT57FG4A2ZUNU1v+HdvDSDrjNWBrtCmSH6YbbgN3Lrf0Di/q/lWRxZrE72p3+HCCz9UjfZOEBdphgC0nzOS6DQ==895 dependencies:896 "@babel/helper-module-transforms" "^7.7.5"897 "@babel/helper-plugin-utils" "^7.0.0"898 babel-plugin-dynamic-import-node "^2.3.0"899900"@babel/plugin-transform-modules-commonjs@^7.2.0", "@babel/plugin-transform-modules-commonjs@^7.4.3":901 version "7.4.3"902 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.4.3.tgz#3917f260463ac08f8896aa5bd54403f6e1fed165"903 integrity sha512-sMP4JqOTbMJMimqsSZwYWsMjppD+KRyDIUVW91pd7td0dZKAvPmhCaxhOzkzLParKwgQc7bdL9UNv+rpJB0HfA==
1 unmodified line
905 "@babel/helper-module-transforms" "^7.4.3"906 "@babel/helper-plugin-utils" "^7.0.0"907 "@babel/helper-simple-access" "^7.1.0"908909"@babel/plugin-transform-modules-commonjs@^7.7.5":910 version "7.7.5"911 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.7.5.tgz#1d27f5eb0bcf7543e774950e5b2fa782e637b345"912 integrity sha512-9Cq4zTFExwFhQI6MT1aFxgqhIsMWQWDVwOgLzl7PTWJHsNaqFvklAU+Oz6AQLAS0dJKTwZSOCo20INwktxpi3Q==913 dependencies:914 "@babel/helper-module-transforms" "^7.7.5"915 "@babel/helper-plugin-utils" "^7.0.0"916 "@babel/helper-simple-access" "^7.7.4"917 babel-plugin-dynamic-import-node "^2.3.0"918919"@babel/plugin-transform-modules-systemjs@^7.4.0":920 version "7.4.0"921 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.4.0.tgz#c2495e55528135797bc816f5d50f851698c586a1"922 integrity sha512-gjPdHmqiNhVoBqus5qK60mWPp1CmYWp/tkh11mvb0rrys01HycEGD7NvvSoKXlWEfSM9TcL36CpsK8ElsADptQ==923 dependencies:924 "@babel/helper-hoist-variables" "^7.4.0"925 "@babel/helper-plugin-utils" "^7.0.0"926927"@babel/plugin-transform-modules-systemjs@^7.7.4":928 version "7.7.4"929 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.7.4.tgz#cd98152339d3e763dfe838b7d4273edaf520bb30"930 integrity sha512-y2c96hmcsUi6LrMqvmNDPBBiGCiQu0aYqpHatVVu6kD4mFEXKjyNxd/drc18XXAf9dv7UXjrZwBVmTTGaGP8iw==931 dependencies:932 "@babel/helper-hoist-variables" "^7.7.4"933 "@babel/helper-plugin-utils" "^7.0.0"934 babel-plugin-dynamic-import-node "^2.3.0"935936"@babel/plugin-transform-modules-umd@^7.2.0":937 version "7.2.0"938 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.2.0.tgz#7678ce75169f0877b8eb2235538c074268dd01ae"939 integrity sha512-BV3bw6MyUH1iIsGhXlOK6sXhmSarZjtJ/vMiD9dNmpY8QXFFQTj+6v92pcfy1iqa8DeAfJFwoxcrS/TUZda6sw==940 dependencies:941 "@babel/helper-module-transforms" "^7.1.0"942 "@babel/helper-plugin-utils" "^7.0.0"943944"@babel/plugin-transform-modules-umd@^7.7.4":945 version "7.7.4"946 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.7.4.tgz#1027c355a118de0aae9fee00ad7813c584d9061f"947 integrity sha512-u2B8TIi0qZI4j8q4C51ktfO7E3cQ0qnaXFI1/OXITordD40tt17g/sXqgNNCcMTcBFKrUPcGDx+TBJuZxLx7tw==948 dependencies:949 "@babel/helper-module-transforms" "^7.7.4"950 "@babel/helper-plugin-utils" "^7.0.0"951952"@babel/plugin-transform-named-capturing-groups-regex@^7.4.2":953 version "7.4.2"954 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.2.tgz#800391136d6cbcc80728dbdba3c1c6e46f86c12e"955 integrity sha512-NsAuliSwkL3WO2dzWTOL1oZJHm0TM8ZY8ZSxk2ANyKkt5SQlToGA4pzctmq1BEjoacurdwZ3xp2dCQWJkME0gQ==956 dependencies:957 regexp-tree "^0.1.0"958959"@babel/plugin-transform-named-capturing-groups-regex@^7.7.4":960 version "7.7.4"961 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.7.4.tgz#fb3bcc4ee4198e7385805007373d6b6f42c98220"962 integrity sha512-jBUkiqLKvUWpv9GLSuHUFYdmHg0ujC1JEYoZUfeOOfNydZXp1sXObgyPatpcwjWgsdBGsagWW0cdJpX/DO2jMw==963 dependencies:964 "@babel/helper-create-regexp-features-plugin" "^7.7.4"965966"@babel/plugin-transform-new-target@^7.4.0":967 version "7.4.0"968 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.4.0.tgz#67658a1d944edb53c8d4fa3004473a0dd7838150"969 integrity sha512-6ZKNgMQmQmrEX/ncuCwnnw1yVGoaOW5KpxNhoWI7pCQdA0uZ0HqHGqenCUIENAnxRjy2WwNQ30gfGdIgqJXXqw==970 dependencies:971 "@babel/helper-plugin-utils" "^7.0.0"972973"@babel/plugin-transform-new-target@^7.7.4":974 version "7.7.4"975 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.7.4.tgz#4a0753d2d60639437be07b592a9e58ee00720167"976 integrity sha512-CnPRiNtOG1vRodnsyGX37bHQleHE14B9dnnlgSeEs3ek3fHN1A1SScglTCg1sfbe7sRQ2BUcpgpTpWSfMKz3gg==977 dependencies:978 "@babel/helper-plugin-utils" "^7.0.0"979980"@babel/plugin-transform-object-super@^7.2.0":981 version "7.2.0"982 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.2.0.tgz#b35d4c10f56bab5d650047dad0f1d8e8814b6598"983 integrity sha512-VMyhPYZISFZAqAPVkiYb7dUe2AsVi2/wCT5+wZdsNO31FojQJa9ns40hzZ6U9f50Jlq4w6qwzdBB2uwqZ00ebg==984 dependencies:985 "@babel/helper-plugin-utils" "^7.0.0"986 "@babel/helper-replace-supers" "^7.1.0"987988"@babel/plugin-transform-object-super@^7.7.4":989 version "7.7.4"990 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.7.4.tgz#48488937a2d586c0148451bf51af9d7dda567262"991 integrity sha512-ho+dAEhC2aRnff2JCA0SAK7V2R62zJd/7dmtoe7MHcso4C2mS+vZjn1Pb1pCVZvJs1mgsvv5+7sT+m3Bysb6eg==992 dependencies:993 "@babel/helper-plugin-utils" "^7.0.0"994 "@babel/helper-replace-supers" "^7.7.4"995996"@babel/plugin-transform-parameters@^7.4.3":997 version "7.4.3"998 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.4.3.tgz#e5ff62929fdf4cf93e58badb5e2430303003800d"999 integrity sha512-ULJYC2Vnw96/zdotCZkMGr2QVfKpIT/4/K+xWWY0MbOJyMZuk660BGkr3bEKWQrrciwz6xpmft39nA4BF7hJuA==
1 unmodified line
1001 "@babel/helper-call-delegate" "^7.4.0"1002 "@babel/helper-get-function-arity" "^7.0.0"1003 "@babel/helper-plugin-utils" "^7.0.0"10041005"@babel/plugin-transform-parameters@^7.7.7":1006 version "7.7.7"1007 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.7.7.tgz#7a884b2460164dc5f194f668332736584c760007"1008 integrity sha512-OhGSrf9ZBrr1fw84oFXj5hgi8Nmg+E2w5L7NhnG0lPvpDtqd7dbyilM2/vR8CKbJ907RyxPh2kj6sBCSSfI9Ew==1009 dependencies:1010 "@babel/helper-call-delegate" "^7.7.4"1011 "@babel/helper-get-function-arity" "^7.7.4"1012 "@babel/helper-plugin-utils" "^7.0.0"10131014"@babel/plugin-transform-property-literals@^7.2.0":1015 version "7.2.0"1016 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.2.0.tgz#03e33f653f5b25c4eb572c98b9485055b389e905"1017 integrity sha512-9q7Dbk4RhgcLp8ebduOpCbtjh7C0itoLYHXd9ueASKAG/is5PQtMR5VJGka9NKqGhYEGn5ITahd4h9QeBMylWQ==1018 dependencies:1019 "@babel/helper-plugin-utils" "^7.0.0"10201021"@babel/plugin-transform-property-literals@^7.7.4":1022 version "7.7.4"1023 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.7.4.tgz#2388d6505ef89b266103f450f9167e6bd73f98c2"1024 integrity sha512-MatJhlC4iHsIskWYyawl53KuHrt+kALSADLQQ/HkhTjX954fkxIEh4q5slL4oRAnsm/eDoZ4q0CIZpcqBuxhJQ==1025 dependencies:1026 "@babel/helper-plugin-utils" "^7.0.0"10271028"@babel/plugin-transform-react-jsx@^7.3.0":539 version "7.3.0"540 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.3.0.tgz#f2cab99026631c767e2745a5368b331cfe8f5290"541 integrity sha512-a/+aRb7R06WcKvQLOu4/TpjKOdvVEKRLWFpKcNuHhiREPgGRB4TQJxq07+EZLS8LFVYpfq1a5lDUnuMdcCpBKg==1029 version "7.7.7"1030 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.7.7.tgz#5cbaa7445b4a09f774029f3cc7bb448ff3122a5d"1031 integrity sha512-SlPjWPbva2+7/ZJbGcoqjl4LsQaLpKEzxW9hcxU7675s24JmdotJOSJ4cgAbV82W3FcZpHIGmRZIlUL8ayMvjw==1032 dependencies:543 "@babel/helper-builder-react-jsx" "^7.3.0"1033 "@babel/helper-builder-react-jsx" "^7.7.4"1034 "@babel/helper-plugin-utils" "^7.0.0"545 "@babel/plugin-syntax-jsx" "^7.2.0"1035 "@babel/plugin-syntax-jsx" "^7.7.4"10361037"@babel/plugin-transform-regenerator@^7.4.3":1038 version "7.4.3"1039 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.3.tgz#2a697af96887e2bbf5d303ab0221d139de5e739c"1040 integrity sha512-kEzotPuOpv6/iSlHroCDydPkKYw7tiJGKlmYp6iJn4a6C/+b2FdttlJsLKYxolYHgotTJ5G5UY5h0qey5ka3+A==1041 dependencies:1042 regenerator-transform "^0.13.4"10431044"@babel/plugin-transform-regenerator@^7.7.5":1045 version "7.7.5"1046 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.7.5.tgz#3a8757ee1a2780f390e89f246065ecf59c26fce9"1047 integrity sha512-/8I8tPvX2FkuEyWbjRCt4qTAgZK0DVy8QRguhA524UH48RfGJy94On2ri+dCuwOpcerPRl9O4ebQkRcVzIaGBw==1048 dependencies:1049 regenerator-transform "^0.14.0"10501051"@babel/plugin-transform-reserved-words@^7.2.0":1052 version "7.2.0"1053 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.2.0.tgz#4792af87c998a49367597d07fedf02636d2e1634"1054 integrity sha512-fz43fqW8E1tAB3DKF19/vxbpib1fuyCwSPE418ge5ZxILnBhWyhtPgz8eh1RCGGJlwvksHkyxMxh0eenFi+kFw==1055 dependencies:1056 "@babel/helper-plugin-utils" "^7.0.0"10571058"@babel/plugin-transform-reserved-words@^7.7.4":1059 version "7.7.4"1060 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.7.4.tgz#6a7cf123ad175bb5c69aec8f6f0770387ed3f1eb"1061 integrity sha512-OrPiUB5s5XvkCO1lS7D8ZtHcswIC57j62acAnJZKqGGnHP+TIc/ljQSrgdX/QyOTdEK5COAhuc820Hi1q2UgLQ==1062 dependencies:1063 "@babel/helper-plugin-utils" "^7.0.0"10641065"@babel/plugin-transform-shorthand-properties@^7.2.0":1066 version "7.2.0"1067 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.2.0.tgz#6333aee2f8d6ee7e28615457298934a3b46198f0"1068 integrity sha512-QP4eUM83ha9zmYtpbnyjTLAGKQritA5XW/iG9cjtuOI8s1RuL/3V6a3DeSHfKutJQ+ayUfeZJPcnCYEQzaPQqg==1069 dependencies:1070 "@babel/helper-plugin-utils" "^7.0.0"10711072"@babel/plugin-transform-shorthand-properties@^7.7.4":1073 version "7.7.4"1074 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.7.4.tgz#74a0a9b2f6d67a684c6fbfd5f0458eb7ba99891e"1075 integrity sha512-q+suddWRfIcnyG5YiDP58sT65AJDZSUhXQDZE3r04AuqD6d/XLaQPPXSBzP2zGerkgBivqtQm9XKGLuHqBID6Q==1076 dependencies:1077 "@babel/helper-plugin-utils" "^7.0.0"10781079"@babel/plugin-transform-spread@^7.2.0":1080 version "7.2.2"1081 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.2.2.tgz#3103a9abe22f742b6d406ecd3cd49b774919b406"1082 integrity sha512-KWfky/58vubwtS0hLqEnrWJjsMGaOeSBn90Ezn5Jeg9Z8KKHmELbP1yGylMlm5N6TPKeY9A2+UaSYLdxahg01w==1083 dependencies:1084 "@babel/helper-plugin-utils" "^7.0.0"10851086"@babel/plugin-transform-spread@^7.7.4":1087 version "7.7.4"1088 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.7.4.tgz#aa673b356fe6b7e70d69b6e33a17fef641008578"1089 integrity sha512-8OSs0FLe5/80cndziPlg4R0K6HcWSM0zyNhHhLsmw/Nc5MaA49cAsnoJ/t/YZf8qkG7fD+UjTRaApVDB526d7Q==1090 dependencies:1091 "@babel/helper-plugin-utils" "^7.0.0"10921093"@babel/plugin-transform-sticky-regex@^7.2.0":1094 version "7.2.0"1095 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.2.0.tgz#a1e454b5995560a9c1e0d537dfc15061fd2687e1"1096 integrity sha512-KKYCoGaRAf+ckH8gEL3JHUaFVyNHKe3ASNsZ+AlktgHevvxGigoIttrEJb8iKN03Q7Eazlv1s6cx2B2cQ3Jabw==1097 dependencies:1098 "@babel/helper-plugin-utils" "^7.0.0"1099 "@babel/helper-regex" "^7.0.0"11001101"@babel/plugin-transform-sticky-regex@^7.7.4":1102 version "7.7.4"1103 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.7.4.tgz#ffb68c05090c30732076b1285dc1401b404a123c"1104 integrity sha512-Ls2NASyL6qtVe1H1hXts9yuEeONV2TJZmplLONkMPUG158CtmnrzW5Q5teibM5UVOFjG0D3IC5mzXR6pPpUY7A==1105 dependencies:1106 "@babel/helper-plugin-utils" "^7.0.0"1107 "@babel/helper-regex" "^7.0.0"11081109"@babel/plugin-transform-template-literals@^7.2.0":1110 version "7.2.0"1111 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.2.0.tgz#d87ed01b8eaac7a92473f608c97c089de2ba1e5b"1112 integrity sha512-FkPix00J9A/XWXv4VoKJBMeSkyY9x/TqIh76wzcdfl57RJJcf8CehQ08uwfhCDNtRQYtHQKBTwKZDEyjE13Lwg==1113 dependencies:1114 "@babel/helper-annotate-as-pure" "^7.0.0"1115 "@babel/helper-plugin-utils" "^7.0.0"11161117"@babel/plugin-transform-template-literals@^7.7.4":1118 version "7.7.4"1119 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.7.4.tgz#1eb6411736dd3fe87dbd20cc6668e5121c17d604"1120 integrity sha512-sA+KxLwF3QwGj5abMHkHgshp9+rRz+oY9uoRil4CyLtgEuE/88dpkeWgNk5qKVsJE9iSfly3nvHapdRiIS2wnQ==1121 dependencies:1122 "@babel/helper-annotate-as-pure" "^7.7.4"1123 "@babel/helper-plugin-utils" "^7.0.0"11241125"@babel/plugin-transform-typeof-symbol@^7.2.0":1126 version "7.2.0"1127 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.2.0.tgz#117d2bcec2fbf64b4b59d1f9819894682d29f2b2"1128 integrity sha512-2LNhETWYxiYysBtrBTqL8+La0jIoQQnIScUJc74OYvUGRmkskNY4EzLCnjHBzdmb38wqtTaixpo1NctEcvMDZw==1129 dependencies:1130 "@babel/helper-plugin-utils" "^7.0.0"1131598"@babel/plugin-transform-typescript@^7.3.2":599 version "7.4.0"600 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.4.0.tgz#0389ec53a34e80f99f708c4ca311181449a68eb1"601 integrity sha512-U7/+zKnRZg04ggM/Bm+xmu2B/PrwyDQTT/V89FXWYWNMxBDwSx56u6jtk9SEbfLFbZaEI72L+5LPvQjeZgFCrQ==1132"@babel/plugin-transform-typeof-symbol@^7.7.4":1133 version "7.7.4"1134 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.7.4.tgz#3174626214f2d6de322882e498a38e8371b2140e"1135 integrity sha512-KQPUQ/7mqe2m0B8VecdyaW5XcQYaePyl9R7IsKd+irzj6jvbhoGnRE+M0aNkyAzI07VfUQ9266L5xMARitV3wg==1136 dependencies:1137 "@babel/helper-plugin-utils" "^7.0.0"604 "@babel/plugin-syntax-typescript" "^7.2.0"11381139"@babel/plugin-transform-typescript@^7.7.4":1140 version "7.7.4"1141 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.7.4.tgz#2974fd05f4e85c695acaf497f432342de9fc0636"1142 integrity sha512-X8e3tcPEKnwwPVG+vP/vSqEShkwODOEeyQGod82qrIuidwIrfnsGn11qPM1jBLF4MqguTXXYzm58d0dY+/wdpg==1143 dependencies:1144 "@babel/helper-create-class-features-plugin" "^7.7.4"1145 "@babel/helper-plugin-utils" "^7.0.0"1146 "@babel/plugin-syntax-typescript" "^7.7.4"11471148"@babel/plugin-transform-unicode-regex@^7.4.3":1149 version "7.4.3"1150 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.4.3.tgz#3868703fc0e8f443dda65654b298df576f7b863b"1151 integrity sha512-lnSNgkVjL8EMtnE8eSS7t2ku8qvKH3eqNf/IwIfnSPUqzgqYmRwzdsQWv4mNQAN9Nuo6Gz1Y0a4CSmdpu1Pp6g==
1 unmodified line
1153 "@babel/helper-plugin-utils" "^7.0.0"1154 "@babel/helper-regex" "^7.4.3"1155 regexpu-core "^4.5.4"11561157"@babel/plugin-transform-unicode-regex@^7.7.4":1158 version "7.7.4"1159 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.7.4.tgz#a3c0f65b117c4c81c5b6484f2a5e7b95346b83ae"1160 integrity sha512-N77UUIV+WCvE+5yHw+oks3m18/umd7y392Zv7mYTpFqHtkpcc+QUz+gLJNTWVlWROIWeLqY0f3OjZxV5TcXnRw==1161 dependencies:1162 "@babel/helper-create-regexp-features-plugin" "^7.7.4"1163 "@babel/helper-plugin-utils" "^7.0.0"11641165"@babel/polyfill@^7.0.0":1166 version "7.4.3"1167 resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.4.3.tgz#332dc6f57b718017c3a8b37b4eea8aa6eeac1187"1168 integrity sha512-rkv8WIvJshA5Ev8iNMGgz5WZkRtgtiPexiT7w5qevGTuT7ZBfM3de9ox1y9JR5/OXb/sWGBbWlHNa7vQKqku3Q==1169 dependencies:1170 core-js "^2.6.5"1171 regenerator-runtime "^0.13.2"1172623"@babel/preset-env@^7.3.1", "@babel/preset-env@^7.3.4":1173"@babel/preset-env@^7.3.1":1174 version "7.7.7"1175 resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.7.7.tgz#c294167b91e53e7e36d820e943ece8d0c7fe46ac"1176 integrity sha512-pCu0hrSSDVI7kCVUOdcMNQEbOPJ52E+LrQ14sN8uL2ALfSqePZQlKrOy+tM4uhEdYlCHi4imr8Zz2cZe9oSdIg==1177 dependencies:1178 "@babel/helper-module-imports" "^7.7.4"1179 "@babel/helper-plugin-utils" "^7.0.0"1180 "@babel/plugin-proposal-async-generator-functions" "^7.7.4"1181 "@babel/plugin-proposal-dynamic-import" "^7.7.4"1182 "@babel/plugin-proposal-json-strings" "^7.7.4"1183 "@babel/plugin-proposal-object-rest-spread" "^7.7.7"1184 "@babel/plugin-proposal-optional-catch-binding" "^7.7.4"1185 "@babel/plugin-proposal-unicode-property-regex" "^7.7.7"1186 "@babel/plugin-syntax-async-generators" "^7.7.4"1187 "@babel/plugin-syntax-dynamic-import" "^7.7.4"1188 "@babel/plugin-syntax-json-strings" "^7.7.4"1189 "@babel/plugin-syntax-object-rest-spread" "^7.7.4"1190 "@babel/plugin-syntax-optional-catch-binding" "^7.7.4"1191 "@babel/plugin-syntax-top-level-await" "^7.7.4"1192 "@babel/plugin-transform-arrow-functions" "^7.7.4"1193 "@babel/plugin-transform-async-to-generator" "^7.7.4"1194 "@babel/plugin-transform-block-scoped-functions" "^7.7.4"1195 "@babel/plugin-transform-block-scoping" "^7.7.4"1196 "@babel/plugin-transform-classes" "^7.7.4"1197 "@babel/plugin-transform-computed-properties" "^7.7.4"1198 "@babel/plugin-transform-destructuring" "^7.7.4"1199 "@babel/plugin-transform-dotall-regex" "^7.7.7"1200 "@babel/plugin-transform-duplicate-keys" "^7.7.4"1201 "@babel/plugin-transform-exponentiation-operator" "^7.7.4"1202 "@babel/plugin-transform-for-of" "^7.7.4"1203 "@babel/plugin-transform-function-name" "^7.7.4"1204 "@babel/plugin-transform-literals" "^7.7.4"1205 "@babel/plugin-transform-member-expression-literals" "^7.7.4"1206 "@babel/plugin-transform-modules-amd" "^7.7.5"1207 "@babel/plugin-transform-modules-commonjs" "^7.7.5"1208 "@babel/plugin-transform-modules-systemjs" "^7.7.4"1209 "@babel/plugin-transform-modules-umd" "^7.7.4"1210 "@babel/plugin-transform-named-capturing-groups-regex" "^7.7.4"1211 "@babel/plugin-transform-new-target" "^7.7.4"1212 "@babel/plugin-transform-object-super" "^7.7.4"1213 "@babel/plugin-transform-parameters" "^7.7.7"1214 "@babel/plugin-transform-property-literals" "^7.7.4"1215 "@babel/plugin-transform-regenerator" "^7.7.5"1216 "@babel/plugin-transform-reserved-words" "^7.7.4"1217 "@babel/plugin-transform-shorthand-properties" "^7.7.4"1218 "@babel/plugin-transform-spread" "^7.7.4"1219 "@babel/plugin-transform-sticky-regex" "^7.7.4"1220 "@babel/plugin-transform-template-literals" "^7.7.4"1221 "@babel/plugin-transform-typeof-symbol" "^7.7.4"1222 "@babel/plugin-transform-unicode-regex" "^7.7.4"1223 "@babel/types" "^7.7.4"1224 browserslist "^4.6.0"1225 core-js-compat "^3.6.0"1226 invariant "^2.2.2"1227 js-levenshtein "^1.1.3"1228 semver "^5.5.0"12291230"@babel/preset-env@^7.3.4":1231 version "7.4.3"1232 resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.3.tgz#e71e16e123dc0fbf65a52cbcbcefd072fbd02880"1233 integrity sha512-FYbZdV12yHdJU5Z70cEg0f6lvtpZ8jFSDakTm7WXeJbLXh4R0ztGEu/SW7G1nJ2ZvKwDhz8YrbA84eYyprmGqw==1234 dependencies:
46 unmodified lines
1281 js-levenshtein "^1.1.3"1282 semver "^5.5.0"12831284"@babel/preset-typescript@^7.1.0":678 version "7.3.3"679 resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.3.3.tgz#88669911053fa16b2b276ea2ede2ca603b3f307a"680 integrity sha512-mzMVuIP4lqtn4du2ynEfdO0+RYcslwrZiJHXu4MGaC1ctJiW2fyaeDrtjJGs7R/KebZ1sgowcIoWf4uRpEfKEg==1285 version "7.7.7"1286 resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.7.7.tgz#69ddea54e8b4e491ccbf94147e673b2ac6e11e2e"1287 integrity sha512-Apg0sCTovsSA+pEaI8efnA44b9x4X/7z4P8vsWMiN8rSUaM4y4+Shl5NMWnMl6njvt96+CEb6jwpXAKYAVCSQA==1288 dependencies:1289 "@babel/helper-plugin-utils" "^7.0.0"683 "@babel/plugin-transform-typescript" "^7.3.2"1290 "@babel/plugin-transform-typescript" "^7.7.4"12911292"@babel/register@^7.0.0":1293 version "7.4.0"1294 resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.4.0.tgz#d9d0a621db268fb14200f2685a4f8924c822404c"
14 unmodified lines
1309 "@babel/code-frame" "^7.0.0"1310 "@babel/parser" "^7.4.0"1311 "@babel/types" "^7.4.0"13121313"@babel/template@^7.7.4":1314 version "7.7.4"1315 resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.7.4.tgz#428a7d9eecffe27deac0a98e23bf8e3675d2a77b"1316 integrity sha512-qUzihgVPguAzXCK7WXw8pqs6cEwi54s3E+HrejlkuWO6ivMKx9hZl3Y2fSXp9i5HgyWmj7RKP+ulaYnKM4yYxw==1317 dependencies:1318 "@babel/code-frame" "^7.0.0"1319 "@babel/parser" "^7.7.4"1320 "@babel/types" "^7.7.4"13211322"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.4.0", "@babel/traverse@^7.4.3":1323 version "7.4.3"1324 resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.4.3.tgz#1a01f078fc575d589ff30c0f71bf3c3d9ccbad84"1325 integrity sha512-HmA01qrtaCwwJWpSKpA948cBvU5BrmviAief/b3AVw936DtcdsTexlbyzNuDnthwhOQ37xshn7hvQaEQk7ISYQ==
7 unmodified lines
1333 debug "^4.1.0"1334 globals "^11.1.0"1335 lodash "^4.17.11"13361337"@babel/traverse@^7.7.4":1338 version "7.7.4"1339 resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.7.4.tgz#9c1e7c60fb679fe4fcfaa42500833333c2058558"1340 integrity sha512-P1L58hQyupn8+ezVA2z5KBm4/Zr4lCC8dwKCMYzsa5jFMDMQAzaBNy9W5VjB+KAmBjb40U7a/H6ao+Xo+9saIw==1341 dependencies:1342 "@babel/code-frame" "^7.5.5"1343 "@babel/generator" "^7.7.4"1344 "@babel/helper-function-name" "^7.7.4"1345 "@babel/helper-split-export-declaration" "^7.7.4"1346 "@babel/parser" "^7.7.4"1347 "@babel/types" "^7.7.4"1348 debug "^4.1.0"1349 globals "^11.1.0"1350 lodash "^4.17.13"13511352"@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0", "@babel/types@^7.4.0":1353 version "7.4.0"1354 resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.4.0.tgz#670724f77d24cce6cc7d8cf64599d511d164894c"1355 integrity sha512-aPvkXyU2SPOnztlgo8n9cEiXW755mgyvueUPcpStqdzoSPm0fjO0vQBjLkt3JKJW7ufikfcnMTTPsN1xaTsBPA==
1 unmodified line
1357 esutils "^2.0.2"1358 lodash "^4.17.11"1359 to-fast-properties "^2.0.0"13601361"@babel/types@^7.7.4":1362 version "7.7.4"1363 resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.7.4.tgz#516570d539e44ddf308c07569c258ff94fde9193"1364 integrity sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==1365 dependencies:1366 esutils "^2.0.2"1367 lodash "^4.17.13"1368 to-fast-properties "^2.0.0"13691370"@cnakazawa/watch@^1.0.3":1371 version "1.0.3"1372 resolved "https://registry.yarnpkg.com/@cnakazawa/watch/-/watch-1.0.3.tgz#099139eaec7ebf07a27c1786a3ff64f39464d2ef"1373 integrity sha512-r5160ogAvGyHsal38Kux7YYtodEKOj89RGb28ht1jh3SJb08VwRwAKKJL0bGb04Zd/3r9FL3BFIc3bBidYffCA==
177 unmodified lines
1551 integrity sha512-XYVgHF2sQ0YblLRMLNPB3CkFMewzFmlDsH/TneZFHUXDlABQgh88uOxuez7ZcXxayLFrqLwtDH1t+FmlFwNZxw==1552 dependencies:1553 "@babel/types" "^7.3.0"1554915"@types/estree@0.0.39":916 version "0.0.39"917 resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"918 integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==1555"@types/estree@*":1556 version "0.0.40"1557 resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.40.tgz#0e6cb9b9bbd098031fa19e4b4e8131bc70e5de13"1558 integrity sha512-p3KZgMto/JyxosKGmnLDJ/dG5wf+qTRMUjHJcspC2oQKa4jP7mz+tv0ND56lLBu3ojHlhzY33Ol+khLyNmilkA==15591560"@types/istanbul-lib-coverage@^2.0.0":1561 version "2.0.0"1562 resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.0.tgz#1eb8c033e98cf4e1a4cedcaf8bcafe8cb7591e85"
10 unmodified lines
1573 integrity sha512-2kLuPC5FDnWIDvaJBzsGTBQaBbnDweznicvK7UGYzlIJP4RJR2a4A/ByLUXEyEgag6jz8eHdlWExGDtH3EYUXQ==1574 dependencies:1575 "@types/jest-diff" "*"1576937"@types/node@^11.11.6":938 version "11.13.0"939 resolved "https://registry.yarnpkg.com/@types/node/-/node-11.13.0.tgz#b0df8d6ef9b5001b2be3a94d909ce3c29a80f9e1"940 integrity sha512-rx29MMkRdVmzunmiA4lzBYJNnXsW/PhG4kMBy2ATsYaDjGGR75dCFEVVROKpNwlVdcUX3xxlghKQOeDPBJobng==1577"@types/node@*":1578 version "12.12.21"1579 resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.21.tgz#aa44a6363291c7037111c47e4661ad210aded23f"1580 integrity sha512-8sRGhbpU+ck1n0PGAUgVrWrWdjSW2aqNeyC15W88GRsMpSwzv6RJGlLhE7s2RhVSOdyDmxbqlWSeThq4/7xqlA==15811582"@types/q@^1.5.1":1583 version "1.5.2"1584 resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8"1585 integrity sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw==15861587"@types/resolve@0.0.8":1588 version "0.0.8"1589 resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-0.0.8.tgz#f26074d238e02659e323ce1a13d041eee280e194"1590 integrity sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ==1591 dependencies:1592 "@types/node" "*"15931594"@types/stack-utils@^1.0.1":1595 version "1.0.1"1596 resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e"1597 integrity sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw==
26 unmodified lines
1624 acorn "^6.0.1"1625 acorn-walk "^6.0.1"16261627acorn-jsx@^5.0.1:981 version "5.0.1"982 resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.0.1.tgz#32a064fd925429216a09b141102bfdd185fae40e"983 integrity sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==1628 version "5.1.0"1629 resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384"1630 integrity sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==16311632acorn-walk@^6.0.1:1633 version "6.1.1"1634 resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-6.1.1.tgz#d363b66f5fac5f018ff9c3a1e7b6f8e310cc3913"
3 unmodified lines
1638 version "5.7.3"1639 resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279"1640 integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==1641995acorn@^6.0.1, acorn@^6.1.1:1642acorn@^6.0.1:1643 version "6.1.1"1644 resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.1.1.tgz#7d25ae05bb8ad1f9b699108e1094ecd7884adc1f"1645 integrity sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA==16461647acorn@^6.1.1:1648 version "6.4.0"1649 resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.0.tgz#b659d2ffbafa24baf5db1cdbb2c94a983ecd2784"1650 integrity sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==16511652acorn@^7.1.0:1653 version "7.1.0"1654 resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c"1655 integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==16561657ajv@^6.5.5:1658 version "6.10.0"1659 resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.0.tgz#90d0d54439da587cd7e843bfb7045f50bd22bdf1"1660 integrity sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==
228 unmodified lines
1889 babel-preset-jest "^24.6.0"1890 chalk "^2.4.2"1891 slash "^2.0.0"18921893babel-plugin-dynamic-import-node@^2.3.0:1894 version "2.3.0"1895 resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz#f00f507bdaa3c3e3ff6e7e5e98d90a7acab96f7f"1896 integrity sha512-o6qFkpeQEBxcqt0XYlWzAVxNCSCZdUgcR8IRlhD/8DylxjjO4foPcvTW0GGKa/cVt3rvxZ7o5ippJ+/0nvLhlQ==1897 dependencies:1898 object.assign "^4.1.0"18991900babel-plugin-istanbul@^5.1.0:1901 version "5.1.1"1902 resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-5.1.1.tgz#7981590f1956d75d67630ba46f0c22493588c893"1903 integrity sha512-RNNVv2lsHAXJQsEJ5jonQwrJVWK8AcZpG1oxhnjCUaAjL7xahYLANhPUZbzEQHjKy1NMYUwn+0NPKQc8iSY4xQ==
9 unmodified lines
1913 dependencies:1914 "@types/babel__traverse" "^7.0.6"19151916babel-plugin-transform-async-to-promises@^0.8.4:1253 version "0.8.8"1254 resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-promises/-/babel-plugin-transform-async-to-promises-0.8.8.tgz#6d002340bfa0e2d09f7225bb72b003a5003ddb84"1255 integrity sha512-pJ9Hs14wxvBQZxmw40yv/Ia7bAQGPk7RDWf0hysLa7C3OGbwTbWQhOwW5+rDaJGI5fMTgTQThUoihbZzb0CkJQ==1917 version "0.8.15"1918 resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-promises/-/babel-plugin-transform-async-to-promises-0.8.15.tgz#13b6d8ef13676b4e3c576d3600b85344bb1ba346"1919 integrity sha512-fDXP68ZqcinZO2WCiimCL9zhGjGXOnn3D33zvbh+yheZ/qOrNVVDDIBtAaM3Faz8TRvQzHiRKsu3hfrBAhEncQ==19201921babel-preset-jest@^24.6.0:1922 version "24.6.0"1923 resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-24.6.0.tgz#66f06136eefce87797539c0d63f1769cc3915984"
55 unmodified lines
1979 version "3.2.0"1980 resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e"1981 integrity sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==19821319bili@^4.7.0:1320 version "4.7.2"1321 resolved "https://registry.yarnpkg.com/bili/-/bili-4.7.2.tgz#8ab320a99e08e6080206914e1ffebd4a90536025"1322 integrity sha512-17/AcekUbt8jtOLprVqQNtjhm4CuFd+aEQlJsCa/A7tmc/BZaYJ5Bki0vWT3ruRAnEkFIfc70gDcIyzmL72nyw==1983bili@^4.8.1:1984 version "4.8.1"1985 resolved "https://registry.yarnpkg.com/bili/-/bili-4.8.1.tgz#c999467c1e316d897f8091df827440841d954b95"1986 integrity sha512-SEfQYwmsO/FsZA+Mbpy+Yb0pxu+KiKEQRzKP/zktxOH/hE4y+26hBRA69OU3rQSKtyNyUFHZwavdlW/wJsf2nw==1987 dependencies:1988 "@babel/core" "^7.2.2"1989 "@babel/plugin-proposal-object-rest-spread" "^7.3.1"1990 "@babel/plugin-syntax-dynamic-import" "^7.2.0"
8 unmodified lines
1999 rollup-plugin-buble "^0.19.6"2000 rollup-plugin-commonjs "^9.2.0"2001 rollup-plugin-hashbang "^2.2.2"2002 rollup-plugin-json "^3.1.0"1339 rollup-plugin-node-resolve "^4.0.1"2003 rollup-plugin-node-resolve "^4.2.3"2004 rollup-plugin-postcss "^2.0.3"2005 rollup-plugin-replace "^2.1.0"2006 rollup-plugin-terser "^4.0.2"2007
51 unmodified lines
2059 integrity sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==2060 dependencies:2061 resolve "1.1.7"20621399browserslist@^4.0.0, browserslist@^4.5.1, browserslist@^4.5.2:2063browserslist@^4.0.0, browserslist@^4.6.0, browserslist@^4.8.2:2064 version "4.8.2"2065 resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.8.2.tgz#b45720ad5fbc8713b7253c20766f701c9a694289"2066 integrity sha512-+M4oeaTplPm/f1pXDw84YohEv7B1i/2Aisei8s4s6k3QsoSHa7i5sz8u/cGQkkatCPxMASKxPualR4wwYgVboA==2067 dependencies:2068 caniuse-lite "^1.0.30001015"2069 electron-to-chromium "^1.3.322"2070 node-releases "^1.1.42"20712072browserslist@^4.5.1, browserslist@^4.5.2:2073 version "4.5.4"2074 resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.5.4.tgz#166c4ecef3b51737a42436ea8002aeea466ea2c7"2075 integrity sha512-rAjx494LMjqKnMPhFkuLmLp8JWEX0o8ADTGeAbOqaF+XCvYLreZrG5uVjnPBlAQ8REZK4pzXGvp0bWgrFtKaag==2076 dependencies:2077 caniuse-lite "^1.0.30000955"2078 electron-to-chromium "^1.3.122"2079 node-releases "^1.1.13"20802081bs-logger@0.x:2082 version "0.2.6"2083 resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8"2084 integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==2085 dependencies:2086 fast-json-stable-stringify "2.x"20872088bser@^2.0.0:2089 version "2.0.0"2090 resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719"2091 integrity sha1-mseNPtXZFYBP2HrLFYvHlxR6Fxk=2092 dependencies:2093 node-int64 "^0.4.0"20941415buble@^0.19.6:1416 version "0.19.7"1417 resolved "https://registry.yarnpkg.com/buble/-/buble-0.19.7.tgz#1dfd080ab688101aad5388d3304bc82601a244fd"1418 integrity sha512-YLgWxX/l+NnfotydBlxqCMPR4FREE4ubuHphALz0FxQ7u2hp3BzxTKQ4nKpapOaRJfEm1gukC68KnT2OymRK0g==2095buble@^0.19.8:2096 version "0.19.8"2097 resolved "https://registry.yarnpkg.com/buble/-/buble-0.19.8.tgz#d642f0081afab66dccd897d7b6360d94030b9d3d"2098 integrity sha512-IoGZzrUTY5fKXVkgGHw3QeXFMUNBFv+9l8a4QJKG1JhG3nCMHTdEX1DCOg8568E2Q9qvAQIiSokv6Jsgx8p2cA==2099 dependencies:2100 acorn "^6.1.1"2101 acorn-dynamic-import "^4.0.0"2102 acorn-jsx "^5.0.1"2103 chalk "^2.4.2"1424 magic-string "^0.25.2"2104 magic-string "^0.25.3"2105 minimist "^1.2.0"1426 os-homedir "^1.0.1"2106 os-homedir "^2.0.0"2107 regexpu-core "^4.5.4"21081429buffer-from@^1.0.0:2109buffer-from@1.x, buffer-from@^1.0.0:2110 version "1.1.1"2111 resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"2112 integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==21131434builtin-modules@^3.0.0:1435 version "3.0.0"1436 resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.0.0.tgz#1e587d44b006620d90286cc7a9238bbc6129cab1"1437 integrity sha512-hMIeU4K2ilbXV6Uv93ZZ0Avg/M91RaKXucQ+4me2Do1txxBDyDZWCBa5bJSLqoNTRpXTLwEzIk1KmloenDDjhg==2114builtin-modules@^3.1.0:2115 version "3.1.0"2116 resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.1.0.tgz#aad97c15131eb76b65b50ef208e7584cd76a7484"2117 integrity sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw==21182119cache-base@^1.0.1:2120 version "1.0.1"2121 resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2"
32 unmodified lines
2154 version "3.0.0"2155 resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.0.0.tgz#fb7eb569b72ad7a45812f93fd9430a3e410b3dd3"2156 integrity sha512-tWnkwu9YEq2uzlBDI4RcLn8jrFvF9AOi8PxDNU3hZZjJcjkcRAq3vCI+vZcg1SuxISDYe86k9VZFwAxDiJGoAw==21572158camelcase@^4.1.0:2159 version "4.1.0"2160 resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd"2161 integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=21622163camelcase@^5.0.0:2164 version "5.3.1"2165 resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"2166 integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
7 unmodified lines
2174 caniuse-lite "^1.0.0"2175 lodash.memoize "^4.1.2"2176 lodash.uniq "^4.5.0"21771493caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000955:2178caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001015:2179 version "1.0.30001016"2180 resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001016.tgz#16ea48d7d6e8caf3cad3295c2d746fe38c4e7f66"2181 integrity sha512-yYQ2QfotceRiH4U+h1Us86WJXtVHDmy3nEKIdYPsZCYnOV5/tMgGbmoIlrMzmh2VXlproqYtVaKeGDBkMZifFA==21822183caniuse-lite@^1.0.30000955:2184 version "1.0.30000957"2185 resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000957.tgz#fb1026bf184d7d62c685205358c3b24b9e29f7b3"2186 integrity sha512-8wxNrjAzyiHcLXN/iunskqQnJquQQ6VX8JHfW5kLgAPRSiSuKZiNfmIkP5j7jgyXqAQBSoXyJxfnbCFS0ThSiQ==2187
91 unmodified lines
2279 dependencies:2280 restore-cursor "^2.0.0"22812282cli-spinners@^2.0.0:1593 version "2.0.0"1594 resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.0.0.tgz#4b078756fc17a8f72043fdc9f1f14bf4fa87e2df"1595 integrity sha512-yiEBmhaKPPeBj7wWm4GEdtPZK940p9pl3EANIrnJ3JnvWyrPjcFcsEq6qRUuQ7fzB0+Y82ld3p6B34xo95foWw==2283 version "2.2.0"2284 resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.2.0.tgz#e8b988d9206c692302d8ee834e7a85c0144d8f77"2285 integrity sha512-tgU3fKwzYjiLEQgPMD9Jt+JjHVL9kW93FiIMX/l7rivvOD4/LL0Mf7gda3+4U2KJBloybwgj5KEoQgGRioMiKQ==22862287cliui@^4.0.0:2288 version "4.1.0"2289 resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49"
60 unmodified lines
2350 color-name "^1.0.0"2351 simple-swizzle "^0.2.2"23522353color@^3.0.0:1664 version "3.1.0"1665 resolved "https://registry.yarnpkg.com/color/-/color-3.1.0.tgz#d8e9fb096732875774c84bf922815df0308d0ffc"1666 integrity sha512-CwyopLkuRYO5ei2EpzpIh6LqJMt6Mt+jZhO5VI5f/wJLZriXQE32/SSqzmrh+QB+AZT81Cj8yv+7zwToW8ahZg==2354 version "3.1.2"2355 resolved "https://registry.yarnpkg.com/color/-/color-3.1.2.tgz#68148e7f85d41ad7649c5fa8c8106f098d229e10"2356 integrity sha512-vXTJhHebByxZn3lDvDJYw4lR5+uB3vuoHsuYA5AKuxRVn5wzzIfQKGLBmgdVRHKTJYeK5rvJcHnrd0Li49CFpg==2357 dependencies:2358 color-convert "^1.9.1"2359 color-string "^1.5.2"2360
3 unmodified lines
2364 integrity sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==2365 dependencies:2366 delayed-stream "~1.0.0"23671678commander@^2.19.0, commander@^2.8.1:1679 version "2.20.0"1680 resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422"1681 integrity sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==16821683commander@~2.20.3:2368commander@^2.19.0, commander@~2.20.3:2369 version "2.20.3"2370 resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"2371 integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==23722373commander@^2.8.1:2374 version "2.20.0"2375 resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422"2376 integrity sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==23772378commondir@^1.0.1:2379 version "1.0.1"2380 resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"2381 integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=
31 unmodified lines
2413 integrity sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==2414 dependencies:2415 safe-buffer "~5.1.1"24162417convert-source-map@^1.7.0:2418 version "1.7.0"2419 resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442"2420 integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==2421 dependencies:2422 safe-buffer "~5.1.1"24232424copy-descriptor@^0.1.0:2425 version "0.1.1"2426 resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"2427 integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=
7 unmodified lines
2435 core-js "3.0.0"2436 core-js-pure "3.0.0"2437 semver "^5.6.0"24382439core-js-compat@^3.6.0:2440 version "3.6.0"2441 resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.6.0.tgz#4eb6cb69d03d99159ed7c860cd5fcf7d23a62ea9"2442 integrity sha512-Z3eCNjGgoYluH89Jt4wVkfYsc/VdLrA2/woX5lm0isO/pCT+P+Y+o65bOuEnjDJLthdwTBxbCVzptTXtc18fJg==2443 dependencies:2444 browserslist "^4.8.2"2445 semver "7.0.0"24462447core-js-pure@3.0.0:2448 version "3.0.0"2449 resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.0.0.tgz#a5679adb4875427c8c0488afc93e6f5b7125859b"2450 integrity sha512-yPiS3fQd842RZDgo/TAKGgS0f3p2nxssF1H65DIZvZv0Od5CygP8puHXn3IQiM/39VAvgCbdaMQpresrbGgt9g==
12 unmodified lines
2463 version "1.0.2"2464 resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"2465 integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=24661762cosmiconfig@^4.0.0:1763 version "4.0.0"1764 resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-4.0.0.tgz#760391549580bbd2df1e562bc177b13c290972dc"1765 integrity sha512-6e5vDdrXZD+t5v0L8CrurPeybg4Fmf+FCSYxXKYVAqLUtyCSbuyqE059d0kDthTNRzKVjL7QMgNpEUlsoYH3iQ==2467cosmiconfig@^5.0.0:2468 version "5.2.1"2469 resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a"2470 integrity sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==2471 dependencies:2472 import-fresh "^2.0.0"2473 is-directory "^0.3.1"1768 js-yaml "^3.9.0"2474 js-yaml "^3.13.1"2475 parse-json "^4.0.0"1770 require-from-string "^2.0.1"24761772cosmiconfig@^5.0.0, cosmiconfig@^5.0.7:2477cosmiconfig@^5.0.7:2478 version "5.2.0"2479 resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.0.tgz#45038e4d28a7fe787203aede9c25bca4a08b12c8"2480 integrity sha512-nxt+Nfc3JAqf4WIWd0jXLjTJZmsPLrA9DDc4nRw2KFJQJK7DNooqSXrNI7tzLG50CF8axczly5UV929tBmh/7g==2481 dependencies:
89 unmodified lines
2571 resolved "https://registry.yarnpkg.com/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz#3b2ff4972cc362ab88561507a95408a1432135d7"2572 integrity sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==25732574css-select@^2.0.0:1870 version "2.0.2"1871 resolved "https://registry.yarnpkg.com/css-select/-/css-select-2.0.2.tgz#ab4386cec9e1f668855564b17c3733b43b2a5ede"1872 integrity sha512-dSpYaDVoWaELjvZ3mS6IKZM/y2PMPa/XYoEfYNZePL4U/XgyxZNroHEHReDx/d+VgXh9VbCTtFqLkFbmeqeaRQ==2575 version "2.1.0"2576 resolved "https://registry.yarnpkg.com/css-select/-/css-select-2.1.0.tgz#6a34653356635934a81baca68d0255432105dbef"2577 integrity sha512-Dqk7LQKpwLoH3VovzZnkzegqNSuAziQyNZUcrdDM401iY+R5NkGBXGmtO05/yaXQziALuPogeG0b7UAgjnTJTQ==2578 dependencies:2579 boolbase "^1.0.0"1875 css-what "^2.1.2"2580 css-what "^3.2.1"2581 domutils "^1.7.0"2582 nth-check "^1.0.2"25832584css-selector-tokenizer@^0.7.0:
4 unmodified lines
2589 cssesc "^0.1.0"2590 fastparse "^1.1.1"2591 regexpu-core "^1.0.0"25921888css-tree@1.0.0-alpha.28:1889 version "1.0.0-alpha.28"1890 resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.28.tgz#8e8968190d886c9477bc8d61e96f61af3f7ffa7f"1891 integrity sha512-joNNW1gCp3qFFzj4St6zk+Wh/NBv0vM5YbEreZk0SD4S23S+1xBKb6cLDg2uj4P4k/GUMlIm6cKIDqIG+vdt0w==2593css-tree@1.0.0-alpha.37:2594 version "1.0.0-alpha.37"2595 resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.37.tgz#98bebd62c4c1d9f960ec340cf9f7522e30709a22"2596 integrity sha512-DMxWJg0rnz7UgxKT0Q1HU/L9BeJI0M6ksor0OgqOnF+aRCDWg/N2641HmVyU9KVIu0OVVWOb2IpC9A+BJRnejg==2597 dependencies:1893 mdn-data "~1.1.0"1894 source-map "^0.5.3"2598 mdn-data "2.0.4"2599 source-map "^0.6.1"26001896css-tree@1.0.0-alpha.29:1897 version "1.0.0-alpha.29"1898 resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.29.tgz#3fa9d4ef3142cbd1c301e7664c1f352bd82f5a39"1899 integrity sha512-sRNb1XydwkW9IOci6iB2xmy8IGCj6r/fr+JWitvJ2JxQRPzN3T4AGGVWCMlVmVwM1gtgALJRmGIlWv5ppnGGkg==1900 dependencies:1901 mdn-data "~1.1.0"1902 source-map "^0.5.3"19032601css-unit-converter@^1.1.1:2602 version "1.1.1"2603 resolved "https://registry.yarnpkg.com/css-unit-converter/-/css-unit-converter-1.1.1.tgz#d9b9281adcfd8ced935bdbaba83786897f64e996"2604 integrity sha1-2bkoGtz9jO2TW9urqDeGiX9k6ZY=26051909css-url-regex@^1.1.0:1910 version "1.1.0"1911 resolved "https://registry.yarnpkg.com/css-url-regex/-/css-url-regex-1.1.0.tgz#83834230cc9f74c457de59eebd1543feeb83b7ec"1912 integrity sha1-g4NCMMyfdMRX3lnuvRVD/uuDt+w=2606css-what@^3.2.1:2607 version "3.2.1"2608 resolved "https://registry.yarnpkg.com/css-what/-/css-what-3.2.1.tgz#f4a8f12421064621b456755e34a03a2c22df5da1"2609 integrity sha512-WwOrosiQTvyms+Ti5ZC5vGEK0Vod3FTt1ca+payZqvKuGJF+dq7bG63DstxtN0dpm6FxY27a/zS3Wten+gEtGw==26101914css-what@^2.1.2:1915 version "2.1.3"1916 resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.3.tgz#a6d7604573365fe74686c3f311c56513d88285f2"1917 integrity sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==19182611cssesc@^0.1.0:2612 version "0.1.0"2613 resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-0.1.0.tgz#c814903e45623371a0477b40109aaafbeeaddbb4"2614 integrity sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=
70 unmodified lines
2685 cssnano-preset-default "^4.0.7"2686 is-resolvable "^1.0.0"2687 postcss "^7.0.0"26881997csso@^3.5.1:1998 version "3.5.1"1999 resolved "https://registry.yarnpkg.com/csso/-/csso-3.5.1.tgz#7b9eb8be61628973c1b261e169d2f024008e758b"2000 integrity sha512-vrqULLffYU1Q2tLdJvaCYbONStnfkfimRxXNaGjxMldI0C7JPBC4rB1RyjhfdZ4m1frm8pM9uRPKH3d2knZ8gg==2689csso@^4.0.2:2690 version "4.0.2"2691 resolved "https://registry.yarnpkg.com/csso/-/csso-4.0.2.tgz#e5f81ab3a56b8eefb7f0092ce7279329f454de3d"2692 integrity sha512-kS7/oeNVXkHWxby5tHVxlhjizRCSv8QdU7hB2FpdAibDU8FjTAolhNjKNTiLzXtUrKT6HwClE81yXwEk1309wg==2693 dependencies:2002 css-tree "1.0.0-alpha.29"2694 css-tree "1.0.0-alpha.37"26952696cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0":2697 version "0.3.6"2698 resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.6.tgz#f85206cee04efa841f3c5982a74ba96ab20d65ad"
129 unmodified lines
2828 resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-24.3.0.tgz#0f20e8a1df1abddaf4d9c226680952e64118b975"2829 integrity sha512-xLqpez+Zj9GKSnPWS0WZw1igGocZ+uua8+y+5dDNTT934N3QuY1sp2LkHzwiaYQGz60hMq0pjAshdeXm5VUOEw==28302831dom-serializer@0:2140 version "0.1.1"2141 resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.1.tgz#1ec4059e284babed36eec2941d4a970a189ce7c0"2142 integrity sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==2832 version "0.2.2"2833 resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.2.2.tgz#1afb81f533717175d478655debc5e332d9f9bb51"2834 integrity sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==2835 dependencies:2144 domelementtype "^1.3.0"2145 entities "^1.1.1"2836 domelementtype "^2.0.1"2837 entities "^2.0.0"28382147domelementtype@1, domelementtype@^1.3.0:2839domelementtype@1:2840 version "1.3.1"2841 resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f"2842 integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==28432844domelementtype@^2.0.1:2845 version "2.0.1"2846 resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.0.1.tgz#1f8bdfe91f5a78063274e803b4bdcedf6e94f94d"2847 integrity sha512-5HOHUDsYZWV8FGWN0Njbr/Rn7f/eWSQi1v7+HsUVwXgn8nWWlL64zKDkS0n8ZmQ3mlWOMuXOnR+7Nx/5tMO5AQ==28482849domexception@^1.0.1:2850 version "1.0.1"2851 resolved "https://registry.yarnpkg.com/domexception/-/domexception-1.0.1.tgz#937442644ca6a31261ef36e3ec677fe805582c90"2852 integrity sha512-raigMkn7CJNNo6Ihro1fzG7wr3fHuYVytzquZKX5n0yizGsTcYgzdIUwj1X9pK0VvjeihV+XiclP+DjwbsSKug==
32 unmodified lines
2885 version "1.3.122"2886 resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.122.tgz#b32a0805f48557bd3c3b8104eadc7fa511b14a9a"2887 integrity sha512-3RKoIyCN4DhP2dsmleuFvpJAIDOseWH88wFYBzb22CSwoFDSWRc4UAMfrtc9h8nBdJjTNIN3rogChgOy6eFInw==28882889electron-to-chromium@^1.3.322:2890 version "1.3.322"2891 resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.322.tgz#a6f7e1c79025c2b05838e8e344f6e89eb83213a8"2892 integrity sha512-Tc8JQEfGQ1MzfSzI/bTlSr7btJv/FFO7Yh6tanqVmIWOuNCu6/D1MilIEgLtmWqIrsv+o4IjpLAhgMBr/ncNAA==28932894emojis-list@^2.0.0:2895 version "2.1.0"2896 resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389"2897 integrity sha1-TapNnbAPmBmIDHn6RXrlsJof04k=
4 unmodified lines
2902 integrity sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==2903 dependencies:2904 once "^1.4.0"29052204entities@^1.1.1:2205 version "1.1.2"2206 resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56"2207 integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==2906entities@^2.0.0:2907 version "2.0.0"2908 resolved "https://registry.yarnpkg.com/entities/-/entities-2.0.0.tgz#68d6084cab1b079767540d80e56a39b423e4abf4"2909 integrity sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw==29102911error-ex@^1.3.1:2912 version "1.3.2"2913 resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf"2914 integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==2915 dependencies:2916 is-arrayish "^0.2.1"29172216es-abstract@^1.12.0, es-abstract@^1.5.1:2918es-abstract@^1.17.0-next.1:2919 version "1.17.0-next.1"2920 resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.17.0-next.1.tgz#94acc93e20b05a6e96dacb5ab2f1cb3a81fc2172"2921 integrity sha512-7MmGr03N7Rnuid6+wyhD9sHNE2n4tFSwExnU2lQl3lIo2ShXWGePY80zYaoMOmILWv57H0amMjZGHNzzGG70Rw==2922 dependencies:2923 es-to-primitive "^1.2.1"2924 function-bind "^1.1.1"2925 has "^1.0.3"2926 has-symbols "^1.0.1"2927 is-callable "^1.1.4"2928 is-regex "^1.0.4"2929 object-inspect "^1.7.0"2930 object-keys "^1.1.1"2931 object.assign "^4.1.0"2932 string.prototype.trimleft "^2.1.0"2933 string.prototype.trimright "^2.1.0"29342935es-abstract@^1.5.1:2936 version "1.13.0"2937 resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.13.0.tgz#ac86145fdd5099d8dd49558ccba2eaf9b88e24e9"2938 integrity sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg==2939 dependencies:
12 unmodified lines
2952 is-callable "^1.1.4"2953 is-date-object "^1.0.1"2954 is-symbol "^1.0.2"29552956es-to-primitive@^1.2.1:2957 version "1.2.1"2958 resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a"2959 integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==2960 dependencies:2961 is-callable "^1.1.4"2962 is-date-object "^1.0.1"2963 is-symbol "^1.0.2"29642965escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:2966 version "1.0.5"2967 resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"2968 integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
24 unmodified lines
2993 version "4.2.0"2994 resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13"2995 integrity sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=29962269estree-walker@^0.6.0:2270 version "0.6.0"2271 resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.0.tgz#5d865327c44a618dde5699f763891ae31f257dae"2272 integrity sha512-peq1RfVAVzr3PU/jL31RaOjUKLoZJpObQWJJ+LgfcxDUifyLZ1RjPQZTl0pzj2uJ45b7A7XpyppXvxdEqzo4rw==2997estree-walker@^0.6.0, estree-walker@^0.6.1:2998 version "0.6.1"2999 resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362"3000 integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==30012274esutils@^2.0.0, esutils@^2.0.2:3002esutils@^2.0.0:3003 version "2.0.3"3004 resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"3005 integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==30063007esutils@^2.0.2:3008 version "2.0.2"3009 resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b"3010 integrity sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=3011
127 unmodified lines
3139 version "2.0.1"3140 resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49"3141 integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=31423143fast-json-stable-stringify@2.x:3144 version "2.1.0"3145 resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"3146 integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==31473148fast-json-stable-stringify@^2.0.0:3149 version "2.0.0"3150 resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"3151 integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I=
57 unmodified lines
3209 commondir "^1.0.1"3210 make-dir "^2.0.0"3211 pkg-dir "^3.0.0"32123213find-cache-dir@^3.0.0:3214 version "3.2.0"3215 resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.2.0.tgz#e7fe44c1abc1299f516146e563108fd1006c1874"3216 integrity sha512-1JKclkYYsf1q9WIJKLZa9S9muC+08RIjzAlLrK4QcYLJMS6mk9yombQ9qf+zJ7H9LS800k0s44L4sDq9VYzqyg==3217 dependencies:3218 commondir "^1.0.1"3219 make-dir "^3.0.0"3220 pkg-dir "^4.1.0"32213222find-index@^0.1.1:3223 version "0.1.1"3224 resolved "https://registry.yarnpkg.com/find-index/-/find-index-0.1.1.tgz#675d358b2ca3892d795a1ab47232f8b6e2e0dde4"3225 integrity sha1-Z101iyyjiS15Whq0cjL4tuLg3eQ=
11 unmodified lines
3237 integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==3238 dependencies:3239 locate-path "^3.0.0"32403241find-up@^4.0.0:3242 version "4.1.0"3243 resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"3244 integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==3245 dependencies:3246 locate-path "^5.0.0"3247 path-exists "^4.0.0"32483249flow-bin@^0.68.0:3250 version "0.68.0"3251 resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.68.0.tgz#86c2d14857d306eb2e85e274f2eebf543564f623"3252 integrity sha1-hsLRSFfTBusuheJ08u6/VDVk9iM=
30 unmodified lines
3283 integrity sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=3284 dependencies:3285 map-cache "^0.2.2"32863287fs-extra@8.1.0:3288 version "8.1.0"3289 resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"3290 integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==3291 dependencies:3292 graceful-fs "^4.2.0"3293 jsonfile "^4.0.0"3294 universalify "^0.1.0"32953296fs-minipass@^1.2.5:3297 version "1.2.5"3298 resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.5.tgz#06c277218454ec288df77ada54a03b8702aacb9d"3299 integrity sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ==
129 unmodified lines
3429 version "4.1.15"3430 resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00"3431 integrity sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==34323433graceful-fs@^4.1.6, graceful-fs@^4.2.0:3434 version "4.2.3"3435 resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423"3436 integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==34373438"growl@~> 1.10.0":3439 version "1.10.5"3440 resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e"3441 integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==
48 unmodified lines
3490 version "1.0.0"3491 resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44"3492 integrity sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=34933494has-symbols@^1.0.1:3495 version "1.0.1"3496 resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8"3497 integrity sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==34983499has-unicode@^2.0.0:3500 version "2.0.1"3501 resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"3502 integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=
908 unmodified lines
4411 chalk "^2.0.1"4412 jest-util "^24.7.1"4413 string-length "^2.0.0"44143641jest-worker@^24.0.0, jest-worker@^24.6.0:4415jest-worker@^24.0.0:4416 version "24.9.0"4417 resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5"4418 integrity sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==4419 dependencies:4420 merge-stream "^2.0.0"4421 supports-color "^6.1.0"44224423jest-worker@^24.6.0:4424 version "24.6.0"4425 resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-24.6.0.tgz#7f81ceae34b7cde0c9827a6980c35b7cdc0161b3"4426 integrity sha512-jDwgW5W9qGNvpI1tNnvajh0a5IE/PuGLFmHk6aR/BZFz8tSgGw17GsDPXAJ6p91IvYDjOw8GpFbvvZGAK+DPQQ==4427 dependencies:
17 unmodified lines
4445 version "4.0.0"4446 resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"4447 integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==44483667js-yaml@^3.11.0, js-yaml@^3.12.0, js-yaml@^3.13.0, js-yaml@^3.9.0:4449js-yaml@^3.11.0, js-yaml@^3.12.0, js-yaml@^3.13.0, js-yaml@^3.13.1:4450 version "3.13.1"4451 resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"4452 integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==4453 dependencies:
66 unmodified lines
4520 version "5.0.1"4521 resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"4522 integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=45234524json5@2.x:4525 version "2.1.1"4526 resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.1.tgz#81b6cb04e9ba496f1c7005d07b4368a2638f90b6"4527 integrity sha512-l+3HXD0GEI3huGq1njuqtzYK8OYJyXMkOLtQ53pjWh89tvWS2h6l+1zMkYWqlb57+SiQodKZyvMEFb2X+KrFhQ==4528 dependencies:4529 minimist "^1.2.0"45304531json5@^0.5.0:4532 version "0.5.1"4533 resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"4534 integrity sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=
4 unmodified lines
4539 integrity sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==4540 dependencies:4541 minimist "^1.2.0"45424543jsonfile@^4.0.0:4544 version "4.0.0"4545 resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"4546 integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=4547 optionalDependencies:4548 graceful-fs "^4.1.6"45494550jsonify@~0.0.0:4551 version "0.0.0"4552 resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73"4553 integrity sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=
102 unmodified lines
4656 dependencies:4657 p-locate "^3.0.0"4658 path-exists "^3.0.0"46594660locate-path@^5.0.0:4661 version "5.0.0"4662 resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0"4663 integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==4664 dependencies:4665 p-locate "^4.1.0"46664667lodash.camelcase@^4.3.0:4668 version "4.3.0"4669 resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6"4670 integrity sha1-soqmKIorn8ZRA1x3EfZathkDMaY=
2 unmodified lines
4673 version "4.5.0"4674 resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"4675 integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=46763874lodash.memoize@^4.1.2:4677lodash.memoize@4.x, lodash.memoize@^4.1.2:4678 version "4.1.2"4679 resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"4680 integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=4681
11 unmodified lines
4693 version "4.17.13"4694 resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.13.tgz#0bdc3a6adc873d2f4e0c4bac285df91b64fc7b93"4695 integrity sha512-vm3/XWXfWtRua0FkUyEHBZy8kCPjErNBT9fJx8Zvs+U6zjqPbTUOpkaoum3O5uiA8sm+yNMHXfYkTUHFoMxFNA==46964697lodash@^4.17.13:4698 version "4.17.15"4699 resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"4700 integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==47014702log-driver@^1.2.7:4703 version "1.2.7"4704 resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8"4705 integrity sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==
26 unmodified lines
4732 integrity sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w==4733 dependencies:4734 vlq "^0.2.2"47353928magic-string@^0.25.2:3929 version "0.25.2"3930 resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.2.tgz#139c3a729515ec55e96e69e82a11fe890a293ad9"3931 integrity sha512-iLs9mPjh9IuTtRsqqhNGYcZXGei0Nh/A4xirrsqW7c+QhKVFL2vm7U09ru6cHRD22azaP/wMDgI+HCqbETMTtg==4736magic-string@^0.25.2, magic-string@^0.25.3:4737 version "0.25.4"4738 resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.4.tgz#325b8a0a79fc423db109b77fd5a19183b7ba5143"4739 integrity sha512-oycWO9nEVAP2RVPbIoDoA4Y7LFIJ3xRYov93gAyJhZkET1tNuB0u7uWkZS2LpBWTJUWnmau/To8ECWRC+jKNfw==4740 dependencies:4741 sourcemap-codec "^1.4.4"47424743make-dir@^1.3.0:
10 unmodified lines
4754 dependencies:4755 pify "^4.0.1"4756 semver "^5.6.0"47574758make-dir@^3.0.0:4759 version "3.0.0"4760 resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.0.0.tgz#1b5f39f6b9270ed33f9f054c5c0f84304989f801"4761 integrity sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw==4762 dependencies:4763 semver "^6.0.0"47644765make-error@1.x:4766 version "1.3.5"4767 resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.5.tgz#efe4e81f6db28cadd605c70f29c831b58ef776c8"4768 integrity sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g==47694770makeerror@1.0.x:4771 version "1.0.11"4772 resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c"4773 integrity sha1-4BpckQnyr3lmDk6LlYd5AYT1qWw=
23 unmodified lines
4797 version "1.0.4"4798 resolved "https://registry.yarnpkg.com/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c"4799 integrity sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==48003981mdn-data@~1.1.0:3982 version "1.1.4"3983 resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-1.1.4.tgz#50b5d4ffc4575276573c4eedb8780812a8419f01"3984 integrity sha512-FSYbp3lyKjyj3E7fMl6rYvUdX0FBXaluGqlFoYESWQlyUTq8R+wp0rkFxoYFqZlHCvsUXGjyJmLQSnXToYhOSA==4801mdn-data@2.0.4:4802 version "2.0.4"4803 resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.4.tgz#699b3c38ac6f1d728091a64650b65d388502fd5b"4804 integrity sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==48054806mem@^4.0.0:4807 version "4.3.0"4808 resolved "https://registry.yarnpkg.com/mem/-/mem-4.3.0.tgz#461af497bc4ae09608cdb2e60eefb69bff744178"
9 unmodified lines
4818 integrity sha1-QEEgLVCKNCugAXQAjfDCUbjBNeE=4819 dependencies:4820 readable-stream "^2.0.1"48214822merge-stream@^2.0.0:4823 version "2.0.0"4824 resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"4825 integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==48264827micromatch@^2.1.5:4828 version "2.3.11"4829 resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565"4830 integrity sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=
97 unmodified lines
4928 dependencies:4929 for-in "^1.0.2"4930 is-extendable "^1.0.1"49314107mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1:4932mkdirp@0.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1:4933 version "0.5.1"4934 resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"4935 integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=4936 dependencies:
113 unmodified lines
5050 integrity sha512-fKZGviSXR6YvVPyc011NHuJDSD8gFQvLPmc2d2V3BS4gr52ycyQ1Xzs7a8B+Ax3Ni/W+5h1h4SqmzeoA8WZRmA==5051 dependencies:5052 semver "^5.3.0"50535054node-releases@^1.1.42:5055 version "1.1.43"5056 resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.43.tgz#2c6ca237f88ce11d49631f11190bb01f8d0549f2"5057 integrity sha512-Rmfnj52WNhvr83MvuAWHEqXVoZXCcDQssSOffU4n4XOL9sPrP61mSZ88g25NqmABDvH7PiAlFCzoSCSdzA293w==5058 dependencies:5059 semver "^6.3.0"50605061nopt@^4.0.1:5062 version "4.0.1"5063 resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d"5064 integrity sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=
93 unmodified lines
5158 copy-descriptor "^0.1.0"5159 define-property "^0.2.5"5160 kind-of "^3.0.3"51615162object-inspect@^1.7.0:5163 version "1.7.0"5164 resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67"5165 integrity sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==51665167object-keys@^1.0.11, object-keys@^1.1.1:5168 version "1.1.1"5169 resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e"5170 integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==51715172object-keys@^1.0.12:5173 version "1.1.0"5174 resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.0.tgz#11bd22348dd2e096a045ab06f6c85bcc340fa032"5175 integrity sha512-6OO5X1+2tYkNyNEx6TsCxEqFfRWaqx6EtMiSbGrw8Ob8v9Ne+Hl8rBAgLBZn5wjEz3s/s6U1WXFUFOcxxAwUpg==
4 unmodified lines
5180 integrity sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=5181 dependencies:5182 isobject "^3.0.0"51835184object.assign@^4.1.0:5185 version "4.1.0"5186 resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da"5187 integrity sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==5188 dependencies:5189 define-properties "^1.1.2"5190 function-bind "^1.1.1"5191 has-symbols "^1.0.0"5192 object-keys "^1.0.11"51935194object.getownpropertydescriptors@^2.0.3:5195 version "2.0.3"5196 resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16"5197 integrity sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY=
16 unmodified lines
5214 dependencies:5215 isobject "^3.0.1"52165217object.values@^1.1.0:4366 version "1.1.0"4367 resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.0.tgz#bf6810ef5da3e5325790eaaa2be213ea84624da9"4368 integrity sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg==5218 version "1.1.1"5219 resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.1.tgz#68a99ecde356b7e9295a3c5e0ce31dc8c953de5e"5220 integrity sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA==5221 dependencies:5222 define-properties "^1.1.3"4371 es-abstract "^1.12.0"5223 es-abstract "^1.17.0-next.1"5224 function-bind "^1.1.1"5225 has "^1.0.3"52265227once@^1.3.0, once@^1.3.1, once@^1.4.0:
41 unmodified lines
5269 log-symbols "^2.2.0"5270 strip-ansi "^5.2.0"5271 wcwidth "^1.0.1"52724421os-homedir@^1.0.0, os-homedir@^1.0.1:5273os-homedir@^1.0.0:5274 version "1.0.2"5275 resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3"5276 integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M=52775278os-homedir@^2.0.0:5279 version "2.0.0"5280 resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-2.0.0.tgz#a0c76bb001a8392a503cbd46e7e650b3423a923c"5281 integrity sha512-saRNz0DSC5C/I++gFIaJTXoFJMRwiP5zHar5vV3xQ2TkgEw6hDCcU5F272JjUylpiVgBrZNQHnfjkLabTfb92Q==52825283os-locale@^3.0.0:5284 version "3.1.0"5285 resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a"5286 integrity sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==
59 unmodified lines
5346 integrity sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==5347 dependencies:5348 p-try "^2.0.0"53495350p-limit@^2.2.0:5351 version "2.2.1"5352 resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.1.tgz#aa07a788cc3151c939b5131f63570f0dd2009537"5353 integrity sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg==5354 dependencies:5355 p-try "^2.0.0"53565357p-locate@^2.0.0:5358 version "2.0.0"5359 resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43"5360 integrity sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=
6 unmodified lines
5367 integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==5368 dependencies:5369 p-limit "^2.0.0"53705371p-locate@^4.1.0:5372 version "4.1.0"5373 resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07"5374 integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==5375 dependencies:5376 p-limit "^2.2.0"53775378p-queue@^2.4.2:5379 version "2.4.2"5380 resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-2.4.2.tgz#03609826682b743be9a22dba25051bd46724fc34"5381 integrity sha512-n8/y+yDJwBjoLQe1GSJbbaYQLTI7QHNZI2+rpmCDbe++WLf9HC3gf6iqj5yfPAV71W4UF3ql5W1+UBPXoXTxng==
55 unmodified lines
5437 version "3.0.0"5438 resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"5439 integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=54405441path-exists@^4.0.0:5442 version "4.0.0"5443 resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"5444 integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==54455446path-is-absolute@^1.0.0:5447 version "1.0.1"5448 resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"5449 integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
43 unmodified lines
5493 integrity sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==5494 dependencies:5495 find-up "^3.0.0"54965497pkg-dir@^4.1.0:5498 version "4.2.0"5499 resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3"5500 integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==5501 dependencies:5502 find-up "^4.0.0"55035504please-upgrade-node@^3.1.1:5505 version "3.1.1"5506 resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz#ed320051dfcc5024fae696712c8288993595e8ac"5507 integrity sha512-KY1uHnQ2NlQHqIJQpnh/i54rKkuxCEBx+voJIS/Mvb+L2iYd2NMotwduhKTMjfC1uKoX3VXOxLjIYG66dfJTVQ==
67 unmodified lines
5575 dependencies:5576 postcss "^7.0.0"55775578postcss-load-config@^2.0.0:4696 version "2.0.0"4697 resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-2.0.0.tgz#f1312ddbf5912cd747177083c5ef7a19d62ee484"4698 integrity sha512-V5JBLzw406BB8UIfsAWSK2KSwIJ5yoEIVFb4gVkXci0QdKgA24jLmHZ/ghe/GgX0lJ0/D1uUK1ejhzEY94MChQ==5579 version "2.1.0"5580 resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-2.1.0.tgz#c84d692b7bb7b41ddced94ee62e8ab31b417b003"5581 integrity sha512-4pV3JJVPLd5+RueiVVB+gFOAa7GWc25XQcMp86Zexzke69mKf6Nx9LRcQywdz7yZI9n1udOxmLuAwTBypypF8Q==5582 dependencies:4700 cosmiconfig "^4.0.0"5583 cosmiconfig "^5.0.0"5584 import-cwd "^2.0.0"55855586postcss-merge-longhand@^4.0.11:5587 version "4.0.11"
269 unmodified lines
5857 source-map "^0.6.1"5858 supports-color "^5.4.0"58595860postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.5:4978 version "7.0.14"4979 resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.14.tgz#4527ed6b1ca0d82c53ce5ec1a2041c2346bbd6e5"4980 integrity sha512-NsbD6XUUMZvBxtQAJuWDJeeC4QFsmWsfozWxCJPWf3M55K9iu2iMDaKqyoOdTJ1R4usBXuxlVFAIo8rZPQD4Bg==5861 version "7.0.25"5862 resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.25.tgz#dd2a2a753d50b13bed7a2009b4a18ac14d9db21e"5863 integrity sha512-NXXVvWq9icrm/TgQC0O6YVFi4StfJz46M1iNd/h6B26Nvh/HKI+q4YZtFN/EjcInZliEscO/WL10BXnc1E5nwg==5864 dependencies:5865 chalk "^2.4.2"5866 source-map "^0.6.1"5867 supports-color "^6.1.0"
181 unmodified lines
6049 integrity sha512-SbA/iNrBUf6Pv2zU8Ekv1Qbhv92yxL4hiDa2siuxs4KKn4oOoMDHXjAf7+Nz9qinUQ46B1LcWEi/PhJfPWpZWQ==6050 dependencies:6051 regenerate "^1.4.0"60526053regenerate-unicode-properties@^8.1.0:6054 version "8.1.0"6055 resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz#ef51e0f0ea4ad424b77bf7cb41f3e015c70a3f0e"6056 integrity sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA==6057 dependencies:6058 regenerate "^1.4.0"60596060regenerate@^1.2.1, regenerate@^1.4.0:6061 version "1.4.0"6062 resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11"6063 integrity sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==
14 unmodified lines
6078 integrity sha512-T0QMBjK3J0MtxjPmdIMXm72Wvj2Abb0Bd4HADdfijwMdoIsyQZ6fWC7kDFhk2YinBBEMZDL7Y7wh0J1sGx3S4A==6079 dependencies:6080 private "^0.1.6"60816082regenerator-transform@^0.14.0:6083 version "0.14.1"6084 resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.14.1.tgz#3b2fce4e1ab7732c08f665dfdb314749c7ddd2fb"6085 integrity sha512-flVuee02C3FKRISbxhXl9mGzdbWUVHubl1SMaknjxkFB1/iqpJhArQUvRxOOPEc/9tAiX0BaQ28FJH10E4isSQ==6086 dependencies:6087 private "^0.1.6"60886089regex-cache@^0.4.2:6090 version "0.4.4"6091 resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd"6092 integrity sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==
33 unmodified lines
6126 regjsparser "^0.6.0"6127 unicode-match-property-ecmascript "^1.0.4"6128 unicode-match-property-value-ecmascript "^1.1.0"61296130regexpu-core@^4.6.0:6131 version "4.6.0"6132 resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.6.0.tgz#2037c18b327cfce8a6fea2a4ec441f2432afb8b6"6133 integrity sha512-YlVaefl8P5BnFYOITTNzDvan1ulLOiXJzCNZxduTIosN17b87h3bvG9yHMoHaRuo88H4mQ06Aodj5VtYGGGiTg==6134 dependencies:6135 regenerate "^1.4.0"6136 regenerate-unicode-properties "^8.1.0"6137 regjsgen "^0.5.0"6138 regjsparser "^0.6.0"6139 unicode-match-property-ecmascript "^1.0.4"6140 unicode-match-property-value-ecmascript "^1.1.0"61416142regjsgen@^0.2.0:6143 version "0.2.0"6144 resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.2.0.tgz#6c016adeac554f75823fe37ac05b92d5a4edb1f7"6145 integrity sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=
78 unmodified lines
6224 version "2.1.1"6225 resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"6226 integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I=62275319require-from-string@^2.0.1:5320 version "2.0.2"5321 resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909"5322 integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==53236228require-main-filename@^1.0.1:6229 version "1.0.1"6230 resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1"6231 integrity sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=
24 unmodified lines
6256 version "1.1.7"6257 resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"6258 integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=62596260resolve@1.12.0:6261 version "1.12.0"6262 resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"6263 integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==6264 dependencies:6265 path-parse "^1.0.6"62666267resolve@1.x, resolve@^1.5.0:6268 version "1.14.1"6269 resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.14.1.tgz#9e018c540fcf0c427d678b9931cbf45e984bcaff"6270 integrity sha512-fn5Wobh4cxbLzuHaE+nphztHy43/b++4M6SsGFC2gB8uYwf0C8LcarfCz1un7UTW8OFQg9iNjZ4xpcFVGebDPg==6271 dependencies:6272 path-parse "^1.0.6"62735356resolve@^1.1.7, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.5.0:6274resolve@^1.1.7, resolve@^1.10.0, resolve@^1.3.2:6275 version "1.10.0"6276 resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.10.0.tgz#3bdaaeaf45cc07f375656dfd2e54ed0810b101ba"6277 integrity sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==6278 dependencies:
29 unmodified lines
6308 dependencies:6309 glob "^7.1.3"63106311rollup-plugin-babel@^4.3.2:5394 version "4.3.2"5395 resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.3.2.tgz#8c0e1bd7aa9826e90769cf76895007098ffd1413"5396 integrity sha512-KfnizE258L/4enADKX61ozfwGHoqYauvoofghFJBhFnpH9Sb9dNPpWg8QHOaAfVASUYV8w0mCx430i9z0LJoJg==6312 version "4.3.3"6313 resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.3.3.tgz#7eb5ac16d9b5831c3fd5d97e8df77ba25c72a2aa"6314 integrity sha512-tKzWOCmIJD/6aKNz0H1GMM+lW1q9KyFubbWzGiOG540zxPPifnEAHTZwjo0g991Y+DyOZcLqBgqOdqazYE5fkw==6315 dependencies:6316 "@babel/helper-module-imports" "^7.0.0"5399 rollup-pluginutils "^2.3.0"6317 rollup-pluginutils "^2.8.1"63186319rollup-plugin-buble@^0.19.6:5402 version "0.19.6"5403 resolved "https://registry.yarnpkg.com/rollup-plugin-buble/-/rollup-plugin-buble-0.19.6.tgz#55ee0995d8870d536f01f4277c3eef4276e8747e"5404 integrity sha512-El5Fut4/wEO17ZN/n9BZvqd7DXXB2WbJr/DKvr89LXChC/cHllE0XwiUDeAalrTkgr0WrnyLDTCQvEv+cGywWQ==6320 version "0.19.8"6321 resolved "https://registry.yarnpkg.com/rollup-plugin-buble/-/rollup-plugin-buble-0.19.8.tgz#f9232e2bb62a7573d04f9705c1bd6f02c2a02c6a"6322 integrity sha512-8J4zPk2DQdk3rxeZvxgzhHh/rm5nJkjwgcsUYisCQg1QbT5yagW+hehYEW7ZNns/NVbDCTv4JQ7h4fC8qKGOKw==6323 dependencies:5406 buble "^0.19.6"6324 buble "^0.19.8"6325 rollup-pluginutils "^2.3.3"63266327rollup-plugin-commonjs@^9.2.0:5410 version "9.3.3"5411 resolved "https://registry.yarnpkg.com/rollup-plugin-commonjs/-/rollup-plugin-commonjs-9.3.3.tgz#763415c1c52e0504ef854f794a7e7053002a5a85"5412 integrity sha512-p/zVsRv/Vp67CRuDjtpF7LTlRze+CZFSwdDJFUtWfk4Pd6HLypZHRm/XuxmsBKUJ8cjgDSgE0bVymAn2kg5mvg==6328 version "9.3.4"6329 resolved "https://registry.yarnpkg.com/rollup-plugin-commonjs/-/rollup-plugin-commonjs-9.3.4.tgz#2b3dddbbbded83d45c36ff101cdd29e924fd23bc"6330 integrity sha512-DTZOvRoiVIHHLFBCL4pFxOaJt8pagxsVldEXBOn6wl3/V21wVaj17HFfyzTsQUuou3sZL3lEJZVWKPFblJfI6w==6331 dependencies:6332 estree-walker "^0.6.0"6333 magic-string "^0.25.2"6334 resolve "^1.10.0"
12 unmodified lines
6347 integrity sha512-BlYk5VspvGpjz7lAwArVzBXR60JK+4EKtPkCHouAWg39obk9S61hZYJDBfMK+oitPdoe11i69TlxKlMQNFC/Uw==6348 dependencies:6349 rollup-pluginutils "^2.3.1"63505433rollup-plugin-node-resolve@^4.0.1:5434 version "4.0.1"5435 resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-4.0.1.tgz#f95765d174e5daeef9ea6268566141f53aa9d422"5436 integrity sha512-fSS7YDuCe0gYqKsr5OvxMloeZYUSgN43Ypi1WeRZzQcWtHgFayV5tUSPYpxuaioIIWaBXl6NrVk0T2/sKwueLg==6351rollup-plugin-node-resolve@^4.2.3:6352 version "4.2.4"6353 resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-4.2.4.tgz#7d370f8d6fd3031006a0032c38262dd9be3c6250"6354 integrity sha512-t/64I6l7fZ9BxqD3XlX4ZeO6+5RLKyfpwE2CiPNUKa+GocPlQhf/C208ou8y3AwtNsc6bjSk/8/6y/YAyxCIvw==6355 dependencies:6356 "@types/resolve" "0.0.8"5438 builtin-modules "^3.0.0"6357 builtin-modules "^3.1.0"6358 is-module "^1.0.0"6359 resolve "^1.10.0"63606361rollup-plugin-postcss@^2.0.3:
16 unmodified lines
6378 rollup-pluginutils "^2.0.1"6379 style-inject "^0.3.0"63806381rollup-plugin-replace@^2.1.0:5463 version "2.1.1"5464 resolved "https://registry.yarnpkg.com/rollup-plugin-replace/-/rollup-plugin-replace-2.1.1.tgz#e49cb8d07d6f91a7bf28b90b66692f2c8c0b9bba"5465 integrity sha512-IS5ZYBb3px0UfbDCYzKaKxelLd5dbPHhfplEXbymfvGlz9Ok44At4AjTOWe2qEax73bE8+pnMZN9C7PcVpFNlw==6382 version "2.2.0"6383 resolved "https://registry.yarnpkg.com/rollup-plugin-replace/-/rollup-plugin-replace-2.2.0.tgz#f41ae5372e11e7a217cde349c8b5d5fd115e70e3"6384 integrity sha512-/5bxtUPkDHyBJAKketb4NfaeZjL5yLZdeUihSfbF2PQMz+rSTEb8ARKoOl3UBT4m7/X+QOXJo3sLTcq+yMMYTA==6385 dependencies:6386 magic-string "^0.25.2"5468 rollup-pluginutils "^2.4.1"6387 rollup-pluginutils "^2.6.0"63886389rollup-plugin-terser@^4.0.2:6390 version "4.0.4"6391 resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-4.0.4.tgz#6f661ef284fa7c27963d242601691dc3d23f994e"
3 unmodified lines
6395 jest-worker "^24.0.0"6396 serialize-javascript "^1.6.1"6397 terser "^3.14.1"63985480rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.3.3, rollup-pluginutils@^2.4.1, rollup-pluginutils@^2.6.0:5481 version "2.6.0"5482 resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.6.0.tgz#203706edd43dfafeaebc355d7351119402fc83ad"5483 integrity sha512-aGQwspEF8oPKvg37u3p7h0cYNwmJR1sCBMZGZ5b9qy8HGtETknqjzcxrDRrcAnJNXN18lBH4Q9vZYth/p4n8jQ==6399rollup-plugin-typescript2@^0.25.3:6400 version "0.25.3"6401 resolved "https://registry.yarnpkg.com/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.25.3.tgz#a5fb2f0f85488789334ce540abe6c7011cbdf40f"6402 integrity sha512-ADkSaidKBovJmf5VBnZBZe+WzaZwofuvYdzGAKTN/J4hN7QJCFYAq7IrH9caxlru6T5qhX41PNFS1S4HqhsGQg==6403 dependencies:5485 estree-walker "^0.6.0"5486 micromatch "^3.1.10"6404 find-cache-dir "^3.0.0"6405 fs-extra "8.1.0"6406 resolve "1.12.0"6407 rollup-pluginutils "2.8.1"6408 tslib "1.10.0"64096410rollup-pluginutils@2.8.1:6411 version "2.8.1"6412 resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.1.tgz#8fa6dd0697344938ef26c2c09d2488ce9e33ce97"6413 integrity sha512-J5oAoysWar6GuZo0s+3bZ6sVZAC0pfqKz68De7ZgDi5z63jOVZn1uJL/+z1jeKHNbGII8kAyHF5q8LnxSX5lQg==6414 dependencies:6415 estree-walker "^0.6.1"64166417rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.3.3, rollup-pluginutils@^2.6.0, rollup-pluginutils@^2.8.1:6418 version "2.8.2"6419 resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e"6420 integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==6421 dependencies:6422 estree-walker "^0.6.1"64236424rollup@^1.1.2:5489 version "1.8.0"5490 resolved "https://registry.yarnpkg.com/rollup/-/rollup-1.8.0.tgz#e3ce8b708ad4325166717f74f244f691595d35e2"5491 integrity sha512-dKxL6ihUZ9YrVySKf/LBz5joW2sqwWkiuki34279Ppr2cL+O6Za6Ujovk+rtTX0AFCIsH1rs6y8LYKdZZ/7C5A==6425 version "1.27.13"6426 resolved "https://registry.yarnpkg.com/rollup/-/rollup-1.27.13.tgz#d6d3500512daacbf8de54d2800de62d893085b90"6427 integrity sha512-hDi7M07MpmNSDE8YVwGVFA8L7n8jTLJ4lG65nMAijAyqBe//rtu4JdxjUBE7JqXfdpqxqDTbCDys9WcqdpsQvw==6428 dependencies:5493 "@types/estree" "0.0.39"5494 "@types/node" "^11.11.6"5495 acorn "^6.1.1"6429 "@types/estree" "*"6430 "@types/node" "*"6431 acorn "^7.1.0"64326433rsvp@^4.8.4:6434 version "4.8.4"6435 resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-4.8.4.tgz#b50e6b34583f3dd89329a2f23a8a2be072845911"
55 unmodified lines
6491 version "5.7.0"6492 resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b"6493 integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==64946495semver@7.0.0:6496 version "7.0.0"6497 resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e"6498 integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==64996500semver@^5.5:6501 version "5.7.1"6502 resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"6503 integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==65046505semver@^6.0.0, semver@^6.3.0:6506 version "6.3.0"6507 resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"6508 integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==65096510serialize-javascript@^1.6.1:5560 version "1.6.1"5561 resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.6.1.tgz#4d1f697ec49429a847ca6f442a2a755126c4d879"5562 integrity sha512-A5MOagrPFga4YaKQSWHryl7AXvbQkEqpw4NNYMTNYUNV51bA8ABHgYFpqKx+YFFrw59xMV1qGH1R4AgoNIVgCw==6511 version "1.9.1"6512 resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.9.1.tgz#cfc200aef77b600c47da9bb8149c943e798c2fdb"6513 integrity sha512-0Vb/54WJ6k5v8sSWN09S0ora+Hnr+cX40r9F170nT+mSkaxltoE/7R3OrIdBSUv1OoiobH1QoWQbCnAO+e8J1A==65146515set-blocking@^2.0.0, set-blocking@~2.0.0:6516 version "2.0.0"6517 resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
108 unmodified lines
6626 resolve-url "^0.2.1"6627 source-map-url "^0.4.0"6628 urix "^0.1.0"66295679source-map-support@^0.5.6, source-map-support@^0.5.9, source-map-support@~0.5.10:6630source-map-support@^0.5.6, source-map-support@^0.5.9:6631 version "0.5.11"6632 resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.11.tgz#efac2ce0800355d026326a0ca23e162aeac9a4e2"6633 integrity sha512-//sajEx/fGL3iw6fltKMdPvy8kL3kJ2O3iuYlRoT3k9Kb4BjOoZ+BZzaNHeuaruSt+Kf3Zk9tnfAQg9/AJqUVQ==6634 dependencies:6635 buffer-from "^1.0.0"6636 source-map "^0.6.0"66376638source-map-support@~0.5.10:6639 version "0.5.16"6640 resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042"6641 integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==6642 dependencies:6643 buffer-from "^1.0.0"6644 source-map "^0.6.0"66456646source-map-url@^0.4.0:6647 version "0.4.0"6648 resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3"6649 integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=66505692source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6:6651source-map@^0.5.0, source-map@^0.5.6:6652 version "0.5.7"6653 resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"6654 integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=6655
2 unmodified lines
6658 resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"6659 integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==66606661sourcemap-codec@^1.4.4:5703 version "1.4.4"5704 resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.4.tgz#c63ea927c029dd6bd9a2b7fa03b3fec02ad56e9f"5705 integrity sha512-CYAPYdBu34781kLHkaW3m6b/uUSyMOC2R61gcYMWooeuaGtjof86ZA/8T+qVPPt7np1085CR9hmMGrySwEc8Xg==6662 version "1.4.6"6663 resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.6.tgz#e30a74f0402bad09807640d39e971090a08ce1e9"6664 integrity sha512-1ZooVLYFxC448piVLBbtOxFcXwnymH9oUF8nRd3CuYDVvkRBxRl6pB4Mtas5a4drtL+E8LDgFkQNcgIw6tc8Hg==66656666spdx-correct@^3.0.0:6667 version "3.1.0"6668 resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4"
104 unmodified lines
6773 dependencies:6774 is-fullwidth-code-point "^2.0.0"6775 strip-ansi "^4.0.0"67766777string.prototype.trimleft@^2.1.0:6778 version "2.1.1"6779 resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz#9bdb8ac6abd6d602b17a4ed321870d2f8dcefc74"6780 integrity sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==6781 dependencies:6782 define-properties "^1.1.3"6783 function-bind "^1.1.1"67846785string.prototype.trimright@^2.1.0:6786 version "2.1.1"6787 resolved "https://registry.yarnpkg.com/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz#440314b15996c866ce8a0341894d45186200c5d9"6788 integrity sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==6789 dependencies:6790 define-properties "^1.1.3"6791 function-bind "^1.1.1"67926793string_decoder@~1.1.1:6794 version "1.1.1"6795 resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"6796 integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==
83 unmodified lines
6880 dependencies:6881 has-flag "^3.0.0"68826883svgo@^1.0.0:5909 version "1.2.0"5910 resolved "https://registry.yarnpkg.com/svgo/-/svgo-1.2.0.tgz#305a8fc0f4f9710828c65039bb93d5793225ffc3"5911 integrity sha512-xBfxJxfk4UeVN8asec9jNxHiv3UAMv/ujwBWGYvQhhMb2u3YTGKkiybPcLFDLq7GLLWE9wa73e0/m8L5nTzQbw==6884 version "1.3.2"6885 resolved "https://registry.yarnpkg.com/svgo/-/svgo-1.3.2.tgz#b6dc511c063346c9e415b81e43401145b96d4167"6886 integrity sha512-yhy/sQYxR5BkC98CY7o31VGsg014AKLEPxdfhora76l36hD9Rdy5NZA/Ocn6yayNPgSamYdtX2rFJdcv07AYVw==6887 dependencies:6888 chalk "^2.4.1"6889 coa "^2.0.2"6890 css-select "^2.0.0"6891 css-select-base-adapter "^0.1.1"5917 css-tree "1.0.0-alpha.28"5918 css-url-regex "^1.1.0"5919 csso "^3.5.1"5920 js-yaml "^3.12.0"6892 css-tree "1.0.0-alpha.37"6893 csso "^4.0.2"6894 js-yaml "^3.13.1"6895 mkdirp "~0.5.1"6896 object.values "^1.1.0"6897 sax "~1.2.4"6898 stable "^0.1.8"
109 unmodified lines
7008 version "1.0.1"7009 resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"7010 integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=70117012ts-jest@^24.2.0:7013 version "24.2.0"7014 resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-24.2.0.tgz#7abca28c2b4b0a1fdd715cd667d65d047ea4e768"7015 integrity sha512-Yc+HLyldlIC9iIK8xEN7tV960Or56N49MDP7hubCZUeI7EbIOTsas6rXCMB4kQjLACJ7eDOF4xWEO5qumpKsag==7016 dependencies:7017 bs-logger "0.x"7018 buffer-from "1.x"7019 fast-json-stable-stringify "2.x"7020 json5 "2.x"7021 lodash.memoize "4.x"7022 make-error "1.x"7023 mkdirp "0.x"7024 resolve "1.x"7025 semver "^5.5"7026 yargs-parser "10.x"70277028tslib@1.10.0:7029 version "1.10.0"7030 resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"7031 integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==70327033tunnel-agent@^0.6.0:7034 version "0.6.0"7035 resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd"7036 integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=
11 unmodified lines
7048 integrity sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=7049 dependencies:7050 prelude-ls "~1.1.2"70516057typescript@3.6.4:6058 version "3.6.4"6059 resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.4.tgz#b18752bb3792bc1a0281335f7f6ebf1bbfc5b91d"6060 integrity sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg==7052typescript@^3.7.3:7053 version "3.7.3"7054 resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.3.tgz#b36840668a16458a7025b9eabfad11b66ab85c69"7055 integrity sha512-Mcr/Qk7hXqFBXMN7p7Lusj1ktCBydylfQM/FZCk5glCNQJrCUKPkMHdo9R0MTFWsC/4kPFvDS0fDPvukfCkFsw==70567057uglify-js@^3.1.4:7058 version "3.6.5"7059 resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.6.5.tgz#b0ee796d2ae7e25672e04f65629b997cd4b30bd6"
44 unmodified lines
7104 version "2.0.0"7105 resolved "https://registry.yarnpkg.com/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02"7106 integrity sha1-/+3ks2slKQaW5uFl1KWe25mOawI=71077108universalify@^0.1.0:7109 version "0.1.2"7110 resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"7111 integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==71127113unquote@~1.1.1:7114 version "1.1.1"7115 resolved "https://registry.yarnpkg.com/unquote/-/unquote-1.1.1.tgz#8fded7324ec6e88a0ff8b905e7c098cdc086d544"7116 integrity sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=
61 unmodified lines
7178 spdx-correct "^3.0.0"7179 spdx-expression-parse "^3.0.0"71807181vendors@^1.0.0:6182 version "1.0.2"6183 resolved "https://registry.yarnpkg.com/vendors/-/vendors-1.0.2.tgz#7fcb5eef9f5623b156bcea89ec37d63676f21801"6184 integrity sha512-w/hry/368nO21AN9QljsaIhb9ZiZtZARoVH5f3CsFbawdLdayCgKRPup7CggujvySMxx0I91NOyxdVENohprLQ==7182 version "1.0.3"7183 resolved "https://registry.yarnpkg.com/vendors/-/vendors-1.0.3.tgz#a6467781abd366217c050f8202e7e50cc9eef8c0"7184 integrity sha512-fOi47nsJP5Wqefa43kyWSg80qF+Q3XA6MUkgi7Hp1HQaKDQW4cQrK2D0P7mmbFtsV1N89am55Yru/nyEwRubcw==71857186verror@1.10.0:7187 version "1.10.0"7188 resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400"
141 unmodified lines
7330 version "3.0.3"7331 resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9"7332 integrity sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==73337334yargs-parser@10.x:7335 version "10.1.0"7336 resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-10.1.0.tgz#7202265b89f7e9e9f2e5765e0fe735a905edbaa8"7337 integrity sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==7338 dependencies:7339 camelcase "^4.1.0"73407341yargs-parser@^11.1.1:7342 version "11.1.1"7343 resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4"7344 integrity sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==
28 unmodified lines