UNPKG

1.47 kBSource Map (JSON)View Raw
1{"version":3,"file":"deprecated.js","sourceRoot":"","sources":["../src/deprecated.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAIlD,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC,OAAO,EAAE;IACtC,OAAO,EAAE;QACP,UAAU,EAAE,IAAI;QAChB,GAAG;YACD,gBAAgB,CACd,6EAA6E,EAC7E,SAAS,EACT,cAAc,CACf,CAAC;YACF,OAAO,OAAO,CAAC,cAAc,CAAC,CAAC;QACjC,CAAC;KACF;IACD,aAAa,EAAE;QACb,UAAU,EAAE,IAAI;QAChB,GAAG;YACD,gBAAgB,CACd,+FAA+F,EAC/F,eAAe,EACf,oBAAoB,EACpB,8JAA8J,CAC/J,CAAC;YACF,OAAO,OAAO,CAAC,+BAA+B,CAAC,CAAC,OAAO,CAAC;QAC1D,CAAC;KACF;CACF,CAAC,CAAC","sourcesContent":["import deprecatedModule from './deprecatedModule';\n\ndeclare var module: any;\n\nObject.defineProperties(module.exports, {\n Linking: {\n enumerable: true,\n get() {\n deprecatedModule(\n `import { Linking } from 'expo' -> import * as Linking from 'expo-linking'\\n`,\n 'Linking',\n 'expo-linking'\n );\n return require('expo-linking');\n },\n },\n Notifications: {\n enumerable: true,\n get() {\n deprecatedModule(\n `import { Notifications } from 'expo' -> import * as Notifications from 'expo-notifications'\\n`,\n 'Notifications',\n 'expo-notifications',\n 'Note the breaking changes in the new Notifications API: https://docs.expo.io/versions/latest/sdk/notifications/ . This legacy API will be removed in SDK 40.'\n );\n return require('./Notifications/Notifications').default;\n },\n },\n});\n"]}
\No newline at end of file