@wordpress/deprecated 3.2.1 → 3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,7 +10,7 @@ Install the module
10
10
  npm install @wordpress/deprecated --save
11
11
  ```
12
12
 
13
- _This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for ES2015+ such as IE browsers then using [core-js](https://github.com/zloirock/core-js) will add polyfills for these methods._
13
+ _This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for such language features and APIs, you should include [the polyfill shipped in `@wordpress/babel-preset-default`](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default#polyfill) in your code._
14
14
 
15
15
  ## Hook
16
16
 
package/build/index.js CHANGED
@@ -49,7 +49,8 @@ const logged = Object.create(null);
49
49
 
50
50
  exports.logged = logged;
51
51
 
52
- function deprecated(feature, options = {}) {
52
+ function deprecated(feature) {
53
+ let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
53
54
  const {
54
55
  since,
55
56
  version,
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/deprecated/src/index.js"],"names":["logged","Object","create","deprecated","feature","options","since","version","alternative","plugin","link","hint","pluginMessage","sinceMessage","versionMessage","useInsteadMessage","linkMessage","hintMessage","message","console","warn"],"mappings":";;;;;;;;AAGA;;AAHA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,MAAM,GAAGC,MAAM,CAACC,MAAP,CAAe,IAAf,CAAf;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AACe,SAASC,UAAT,CAAqBC,OAArB,EAA8BC,OAAO,GAAG,EAAxC,EAA6C;AAC3D,QAAM;AAAEC,IAAAA,KAAF;AAASC,IAAAA,OAAT;AAAkBC,IAAAA,WAAlB;AAA+BC,IAAAA,MAA/B;AAAuCC,IAAAA,IAAvC;AAA6CC,IAAAA;AAA7C,MAAsDN,OAA5D;AAEA,QAAMO,aAAa,GAAGH,MAAM,GAAI,SAASA,MAAQ,EAArB,GAAyB,EAArD;AACA,QAAMI,YAAY,GAAGP,KAAK,GAAI,kBAAkBA,KAAO,EAA7B,GAAiC,EAA3D;AACA,QAAMQ,cAAc,GAAGP,OAAO,GAC1B,uBAAuBK,aAAe,eAAeL,OAAS,EADpC,GAE3B,EAFH;AAGA,QAAMQ,iBAAiB,GAAGP,WAAW,GACjC,eAAeA,WAAa,WADK,GAElC,EAFH;AAGA,QAAMQ,WAAW,GAAGN,IAAI,GAAI,SAASA,IAAM,EAAnB,GAAuB,EAA/C;AACA,QAAMO,WAAW,GAAGN,IAAI,GAAI,UAAUA,IAAM,EAApB,GAAwB,EAAhD;AACA,QAAMO,OAAO,GAAI,GAAGd,OAAS,iBAAiBS,YAAc,GAAGC,cAAgB,IAAIC,iBAAmB,GAAGC,WAAa,GAAGC,WAAa,EAAtI,CAb2D,CAe3D;;AACA,MAAKC,OAAO,IAAIlB,MAAhB,EAAyB;AACxB;AACA;AAED;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACC,uBAAU,YAAV,EAAwBI,OAAxB,EAAiCC,OAAjC,EAA0Ca,OAA1C,EAjC2D,CAmC3D;;AACAC,EAAAA,OAAO,CAACC,IAAR,CAAcF,OAAd;AAEAlB,EAAAA,MAAM,CAAEkB,OAAF,CAAN,GAAoB,IAApB;AACA;AAED","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { doAction } from '@wordpress/hooks';\n\n/**\n * Object map tracking messages which have been logged, for use in ensuring a\n * message is only logged once.\n *\n * @type {Record<string, true | undefined>}\n */\nexport const logged = Object.create( null );\n\n/**\n * Logs a message to notify developers about a deprecated feature.\n *\n * @param {string} feature Name of the deprecated feature.\n * @param {Object} [options] Personalisation options\n * @param {string} [options.since] Version in which the feature was deprecated.\n * @param {string} [options.version] Version in which the feature will be removed.\n * @param {string} [options.alternative] Feature to use instead\n * @param {string} [options.plugin] Plugin name if it's a plugin feature\n * @param {string} [options.link] Link to documentation\n * @param {string} [options.hint] Additional message to help transition away from the deprecated feature.\n *\n * @example\n * ```js\n * import deprecated from '@wordpress/deprecated';\n *\n * deprecated( 'Eating meat', {\n * \tsince: '2019.01.01'\n * \tversion: '2020.01.01',\n * \talternative: 'vegetables',\n * \tplugin: 'the earth',\n * \thint: 'You may find it beneficial to transition gradually.',\n * } );\n *\n * // Logs: 'Eating meat is deprecated since version 2019.01.01 and will be removed from the earth in version 2020.01.01. Please use vegetables instead. Note: You may find it beneficial to transition gradually.'\n * ```\n */\nexport default function deprecated( feature, options = {} ) {\n\tconst { since, version, alternative, plugin, link, hint } = options;\n\n\tconst pluginMessage = plugin ? ` from ${ plugin }` : '';\n\tconst sinceMessage = since ? ` since version ${ since }` : '';\n\tconst versionMessage = version\n\t\t? ` and will be removed${ pluginMessage } in version ${ version }`\n\t\t: '';\n\tconst useInsteadMessage = alternative\n\t\t? ` Please use ${ alternative } instead.`\n\t\t: '';\n\tconst linkMessage = link ? ` See: ${ link }` : '';\n\tconst hintMessage = hint ? ` Note: ${ hint }` : '';\n\tconst message = `${ feature } is deprecated${ sinceMessage }${ versionMessage }.${ useInsteadMessage }${ linkMessage }${ hintMessage }`;\n\n\t// Skip if already logged.\n\tif ( message in logged ) {\n\t\treturn;\n\t}\n\n\t/**\n\t * Fires whenever a deprecated feature is encountered\n\t *\n\t * @param {string} feature Name of the deprecated feature.\n\t * @param {?Object} options Personalisation options\n\t * @param {string} options.since Version in which the feature was deprecated.\n\t * @param {?string} options.version Version in which the feature will be removed.\n\t * @param {?string} options.alternative Feature to use instead\n\t * @param {?string} options.plugin Plugin name if it's a plugin feature\n\t * @param {?string} options.link Link to documentation\n\t * @param {?string} options.hint Additional message to help transition away from the deprecated feature.\n\t * @param {?string} message Message sent to console.warn\n\t */\n\tdoAction( 'deprecated', feature, options, message );\n\n\t// eslint-disable-next-line no-console\n\tconsole.warn( message );\n\n\tlogged[ message ] = true;\n}\n\n/** @typedef {import('utility-types').NonUndefined<Parameters<typeof deprecated>[1]>} DeprecatedOptions */\n"]}
1
+ {"version":3,"sources":["@wordpress/deprecated/src/index.js"],"names":["logged","Object","create","deprecated","feature","options","since","version","alternative","plugin","link","hint","pluginMessage","sinceMessage","versionMessage","useInsteadMessage","linkMessage","hintMessage","message","console","warn"],"mappings":";;;;;;;;AAGA;;AAHA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,MAAM,GAAGC,MAAM,CAACC,MAAP,CAAe,IAAf,CAAf;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AACe,SAASC,UAAT,CAAqBC,OAArB,EAA6C;AAAA,MAAfC,OAAe,uEAAL,EAAK;AAC3D,QAAM;AAAEC,IAAAA,KAAF;AAASC,IAAAA,OAAT;AAAkBC,IAAAA,WAAlB;AAA+BC,IAAAA,MAA/B;AAAuCC,IAAAA,IAAvC;AAA6CC,IAAAA;AAA7C,MAAsDN,OAA5D;AAEA,QAAMO,aAAa,GAAGH,MAAM,GAAI,SAASA,MAAQ,EAArB,GAAyB,EAArD;AACA,QAAMI,YAAY,GAAGP,KAAK,GAAI,kBAAkBA,KAAO,EAA7B,GAAiC,EAA3D;AACA,QAAMQ,cAAc,GAAGP,OAAO,GAC1B,uBAAuBK,aAAe,eAAeL,OAAS,EADpC,GAE3B,EAFH;AAGA,QAAMQ,iBAAiB,GAAGP,WAAW,GACjC,eAAeA,WAAa,WADK,GAElC,EAFH;AAGA,QAAMQ,WAAW,GAAGN,IAAI,GAAI,SAASA,IAAM,EAAnB,GAAuB,EAA/C;AACA,QAAMO,WAAW,GAAGN,IAAI,GAAI,UAAUA,IAAM,EAApB,GAAwB,EAAhD;AACA,QAAMO,OAAO,GAAI,GAAGd,OAAS,iBAAiBS,YAAc,GAAGC,cAAgB,IAAIC,iBAAmB,GAAGC,WAAa,GAAGC,WAAa,EAAtI,CAb2D,CAe3D;;AACA,MAAKC,OAAO,IAAIlB,MAAhB,EAAyB;AACxB;AACA;AAED;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACC,uBAAU,YAAV,EAAwBI,OAAxB,EAAiCC,OAAjC,EAA0Ca,OAA1C,EAjC2D,CAmC3D;;AACAC,EAAAA,OAAO,CAACC,IAAR,CAAcF,OAAd;AAEAlB,EAAAA,MAAM,CAAEkB,OAAF,CAAN,GAAoB,IAApB;AACA;AAED","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { doAction } from '@wordpress/hooks';\n\n/**\n * Object map tracking messages which have been logged, for use in ensuring a\n * message is only logged once.\n *\n * @type {Record<string, true | undefined>}\n */\nexport const logged = Object.create( null );\n\n/**\n * Logs a message to notify developers about a deprecated feature.\n *\n * @param {string} feature Name of the deprecated feature.\n * @param {Object} [options] Personalisation options\n * @param {string} [options.since] Version in which the feature was deprecated.\n * @param {string} [options.version] Version in which the feature will be removed.\n * @param {string} [options.alternative] Feature to use instead\n * @param {string} [options.plugin] Plugin name if it's a plugin feature\n * @param {string} [options.link] Link to documentation\n * @param {string} [options.hint] Additional message to help transition away from the deprecated feature.\n *\n * @example\n * ```js\n * import deprecated from '@wordpress/deprecated';\n *\n * deprecated( 'Eating meat', {\n * \tsince: '2019.01.01'\n * \tversion: '2020.01.01',\n * \talternative: 'vegetables',\n * \tplugin: 'the earth',\n * \thint: 'You may find it beneficial to transition gradually.',\n * } );\n *\n * // Logs: 'Eating meat is deprecated since version 2019.01.01 and will be removed from the earth in version 2020.01.01. Please use vegetables instead. Note: You may find it beneficial to transition gradually.'\n * ```\n */\nexport default function deprecated( feature, options = {} ) {\n\tconst { since, version, alternative, plugin, link, hint } = options;\n\n\tconst pluginMessage = plugin ? ` from ${ plugin }` : '';\n\tconst sinceMessage = since ? ` since version ${ since }` : '';\n\tconst versionMessage = version\n\t\t? ` and will be removed${ pluginMessage } in version ${ version }`\n\t\t: '';\n\tconst useInsteadMessage = alternative\n\t\t? ` Please use ${ alternative } instead.`\n\t\t: '';\n\tconst linkMessage = link ? ` See: ${ link }` : '';\n\tconst hintMessage = hint ? ` Note: ${ hint }` : '';\n\tconst message = `${ feature } is deprecated${ sinceMessage }${ versionMessage }.${ useInsteadMessage }${ linkMessage }${ hintMessage }`;\n\n\t// Skip if already logged.\n\tif ( message in logged ) {\n\t\treturn;\n\t}\n\n\t/**\n\t * Fires whenever a deprecated feature is encountered\n\t *\n\t * @param {string} feature Name of the deprecated feature.\n\t * @param {?Object} options Personalisation options\n\t * @param {string} options.since Version in which the feature was deprecated.\n\t * @param {?string} options.version Version in which the feature will be removed.\n\t * @param {?string} options.alternative Feature to use instead\n\t * @param {?string} options.plugin Plugin name if it's a plugin feature\n\t * @param {?string} options.link Link to documentation\n\t * @param {?string} options.hint Additional message to help transition away from the deprecated feature.\n\t * @param {?string} message Message sent to console.warn\n\t */\n\tdoAction( 'deprecated', feature, options, message );\n\n\t// eslint-disable-next-line no-console\n\tconsole.warn( message );\n\n\tlogged[ message ] = true;\n}\n\n/** @typedef {import('utility-types').NonUndefined<Parameters<typeof deprecated>[1]>} DeprecatedOptions */\n"]}
@@ -38,7 +38,8 @@ export const logged = Object.create(null);
38
38
  * ```
39
39
  */
40
40
 
41
- export default function deprecated(feature, options = {}) {
41
+ export default function deprecated(feature) {
42
+ let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
42
43
  const {
43
44
  since,
44
45
  version,
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/deprecated/src/index.js"],"names":["doAction","logged","Object","create","deprecated","feature","options","since","version","alternative","plugin","link","hint","pluginMessage","sinceMessage","versionMessage","useInsteadMessage","linkMessage","hintMessage","message","console","warn"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,QAAT,QAAyB,kBAAzB;AAEA;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,MAAMC,MAAM,GAAGC,MAAM,CAACC,MAAP,CAAe,IAAf,CAAf;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,eAAe,SAASC,UAAT,CAAqBC,OAArB,EAA8BC,OAAO,GAAG,EAAxC,EAA6C;AAC3D,QAAM;AAAEC,IAAAA,KAAF;AAASC,IAAAA,OAAT;AAAkBC,IAAAA,WAAlB;AAA+BC,IAAAA,MAA/B;AAAuCC,IAAAA,IAAvC;AAA6CC,IAAAA;AAA7C,MAAsDN,OAA5D;AAEA,QAAMO,aAAa,GAAGH,MAAM,GAAI,SAASA,MAAQ,EAArB,GAAyB,EAArD;AACA,QAAMI,YAAY,GAAGP,KAAK,GAAI,kBAAkBA,KAAO,EAA7B,GAAiC,EAA3D;AACA,QAAMQ,cAAc,GAAGP,OAAO,GAC1B,uBAAuBK,aAAe,eAAeL,OAAS,EADpC,GAE3B,EAFH;AAGA,QAAMQ,iBAAiB,GAAGP,WAAW,GACjC,eAAeA,WAAa,WADK,GAElC,EAFH;AAGA,QAAMQ,WAAW,GAAGN,IAAI,GAAI,SAASA,IAAM,EAAnB,GAAuB,EAA/C;AACA,QAAMO,WAAW,GAAGN,IAAI,GAAI,UAAUA,IAAM,EAApB,GAAwB,EAAhD;AACA,QAAMO,OAAO,GAAI,GAAGd,OAAS,iBAAiBS,YAAc,GAAGC,cAAgB,IAAIC,iBAAmB,GAAGC,WAAa,GAAGC,WAAa,EAAtI,CAb2D,CAe3D;;AACA,MAAKC,OAAO,IAAIlB,MAAhB,EAAyB;AACxB;AACA;AAED;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACCD,EAAAA,QAAQ,CAAE,YAAF,EAAgBK,OAAhB,EAAyBC,OAAzB,EAAkCa,OAAlC,CAAR,CAjC2D,CAmC3D;;AACAC,EAAAA,OAAO,CAACC,IAAR,CAAcF,OAAd;AAEAlB,EAAAA,MAAM,CAAEkB,OAAF,CAAN,GAAoB,IAApB;AACA;AAED","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { doAction } from '@wordpress/hooks';\n\n/**\n * Object map tracking messages which have been logged, for use in ensuring a\n * message is only logged once.\n *\n * @type {Record<string, true | undefined>}\n */\nexport const logged = Object.create( null );\n\n/**\n * Logs a message to notify developers about a deprecated feature.\n *\n * @param {string} feature Name of the deprecated feature.\n * @param {Object} [options] Personalisation options\n * @param {string} [options.since] Version in which the feature was deprecated.\n * @param {string} [options.version] Version in which the feature will be removed.\n * @param {string} [options.alternative] Feature to use instead\n * @param {string} [options.plugin] Plugin name if it's a plugin feature\n * @param {string} [options.link] Link to documentation\n * @param {string} [options.hint] Additional message to help transition away from the deprecated feature.\n *\n * @example\n * ```js\n * import deprecated from '@wordpress/deprecated';\n *\n * deprecated( 'Eating meat', {\n * \tsince: '2019.01.01'\n * \tversion: '2020.01.01',\n * \talternative: 'vegetables',\n * \tplugin: 'the earth',\n * \thint: 'You may find it beneficial to transition gradually.',\n * } );\n *\n * // Logs: 'Eating meat is deprecated since version 2019.01.01 and will be removed from the earth in version 2020.01.01. Please use vegetables instead. Note: You may find it beneficial to transition gradually.'\n * ```\n */\nexport default function deprecated( feature, options = {} ) {\n\tconst { since, version, alternative, plugin, link, hint } = options;\n\n\tconst pluginMessage = plugin ? ` from ${ plugin }` : '';\n\tconst sinceMessage = since ? ` since version ${ since }` : '';\n\tconst versionMessage = version\n\t\t? ` and will be removed${ pluginMessage } in version ${ version }`\n\t\t: '';\n\tconst useInsteadMessage = alternative\n\t\t? ` Please use ${ alternative } instead.`\n\t\t: '';\n\tconst linkMessage = link ? ` See: ${ link }` : '';\n\tconst hintMessage = hint ? ` Note: ${ hint }` : '';\n\tconst message = `${ feature } is deprecated${ sinceMessage }${ versionMessage }.${ useInsteadMessage }${ linkMessage }${ hintMessage }`;\n\n\t// Skip if already logged.\n\tif ( message in logged ) {\n\t\treturn;\n\t}\n\n\t/**\n\t * Fires whenever a deprecated feature is encountered\n\t *\n\t * @param {string} feature Name of the deprecated feature.\n\t * @param {?Object} options Personalisation options\n\t * @param {string} options.since Version in which the feature was deprecated.\n\t * @param {?string} options.version Version in which the feature will be removed.\n\t * @param {?string} options.alternative Feature to use instead\n\t * @param {?string} options.plugin Plugin name if it's a plugin feature\n\t * @param {?string} options.link Link to documentation\n\t * @param {?string} options.hint Additional message to help transition away from the deprecated feature.\n\t * @param {?string} message Message sent to console.warn\n\t */\n\tdoAction( 'deprecated', feature, options, message );\n\n\t// eslint-disable-next-line no-console\n\tconsole.warn( message );\n\n\tlogged[ message ] = true;\n}\n\n/** @typedef {import('utility-types').NonUndefined<Parameters<typeof deprecated>[1]>} DeprecatedOptions */\n"]}
1
+ {"version":3,"sources":["@wordpress/deprecated/src/index.js"],"names":["doAction","logged","Object","create","deprecated","feature","options","since","version","alternative","plugin","link","hint","pluginMessage","sinceMessage","versionMessage","useInsteadMessage","linkMessage","hintMessage","message","console","warn"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,QAAT,QAAyB,kBAAzB;AAEA;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,MAAMC,MAAM,GAAGC,MAAM,CAACC,MAAP,CAAe,IAAf,CAAf;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,eAAe,SAASC,UAAT,CAAqBC,OAArB,EAA6C;AAAA,MAAfC,OAAe,uEAAL,EAAK;AAC3D,QAAM;AAAEC,IAAAA,KAAF;AAASC,IAAAA,OAAT;AAAkBC,IAAAA,WAAlB;AAA+BC,IAAAA,MAA/B;AAAuCC,IAAAA,IAAvC;AAA6CC,IAAAA;AAA7C,MAAsDN,OAA5D;AAEA,QAAMO,aAAa,GAAGH,MAAM,GAAI,SAASA,MAAQ,EAArB,GAAyB,EAArD;AACA,QAAMI,YAAY,GAAGP,KAAK,GAAI,kBAAkBA,KAAO,EAA7B,GAAiC,EAA3D;AACA,QAAMQ,cAAc,GAAGP,OAAO,GAC1B,uBAAuBK,aAAe,eAAeL,OAAS,EADpC,GAE3B,EAFH;AAGA,QAAMQ,iBAAiB,GAAGP,WAAW,GACjC,eAAeA,WAAa,WADK,GAElC,EAFH;AAGA,QAAMQ,WAAW,GAAGN,IAAI,GAAI,SAASA,IAAM,EAAnB,GAAuB,EAA/C;AACA,QAAMO,WAAW,GAAGN,IAAI,GAAI,UAAUA,IAAM,EAApB,GAAwB,EAAhD;AACA,QAAMO,OAAO,GAAI,GAAGd,OAAS,iBAAiBS,YAAc,GAAGC,cAAgB,IAAIC,iBAAmB,GAAGC,WAAa,GAAGC,WAAa,EAAtI,CAb2D,CAe3D;;AACA,MAAKC,OAAO,IAAIlB,MAAhB,EAAyB;AACxB;AACA;AAED;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACCD,EAAAA,QAAQ,CAAE,YAAF,EAAgBK,OAAhB,EAAyBC,OAAzB,EAAkCa,OAAlC,CAAR,CAjC2D,CAmC3D;;AACAC,EAAAA,OAAO,CAACC,IAAR,CAAcF,OAAd;AAEAlB,EAAAA,MAAM,CAAEkB,OAAF,CAAN,GAAoB,IAApB;AACA;AAED","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { doAction } from '@wordpress/hooks';\n\n/**\n * Object map tracking messages which have been logged, for use in ensuring a\n * message is only logged once.\n *\n * @type {Record<string, true | undefined>}\n */\nexport const logged = Object.create( null );\n\n/**\n * Logs a message to notify developers about a deprecated feature.\n *\n * @param {string} feature Name of the deprecated feature.\n * @param {Object} [options] Personalisation options\n * @param {string} [options.since] Version in which the feature was deprecated.\n * @param {string} [options.version] Version in which the feature will be removed.\n * @param {string} [options.alternative] Feature to use instead\n * @param {string} [options.plugin] Plugin name if it's a plugin feature\n * @param {string} [options.link] Link to documentation\n * @param {string} [options.hint] Additional message to help transition away from the deprecated feature.\n *\n * @example\n * ```js\n * import deprecated from '@wordpress/deprecated';\n *\n * deprecated( 'Eating meat', {\n * \tsince: '2019.01.01'\n * \tversion: '2020.01.01',\n * \talternative: 'vegetables',\n * \tplugin: 'the earth',\n * \thint: 'You may find it beneficial to transition gradually.',\n * } );\n *\n * // Logs: 'Eating meat is deprecated since version 2019.01.01 and will be removed from the earth in version 2020.01.01. Please use vegetables instead. Note: You may find it beneficial to transition gradually.'\n * ```\n */\nexport default function deprecated( feature, options = {} ) {\n\tconst { since, version, alternative, plugin, link, hint } = options;\n\n\tconst pluginMessage = plugin ? ` from ${ plugin }` : '';\n\tconst sinceMessage = since ? ` since version ${ since }` : '';\n\tconst versionMessage = version\n\t\t? ` and will be removed${ pluginMessage } in version ${ version }`\n\t\t: '';\n\tconst useInsteadMessage = alternative\n\t\t? ` Please use ${ alternative } instead.`\n\t\t: '';\n\tconst linkMessage = link ? ` See: ${ link }` : '';\n\tconst hintMessage = hint ? ` Note: ${ hint }` : '';\n\tconst message = `${ feature } is deprecated${ sinceMessage }${ versionMessage }.${ useInsteadMessage }${ linkMessage }${ hintMessage }`;\n\n\t// Skip if already logged.\n\tif ( message in logged ) {\n\t\treturn;\n\t}\n\n\t/**\n\t * Fires whenever a deprecated feature is encountered\n\t *\n\t * @param {string} feature Name of the deprecated feature.\n\t * @param {?Object} options Personalisation options\n\t * @param {string} options.since Version in which the feature was deprecated.\n\t * @param {?string} options.version Version in which the feature will be removed.\n\t * @param {?string} options.alternative Feature to use instead\n\t * @param {?string} options.plugin Plugin name if it's a plugin feature\n\t * @param {?string} options.link Link to documentation\n\t * @param {?string} options.hint Additional message to help transition away from the deprecated feature.\n\t * @param {?string} message Message sent to console.warn\n\t */\n\tdoAction( 'deprecated', feature, options, message );\n\n\t// eslint-disable-next-line no-console\n\tconsole.warn( message );\n\n\tlogged[ message ] = true;\n}\n\n/** @typedef {import('utility-types').NonUndefined<Parameters<typeof deprecated>[1]>} DeprecatedOptions */\n"]}
@@ -40,12 +40,12 @@ export default function deprecated(feature: string, options?: {
40
40
  * @type {Record<string, true | undefined>}
41
41
  */
42
42
  export const logged: Record<string, true | undefined>;
43
- export type DeprecatedOptions = {
43
+ export type DeprecatedOptions = import('utility-types').NonUndefined<[feature: string, options?: {
44
44
  since?: string | undefined;
45
45
  version?: string | undefined;
46
46
  alternative?: string | undefined;
47
47
  plugin?: string | undefined;
48
48
  link?: string | undefined;
49
49
  hint?: string | undefined;
50
- };
50
+ } | undefined][1]>;
51
51
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,4CAxBW,MAAM;;;;;;;qBA+DhB;AA1ED;;;;;GAKG;AACH,qBAFU,OAAO,MAAM,EAAE,IAAI,GAAG,SAAS,CAAC,CAEE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,4CAxBW,MAAM;;;;;;;qBA+DhB;AA1ED;;;;;GAKG;AACH,qBAFU,OAAO,MAAM,EAAE,IAAI,GAAG,SAAS,CAAC,CAEE;gCAsE9B,OAAO,eAAe,EAAE,YAAY,CAAC;;;;;;;eAA8B,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/deprecated",
3
- "version": "3.2.1",
3
+ "version": "3.2.3",
4
4
  "description": "Deprecation utility for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -27,11 +27,11 @@
27
27
  "types": "build-types",
28
28
  "sideEffects": false,
29
29
  "dependencies": {
30
- "@babel/runtime": "^7.13.10",
31
- "@wordpress/hooks": "^3.2.0"
30
+ "@babel/runtime": "^7.16.0",
31
+ "@wordpress/hooks": "^3.2.2"
32
32
  },
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
- "gitHead": "4e106dd6283fd742aeb521ebc0ae29f35d4274b4"
36
+ "gitHead": "9a1dd3474d937468e4cf9caf9886ad61ef0a8f50"
37
37
  }
@@ -1,473 +1 @@
1
- {
2
- "program": {
3
- "fileInfos": {
4
- "../../node_modules/typescript/lib/lib.es5.d.ts": {
5
- "version": "9622e8bd7cc72a7dab819a8011ecbf81d443638082e5cb99ecf2e75ff56ffc9d",
6
- "signature": "9622e8bd7cc72a7dab819a8011ecbf81d443638082e5cb99ecf2e75ff56ffc9d",
7
- "affectsGlobalScope": true
8
- },
9
- "../../node_modules/typescript/lib/lib.es2015.d.ts": {
10
- "version": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6",
11
- "signature": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6",
12
- "affectsGlobalScope": false
13
- },
14
- "../../node_modules/typescript/lib/lib.es2016.d.ts": {
15
- "version": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467",
16
- "signature": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467",
17
- "affectsGlobalScope": false
18
- },
19
- "../../node_modules/typescript/lib/lib.es2017.d.ts": {
20
- "version": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9",
21
- "signature": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9",
22
- "affectsGlobalScope": false
23
- },
24
- "../../node_modules/typescript/lib/lib.es2018.d.ts": {
25
- "version": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",
26
- "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",
27
- "affectsGlobalScope": false
28
- },
29
- "../../node_modules/typescript/lib/lib.es2019.d.ts": {
30
- "version": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84",
31
- "signature": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84",
32
- "affectsGlobalScope": false
33
- },
34
- "../../node_modules/typescript/lib/lib.es2020.d.ts": {
35
- "version": "e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",
36
- "signature": "e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",
37
- "affectsGlobalScope": false
38
- },
39
- "../../node_modules/typescript/lib/lib.esnext.d.ts": {
40
- "version": "fc7a21dd3ee27fd0a9ff1c46534efcd9c3cec51a445b479bb326d871c0aa8302",
41
- "signature": "fc7a21dd3ee27fd0a9ff1c46534efcd9c3cec51a445b479bb326d871c0aa8302",
42
- "affectsGlobalScope": false
43
- },
44
- "../../node_modules/typescript/lib/lib.dom.d.ts": {
45
- "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84",
46
- "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84",
47
- "affectsGlobalScope": true
48
- },
49
- "../../node_modules/typescript/lib/lib.es2015.core.d.ts": {
50
- "version": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17",
51
- "signature": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17",
52
- "affectsGlobalScope": true
53
- },
54
- "../../node_modules/typescript/lib/lib.es2015.collection.d.ts": {
55
- "version": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c",
56
- "signature": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c",
57
- "affectsGlobalScope": true
58
- },
59
- "../../node_modules/typescript/lib/lib.es2015.generator.d.ts": {
60
- "version": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a",
61
- "signature": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a",
62
- "affectsGlobalScope": true
63
- },
64
- "../../node_modules/typescript/lib/lib.es2015.iterable.d.ts": {
65
- "version": "8b2a5df1ce95f78f6b74f1a555ccdb6baab0486b42d8345e0871dd82811f9b9a",
66
- "signature": "8b2a5df1ce95f78f6b74f1a555ccdb6baab0486b42d8345e0871dd82811f9b9a",
67
- "affectsGlobalScope": true
68
- },
69
- "../../node_modules/typescript/lib/lib.es2015.promise.d.ts": {
70
- "version": "2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c",
71
- "signature": "2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c",
72
- "affectsGlobalScope": true
73
- },
74
- "../../node_modules/typescript/lib/lib.es2015.proxy.d.ts": {
75
- "version": "7207e317a2cb07a177e7d963ab7b8c0e85dde7f9ddb50351f830239bf597569e",
76
- "signature": "7207e317a2cb07a177e7d963ab7b8c0e85dde7f9ddb50351f830239bf597569e",
77
- "affectsGlobalScope": true
78
- },
79
- "../../node_modules/typescript/lib/lib.es2015.reflect.d.ts": {
80
- "version": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d",
81
- "signature": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d",
82
- "affectsGlobalScope": true
83
- },
84
- "../../node_modules/typescript/lib/lib.es2015.symbol.d.ts": {
85
- "version": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93",
86
- "signature": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93",
87
- "affectsGlobalScope": true
88
- },
89
- "../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": {
90
- "version": "9d122b7e8c1a5c72506eea50c0973cba55b92b5532d5cafa8a6ce2c547d57551",
91
- "signature": "9d122b7e8c1a5c72506eea50c0973cba55b92b5532d5cafa8a6ce2c547d57551",
92
- "affectsGlobalScope": true
93
- },
94
- "../../node_modules/typescript/lib/lib.es2016.array.include.d.ts": {
95
- "version": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006",
96
- "signature": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006",
97
- "affectsGlobalScope": true
98
- },
99
- "../../node_modules/typescript/lib/lib.es2017.object.d.ts": {
100
- "version": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a",
101
- "signature": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a",
102
- "affectsGlobalScope": true
103
- },
104
- "../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": {
105
- "version": "7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98",
106
- "signature": "7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98",
107
- "affectsGlobalScope": true
108
- },
109
- "../../node_modules/typescript/lib/lib.es2017.string.d.ts": {
110
- "version": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577",
111
- "signature": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577",
112
- "affectsGlobalScope": true
113
- },
114
- "../../node_modules/typescript/lib/lib.es2017.intl.d.ts": {
115
- "version": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d",
116
- "signature": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d",
117
- "affectsGlobalScope": true
118
- },
119
- "../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": {
120
- "version": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e",
121
- "signature": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e",
122
- "affectsGlobalScope": true
123
- },
124
- "../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": {
125
- "version": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a",
126
- "signature": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a",
127
- "affectsGlobalScope": true
128
- },
129
- "../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": {
130
- "version": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359",
131
- "signature": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359",
132
- "affectsGlobalScope": true
133
- },
134
- "../../node_modules/typescript/lib/lib.es2018.intl.d.ts": {
135
- "version": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e",
136
- "signature": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e",
137
- "affectsGlobalScope": true
138
- },
139
- "../../node_modules/typescript/lib/lib.es2018.promise.d.ts": {
140
- "version": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c",
141
- "signature": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c",
142
- "affectsGlobalScope": true
143
- },
144
- "../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": {
145
- "version": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8",
146
- "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8",
147
- "affectsGlobalScope": true
148
- },
149
- "../../node_modules/typescript/lib/lib.es2019.array.d.ts": {
150
- "version": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951",
151
- "signature": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951",
152
- "affectsGlobalScope": true
153
- },
154
- "../../node_modules/typescript/lib/lib.es2019.object.d.ts": {
155
- "version": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de",
156
- "signature": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de",
157
- "affectsGlobalScope": true
158
- },
159
- "../../node_modules/typescript/lib/lib.es2019.string.d.ts": {
160
- "version": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1",
161
- "signature": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1",
162
- "affectsGlobalScope": true
163
- },
164
- "../../node_modules/typescript/lib/lib.es2019.symbol.d.ts": {
165
- "version": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993",
166
- "signature": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993",
167
- "affectsGlobalScope": true
168
- },
169
- "../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": {
170
- "version": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09",
171
- "signature": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09",
172
- "affectsGlobalScope": true
173
- },
174
- "../../node_modules/typescript/lib/lib.es2020.promise.d.ts": {
175
- "version": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862",
176
- "signature": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862",
177
- "affectsGlobalScope": true
178
- },
179
- "../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts": {
180
- "version": "e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40",
181
- "signature": "e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40",
182
- "affectsGlobalScope": true
183
- },
184
- "../../node_modules/typescript/lib/lib.es2020.string.d.ts": {
185
- "version": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e",
186
- "signature": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e",
187
- "affectsGlobalScope": true
188
- },
189
- "../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": {
190
- "version": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a",
191
- "signature": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a",
192
- "affectsGlobalScope": true
193
- },
194
- "../../node_modules/typescript/lib/lib.es2020.intl.d.ts": {
195
- "version": "31e8df2398e328077079c17ea4f1664bad0a34adf8b0608837e504e310e329a1",
196
- "signature": "31e8df2398e328077079c17ea4f1664bad0a34adf8b0608837e504e310e329a1",
197
- "affectsGlobalScope": true
198
- },
199
- "../../node_modules/typescript/lib/lib.esnext.intl.d.ts": {
200
- "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd",
201
- "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd",
202
- "affectsGlobalScope": true
203
- },
204
- "../../node_modules/typescript/lib/lib.esnext.string.d.ts": {
205
- "version": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe",
206
- "signature": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe",
207
- "affectsGlobalScope": true
208
- },
209
- "../../node_modules/typescript/lib/lib.esnext.promise.d.ts": {
210
- "version": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e",
211
- "signature": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e",
212
- "affectsGlobalScope": true
213
- },
214
- "../../node_modules/typescript/lib/lib.esnext.weakref.d.ts": {
215
- "version": "1e61418f41d404e744b6536af9f8c6f6674dd4d54c12335cd0c4f7eded69cf3f",
216
- "signature": "1e61418f41d404e744b6536af9f8c6f6674dd4d54c12335cd0c4f7eded69cf3f",
217
- "affectsGlobalScope": true
218
- },
219
- "../hooks/build-types/createaddhook.d.ts": {
220
- "version": "d02ec79cefaf292fae64b3be5a4416e64b4e420a6429fd458fac6e1bb4c7950e",
221
- "signature": "d02ec79cefaf292fae64b3be5a4416e64b4e420a6429fd458fac6e1bb4c7950e",
222
- "affectsGlobalScope": false
223
- },
224
- "../hooks/build-types/createremovehook.d.ts": {
225
- "version": "27abed653f600ea0d5c86e94181beb42824e0f3f16337e2f9e7e9e9c2c392edf",
226
- "signature": "27abed653f600ea0d5c86e94181beb42824e0f3f16337e2f9e7e9e9c2c392edf",
227
- "affectsGlobalScope": false
228
- },
229
- "../hooks/build-types/createhashook.d.ts": {
230
- "version": "d7871e0e653aa7197fee88886db5678bee6d42164c1f36e4bce9421ddfa7ca49",
231
- "signature": "d7871e0e653aa7197fee88886db5678bee6d42164c1f36e4bce9421ddfa7ca49",
232
- "affectsGlobalScope": false
233
- },
234
- "../hooks/build-types/createdoinghook.d.ts": {
235
- "version": "11ed10bdb3bcc99893570507eac8fece4840add97ee1d4f5a7fbf41cbfdea0d4",
236
- "signature": "11ed10bdb3bcc99893570507eac8fece4840add97ee1d4f5a7fbf41cbfdea0d4",
237
- "affectsGlobalScope": false
238
- },
239
- "../hooks/build-types/createdidhook.d.ts": {
240
- "version": "429fb571d3db07d3eaa2e74d43eb4190ece3e0de832ed564aeeaf08873e598eb",
241
- "signature": "429fb571d3db07d3eaa2e74d43eb4190ece3e0de832ed564aeeaf08873e598eb",
242
- "affectsGlobalScope": false
243
- },
244
- "../hooks/build-types/createhooks.d.ts": {
245
- "version": "d3060e0810fc0d0dc009e6f086ef413d3c8aeaaf07da25c8d25fd4e181646acf",
246
- "signature": "d3060e0810fc0d0dc009e6f086ef413d3c8aeaaf07da25c8d25fd4e181646acf",
247
- "affectsGlobalScope": false
248
- },
249
- "../hooks/build-types/index.d.ts": {
250
- "version": "e1dbde0dd2cee229c90b3f3ebec3fb87089d4c872b5a55dce3a6e1f99665e978",
251
- "signature": "e1dbde0dd2cee229c90b3f3ebec3fb87089d4c872b5a55dce3a6e1f99665e978",
252
- "affectsGlobalScope": false
253
- },
254
- "../../node_modules/utility-types/dist/aliases-and-guards.d.ts": {
255
- "version": "bd0d80db12ef1aceefc4f9d3eb88517b9634fa747ae8475981da8655292feab8",
256
- "signature": "bd0d80db12ef1aceefc4f9d3eb88517b9634fa747ae8475981da8655292feab8",
257
- "affectsGlobalScope": false
258
- },
259
- "../../node_modules/utility-types/dist/mapped-types.d.ts": {
260
- "version": "55e68fb1618e3f55f7866b8c8415152159309a14b716370081ab0b7af96d876e",
261
- "signature": "55e68fb1618e3f55f7866b8c8415152159309a14b716370081ab0b7af96d876e",
262
- "affectsGlobalScope": false
263
- },
264
- "../../node_modules/utility-types/dist/utility-types.d.ts": {
265
- "version": "bf0491af2455f92282b61807be2be6e7ad7d532e47fac7b698019d3617c28ff7",
266
- "signature": "bf0491af2455f92282b61807be2be6e7ad7d532e47fac7b698019d3617c28ff7",
267
- "affectsGlobalScope": false
268
- },
269
- "../../node_modules/utility-types/dist/functional-helpers.d.ts": {
270
- "version": "5d874fb879ab8601c02549817dceb2d0a30729cb7e161625dd6f819bbff1ec0b",
271
- "signature": "5d874fb879ab8601c02549817dceb2d0a30729cb7e161625dd6f819bbff1ec0b",
272
- "affectsGlobalScope": false
273
- },
274
- "../../node_modules/utility-types/dist/index.d.ts": {
275
- "version": "ee551a880882770c4f56a0964a9767c9feafe497a5be52652527d098c88d85cb",
276
- "signature": "ee551a880882770c4f56a0964a9767c9feafe497a5be52652527d098c88d85cb",
277
- "affectsGlobalScope": false
278
- },
279
- "./src/index.js": {
280
- "version": "bb35cbce32e5b469f03fe34161ad9cce27c76f2e9392a83c9075faecc3247db9",
281
- "signature": "de3938b75b9e28bdbd8a8c15fd68a2ec49b5eec69b05b7a48ee27909936782ad",
282
- "affectsGlobalScope": false
283
- }
284
- },
285
- "options": {
286
- "allowJs": true,
287
- "checkJs": true,
288
- "allowSyntheticDefaultImports": true,
289
- "jsx": 1,
290
- "target": 99,
291
- "module": 99,
292
- "lib": [
293
- "lib.dom.d.ts",
294
- "lib.esnext.d.ts"
295
- ],
296
- "declaration": true,
297
- "declarationMap": true,
298
- "composite": true,
299
- "emitDeclarationOnly": true,
300
- "isolatedModules": true,
301
- "strict": true,
302
- "noUnusedLocals": true,
303
- "noUnusedParameters": true,
304
- "noImplicitReturns": true,
305
- "noFallthroughCasesInSwitch": true,
306
- "importsNotUsedAsValues": 2,
307
- "moduleResolution": 2,
308
- "esModuleInterop": false,
309
- "resolveJsonModule": true,
310
- "typeRoots": [
311
- "../../typings",
312
- "../../node_modules/@types"
313
- ],
314
- "types": [],
315
- "rootDir": "./src",
316
- "declarationDir": "./build-types",
317
- "configFilePath": "./tsconfig.json"
318
- },
319
- "referencedMap": {
320
- "../../node_modules/utility-types/dist/index.d.ts": [
321
- "../../node_modules/utility-types/dist/aliases-and-guards.d.ts",
322
- "../../node_modules/utility-types/dist/functional-helpers.d.ts",
323
- "../../node_modules/utility-types/dist/mapped-types.d.ts",
324
- "../../node_modules/utility-types/dist/utility-types.d.ts"
325
- ],
326
- "../../node_modules/utility-types/dist/mapped-types.d.ts": [
327
- "../../node_modules/utility-types/dist/aliases-and-guards.d.ts"
328
- ],
329
- "../../node_modules/utility-types/dist/utility-types.d.ts": [
330
- "../../node_modules/utility-types/dist/mapped-types.d.ts"
331
- ],
332
- "./src/index.js": [
333
- "../../node_modules/utility-types/dist/index.d.ts",
334
- "../hooks/build-types/index.d.ts"
335
- ],
336
- "../hooks/build-types/createaddhook.d.ts": [
337
- "../hooks/build-types/index.d.ts"
338
- ],
339
- "../hooks/build-types/createdidhook.d.ts": [
340
- "../hooks/build-types/index.d.ts"
341
- ],
342
- "../hooks/build-types/createdoinghook.d.ts": [
343
- "../hooks/build-types/index.d.ts"
344
- ],
345
- "../hooks/build-types/createhashook.d.ts": [
346
- "../hooks/build-types/index.d.ts"
347
- ],
348
- "../hooks/build-types/createhooks.d.ts": [
349
- "../hooks/build-types/createaddhook.d.ts",
350
- "../hooks/build-types/createdidhook.d.ts",
351
- "../hooks/build-types/createdoinghook.d.ts",
352
- "../hooks/build-types/createhashook.d.ts",
353
- "../hooks/build-types/createremovehook.d.ts",
354
- "../hooks/build-types/index.d.ts"
355
- ],
356
- "../hooks/build-types/createremovehook.d.ts": [
357
- "../hooks/build-types/index.d.ts"
358
- ],
359
- "../hooks/build-types/index.d.ts": [
360
- "../hooks/build-types/createaddhook.d.ts",
361
- "../hooks/build-types/createdidhook.d.ts",
362
- "../hooks/build-types/createdoinghook.d.ts",
363
- "../hooks/build-types/createhashook.d.ts",
364
- "../hooks/build-types/createhooks.d.ts",
365
- "../hooks/build-types/createremovehook.d.ts"
366
- ]
367
- },
368
- "exportedModulesMap": {
369
- "../../node_modules/utility-types/dist/index.d.ts": [
370
- "../../node_modules/utility-types/dist/aliases-and-guards.d.ts",
371
- "../../node_modules/utility-types/dist/functional-helpers.d.ts",
372
- "../../node_modules/utility-types/dist/mapped-types.d.ts",
373
- "../../node_modules/utility-types/dist/utility-types.d.ts"
374
- ],
375
- "../../node_modules/utility-types/dist/mapped-types.d.ts": [
376
- "../../node_modules/utility-types/dist/aliases-and-guards.d.ts"
377
- ],
378
- "../../node_modules/utility-types/dist/utility-types.d.ts": [
379
- "../../node_modules/utility-types/dist/mapped-types.d.ts"
380
- ],
381
- "../hooks/build-types/createaddhook.d.ts": [
382
- "../hooks/build-types/index.d.ts"
383
- ],
384
- "../hooks/build-types/createdidhook.d.ts": [
385
- "../hooks/build-types/index.d.ts"
386
- ],
387
- "../hooks/build-types/createdoinghook.d.ts": [
388
- "../hooks/build-types/index.d.ts"
389
- ],
390
- "../hooks/build-types/createhashook.d.ts": [
391
- "../hooks/build-types/index.d.ts"
392
- ],
393
- "../hooks/build-types/createhooks.d.ts": [
394
- "../hooks/build-types/createaddhook.d.ts",
395
- "../hooks/build-types/createdidhook.d.ts",
396
- "../hooks/build-types/createdoinghook.d.ts",
397
- "../hooks/build-types/createhashook.d.ts",
398
- "../hooks/build-types/createremovehook.d.ts",
399
- "../hooks/build-types/index.d.ts"
400
- ],
401
- "../hooks/build-types/createremovehook.d.ts": [
402
- "../hooks/build-types/index.d.ts"
403
- ],
404
- "../hooks/build-types/index.d.ts": [
405
- "../hooks/build-types/createaddhook.d.ts",
406
- "../hooks/build-types/createdidhook.d.ts",
407
- "../hooks/build-types/createdoinghook.d.ts",
408
- "../hooks/build-types/createhashook.d.ts",
409
- "../hooks/build-types/createhooks.d.ts",
410
- "../hooks/build-types/createremovehook.d.ts"
411
- ]
412
- },
413
- "semanticDiagnosticsPerFile": [
414
- "../../node_modules/typescript/lib/lib.dom.d.ts",
415
- "../../node_modules/typescript/lib/lib.es2015.collection.d.ts",
416
- "../../node_modules/typescript/lib/lib.es2015.core.d.ts",
417
- "../../node_modules/typescript/lib/lib.es2015.d.ts",
418
- "../../node_modules/typescript/lib/lib.es2015.generator.d.ts",
419
- "../../node_modules/typescript/lib/lib.es2015.iterable.d.ts",
420
- "../../node_modules/typescript/lib/lib.es2015.promise.d.ts",
421
- "../../node_modules/typescript/lib/lib.es2015.proxy.d.ts",
422
- "../../node_modules/typescript/lib/lib.es2015.reflect.d.ts",
423
- "../../node_modules/typescript/lib/lib.es2015.symbol.d.ts",
424
- "../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts",
425
- "../../node_modules/typescript/lib/lib.es2016.array.include.d.ts",
426
- "../../node_modules/typescript/lib/lib.es2016.d.ts",
427
- "../../node_modules/typescript/lib/lib.es2017.d.ts",
428
- "../../node_modules/typescript/lib/lib.es2017.intl.d.ts",
429
- "../../node_modules/typescript/lib/lib.es2017.object.d.ts",
430
- "../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts",
431
- "../../node_modules/typescript/lib/lib.es2017.string.d.ts",
432
- "../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts",
433
- "../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts",
434
- "../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts",
435
- "../../node_modules/typescript/lib/lib.es2018.d.ts",
436
- "../../node_modules/typescript/lib/lib.es2018.intl.d.ts",
437
- "../../node_modules/typescript/lib/lib.es2018.promise.d.ts",
438
- "../../node_modules/typescript/lib/lib.es2018.regexp.d.ts",
439
- "../../node_modules/typescript/lib/lib.es2019.array.d.ts",
440
- "../../node_modules/typescript/lib/lib.es2019.d.ts",
441
- "../../node_modules/typescript/lib/lib.es2019.object.d.ts",
442
- "../../node_modules/typescript/lib/lib.es2019.string.d.ts",
443
- "../../node_modules/typescript/lib/lib.es2019.symbol.d.ts",
444
- "../../node_modules/typescript/lib/lib.es2020.bigint.d.ts",
445
- "../../node_modules/typescript/lib/lib.es2020.d.ts",
446
- "../../node_modules/typescript/lib/lib.es2020.intl.d.ts",
447
- "../../node_modules/typescript/lib/lib.es2020.promise.d.ts",
448
- "../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts",
449
- "../../node_modules/typescript/lib/lib.es2020.string.d.ts",
450
- "../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts",
451
- "../../node_modules/typescript/lib/lib.es5.d.ts",
452
- "../../node_modules/typescript/lib/lib.esnext.d.ts",
453
- "../../node_modules/typescript/lib/lib.esnext.intl.d.ts",
454
- "../../node_modules/typescript/lib/lib.esnext.promise.d.ts",
455
- "../../node_modules/typescript/lib/lib.esnext.string.d.ts",
456
- "../../node_modules/typescript/lib/lib.esnext.weakref.d.ts",
457
- "../../node_modules/utility-types/dist/aliases-and-guards.d.ts",
458
- "../../node_modules/utility-types/dist/functional-helpers.d.ts",
459
- "../../node_modules/utility-types/dist/index.d.ts",
460
- "../../node_modules/utility-types/dist/mapped-types.d.ts",
461
- "../../node_modules/utility-types/dist/utility-types.d.ts",
462
- "./src/index.js",
463
- "../hooks/build-types/createaddhook.d.ts",
464
- "../hooks/build-types/createdidhook.d.ts",
465
- "../hooks/build-types/createdoinghook.d.ts",
466
- "../hooks/build-types/createhashook.d.ts",
467
- "../hooks/build-types/createhooks.d.ts",
468
- "../hooks/build-types/createremovehook.d.ts",
469
- "../hooks/build-types/index.d.ts"
470
- ]
471
- },
472
- "version": "4.1.3"
473
- }
1
+ {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../hooks/build-types/createaddhook.d.ts","../hooks/build-types/createremovehook.d.ts","../hooks/build-types/createhashook.d.ts","../hooks/build-types/createdoinghook.d.ts","../hooks/build-types/createdidhook.d.ts","../hooks/build-types/createhooks.d.ts","../hooks/build-types/index.d.ts","../../node_modules/utility-types/dist/aliases-and-guards.d.ts","../../node_modules/utility-types/dist/mapped-types.d.ts","../../node_modules/utility-types/dist/utility-types.d.ts","../../node_modules/utility-types/dist/functional-helpers.d.ts","../../node_modules/utility-types/dist/index.d.ts","./src/index.js"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},"d02ec79cefaf292fae64b3be5a4416e64b4e420a6429fd458fac6e1bb4c7950e","27abed653f600ea0d5c86e94181beb42824e0f3f16337e2f9e7e9e9c2c392edf","d7871e0e653aa7197fee88886db5678bee6d42164c1f36e4bce9421ddfa7ca49","11ed10bdb3bcc99893570507eac8fece4840add97ee1d4f5a7fbf41cbfdea0d4","429fb571d3db07d3eaa2e74d43eb4190ece3e0de832ed564aeeaf08873e598eb","d3060e0810fc0d0dc009e6f086ef413d3c8aeaaf07da25c8d25fd4e181646acf","406d52bf33d618d846aa0d831ee004290567e328edcd4517bbff2937cc977abf","bd0d80db12ef1aceefc4f9d3eb88517b9634fa747ae8475981da8655292feab8","55e68fb1618e3f55f7866b8c8415152159309a14b716370081ab0b7af96d876e","bf0491af2455f92282b61807be2be6e7ad7d532e47fac7b698019d3617c28ff7","5d874fb879ab8601c02549817dceb2d0a30729cb7e161625dd6f819bbff1ec0b","ee551a880882770c4f56a0964a9767c9feafe497a5be52652527d098c88d85cb","bb35cbce32e5b469f03fe34161ad9cce27c76f2e9392a83c9075faecc3247db9"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./build-types","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":false,"importsNotUsedAsValues":2,"jsx":1,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"rootDir":"./src","strict":true,"target":99},"fileIdsList":[[52,53,54,55],[52],[53],[51,56],[51],[45,46,47,48,49,51],[45,46,47,48,49,50]],"referencedMap":[[56,1],[53,2],[54,3],[57,4],[45,5],[49,5],[48,5],[47,5],[50,6],[46,5],[51,7]],"exportedModulesMap":[[56,1],[53,2],[54,3],[57,4],[45,5],[49,5],[48,5],[47,5],[50,6],[46,5],[51,7]],"semanticDiagnosticsPerFile":[10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,41,42,43,1,9,44,52,55,56,53,54,57,45,49,48,47,50,46,51]},"version":"4.4.2"}