react-native-kookit 0.1.7 → 0.1.8
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/package.json +1 -1
- package/plugin/node_modules/.package-lock.json +0 -752
- package/plugin/node_modules/@babel/code-frame/LICENSE +0 -22
- package/plugin/node_modules/@babel/code-frame/README.md +0 -19
- package/plugin/node_modules/@babel/code-frame/lib/index.js +0 -167
- package/plugin/node_modules/@babel/code-frame/package.json +0 -25
- package/plugin/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
- package/plugin/node_modules/@babel/helper-validator-identifier/README.md +0 -19
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- package/plugin/node_modules/@babel/helper-validator-identifier/package.json +0 -31
- package/plugin/node_modules/@babel/highlight/LICENSE +0 -22
- package/plugin/node_modules/@babel/highlight/README.md +0 -19
- package/plugin/node_modules/@babel/highlight/lib/index.js +0 -119
- package/plugin/node_modules/@babel/highlight/lib/index.js.map +0 -1
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +0 -165
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/license +0 -9
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +0 -56
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +0 -147
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js +0 -228
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +0 -93
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/license +0 -9
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/package.json +0 -71
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/readme.md +0 -314
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/templates.js +0 -128
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +0 -97
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +0 -54
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +0 -21
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/README.md +0 -68
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +0 -868
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/index.js +0 -78
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/package.json +0 -46
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/route.js +0 -97
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +0 -43
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/LICENSE +0 -8
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/README.md +0 -11
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/index.js +0 -152
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/package.json +0 -25
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/test.js +0 -7
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/index.js +0 -8
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/license +0 -9
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/package.json +0 -44
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/readme.md +0 -70
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/browser.js +0 -5
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/index.js +0 -131
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/license +0 -9
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/package.json +0 -53
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/readme.md +0 -66
- package/plugin/node_modules/@babel/highlight/package.json +0 -30
- package/plugin/node_modules/@expo/config-plugins/LICENSE +0 -22
- package/plugin/node_modules/@expo/config-plugins/README.md +0 -34
- package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.d.ts +0 -177
- package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js +0 -51
- package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.d.ts +0 -6
- package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js +0 -45
- package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.d.ts +0 -28
- package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js +0 -93
- package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Colors.d.ts +0 -29
- package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js +0 -106
- package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.d.ts +0 -3
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js +0 -67
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.d.ts +0 -2
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js +0 -82
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.d.ts +0 -5
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js +0 -46
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.d.ts +0 -17
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js +0 -138
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.d.ts +0 -8
- package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js +0 -83
- package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.d.ts +0 -157
- package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js +0 -221
- package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Name.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/android/Name.js +0 -91
- package/plugin/node_modules/@expo/config-plugins/build/android/Name.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.d.ts +0 -6
- package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js +0 -39
- package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Package.d.ts +0 -23
- package/plugin/node_modules/@expo/config-plugins/build/android/Package.js +0 -323
- package/plugin/node_modules/@expo/config-plugins/build/android/Package.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Paths.d.ts +0 -30
- package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js +0 -154
- package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js +0 -207
- package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.d.ts +0 -6
- package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js +0 -62
- package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Properties.d.ts +0 -12
- package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js +0 -55
- package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Resources.d.ts +0 -87
- package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js +0 -150
- package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js +0 -217
- package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.d.ts +0 -16
- package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js +0 -112
- package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Strings.d.ts +0 -6
- package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js +0 -54
- package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Styles.d.ts +0 -61
- package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js +0 -169
- package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Updates.d.ts +0 -21
- package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js +0 -159
- package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Version.d.ts +0 -16
- package/plugin/node_modules/@expo/config-plugins/build/android/Version.js +0 -87
- package/plugin/node_modules/@expo/config-plugins/build/android/Version.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.d.ts +0 -6
- package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js +0 -48
- package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js +0 -93
- package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/index.d.ts +0 -25
- package/plugin/node_modules/@expo/config-plugins/build/android/index.js +0 -308
- package/plugin/node_modules/@expo/config-plugins/build/android/index.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/index.d.ts +0 -36
- package/plugin/node_modules/@expo/config-plugins/build/index.js +0 -428
- package/plugin/node_modules/@expo/config-plugins/build/index.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.d.ts +0 -33
- package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js +0 -110
- package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.d.ts +0 -27
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js +0 -67
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.d.ts +0 -10
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js +0 -112
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.d.ts +0 -50
- package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js +0 -241
- package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.d.ts +0 -19
- package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js +0 -92
- package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.d.ts +0 -9
- package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js +0 -132
- package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Google.d.ts +0 -14
- package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js +0 -139
- package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.d.ts +0 -48
- package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js +0 -2
- package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.d.ts +0 -14
- package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js +0 -132
- package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.d.ts +0 -17
- package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js +0 -211
- package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Name.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js +0 -111
- package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.d.ts +0 -7
- package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js +0 -42
- package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.d.ts +0 -38
- package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js +0 -311
- package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.d.ts +0 -9
- package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js +0 -58
- package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js +0 -129
- package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.d.ts +0 -8
- package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js +0 -67
- package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.d.ts +0 -5
- package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js +0 -101
- package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.d.ts +0 -11
- package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js +0 -111
- package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.d.ts +0 -34
- package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js +0 -196
- package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Target.d.ts +0 -27
- package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js +0 -136
- package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.d.ts +0 -17
- package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js +0 -121
- package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.d.ts +0 -5
- package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js +0 -38
- package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Version.d.ts +0 -8
- package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js +0 -44
- package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.d.ts +0 -31
- package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js +0 -99
- package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.d.ts +0 -81
- package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js +0 -264
- package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/index.d.ts +0 -27
- package/plugin/node_modules/@expo/config-plugins/build/ios/index.js +0 -342
- package/plugin/node_modules/@expo/config-plugins/build/ios/index.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.d.ts +0 -93
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js +0 -484
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.d.ts +0 -12
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js +0 -49
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.d.ts +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js +0 -10
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.d.ts +0 -89
- package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js +0 -210
- package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.d.ts +0 -31
- package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js +0 -129
- package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.d.ts +0 -77
- package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js +0 -205
- package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.d.ts +0 -39
- package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js +0 -226
- package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.d.ts +0 -40
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js +0 -510
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.d.ts +0 -10
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js +0 -30
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.d.ts +0 -10
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js +0 -30
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.d.ts +0 -33
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js +0 -442
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.d.ts +0 -46
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js +0 -208
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.d.ts +0 -8
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js +0 -35
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js +0 -55
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.d.ts +0 -17
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js +0 -138
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.d.ts +0 -25
- package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js +0 -2
- package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.d.ts +0 -29
- package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js +0 -217
- package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/XML.d.ts +0 -27
- package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js +0 -161
- package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.d.ts +0 -32
- package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js +0 -63
- package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/errors.d.ts +0 -15
- package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js +0 -27
- package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/fs.d.ts +0 -4
- package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js +0 -45
- package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.d.ts +0 -36
- package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js +0 -128
- package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/history.d.ts +0 -11
- package/plugin/node_modules/@expo/config-plugins/build/utils/history.js +0 -24
- package/plugin/node_modules/@expo/config-plugins/build/utils/history.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.d.ts +0 -7
- package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js +0 -65
- package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/modules.d.ts +0 -3
- package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js +0 -42
- package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/obj.d.ts +0 -2
- package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.d.ts +0 -33
- package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js +0 -218
- package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.d.ts +0 -4
- package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js +0 -42
- package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/versions.d.ts +0 -3
- package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js +0 -42
- package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.d.ts +0 -26
- package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js +0 -52
- package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/package.json +0 -62
- package/plugin/node_modules/@expo/config-types/LICENSE +0 -22
- package/plugin/node_modules/@expo/config-types/README.md +0 -38
- package/plugin/node_modules/@expo/config-types/build/ExpoConfig.d.ts +0 -878
- package/plugin/node_modules/@expo/config-types/build/ExpoConfig.js +0 -6
- package/plugin/node_modules/@expo/config-types/package.json +0 -48
- package/plugin/node_modules/@expo/json-file/LICENSE +0 -22
- package/plugin/node_modules/@expo/json-file/README.md +0 -29
- package/plugin/node_modules/@expo/json-file/build/JsonFile.d.ts +0 -61
- package/plugin/node_modules/@expo/json-file/build/JsonFile.js +0 -283
- package/plugin/node_modules/@expo/json-file/build/JsonFile.js.map +0 -1
- package/plugin/node_modules/@expo/json-file/build/JsonFileError.d.ts +0 -13
- package/plugin/node_modules/@expo/json-file/build/JsonFileError.js +0 -35
- package/plugin/node_modules/@expo/json-file/build/JsonFileError.js.map +0 -1
- package/plugin/node_modules/@expo/json-file/package.json +0 -47
- package/plugin/node_modules/@expo/plist/README.md +0 -8
- package/plugin/node_modules/@expo/plist/build/build.d.ts +0 -11
- package/plugin/node_modules/@expo/plist/build/build.js +0 -152
- package/plugin/node_modules/@expo/plist/build/build.js.map +0 -1
- package/plugin/node_modules/@expo/plist/build/index.d.ts +0 -16
- package/plugin/node_modules/@expo/plist/build/index.js +0 -6
- package/plugin/node_modules/@expo/plist/build/index.js.map +0 -1
- package/plugin/node_modules/@expo/plist/build/parse.d.ts +0 -8
- package/plugin/node_modules/@expo/plist/build/parse.js +0 -201
- package/plugin/node_modules/@expo/plist/build/parse.js.map +0 -1
- package/plugin/node_modules/@expo/plist/package.json +0 -45
- package/plugin/node_modules/@expo/sdk-runtime-versions/README.md +0 -5
- package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.d.ts +0 -4
- package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js +0 -21
- package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js.map +0 -1
- package/plugin/node_modules/@expo/sdk-runtime-versions/package.json +0 -29
- package/plugin/node_modules/@types/node/LICENSE +0 -21
- package/plugin/node_modules/@types/node/README.md +0 -15
- package/plugin/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/plugin/node_modules/@types/node/assert.d.ts +0 -1044
- package/plugin/node_modules/@types/node/async_hooks.d.ts +0 -605
- package/plugin/node_modules/@types/node/buffer.buffer.d.ts +0 -462
- package/plugin/node_modules/@types/node/buffer.d.ts +0 -1932
- package/plugin/node_modules/@types/node/child_process.d.ts +0 -1548
- package/plugin/node_modules/@types/node/cluster.d.ts +0 -578
- package/plugin/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/plugin/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/plugin/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/plugin/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/plugin/node_modules/@types/node/console.d.ts +0 -452
- package/plugin/node_modules/@types/node/constants.d.ts +0 -21
- package/plugin/node_modules/@types/node/crypto.d.ts +0 -4570
- package/plugin/node_modules/@types/node/dgram.d.ts +0 -596
- package/plugin/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
- package/plugin/node_modules/@types/node/dns/promises.d.ts +0 -479
- package/plugin/node_modules/@types/node/dns.d.ts +0 -871
- package/plugin/node_modules/@types/node/dom-events.d.ts +0 -99
- package/plugin/node_modules/@types/node/domain.d.ts +0 -170
- package/plugin/node_modules/@types/node/events.d.ts +0 -931
- package/plugin/node_modules/@types/node/fs/promises.d.ts +0 -1248
- package/plugin/node_modules/@types/node/fs.d.ts +0 -4362
- package/plugin/node_modules/@types/node/globals.d.ts +0 -335
- package/plugin/node_modules/@types/node/globals.typedarray.d.ts +0 -21
- package/plugin/node_modules/@types/node/http.d.ts +0 -2031
- package/plugin/node_modules/@types/node/http2.d.ts +0 -2623
- package/plugin/node_modules/@types/node/https.d.ts +0 -544
- package/plugin/node_modules/@types/node/index.d.ts +0 -91
- package/plugin/node_modules/@types/node/inspector.d.ts +0 -3966
- package/plugin/node_modules/@types/node/module.d.ts +0 -539
- package/plugin/node_modules/@types/node/net.d.ts +0 -1011
- package/plugin/node_modules/@types/node/os.d.ts +0 -495
- package/plugin/node_modules/@types/node/package.json +0 -140
- package/plugin/node_modules/@types/node/path.d.ts +0 -200
- package/plugin/node_modules/@types/node/perf_hooks.d.ts +0 -963
- package/plugin/node_modules/@types/node/process.d.ts +0 -1956
- package/plugin/node_modules/@types/node/punycode.d.ts +0 -117
- package/plugin/node_modules/@types/node/querystring.d.ts +0 -152
- package/plugin/node_modules/@types/node/readline/promises.d.ts +0 -162
- package/plugin/node_modules/@types/node/readline.d.ts +0 -589
- package/plugin/node_modules/@types/node/repl.d.ts +0 -430
- package/plugin/node_modules/@types/node/sea.d.ts +0 -153
- package/plugin/node_modules/@types/node/stream/consumers.d.ts +0 -38
- package/plugin/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/plugin/node_modules/@types/node/stream/web.d.ts +0 -533
- package/plugin/node_modules/@types/node/stream.d.ts +0 -1668
- package/plugin/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/plugin/node_modules/@types/node/test.d.ts +0 -1807
- package/plugin/node_modules/@types/node/timers/promises.d.ts +0 -108
- package/plugin/node_modules/@types/node/timers.d.ts +0 -286
- package/plugin/node_modules/@types/node/tls.d.ts +0 -1231
- package/plugin/node_modules/@types/node/trace_events.d.ts +0 -197
- package/plugin/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
- package/plugin/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
- package/plugin/node_modules/@types/node/ts5.6/index.d.ts +0 -91
- package/plugin/node_modules/@types/node/tty.d.ts +0 -208
- package/plugin/node_modules/@types/node/url.d.ts +0 -964
- package/plugin/node_modules/@types/node/util.d.ts +0 -2331
- package/plugin/node_modules/@types/node/v8.d.ts +0 -808
- package/plugin/node_modules/@types/node/vm.d.ts +0 -1030
- package/plugin/node_modules/@types/node/wasi.d.ts +0 -181
- package/plugin/node_modules/@types/node/worker_threads.d.ts +0 -724
- package/plugin/node_modules/@types/node/zlib.d.ts +0 -539
- package/plugin/node_modules/@xmldom/xmldom/CHANGELOG.md +0 -401
- package/plugin/node_modules/@xmldom/xmldom/LICENSE +0 -8
- package/plugin/node_modules/@xmldom/xmldom/index.d.ts +0 -43
- package/plugin/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +0 -2
- package/plugin/node_modules/@xmldom/xmldom/lib/conventions.js +0 -177
- package/plugin/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -268
- package/plugin/node_modules/@xmldom/xmldom/lib/dom.js +0 -1808
- package/plugin/node_modules/@xmldom/xmldom/lib/entities.js +0 -2166
- package/plugin/node_modules/@xmldom/xmldom/lib/index.js +0 -4
- package/plugin/node_modules/@xmldom/xmldom/lib/sax.js +0 -656
- package/plugin/node_modules/@xmldom/xmldom/package.json +0 -60
- package/plugin/node_modules/@xmldom/xmldom/readme.md +0 -338
- package/plugin/node_modules/ansi-styles/index.d.ts +0 -345
- package/plugin/node_modules/ansi-styles/index.js +0 -163
- package/plugin/node_modules/ansi-styles/license +0 -9
- package/plugin/node_modules/ansi-styles/package.json +0 -56
- package/plugin/node_modules/ansi-styles/readme.md +0 -152
- package/plugin/node_modules/balanced-match/.github/FUNDING.yml +0 -2
- package/plugin/node_modules/balanced-match/LICENSE.md +0 -21
- package/plugin/node_modules/balanced-match/README.md +0 -97
- package/plugin/node_modules/balanced-match/index.js +0 -62
- package/plugin/node_modules/balanced-match/package.json +0 -48
- package/plugin/node_modules/base64-js/LICENSE +0 -21
- package/plugin/node_modules/base64-js/README.md +0 -34
- package/plugin/node_modules/base64-js/base64js.min.js +0 -1
- package/plugin/node_modules/base64-js/index.d.ts +0 -3
- package/plugin/node_modules/base64-js/index.js +0 -150
- package/plugin/node_modules/base64-js/package.json +0 -47
- package/plugin/node_modules/big-integer/BigInteger.d.ts +0 -2393
- package/plugin/node_modules/big-integer/BigInteger.js +0 -1453
- package/plugin/node_modules/big-integer/BigInteger.min.js +0 -1
- package/plugin/node_modules/big-integer/LICENSE +0 -24
- package/plugin/node_modules/big-integer/README.md +0 -589
- package/plugin/node_modules/big-integer/bower.json +0 -29
- package/plugin/node_modules/big-integer/package.json +0 -48
- package/plugin/node_modules/big-integer/tsconfig.json +0 -24
- package/plugin/node_modules/bplist-creator/LICENSE +0 -18
- package/plugin/node_modules/bplist-creator/README.md +0 -64
- package/plugin/node_modules/bplist-creator/bplistCreator.js +0 -460
- package/plugin/node_modules/bplist-creator/package.json +0 -28
- package/plugin/node_modules/bplist-creator/test/airplay.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/binaryData.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/creatorTest.js +0 -211
- package/plugin/node_modules/bplist-creator/test/iTunes-small.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/integers.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/sample1.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/sample2.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/uid.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/utf16.bplist +0 -0
- package/plugin/node_modules/bplist-parser/.editorconfig +0 -12
- package/plugin/node_modules/bplist-parser/.eslintignore +0 -1
- package/plugin/node_modules/bplist-parser/.eslintrc.js +0 -295
- package/plugin/node_modules/bplist-parser/README.md +0 -48
- package/plugin/node_modules/bplist-parser/bplistParser.d.ts +0 -6
- package/plugin/node_modules/bplist-parser/bplistParser.js +0 -366
- package/plugin/node_modules/bplist-parser/package.json +0 -35
- package/plugin/node_modules/brace-expansion/LICENSE +0 -21
- package/plugin/node_modules/brace-expansion/README.md +0 -129
- package/plugin/node_modules/brace-expansion/index.js +0 -201
- package/plugin/node_modules/brace-expansion/package.json +0 -50
- package/plugin/node_modules/chalk/index.d.ts +0 -415
- package/plugin/node_modules/chalk/license +0 -9
- package/plugin/node_modules/chalk/package.json +0 -68
- package/plugin/node_modules/chalk/readme.md +0 -341
- package/plugin/node_modules/chalk/source/index.js +0 -229
- package/plugin/node_modules/chalk/source/templates.js +0 -134
- package/plugin/node_modules/chalk/source/util.js +0 -39
- package/plugin/node_modules/color-convert/CHANGELOG.md +0 -54
- package/plugin/node_modules/color-convert/LICENSE +0 -21
- package/plugin/node_modules/color-convert/README.md +0 -68
- package/plugin/node_modules/color-convert/conversions.js +0 -839
- package/plugin/node_modules/color-convert/index.js +0 -81
- package/plugin/node_modules/color-convert/package.json +0 -48
- package/plugin/node_modules/color-convert/route.js +0 -97
- package/plugin/node_modules/color-name/LICENSE +0 -8
- package/plugin/node_modules/color-name/README.md +0 -11
- package/plugin/node_modules/color-name/index.js +0 -152
- package/plugin/node_modules/color-name/package.json +0 -28
- package/plugin/node_modules/concat-map/.travis.yml +0 -4
- package/plugin/node_modules/concat-map/LICENSE +0 -18
- package/plugin/node_modules/concat-map/README.markdown +0 -62
- package/plugin/node_modules/concat-map/example/map.js +0 -6
- package/plugin/node_modules/concat-map/index.js +0 -13
- package/plugin/node_modules/concat-map/package.json +0 -43
- package/plugin/node_modules/concat-map/test/map.js +0 -39
- package/plugin/node_modules/debug/LICENSE +0 -20
- package/plugin/node_modules/debug/README.md +0 -481
- package/plugin/node_modules/debug/package.json +0 -64
- package/plugin/node_modules/debug/src/browser.js +0 -272
- package/plugin/node_modules/debug/src/common.js +0 -292
- package/plugin/node_modules/debug/src/index.js +0 -10
- package/plugin/node_modules/debug/src/node.js +0 -263
- package/plugin/node_modules/escape-string-regexp/index.js +0 -11
- package/plugin/node_modules/escape-string-regexp/license +0 -21
- package/plugin/node_modules/escape-string-regexp/package.json +0 -41
- package/plugin/node_modules/escape-string-regexp/readme.md +0 -27
- package/plugin/node_modules/find-up/index.d.ts +0 -138
- package/plugin/node_modules/find-up/index.js +0 -89
- package/plugin/node_modules/find-up/license +0 -9
- package/plugin/node_modules/find-up/package.json +0 -54
- package/plugin/node_modules/find-up/readme.md +0 -151
- package/plugin/node_modules/fs.realpath/LICENSE +0 -43
- package/plugin/node_modules/fs.realpath/README.md +0 -33
- package/plugin/node_modules/fs.realpath/index.js +0 -66
- package/plugin/node_modules/fs.realpath/old.js +0 -303
- package/plugin/node_modules/fs.realpath/package.json +0 -26
- package/plugin/node_modules/getenv/LICENSE.md +0 -20
- package/plugin/node_modules/getenv/README.md +0 -197
- package/plugin/node_modules/getenv/index.js +0 -150
- package/plugin/node_modules/getenv/package.json +0 -38
- package/plugin/node_modules/glob/LICENSE +0 -21
- package/plugin/node_modules/glob/README.md +0 -375
- package/plugin/node_modules/glob/changelog.md +0 -67
- package/plugin/node_modules/glob/common.js +0 -240
- package/plugin/node_modules/glob/glob.js +0 -790
- package/plugin/node_modules/glob/package.json +0 -46
- package/plugin/node_modules/glob/sync.js +0 -486
- package/plugin/node_modules/graceful-fs/LICENSE +0 -15
- package/plugin/node_modules/graceful-fs/README.md +0 -143
- package/plugin/node_modules/graceful-fs/clone.js +0 -23
- package/plugin/node_modules/graceful-fs/graceful-fs.js +0 -448
- package/plugin/node_modules/graceful-fs/legacy-streams.js +0 -118
- package/plugin/node_modules/graceful-fs/package.json +0 -53
- package/plugin/node_modules/graceful-fs/polyfills.js +0 -355
- package/plugin/node_modules/has-flag/index.d.ts +0 -39
- package/plugin/node_modules/has-flag/index.js +0 -8
- package/plugin/node_modules/has-flag/license +0 -9
- package/plugin/node_modules/has-flag/package.json +0 -46
- package/plugin/node_modules/has-flag/readme.md +0 -89
- package/plugin/node_modules/imurmurhash/README.md +0 -122
- package/plugin/node_modules/imurmurhash/imurmurhash.js +0 -138
- package/plugin/node_modules/imurmurhash/imurmurhash.min.js +0 -12
- package/plugin/node_modules/imurmurhash/package.json +0 -40
- package/plugin/node_modules/inflight/LICENSE +0 -15
- package/plugin/node_modules/inflight/README.md +0 -37
- package/plugin/node_modules/inflight/inflight.js +0 -54
- package/plugin/node_modules/inflight/package.json +0 -29
- package/plugin/node_modules/inherits/LICENSE +0 -16
- package/plugin/node_modules/inherits/README.md +0 -42
- package/plugin/node_modules/inherits/inherits.js +0 -9
- package/plugin/node_modules/inherits/inherits_browser.js +0 -27
- package/plugin/node_modules/inherits/package.json +0 -29
- package/plugin/node_modules/js-tokens/CHANGELOG.md +0 -151
- package/plugin/node_modules/js-tokens/LICENSE +0 -21
- package/plugin/node_modules/js-tokens/README.md +0 -240
- package/plugin/node_modules/js-tokens/index.js +0 -23
- package/plugin/node_modules/js-tokens/package.json +0 -30
- package/plugin/node_modules/json5/LICENSE.md +0 -23
- package/plugin/node_modules/json5/README.md +0 -282
- package/plugin/node_modules/json5/dist/index.js +0 -1737
- package/plugin/node_modules/json5/dist/index.min.js +0 -1
- package/plugin/node_modules/json5/dist/index.min.mjs +0 -1
- package/plugin/node_modules/json5/dist/index.mjs +0 -1426
- package/plugin/node_modules/json5/lib/cli.js +0 -152
- package/plugin/node_modules/json5/lib/index.d.ts +0 -4
- package/plugin/node_modules/json5/lib/index.js +0 -9
- package/plugin/node_modules/json5/lib/parse.d.ts +0 -15
- package/plugin/node_modules/json5/lib/parse.js +0 -1114
- package/plugin/node_modules/json5/lib/register.js +0 -13
- package/plugin/node_modules/json5/lib/require.js +0 -4
- package/plugin/node_modules/json5/lib/stringify.d.ts +0 -89
- package/plugin/node_modules/json5/lib/stringify.js +0 -261
- package/plugin/node_modules/json5/lib/unicode.d.ts +0 -3
- package/plugin/node_modules/json5/lib/unicode.js +0 -4
- package/plugin/node_modules/json5/lib/util.d.ts +0 -5
- package/plugin/node_modules/json5/lib/util.js +0 -35
- package/plugin/node_modules/json5/package.json +0 -72
- package/plugin/node_modules/locate-path/index.d.ts +0 -83
- package/plugin/node_modules/locate-path/index.js +0 -68
- package/plugin/node_modules/locate-path/license +0 -9
- package/plugin/node_modules/locate-path/package.json +0 -46
- package/plugin/node_modules/locate-path/readme.md +0 -125
- package/plugin/node_modules/minimatch/LICENSE +0 -15
- package/plugin/node_modules/minimatch/README.md +0 -230
- package/plugin/node_modules/minimatch/minimatch.js +0 -947
- package/plugin/node_modules/minimatch/package.json +0 -33
- package/plugin/node_modules/ms/index.js +0 -162
- package/plugin/node_modules/ms/license.md +0 -21
- package/plugin/node_modules/ms/package.json +0 -38
- package/plugin/node_modules/ms/readme.md +0 -59
- package/plugin/node_modules/once/LICENSE +0 -15
- package/plugin/node_modules/once/README.md +0 -79
- package/plugin/node_modules/once/once.js +0 -42
- package/plugin/node_modules/once/package.json +0 -33
- package/plugin/node_modules/p-limit/index.d.ts +0 -42
- package/plugin/node_modules/p-limit/index.js +0 -71
- package/plugin/node_modules/p-limit/license +0 -9
- package/plugin/node_modules/p-limit/package.json +0 -52
- package/plugin/node_modules/p-limit/readme.md +0 -101
- package/plugin/node_modules/p-locate/index.d.ts +0 -53
- package/plugin/node_modules/p-locate/index.js +0 -50
- package/plugin/node_modules/p-locate/license +0 -9
- package/plugin/node_modules/p-locate/package.json +0 -54
- package/plugin/node_modules/p-locate/readme.md +0 -93
- package/plugin/node_modules/path-exists/index.d.ts +0 -28
- package/plugin/node_modules/path-exists/index.js +0 -23
- package/plugin/node_modules/path-exists/license +0 -9
- package/plugin/node_modules/path-exists/package.json +0 -39
- package/plugin/node_modules/path-exists/readme.md +0 -52
- package/plugin/node_modules/path-is-absolute/index.js +0 -20
- package/plugin/node_modules/path-is-absolute/license +0 -21
- package/plugin/node_modules/path-is-absolute/package.json +0 -43
- package/plugin/node_modules/path-is-absolute/readme.md +0 -59
- package/plugin/node_modules/picocolors/LICENSE +0 -15
- package/plugin/node_modules/picocolors/README.md +0 -21
- package/plugin/node_modules/picocolors/package.json +0 -25
- package/plugin/node_modules/picocolors/picocolors.browser.js +0 -4
- package/plugin/node_modules/picocolors/picocolors.d.ts +0 -5
- package/plugin/node_modules/picocolors/picocolors.js +0 -75
- package/plugin/node_modules/picocolors/types.d.ts +0 -51
- package/plugin/node_modules/plist/.github/workflows/ci.yml +0 -24
- package/plugin/node_modules/plist/.jshintrc +0 -4
- package/plugin/node_modules/plist/History.md +0 -196
- package/plugin/node_modules/plist/LICENSE +0 -24
- package/plugin/node_modules/plist/Makefile +0 -75
- package/plugin/node_modules/plist/README.md +0 -146
- package/plugin/node_modules/plist/dist/plist-build.js +0 -5348
- package/plugin/node_modules/plist/dist/plist-parse.js +0 -7456
- package/plugin/node_modules/plist/dist/plist.js +0 -9888
- package/plugin/node_modules/plist/examples/browser/index.html +0 -14
- package/plugin/node_modules/plist/index.js +0 -13
- package/plugin/node_modules/plist/lib/build.js +0 -143
- package/plugin/node_modules/plist/lib/parse.js +0 -227
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/CHANGELOG.md +0 -459
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/LICENSE +0 -8
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/SECURITY.md +0 -50
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/index.d.ts +0 -43
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +0 -2
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/conventions.js +0 -203
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -322
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom.js +0 -1840
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/entities.js +0 -2166
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/index.js +0 -4
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/sax.js +0 -662
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/package.json +0 -71
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/readme.md +0 -356
- package/plugin/node_modules/plist/node_modules/xmlbuilder/.nycrc +0 -6
- package/plugin/node_modules/plist/node_modules/xmlbuilder/.vscode/launch.json +0 -23
- package/plugin/node_modules/plist/node_modules/xmlbuilder/CHANGELOG.md +0 -593
- package/plugin/node_modules/plist/node_modules/xmlbuilder/LICENSE +0 -21
- package/plugin/node_modules/plist/node_modules/xmlbuilder/README.md +0 -103
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Derivation.js +0 -10
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/NodeType.js +0 -25
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/OperationType.js +0 -11
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Utility.js +0 -88
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/WriterState.js +0 -10
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -130
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCData.js +0 -41
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -86
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLComment.js +0 -41
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -80
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -20
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -55
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -44
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -66
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -44
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -115
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -66
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -51
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocType.js +0 -235
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocument.js +0 -282
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -650
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -21
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDummy.js +0 -39
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLElement.js +0 -334
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -77
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNode.js +0 -999
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -51
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -45
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -56
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLRaw.js +0 -40
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -209
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -40
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -291
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLText.js +0 -82
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -23
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -27
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -485
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/index.js +0 -120
- package/plugin/node_modules/plist/node_modules/xmlbuilder/package.json +0 -51
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/escaping.coffee +0 -244
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/object.coffee +0 -21
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/index.coffee +0 -161
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/perf.list +0 -11
- package/plugin/node_modules/plist/node_modules/xmlbuilder/typings/index.d.ts +0 -1771
- package/plugin/node_modules/plist/package.json +0 -44
- package/plugin/node_modules/resolve-from/index.d.ts +0 -31
- package/plugin/node_modules/resolve-from/index.js +0 -47
- package/plugin/node_modules/resolve-from/license +0 -9
- package/plugin/node_modules/resolve-from/package.json +0 -36
- package/plugin/node_modules/resolve-from/readme.md +0 -72
- package/plugin/node_modules/sax/LICENSE +0 -41
- package/plugin/node_modules/sax/README.md +0 -228
- package/plugin/node_modules/sax/lib/sax.js +0 -1597
- package/plugin/node_modules/sax/package.json +0 -29
- package/plugin/node_modules/semver/LICENSE +0 -15
- package/plugin/node_modules/semver/README.md +0 -664
- package/plugin/node_modules/semver/bin/semver.js +0 -191
- package/plugin/node_modules/semver/classes/comparator.js +0 -143
- package/plugin/node_modules/semver/classes/index.js +0 -7
- package/plugin/node_modules/semver/classes/range.js +0 -556
- package/plugin/node_modules/semver/classes/semver.js +0 -319
- package/plugin/node_modules/semver/functions/clean.js +0 -8
- package/plugin/node_modules/semver/functions/cmp.js +0 -54
- package/plugin/node_modules/semver/functions/coerce.js +0 -62
- package/plugin/node_modules/semver/functions/compare-build.js +0 -9
- package/plugin/node_modules/semver/functions/compare-loose.js +0 -5
- package/plugin/node_modules/semver/functions/compare.js +0 -7
- package/plugin/node_modules/semver/functions/diff.js +0 -60
- package/plugin/node_modules/semver/functions/eq.js +0 -5
- package/plugin/node_modules/semver/functions/gt.js +0 -5
- package/plugin/node_modules/semver/functions/gte.js +0 -5
- package/plugin/node_modules/semver/functions/inc.js +0 -21
- package/plugin/node_modules/semver/functions/lt.js +0 -5
- package/plugin/node_modules/semver/functions/lte.js +0 -5
- package/plugin/node_modules/semver/functions/major.js +0 -5
- package/plugin/node_modules/semver/functions/minor.js +0 -5
- package/plugin/node_modules/semver/functions/neq.js +0 -5
- package/plugin/node_modules/semver/functions/parse.js +0 -18
- package/plugin/node_modules/semver/functions/patch.js +0 -5
- package/plugin/node_modules/semver/functions/prerelease.js +0 -8
- package/plugin/node_modules/semver/functions/rcompare.js +0 -5
- package/plugin/node_modules/semver/functions/rsort.js +0 -5
- package/plugin/node_modules/semver/functions/satisfies.js +0 -12
- package/plugin/node_modules/semver/functions/sort.js +0 -5
- package/plugin/node_modules/semver/functions/valid.js +0 -8
- package/plugin/node_modules/semver/index.js +0 -91
- package/plugin/node_modules/semver/internal/constants.js +0 -37
- package/plugin/node_modules/semver/internal/debug.js +0 -11
- package/plugin/node_modules/semver/internal/identifiers.js +0 -25
- package/plugin/node_modules/semver/internal/lrucache.js +0 -42
- package/plugin/node_modules/semver/internal/parse-options.js +0 -17
- package/plugin/node_modules/semver/internal/re.js +0 -223
- package/plugin/node_modules/semver/package.json +0 -78
- package/plugin/node_modules/semver/preload.js +0 -4
- package/plugin/node_modules/semver/range.bnf +0 -16
- package/plugin/node_modules/semver/ranges/gtr.js +0 -6
- package/plugin/node_modules/semver/ranges/intersects.js +0 -9
- package/plugin/node_modules/semver/ranges/ltr.js +0 -6
- package/plugin/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/plugin/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/plugin/node_modules/semver/ranges/min-version.js +0 -63
- package/plugin/node_modules/semver/ranges/outside.js +0 -82
- package/plugin/node_modules/semver/ranges/simplify.js +0 -49
- package/plugin/node_modules/semver/ranges/subset.js +0 -249
- package/plugin/node_modules/semver/ranges/to-comparators.js +0 -10
- package/plugin/node_modules/semver/ranges/valid.js +0 -13
- package/plugin/node_modules/signal-exit/LICENSE.txt +0 -16
- package/plugin/node_modules/signal-exit/README.md +0 -39
- package/plugin/node_modules/signal-exit/index.js +0 -202
- package/plugin/node_modules/signal-exit/package.json +0 -38
- package/plugin/node_modules/signal-exit/signals.js +0 -53
- package/plugin/node_modules/simple-plist/LICENSE +0 -20
- package/plugin/node_modules/simple-plist/README.md +0 -130
- package/plugin/node_modules/simple-plist/dist/index.d.ts +0 -24
- package/plugin/node_modules/simple-plist/dist/index.js +0 -41
- package/plugin/node_modules/simple-plist/dist/parse.d.ts +0 -8
- package/plugin/node_modules/simple-plist/dist/parse.js +0 -45
- package/plugin/node_modules/simple-plist/dist/readFile.d.ts +0 -4
- package/plugin/node_modules/simple-plist/dist/readFile.js +0 -36
- package/plugin/node_modules/simple-plist/dist/readFileSync.d.ts +0 -3
- package/plugin/node_modules/simple-plist/dist/readFileSync.js +0 -26
- package/plugin/node_modules/simple-plist/dist/stringify.d.ts +0 -2
- package/plugin/node_modules/simple-plist/dist/stringify.js +0 -21
- package/plugin/node_modules/simple-plist/dist/types.d.ts +0 -4
- package/plugin/node_modules/simple-plist/dist/types.js +0 -12
- package/plugin/node_modules/simple-plist/dist/writeBinaryFile.d.ts +0 -5
- package/plugin/node_modules/simple-plist/dist/writeBinaryFile.js +0 -30
- package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.d.ts +0 -4
- package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.js +0 -22
- package/plugin/node_modules/simple-plist/dist/writeFile.d.ts +0 -5
- package/plugin/node_modules/simple-plist/dist/writeFile.js +0 -30
- package/plugin/node_modules/simple-plist/dist/writeFileSync.d.ts +0 -4
- package/plugin/node_modules/simple-plist/dist/writeFileSync.js +0 -23
- package/plugin/node_modules/simple-plist/package.json +0 -53
- package/plugin/node_modules/slash/index.d.ts +0 -25
- package/plugin/node_modules/slash/index.js +0 -11
- package/plugin/node_modules/slash/license +0 -9
- package/plugin/node_modules/slash/package.json +0 -35
- package/plugin/node_modules/slash/readme.md +0 -44
- package/plugin/node_modules/slugify/CHANGELOG.md +0 -94
- package/plugin/node_modules/slugify/LICENSE +0 -21
- package/plugin/node_modules/slugify/README.md +0 -98
- package/plugin/node_modules/slugify/package.json +0 -42
- package/plugin/node_modules/slugify/slugify.d.ts +0 -24
- package/plugin/node_modules/slugify/slugify.js +0 -69
- package/plugin/node_modules/stream-buffers/.mailmap +0 -2
- package/plugin/node_modules/stream-buffers/.travis.yml +0 -28
- package/plugin/node_modules/stream-buffers/README.md +0 -157
- package/plugin/node_modules/stream-buffers/UNLICENSE +0 -24
- package/plugin/node_modules/stream-buffers/coverage/coverage.json +0 -1
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/base.css +0 -182
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/index.html +0 -73
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/constants.js.html +0 -63
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/index.html +0 -112
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/readable_streambuffer.js.html +0 -453
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/streambuffer.js.html +0 -54
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/writable_streambuffer.js.html +0 -336
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.css +0 -1
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.js +0 -1
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/sorter.js +0 -156
- package/plugin/node_modules/stream-buffers/coverage/lcov.info +0 -305
- package/plugin/node_modules/stream-buffers/lib/constants.js +0 -6
- package/plugin/node_modules/stream-buffers/lib/readable_streambuffer.js +0 -136
- package/plugin/node_modules/stream-buffers/lib/streambuffer.js +0 -3
- package/plugin/node_modules/stream-buffers/lib/writable_streambuffer.js +0 -97
- package/plugin/node_modules/stream-buffers/package.json +0 -28
- package/plugin/node_modules/supports-color/browser.js +0 -5
- package/plugin/node_modules/supports-color/index.js +0 -135
- package/plugin/node_modules/supports-color/license +0 -9
- package/plugin/node_modules/supports-color/package.json +0 -53
- package/plugin/node_modules/supports-color/readme.md +0 -76
- package/plugin/node_modules/typescript/LICENSE.txt +0 -55
- package/plugin/node_modules/typescript/README.md +0 -50
- package/plugin/node_modules/typescript/SECURITY.md +0 -41
- package/plugin/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
- package/plugin/node_modules/typescript/bin/tsc +0 -2
- package/plugin/node_modules/typescript/bin/tsserver +0 -2
- package/plugin/node_modules/typescript/lib/_tsc.js +0 -133792
- package/plugin/node_modules/typescript/lib/_tsserver.js +0 -659
- package/plugin/node_modules/typescript/lib/_typingsInstaller.js +0 -222
- package/plugin/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/lib.d.ts +0 -22
- package/plugin/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
- package/plugin/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
- package/plugin/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
- package/plugin/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
- package/plugin/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
- package/plugin/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
- package/plugin/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
- package/plugin/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
- package/plugin/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
- package/plugin/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
- package/plugin/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
- package/plugin/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
- package/plugin/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
- package/plugin/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
- package/plugin/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
- package/plugin/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
- package/plugin/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
- package/plugin/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
- package/plugin/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
- package/plugin/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
- package/plugin/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
- package/plugin/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
- package/plugin/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
- package/plugin/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
- package/plugin/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
- package/plugin/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
- package/plugin/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
- package/plugin/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
- package/plugin/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
- package/plugin/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
- package/plugin/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
- package/plugin/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
- package/plugin/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
- package/plugin/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
- package/plugin/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
- package/plugin/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
- package/plugin/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
- package/plugin/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
- package/plugin/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
- package/plugin/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
- package/plugin/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
- package/plugin/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
- package/plugin/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
- package/plugin/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
- package/plugin/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
- package/plugin/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
- package/plugin/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
- package/plugin/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
- package/plugin/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
- package/plugin/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
- package/plugin/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
- package/plugin/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
- package/plugin/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
- package/plugin/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
- package/plugin/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
- package/plugin/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
- package/plugin/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
- package/plugin/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
- package/plugin/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
- package/plugin/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
- package/plugin/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
- package/plugin/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
- package/plugin/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
- package/plugin/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
- package/plugin/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
- package/plugin/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
- package/plugin/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
- package/plugin/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
- package/plugin/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
- package/plugin/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
- package/plugin/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
- package/plugin/node_modules/typescript/lib/lib.es6.d.ts +0 -23
- package/plugin/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
- package/plugin/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
- package/plugin/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
- package/plugin/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
- package/plugin/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
- package/plugin/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -443
- package/plugin/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
- package/plugin/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
- package/plugin/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
- package/plugin/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
- package/plugin/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
- package/plugin/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
- package/plugin/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
- package/plugin/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
- package/plugin/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
- package/plugin/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/tsc.js +0 -8
- package/plugin/node_modules/typescript/lib/tsserver.js +0 -8
- package/plugin/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
- package/plugin/node_modules/typescript/lib/tsserverlibrary.js +0 -21
- package/plugin/node_modules/typescript/lib/typesMap.json +0 -497
- package/plugin/node_modules/typescript/lib/typescript.d.ts +0 -11438
- package/plugin/node_modules/typescript/lib/typescript.js +0 -200253
- package/plugin/node_modules/typescript/lib/typingsInstaller.js +0 -8
- package/plugin/node_modules/typescript/lib/watchGuard.js +0 -53
- package/plugin/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/package.json +0 -120
- package/plugin/node_modules/undici-types/LICENSE +0 -21
- package/plugin/node_modules/undici-types/README.md +0 -6
- package/plugin/node_modules/undici-types/agent.d.ts +0 -31
- package/plugin/node_modules/undici-types/api.d.ts +0 -43
- package/plugin/node_modules/undici-types/balanced-pool.d.ts +0 -29
- package/plugin/node_modules/undici-types/cache.d.ts +0 -36
- package/plugin/node_modules/undici-types/client.d.ts +0 -108
- package/plugin/node_modules/undici-types/connector.d.ts +0 -34
- package/plugin/node_modules/undici-types/content-type.d.ts +0 -21
- package/plugin/node_modules/undici-types/cookies.d.ts +0 -28
- package/plugin/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/plugin/node_modules/undici-types/dispatcher.d.ts +0 -256
- package/plugin/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/plugin/node_modules/undici-types/errors.d.ts +0 -149
- package/plugin/node_modules/undici-types/eventsource.d.ts +0 -61
- package/plugin/node_modules/undici-types/fetch.d.ts +0 -209
- package/plugin/node_modules/undici-types/file.d.ts +0 -39
- package/plugin/node_modules/undici-types/filereader.d.ts +0 -54
- package/plugin/node_modules/undici-types/formdata.d.ts +0 -108
- package/plugin/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/plugin/node_modules/undici-types/global-origin.d.ts +0 -7
- package/plugin/node_modules/undici-types/handlers.d.ts +0 -15
- package/plugin/node_modules/undici-types/header.d.ts +0 -4
- package/plugin/node_modules/undici-types/index.d.ts +0 -71
- package/plugin/node_modules/undici-types/interceptors.d.ts +0 -17
- package/plugin/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/plugin/node_modules/undici-types/mock-client.d.ts +0 -25
- package/plugin/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/plugin/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/plugin/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/plugin/node_modules/undici-types/package.json +0 -55
- package/plugin/node_modules/undici-types/patch.d.ts +0 -33
- package/plugin/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/plugin/node_modules/undici-types/pool.d.ts +0 -39
- package/plugin/node_modules/undici-types/proxy-agent.d.ts +0 -28
- package/plugin/node_modules/undici-types/readable.d.ts +0 -65
- package/plugin/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/plugin/node_modules/undici-types/retry-handler.d.ts +0 -116
- package/plugin/node_modules/undici-types/util.d.ts +0 -18
- package/plugin/node_modules/undici-types/webidl.d.ts +0 -228
- package/plugin/node_modules/undici-types/websocket.d.ts +0 -150
- package/plugin/node_modules/uuid/CHANGELOG.md +0 -156
- package/plugin/node_modules/uuid/CONTRIBUTING.md +0 -20
- package/plugin/node_modules/uuid/LICENSE.md +0 -21
- package/plugin/node_modules/uuid/README.md +0 -406
- package/plugin/node_modules/uuid/deprecate.js +0 -20
- package/plugin/node_modules/uuid/dist/bin/uuid +0 -2
- package/plugin/node_modules/uuid/dist/bytesToUuid.js +0 -27
- package/plugin/node_modules/uuid/dist/esm-browser/bytesToUuid.js +0 -18
- package/plugin/node_modules/uuid/dist/esm-browser/index.js +0 -4
- package/plugin/node_modules/uuid/dist/esm-browser/md5.js +0 -218
- package/plugin/node_modules/uuid/dist/esm-browser/rng.js +0 -15
- package/plugin/node_modules/uuid/dist/esm-browser/sha1.js +0 -91
- package/plugin/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/plugin/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/plugin/node_modules/uuid/dist/esm-browser/v35.js +0 -56
- package/plugin/node_modules/uuid/dist/esm-browser/v4.js +0 -27
- package/plugin/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/plugin/node_modules/uuid/dist/esm-node/bytesToUuid.js +0 -18
- package/plugin/node_modules/uuid/dist/esm-node/index.js +0 -4
- package/plugin/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/plugin/node_modules/uuid/dist/esm-node/rng.js +0 -4
- package/plugin/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/plugin/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/plugin/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/plugin/node_modules/uuid/dist/esm-node/v35.js +0 -56
- package/plugin/node_modules/uuid/dist/esm-node/v4.js +0 -27
- package/plugin/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/plugin/node_modules/uuid/dist/index.js +0 -39
- package/plugin/node_modules/uuid/dist/md5-browser.js +0 -225
- package/plugin/node_modules/uuid/dist/md5.js +0 -24
- package/plugin/node_modules/uuid/dist/rng-browser.js +0 -23
- package/plugin/node_modules/uuid/dist/rng.js +0 -16
- package/plugin/node_modules/uuid/dist/sha1-browser.js +0 -96
- package/plugin/node_modules/uuid/dist/sha1.js +0 -24
- package/plugin/node_modules/uuid/dist/umd/uuid.min.js +0 -1
- package/plugin/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
- package/plugin/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
- package/plugin/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
- package/plugin/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
- package/plugin/node_modules/uuid/dist/uuid-bin.js +0 -67
- package/plugin/node_modules/uuid/dist/v1.js +0 -108
- package/plugin/node_modules/uuid/dist/v3.js +0 -17
- package/plugin/node_modules/uuid/dist/v35.js +0 -69
- package/plugin/node_modules/uuid/dist/v4.js +0 -41
- package/plugin/node_modules/uuid/dist/v5.js +0 -17
- package/plugin/node_modules/uuid/package.json +0 -115
- package/plugin/node_modules/uuid/v1.js +0 -8
- package/plugin/node_modules/uuid/v3.js +0 -8
- package/plugin/node_modules/uuid/v4.js +0 -8
- package/plugin/node_modules/uuid/v5.js +0 -8
- package/plugin/node_modules/wrappy/LICENSE +0 -15
- package/plugin/node_modules/wrappy/README.md +0 -36
- package/plugin/node_modules/wrappy/package.json +0 -29
- package/plugin/node_modules/wrappy/wrappy.js +0 -33
- package/plugin/node_modules/write-file-atomic/CHANGELOG.md +0 -25
- package/plugin/node_modules/write-file-atomic/LICENSE +0 -6
- package/plugin/node_modules/write-file-atomic/README.md +0 -56
- package/plugin/node_modules/write-file-atomic/index.js +0 -238
- package/plugin/node_modules/write-file-atomic/package.json +0 -41
- package/plugin/node_modules/xcode/AUTHORS +0 -6
- package/plugin/node_modules/xcode/CONTRIBUTING.md +0 -37
- package/plugin/node_modules/xcode/LICENSE +0 -202
- package/plugin/node_modules/xcode/Makefile +0 -24
- package/plugin/node_modules/xcode/NOTICE +0 -5
- package/plugin/node_modules/xcode/README.md +0 -72
- package/plugin/node_modules/xcode/RELEASENOTES.md +0 -77
- package/plugin/node_modules/xcode/index.js +0 -18
- package/plugin/node_modules/xcode/lib/parseJob.js +0 -32
- package/plugin/node_modules/xcode/lib/parser/pbxproj.js +0 -1904
- package/plugin/node_modules/xcode/lib/parser/pbxproj.pegjs +0 -280
- package/plugin/node_modules/xcode/lib/pbxFile.js +0 -233
- package/plugin/node_modules/xcode/lib/pbxProject.js +0 -2201
- package/plugin/node_modules/xcode/lib/pbxWriter.js +0 -309
- package/plugin/node_modules/xcode/package.json +0 -61
- package/plugin/node_modules/xml2js/LICENSE +0 -19
- package/plugin/node_modules/xml2js/README.md +0 -507
- package/plugin/node_modules/xml2js/lib/bom.js +0 -12
- package/plugin/node_modules/xml2js/lib/builder.js +0 -127
- package/plugin/node_modules/xml2js/lib/defaults.js +0 -72
- package/plugin/node_modules/xml2js/lib/parser.js +0 -396
- package/plugin/node_modules/xml2js/lib/processors.js +0 -34
- package/plugin/node_modules/xml2js/lib/xml2js.js +0 -39
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/CHANGELOG.md +0 -470
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/LICENSE +0 -21
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/README.md +0 -86
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/appveyor.yml +0 -20
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Derivation.js +0 -10
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js +0 -23
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/OperationType.js +0 -11
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js +0 -83
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js +0 -10
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -108
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js +0 -36
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -79
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js +0 -36
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -64
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -16
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -32
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -28
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -55
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -38
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -97
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -52
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -43
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js +0 -186
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js +0 -242
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -528
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -24
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js +0 -31
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js +0 -298
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -58
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js +0 -785
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -48
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -28
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -49
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js +0 -35
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -176
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -35
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -240
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js +0 -69
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -21
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -16
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -428
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/index.js +0 -65
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/package.json +0 -39
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/typings/index.d.ts +0 -153
- package/plugin/node_modules/xml2js/package.json +0 -93
- package/plugin/node_modules/xmlbuilder/.nycrc +0 -6
- package/plugin/node_modules/xmlbuilder/CHANGELOG.md +0 -568
- package/plugin/node_modules/xmlbuilder/LICENSE +0 -21
- package/plugin/node_modules/xmlbuilder/README.md +0 -103
- package/plugin/node_modules/xmlbuilder/lib/Derivation.js +0 -10
- package/plugin/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
- package/plugin/node_modules/xmlbuilder/lib/NodeType.js +0 -25
- package/plugin/node_modules/xmlbuilder/lib/OperationType.js +0 -11
- package/plugin/node_modules/xmlbuilder/lib/Utility.js +0 -88
- package/plugin/node_modules/xmlbuilder/lib/WriterState.js +0 -10
- package/plugin/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -130
- package/plugin/node_modules/xmlbuilder/lib/XMLCData.js +0 -41
- package/plugin/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -86
- package/plugin/node_modules/xmlbuilder/lib/XMLComment.js +0 -41
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -80
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -20
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -55
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -44
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -66
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -44
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -115
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -66
- package/plugin/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -51
- package/plugin/node_modules/xmlbuilder/lib/XMLDocType.js +0 -235
- package/plugin/node_modules/xmlbuilder/lib/XMLDocument.js +0 -282
- package/plugin/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -650
- package/plugin/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -21
- package/plugin/node_modules/xmlbuilder/lib/XMLDummy.js +0 -39
- package/plugin/node_modules/xmlbuilder/lib/XMLElement.js +0 -334
- package/plugin/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -77
- package/plugin/node_modules/xmlbuilder/lib/XMLNode.js +0 -999
- package/plugin/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -51
- package/plugin/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -45
- package/plugin/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -56
- package/plugin/node_modules/xmlbuilder/lib/XMLRaw.js +0 -40
- package/plugin/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -209
- package/plugin/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -40
- package/plugin/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -287
- package/plugin/node_modules/xmlbuilder/lib/XMLText.js +0 -82
- package/plugin/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -23
- package/plugin/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -27
- package/plugin/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -485
- package/plugin/node_modules/xmlbuilder/lib/index.js +0 -120
- package/plugin/node_modules/xmlbuilder/package.json +0 -51
- package/plugin/node_modules/xmlbuilder/perf/basic/escaping.coffee +0 -244
- package/plugin/node_modules/xmlbuilder/perf/basic/object.coffee +0 -21
- package/plugin/node_modules/xmlbuilder/perf/index.coffee +0 -161
- package/plugin/node_modules/xmlbuilder/perf/perf.list +0 -11
- package/plugin/node_modules/xmlbuilder/typings/index.d.ts +0 -1761
- package/plugin/node_modules/yocto-queue/index.d.ts +0 -56
- package/plugin/node_modules/yocto-queue/index.js +0 -68
- package/plugin/node_modules/yocto-queue/license +0 -9
- package/plugin/node_modules/yocto-queue/package.json +0 -43
- package/plugin/node_modules/yocto-queue/readme.md +0 -64
|
@@ -1,1597 +0,0 @@
|
|
|
1
|
-
;(function (sax) { // wrapper for non-node envs
|
|
2
|
-
sax.parser = function (strict, opt) { return new SAXParser(strict, opt) }
|
|
3
|
-
sax.SAXParser = SAXParser
|
|
4
|
-
sax.SAXStream = SAXStream
|
|
5
|
-
sax.createStream = createStream
|
|
6
|
-
|
|
7
|
-
// When we pass the MAX_BUFFER_LENGTH position, start checking for buffer overruns.
|
|
8
|
-
// When we check, schedule the next check for MAX_BUFFER_LENGTH - (max(buffer lengths)),
|
|
9
|
-
// since that's the earliest that a buffer overrun could occur. This way, checks are
|
|
10
|
-
// as rare as required, but as often as necessary to ensure never crossing this bound.
|
|
11
|
-
// Furthermore, buffers are only tested at most once per write(), so passing a very
|
|
12
|
-
// large string into write() might have undesirable effects, but this is manageable by
|
|
13
|
-
// the caller, so it is assumed to be safe. Thus, a call to write() may, in the extreme
|
|
14
|
-
// edge case, result in creating at most one complete copy of the string passed in.
|
|
15
|
-
// Set to Infinity to have unlimited buffers.
|
|
16
|
-
sax.MAX_BUFFER_LENGTH = 64 * 1024
|
|
17
|
-
|
|
18
|
-
var buffers = [
|
|
19
|
-
'comment', 'sgmlDecl', 'textNode', 'tagName', 'doctype',
|
|
20
|
-
'procInstName', 'procInstBody', 'entity', 'attribName',
|
|
21
|
-
'attribValue', 'cdata', 'script'
|
|
22
|
-
]
|
|
23
|
-
|
|
24
|
-
sax.EVENTS = [
|
|
25
|
-
'text',
|
|
26
|
-
'processinginstruction',
|
|
27
|
-
'sgmldeclaration',
|
|
28
|
-
'doctype',
|
|
29
|
-
'comment',
|
|
30
|
-
'opentagstart',
|
|
31
|
-
'attribute',
|
|
32
|
-
'opentag',
|
|
33
|
-
'closetag',
|
|
34
|
-
'opencdata',
|
|
35
|
-
'cdata',
|
|
36
|
-
'closecdata',
|
|
37
|
-
'error',
|
|
38
|
-
'end',
|
|
39
|
-
'ready',
|
|
40
|
-
'script',
|
|
41
|
-
'opennamespace',
|
|
42
|
-
'closenamespace'
|
|
43
|
-
]
|
|
44
|
-
|
|
45
|
-
function SAXParser (strict, opt) {
|
|
46
|
-
if (!(this instanceof SAXParser)) {
|
|
47
|
-
return new SAXParser(strict, opt)
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
var parser = this
|
|
51
|
-
clearBuffers(parser)
|
|
52
|
-
parser.q = parser.c = ''
|
|
53
|
-
parser.bufferCheckPosition = sax.MAX_BUFFER_LENGTH
|
|
54
|
-
parser.opt = opt || {}
|
|
55
|
-
parser.opt.lowercase = parser.opt.lowercase || parser.opt.lowercasetags
|
|
56
|
-
parser.looseCase = parser.opt.lowercase ? 'toLowerCase' : 'toUpperCase'
|
|
57
|
-
parser.tags = []
|
|
58
|
-
parser.closed = parser.closedRoot = parser.sawRoot = false
|
|
59
|
-
parser.tag = parser.error = null
|
|
60
|
-
parser.strict = !!strict
|
|
61
|
-
parser.noscript = !!(strict || parser.opt.noscript)
|
|
62
|
-
parser.state = S.BEGIN
|
|
63
|
-
parser.strictEntities = parser.opt.strictEntities
|
|
64
|
-
parser.ENTITIES = parser.strictEntities ? Object.create(sax.XML_ENTITIES) : Object.create(sax.ENTITIES)
|
|
65
|
-
parser.attribList = []
|
|
66
|
-
|
|
67
|
-
// namespaces form a prototype chain.
|
|
68
|
-
// it always points at the current tag,
|
|
69
|
-
// which protos to its parent tag.
|
|
70
|
-
if (parser.opt.xmlns) {
|
|
71
|
-
parser.ns = Object.create(rootNS)
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// disallow unquoted attribute values if not otherwise configured
|
|
75
|
-
// and strict mode is true
|
|
76
|
-
if (parser.opt.unquotedAttributeValues === undefined) {
|
|
77
|
-
parser.opt.unquotedAttributeValues = !strict;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
// mostly just for error reporting
|
|
81
|
-
parser.trackPosition = parser.opt.position !== false
|
|
82
|
-
if (parser.trackPosition) {
|
|
83
|
-
parser.position = parser.line = parser.column = 0
|
|
84
|
-
}
|
|
85
|
-
emit(parser, 'onready')
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
if (!Object.create) {
|
|
89
|
-
Object.create = function (o) {
|
|
90
|
-
function F () {}
|
|
91
|
-
F.prototype = o
|
|
92
|
-
var newf = new F()
|
|
93
|
-
return newf
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
if (!Object.keys) {
|
|
98
|
-
Object.keys = function (o) {
|
|
99
|
-
var a = []
|
|
100
|
-
for (var i in o) if (o.hasOwnProperty(i)) a.push(i)
|
|
101
|
-
return a
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
function checkBufferLength (parser) {
|
|
106
|
-
var maxAllowed = Math.max(sax.MAX_BUFFER_LENGTH, 10)
|
|
107
|
-
var maxActual = 0
|
|
108
|
-
for (var i = 0, l = buffers.length; i < l; i++) {
|
|
109
|
-
var len = parser[buffers[i]].length
|
|
110
|
-
if (len > maxAllowed) {
|
|
111
|
-
// Text/cdata nodes can get big, and since they're buffered,
|
|
112
|
-
// we can get here under normal conditions.
|
|
113
|
-
// Avoid issues by emitting the text node now,
|
|
114
|
-
// so at least it won't get any bigger.
|
|
115
|
-
switch (buffers[i]) {
|
|
116
|
-
case 'textNode':
|
|
117
|
-
closeText(parser)
|
|
118
|
-
break
|
|
119
|
-
|
|
120
|
-
case 'cdata':
|
|
121
|
-
emitNode(parser, 'oncdata', parser.cdata)
|
|
122
|
-
parser.cdata = ''
|
|
123
|
-
break
|
|
124
|
-
|
|
125
|
-
case 'script':
|
|
126
|
-
emitNode(parser, 'onscript', parser.script)
|
|
127
|
-
parser.script = ''
|
|
128
|
-
break
|
|
129
|
-
|
|
130
|
-
default:
|
|
131
|
-
error(parser, 'Max buffer length exceeded: ' + buffers[i])
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
maxActual = Math.max(maxActual, len)
|
|
135
|
-
}
|
|
136
|
-
// schedule the next check for the earliest possible buffer overrun.
|
|
137
|
-
var m = sax.MAX_BUFFER_LENGTH - maxActual
|
|
138
|
-
parser.bufferCheckPosition = m + parser.position
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
function clearBuffers (parser) {
|
|
142
|
-
for (var i = 0, l = buffers.length; i < l; i++) {
|
|
143
|
-
parser[buffers[i]] = ''
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
function flushBuffers (parser) {
|
|
148
|
-
closeText(parser)
|
|
149
|
-
if (parser.cdata !== '') {
|
|
150
|
-
emitNode(parser, 'oncdata', parser.cdata)
|
|
151
|
-
parser.cdata = ''
|
|
152
|
-
}
|
|
153
|
-
if (parser.script !== '') {
|
|
154
|
-
emitNode(parser, 'onscript', parser.script)
|
|
155
|
-
parser.script = ''
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
SAXParser.prototype = {
|
|
160
|
-
end: function () { end(this) },
|
|
161
|
-
write: write,
|
|
162
|
-
resume: function () { this.error = null; return this },
|
|
163
|
-
close: function () { return this.write(null) },
|
|
164
|
-
flush: function () { flushBuffers(this) }
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
var Stream
|
|
168
|
-
try {
|
|
169
|
-
Stream = require('stream').Stream
|
|
170
|
-
} catch (ex) {
|
|
171
|
-
Stream = function () {}
|
|
172
|
-
}
|
|
173
|
-
if (!Stream) Stream = function () {}
|
|
174
|
-
|
|
175
|
-
var streamWraps = sax.EVENTS.filter(function (ev) {
|
|
176
|
-
return ev !== 'error' && ev !== 'end'
|
|
177
|
-
})
|
|
178
|
-
|
|
179
|
-
function createStream (strict, opt) {
|
|
180
|
-
return new SAXStream(strict, opt)
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
function SAXStream (strict, opt) {
|
|
184
|
-
if (!(this instanceof SAXStream)) {
|
|
185
|
-
return new SAXStream(strict, opt)
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
Stream.apply(this)
|
|
189
|
-
|
|
190
|
-
this._parser = new SAXParser(strict, opt)
|
|
191
|
-
this.writable = true
|
|
192
|
-
this.readable = true
|
|
193
|
-
|
|
194
|
-
var me = this
|
|
195
|
-
|
|
196
|
-
this._parser.onend = function () {
|
|
197
|
-
me.emit('end')
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
this._parser.onerror = function (er) {
|
|
201
|
-
me.emit('error', er)
|
|
202
|
-
|
|
203
|
-
// if didn't throw, then means error was handled.
|
|
204
|
-
// go ahead and clear error, so we can write again.
|
|
205
|
-
me._parser.error = null
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
this._decoder = null
|
|
209
|
-
|
|
210
|
-
streamWraps.forEach(function (ev) {
|
|
211
|
-
Object.defineProperty(me, 'on' + ev, {
|
|
212
|
-
get: function () {
|
|
213
|
-
return me._parser['on' + ev]
|
|
214
|
-
},
|
|
215
|
-
set: function (h) {
|
|
216
|
-
if (!h) {
|
|
217
|
-
me.removeAllListeners(ev)
|
|
218
|
-
me._parser['on' + ev] = h
|
|
219
|
-
return h
|
|
220
|
-
}
|
|
221
|
-
me.on(ev, h)
|
|
222
|
-
},
|
|
223
|
-
enumerable: true,
|
|
224
|
-
configurable: false
|
|
225
|
-
})
|
|
226
|
-
})
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
SAXStream.prototype = Object.create(Stream.prototype, {
|
|
230
|
-
constructor: {
|
|
231
|
-
value: SAXStream
|
|
232
|
-
}
|
|
233
|
-
})
|
|
234
|
-
|
|
235
|
-
SAXStream.prototype.write = function (data) {
|
|
236
|
-
if (typeof Buffer === 'function' &&
|
|
237
|
-
typeof Buffer.isBuffer === 'function' &&
|
|
238
|
-
Buffer.isBuffer(data)) {
|
|
239
|
-
if (!this._decoder) {
|
|
240
|
-
var SD = require('string_decoder').StringDecoder
|
|
241
|
-
this._decoder = new SD('utf8')
|
|
242
|
-
}
|
|
243
|
-
data = this._decoder.write(data)
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
this._parser.write(data.toString())
|
|
247
|
-
this.emit('data', data)
|
|
248
|
-
return true
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
SAXStream.prototype.end = function (chunk) {
|
|
252
|
-
if (chunk && chunk.length) {
|
|
253
|
-
this.write(chunk)
|
|
254
|
-
}
|
|
255
|
-
this._parser.end()
|
|
256
|
-
return true
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
SAXStream.prototype.on = function (ev, handler) {
|
|
260
|
-
var me = this
|
|
261
|
-
if (!me._parser['on' + ev] && streamWraps.indexOf(ev) !== -1) {
|
|
262
|
-
me._parser['on' + ev] = function () {
|
|
263
|
-
var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments)
|
|
264
|
-
args.splice(0, 0, ev)
|
|
265
|
-
me.emit.apply(me, args)
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
return Stream.prototype.on.call(me, ev, handler)
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
// this really needs to be replaced with character classes.
|
|
273
|
-
// XML allows all manner of ridiculous numbers and digits.
|
|
274
|
-
var CDATA = '[CDATA['
|
|
275
|
-
var DOCTYPE = 'DOCTYPE'
|
|
276
|
-
var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace'
|
|
277
|
-
var XMLNS_NAMESPACE = 'http://www.w3.org/2000/xmlns/'
|
|
278
|
-
var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE }
|
|
279
|
-
|
|
280
|
-
// http://www.w3.org/TR/REC-xml/#NT-NameStartChar
|
|
281
|
-
// This implementation works on strings, a single character at a time
|
|
282
|
-
// as such, it cannot ever support astral-plane characters (10000-EFFFF)
|
|
283
|
-
// without a significant breaking change to either this parser, or the
|
|
284
|
-
// JavaScript language. Implementation of an emoji-capable xml parser
|
|
285
|
-
// is left as an exercise for the reader.
|
|
286
|
-
var nameStart = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/
|
|
287
|
-
|
|
288
|
-
var nameBody = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/
|
|
289
|
-
|
|
290
|
-
var entityStart = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/
|
|
291
|
-
var entityBody = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/
|
|
292
|
-
|
|
293
|
-
function isWhitespace (c) {
|
|
294
|
-
return c === ' ' || c === '\n' || c === '\r' || c === '\t'
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
function isQuote (c) {
|
|
298
|
-
return c === '"' || c === '\''
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
function isAttribEnd (c) {
|
|
302
|
-
return c === '>' || isWhitespace(c)
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
function isMatch (regex, c) {
|
|
306
|
-
return regex.test(c)
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
function notMatch (regex, c) {
|
|
310
|
-
return !isMatch(regex, c)
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
var S = 0
|
|
314
|
-
sax.STATE = {
|
|
315
|
-
BEGIN: S++, // leading byte order mark or whitespace
|
|
316
|
-
BEGIN_WHITESPACE: S++, // leading whitespace
|
|
317
|
-
TEXT: S++, // general stuff
|
|
318
|
-
TEXT_ENTITY: S++, // & and such.
|
|
319
|
-
OPEN_WAKA: S++, // <
|
|
320
|
-
SGML_DECL: S++, // <!BLARG
|
|
321
|
-
SGML_DECL_QUOTED: S++, // <!BLARG foo "bar
|
|
322
|
-
DOCTYPE: S++, // <!DOCTYPE
|
|
323
|
-
DOCTYPE_QUOTED: S++, // <!DOCTYPE "//blah
|
|
324
|
-
DOCTYPE_DTD: S++, // <!DOCTYPE "//blah" [ ...
|
|
325
|
-
DOCTYPE_DTD_QUOTED: S++, // <!DOCTYPE "//blah" [ "foo
|
|
326
|
-
COMMENT_STARTING: S++, // <!-
|
|
327
|
-
COMMENT: S++, // <!--
|
|
328
|
-
COMMENT_ENDING: S++, // <!-- blah -
|
|
329
|
-
COMMENT_ENDED: S++, // <!-- blah --
|
|
330
|
-
CDATA: S++, // <![CDATA[ something
|
|
331
|
-
CDATA_ENDING: S++, // ]
|
|
332
|
-
CDATA_ENDING_2: S++, // ]]
|
|
333
|
-
PROC_INST: S++, // <?hi
|
|
334
|
-
PROC_INST_BODY: S++, // <?hi there
|
|
335
|
-
PROC_INST_ENDING: S++, // <?hi "there" ?
|
|
336
|
-
OPEN_TAG: S++, // <strong
|
|
337
|
-
OPEN_TAG_SLASH: S++, // <strong /
|
|
338
|
-
ATTRIB: S++, // <a
|
|
339
|
-
ATTRIB_NAME: S++, // <a foo
|
|
340
|
-
ATTRIB_NAME_SAW_WHITE: S++, // <a foo _
|
|
341
|
-
ATTRIB_VALUE: S++, // <a foo=
|
|
342
|
-
ATTRIB_VALUE_QUOTED: S++, // <a foo="bar
|
|
343
|
-
ATTRIB_VALUE_CLOSED: S++, // <a foo="bar"
|
|
344
|
-
ATTRIB_VALUE_UNQUOTED: S++, // <a foo=bar
|
|
345
|
-
ATTRIB_VALUE_ENTITY_Q: S++, // <foo bar="""
|
|
346
|
-
ATTRIB_VALUE_ENTITY_U: S++, // <foo bar="
|
|
347
|
-
CLOSE_TAG: S++, // </a
|
|
348
|
-
CLOSE_TAG_SAW_WHITE: S++, // </a >
|
|
349
|
-
SCRIPT: S++, // <script> ...
|
|
350
|
-
SCRIPT_ENDING: S++ // <script> ... <
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
sax.XML_ENTITIES = {
|
|
354
|
-
'amp': '&',
|
|
355
|
-
'gt': '>',
|
|
356
|
-
'lt': '<',
|
|
357
|
-
'quot': '"',
|
|
358
|
-
'apos': "'"
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
sax.ENTITIES = {
|
|
362
|
-
'amp': '&',
|
|
363
|
-
'gt': '>',
|
|
364
|
-
'lt': '<',
|
|
365
|
-
'quot': '"',
|
|
366
|
-
'apos': "'",
|
|
367
|
-
'AElig': 198,
|
|
368
|
-
'Aacute': 193,
|
|
369
|
-
'Acirc': 194,
|
|
370
|
-
'Agrave': 192,
|
|
371
|
-
'Aring': 197,
|
|
372
|
-
'Atilde': 195,
|
|
373
|
-
'Auml': 196,
|
|
374
|
-
'Ccedil': 199,
|
|
375
|
-
'ETH': 208,
|
|
376
|
-
'Eacute': 201,
|
|
377
|
-
'Ecirc': 202,
|
|
378
|
-
'Egrave': 200,
|
|
379
|
-
'Euml': 203,
|
|
380
|
-
'Iacute': 205,
|
|
381
|
-
'Icirc': 206,
|
|
382
|
-
'Igrave': 204,
|
|
383
|
-
'Iuml': 207,
|
|
384
|
-
'Ntilde': 209,
|
|
385
|
-
'Oacute': 211,
|
|
386
|
-
'Ocirc': 212,
|
|
387
|
-
'Ograve': 210,
|
|
388
|
-
'Oslash': 216,
|
|
389
|
-
'Otilde': 213,
|
|
390
|
-
'Ouml': 214,
|
|
391
|
-
'THORN': 222,
|
|
392
|
-
'Uacute': 218,
|
|
393
|
-
'Ucirc': 219,
|
|
394
|
-
'Ugrave': 217,
|
|
395
|
-
'Uuml': 220,
|
|
396
|
-
'Yacute': 221,
|
|
397
|
-
'aacute': 225,
|
|
398
|
-
'acirc': 226,
|
|
399
|
-
'aelig': 230,
|
|
400
|
-
'agrave': 224,
|
|
401
|
-
'aring': 229,
|
|
402
|
-
'atilde': 227,
|
|
403
|
-
'auml': 228,
|
|
404
|
-
'ccedil': 231,
|
|
405
|
-
'eacute': 233,
|
|
406
|
-
'ecirc': 234,
|
|
407
|
-
'egrave': 232,
|
|
408
|
-
'eth': 240,
|
|
409
|
-
'euml': 235,
|
|
410
|
-
'iacute': 237,
|
|
411
|
-
'icirc': 238,
|
|
412
|
-
'igrave': 236,
|
|
413
|
-
'iuml': 239,
|
|
414
|
-
'ntilde': 241,
|
|
415
|
-
'oacute': 243,
|
|
416
|
-
'ocirc': 244,
|
|
417
|
-
'ograve': 242,
|
|
418
|
-
'oslash': 248,
|
|
419
|
-
'otilde': 245,
|
|
420
|
-
'ouml': 246,
|
|
421
|
-
'szlig': 223,
|
|
422
|
-
'thorn': 254,
|
|
423
|
-
'uacute': 250,
|
|
424
|
-
'ucirc': 251,
|
|
425
|
-
'ugrave': 249,
|
|
426
|
-
'uuml': 252,
|
|
427
|
-
'yacute': 253,
|
|
428
|
-
'yuml': 255,
|
|
429
|
-
'copy': 169,
|
|
430
|
-
'reg': 174,
|
|
431
|
-
'nbsp': 160,
|
|
432
|
-
'iexcl': 161,
|
|
433
|
-
'cent': 162,
|
|
434
|
-
'pound': 163,
|
|
435
|
-
'curren': 164,
|
|
436
|
-
'yen': 165,
|
|
437
|
-
'brvbar': 166,
|
|
438
|
-
'sect': 167,
|
|
439
|
-
'uml': 168,
|
|
440
|
-
'ordf': 170,
|
|
441
|
-
'laquo': 171,
|
|
442
|
-
'not': 172,
|
|
443
|
-
'shy': 173,
|
|
444
|
-
'macr': 175,
|
|
445
|
-
'deg': 176,
|
|
446
|
-
'plusmn': 177,
|
|
447
|
-
'sup1': 185,
|
|
448
|
-
'sup2': 178,
|
|
449
|
-
'sup3': 179,
|
|
450
|
-
'acute': 180,
|
|
451
|
-
'micro': 181,
|
|
452
|
-
'para': 182,
|
|
453
|
-
'middot': 183,
|
|
454
|
-
'cedil': 184,
|
|
455
|
-
'ordm': 186,
|
|
456
|
-
'raquo': 187,
|
|
457
|
-
'frac14': 188,
|
|
458
|
-
'frac12': 189,
|
|
459
|
-
'frac34': 190,
|
|
460
|
-
'iquest': 191,
|
|
461
|
-
'times': 215,
|
|
462
|
-
'divide': 247,
|
|
463
|
-
'OElig': 338,
|
|
464
|
-
'oelig': 339,
|
|
465
|
-
'Scaron': 352,
|
|
466
|
-
'scaron': 353,
|
|
467
|
-
'Yuml': 376,
|
|
468
|
-
'fnof': 402,
|
|
469
|
-
'circ': 710,
|
|
470
|
-
'tilde': 732,
|
|
471
|
-
'Alpha': 913,
|
|
472
|
-
'Beta': 914,
|
|
473
|
-
'Gamma': 915,
|
|
474
|
-
'Delta': 916,
|
|
475
|
-
'Epsilon': 917,
|
|
476
|
-
'Zeta': 918,
|
|
477
|
-
'Eta': 919,
|
|
478
|
-
'Theta': 920,
|
|
479
|
-
'Iota': 921,
|
|
480
|
-
'Kappa': 922,
|
|
481
|
-
'Lambda': 923,
|
|
482
|
-
'Mu': 924,
|
|
483
|
-
'Nu': 925,
|
|
484
|
-
'Xi': 926,
|
|
485
|
-
'Omicron': 927,
|
|
486
|
-
'Pi': 928,
|
|
487
|
-
'Rho': 929,
|
|
488
|
-
'Sigma': 931,
|
|
489
|
-
'Tau': 932,
|
|
490
|
-
'Upsilon': 933,
|
|
491
|
-
'Phi': 934,
|
|
492
|
-
'Chi': 935,
|
|
493
|
-
'Psi': 936,
|
|
494
|
-
'Omega': 937,
|
|
495
|
-
'alpha': 945,
|
|
496
|
-
'beta': 946,
|
|
497
|
-
'gamma': 947,
|
|
498
|
-
'delta': 948,
|
|
499
|
-
'epsilon': 949,
|
|
500
|
-
'zeta': 950,
|
|
501
|
-
'eta': 951,
|
|
502
|
-
'theta': 952,
|
|
503
|
-
'iota': 953,
|
|
504
|
-
'kappa': 954,
|
|
505
|
-
'lambda': 955,
|
|
506
|
-
'mu': 956,
|
|
507
|
-
'nu': 957,
|
|
508
|
-
'xi': 958,
|
|
509
|
-
'omicron': 959,
|
|
510
|
-
'pi': 960,
|
|
511
|
-
'rho': 961,
|
|
512
|
-
'sigmaf': 962,
|
|
513
|
-
'sigma': 963,
|
|
514
|
-
'tau': 964,
|
|
515
|
-
'upsilon': 965,
|
|
516
|
-
'phi': 966,
|
|
517
|
-
'chi': 967,
|
|
518
|
-
'psi': 968,
|
|
519
|
-
'omega': 969,
|
|
520
|
-
'thetasym': 977,
|
|
521
|
-
'upsih': 978,
|
|
522
|
-
'piv': 982,
|
|
523
|
-
'ensp': 8194,
|
|
524
|
-
'emsp': 8195,
|
|
525
|
-
'thinsp': 8201,
|
|
526
|
-
'zwnj': 8204,
|
|
527
|
-
'zwj': 8205,
|
|
528
|
-
'lrm': 8206,
|
|
529
|
-
'rlm': 8207,
|
|
530
|
-
'ndash': 8211,
|
|
531
|
-
'mdash': 8212,
|
|
532
|
-
'lsquo': 8216,
|
|
533
|
-
'rsquo': 8217,
|
|
534
|
-
'sbquo': 8218,
|
|
535
|
-
'ldquo': 8220,
|
|
536
|
-
'rdquo': 8221,
|
|
537
|
-
'bdquo': 8222,
|
|
538
|
-
'dagger': 8224,
|
|
539
|
-
'Dagger': 8225,
|
|
540
|
-
'bull': 8226,
|
|
541
|
-
'hellip': 8230,
|
|
542
|
-
'permil': 8240,
|
|
543
|
-
'prime': 8242,
|
|
544
|
-
'Prime': 8243,
|
|
545
|
-
'lsaquo': 8249,
|
|
546
|
-
'rsaquo': 8250,
|
|
547
|
-
'oline': 8254,
|
|
548
|
-
'frasl': 8260,
|
|
549
|
-
'euro': 8364,
|
|
550
|
-
'image': 8465,
|
|
551
|
-
'weierp': 8472,
|
|
552
|
-
'real': 8476,
|
|
553
|
-
'trade': 8482,
|
|
554
|
-
'alefsym': 8501,
|
|
555
|
-
'larr': 8592,
|
|
556
|
-
'uarr': 8593,
|
|
557
|
-
'rarr': 8594,
|
|
558
|
-
'darr': 8595,
|
|
559
|
-
'harr': 8596,
|
|
560
|
-
'crarr': 8629,
|
|
561
|
-
'lArr': 8656,
|
|
562
|
-
'uArr': 8657,
|
|
563
|
-
'rArr': 8658,
|
|
564
|
-
'dArr': 8659,
|
|
565
|
-
'hArr': 8660,
|
|
566
|
-
'forall': 8704,
|
|
567
|
-
'part': 8706,
|
|
568
|
-
'exist': 8707,
|
|
569
|
-
'empty': 8709,
|
|
570
|
-
'nabla': 8711,
|
|
571
|
-
'isin': 8712,
|
|
572
|
-
'notin': 8713,
|
|
573
|
-
'ni': 8715,
|
|
574
|
-
'prod': 8719,
|
|
575
|
-
'sum': 8721,
|
|
576
|
-
'minus': 8722,
|
|
577
|
-
'lowast': 8727,
|
|
578
|
-
'radic': 8730,
|
|
579
|
-
'prop': 8733,
|
|
580
|
-
'infin': 8734,
|
|
581
|
-
'ang': 8736,
|
|
582
|
-
'and': 8743,
|
|
583
|
-
'or': 8744,
|
|
584
|
-
'cap': 8745,
|
|
585
|
-
'cup': 8746,
|
|
586
|
-
'int': 8747,
|
|
587
|
-
'there4': 8756,
|
|
588
|
-
'sim': 8764,
|
|
589
|
-
'cong': 8773,
|
|
590
|
-
'asymp': 8776,
|
|
591
|
-
'ne': 8800,
|
|
592
|
-
'equiv': 8801,
|
|
593
|
-
'le': 8804,
|
|
594
|
-
'ge': 8805,
|
|
595
|
-
'sub': 8834,
|
|
596
|
-
'sup': 8835,
|
|
597
|
-
'nsub': 8836,
|
|
598
|
-
'sube': 8838,
|
|
599
|
-
'supe': 8839,
|
|
600
|
-
'oplus': 8853,
|
|
601
|
-
'otimes': 8855,
|
|
602
|
-
'perp': 8869,
|
|
603
|
-
'sdot': 8901,
|
|
604
|
-
'lceil': 8968,
|
|
605
|
-
'rceil': 8969,
|
|
606
|
-
'lfloor': 8970,
|
|
607
|
-
'rfloor': 8971,
|
|
608
|
-
'lang': 9001,
|
|
609
|
-
'rang': 9002,
|
|
610
|
-
'loz': 9674,
|
|
611
|
-
'spades': 9824,
|
|
612
|
-
'clubs': 9827,
|
|
613
|
-
'hearts': 9829,
|
|
614
|
-
'diams': 9830
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
Object.keys(sax.ENTITIES).forEach(function (key) {
|
|
618
|
-
var e = sax.ENTITIES[key]
|
|
619
|
-
var s = typeof e === 'number' ? String.fromCharCode(e) : e
|
|
620
|
-
sax.ENTITIES[key] = s
|
|
621
|
-
})
|
|
622
|
-
|
|
623
|
-
for (var s in sax.STATE) {
|
|
624
|
-
sax.STATE[sax.STATE[s]] = s
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
// shorthand
|
|
628
|
-
S = sax.STATE
|
|
629
|
-
|
|
630
|
-
function emit (parser, event, data) {
|
|
631
|
-
parser[event] && parser[event](data)
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
function emitNode (parser, nodeType, data) {
|
|
635
|
-
if (parser.textNode) closeText(parser)
|
|
636
|
-
emit(parser, nodeType, data)
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
function closeText (parser) {
|
|
640
|
-
parser.textNode = textopts(parser.opt, parser.textNode)
|
|
641
|
-
if (parser.textNode) emit(parser, 'ontext', parser.textNode)
|
|
642
|
-
parser.textNode = ''
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
function textopts (opt, text) {
|
|
646
|
-
if (opt.trim) text = text.trim()
|
|
647
|
-
if (opt.normalize) text = text.replace(/\s+/g, ' ')
|
|
648
|
-
return text
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
function error (parser, er) {
|
|
652
|
-
closeText(parser)
|
|
653
|
-
if (parser.trackPosition) {
|
|
654
|
-
er += '\nLine: ' + parser.line +
|
|
655
|
-
'\nColumn: ' + parser.column +
|
|
656
|
-
'\nChar: ' + parser.c
|
|
657
|
-
}
|
|
658
|
-
er = new Error(er)
|
|
659
|
-
parser.error = er
|
|
660
|
-
emit(parser, 'onerror', er)
|
|
661
|
-
return parser
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
function end (parser) {
|
|
665
|
-
if (parser.sawRoot && !parser.closedRoot) strictFail(parser, 'Unclosed root tag')
|
|
666
|
-
if ((parser.state !== S.BEGIN) &&
|
|
667
|
-
(parser.state !== S.BEGIN_WHITESPACE) &&
|
|
668
|
-
(parser.state !== S.TEXT)) {
|
|
669
|
-
error(parser, 'Unexpected end')
|
|
670
|
-
}
|
|
671
|
-
closeText(parser)
|
|
672
|
-
parser.c = ''
|
|
673
|
-
parser.closed = true
|
|
674
|
-
emit(parser, 'onend')
|
|
675
|
-
SAXParser.call(parser, parser.strict, parser.opt)
|
|
676
|
-
return parser
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
function strictFail (parser, message) {
|
|
680
|
-
if (typeof parser !== 'object' || !(parser instanceof SAXParser)) {
|
|
681
|
-
throw new Error('bad call to strictFail')
|
|
682
|
-
}
|
|
683
|
-
if (parser.strict) {
|
|
684
|
-
error(parser, message)
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
function newTag (parser) {
|
|
689
|
-
if (!parser.strict) parser.tagName = parser.tagName[parser.looseCase]()
|
|
690
|
-
var parent = parser.tags[parser.tags.length - 1] || parser
|
|
691
|
-
var tag = parser.tag = { name: parser.tagName, attributes: {} }
|
|
692
|
-
|
|
693
|
-
// will be overridden if tag contails an xmlns="foo" or xmlns:foo="bar"
|
|
694
|
-
if (parser.opt.xmlns) {
|
|
695
|
-
tag.ns = parent.ns
|
|
696
|
-
}
|
|
697
|
-
parser.attribList.length = 0
|
|
698
|
-
emitNode(parser, 'onopentagstart', tag)
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
function qname (name, attribute) {
|
|
702
|
-
var i = name.indexOf(':')
|
|
703
|
-
var qualName = i < 0 ? [ '', name ] : name.split(':')
|
|
704
|
-
var prefix = qualName[0]
|
|
705
|
-
var local = qualName[1]
|
|
706
|
-
|
|
707
|
-
// <x "xmlns"="http://foo">
|
|
708
|
-
if (attribute && name === 'xmlns') {
|
|
709
|
-
prefix = 'xmlns'
|
|
710
|
-
local = ''
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
return { prefix: prefix, local: local }
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
function attrib (parser) {
|
|
717
|
-
if (!parser.strict) {
|
|
718
|
-
parser.attribName = parser.attribName[parser.looseCase]()
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
if (parser.attribList.indexOf(parser.attribName) !== -1 ||
|
|
722
|
-
parser.tag.attributes.hasOwnProperty(parser.attribName)) {
|
|
723
|
-
parser.attribName = parser.attribValue = ''
|
|
724
|
-
return
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
if (parser.opt.xmlns) {
|
|
728
|
-
var qn = qname(parser.attribName, true)
|
|
729
|
-
var prefix = qn.prefix
|
|
730
|
-
var local = qn.local
|
|
731
|
-
|
|
732
|
-
if (prefix === 'xmlns') {
|
|
733
|
-
// namespace binding attribute. push the binding into scope
|
|
734
|
-
if (local === 'xml' && parser.attribValue !== XML_NAMESPACE) {
|
|
735
|
-
strictFail(parser,
|
|
736
|
-
'xml: prefix must be bound to ' + XML_NAMESPACE + '\n' +
|
|
737
|
-
'Actual: ' + parser.attribValue)
|
|
738
|
-
} else if (local === 'xmlns' && parser.attribValue !== XMLNS_NAMESPACE) {
|
|
739
|
-
strictFail(parser,
|
|
740
|
-
'xmlns: prefix must be bound to ' + XMLNS_NAMESPACE + '\n' +
|
|
741
|
-
'Actual: ' + parser.attribValue)
|
|
742
|
-
} else {
|
|
743
|
-
var tag = parser.tag
|
|
744
|
-
var parent = parser.tags[parser.tags.length - 1] || parser
|
|
745
|
-
if (tag.ns === parent.ns) {
|
|
746
|
-
tag.ns = Object.create(parent.ns)
|
|
747
|
-
}
|
|
748
|
-
tag.ns[local] = parser.attribValue
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
// defer onattribute events until all attributes have been seen
|
|
753
|
-
// so any new bindings can take effect. preserve attribute order
|
|
754
|
-
// so deferred events can be emitted in document order
|
|
755
|
-
parser.attribList.push([parser.attribName, parser.attribValue])
|
|
756
|
-
} else {
|
|
757
|
-
// in non-xmlns mode, we can emit the event right away
|
|
758
|
-
parser.tag.attributes[parser.attribName] = parser.attribValue
|
|
759
|
-
emitNode(parser, 'onattribute', {
|
|
760
|
-
name: parser.attribName,
|
|
761
|
-
value: parser.attribValue
|
|
762
|
-
})
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
parser.attribName = parser.attribValue = ''
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
function openTag (parser, selfClosing) {
|
|
769
|
-
if (parser.opt.xmlns) {
|
|
770
|
-
// emit namespace binding events
|
|
771
|
-
var tag = parser.tag
|
|
772
|
-
|
|
773
|
-
// add namespace info to tag
|
|
774
|
-
var qn = qname(parser.tagName)
|
|
775
|
-
tag.prefix = qn.prefix
|
|
776
|
-
tag.local = qn.local
|
|
777
|
-
tag.uri = tag.ns[qn.prefix] || ''
|
|
778
|
-
|
|
779
|
-
if (tag.prefix && !tag.uri) {
|
|
780
|
-
strictFail(parser, 'Unbound namespace prefix: ' +
|
|
781
|
-
JSON.stringify(parser.tagName))
|
|
782
|
-
tag.uri = qn.prefix
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
var parent = parser.tags[parser.tags.length - 1] || parser
|
|
786
|
-
if (tag.ns && parent.ns !== tag.ns) {
|
|
787
|
-
Object.keys(tag.ns).forEach(function (p) {
|
|
788
|
-
emitNode(parser, 'onopennamespace', {
|
|
789
|
-
prefix: p,
|
|
790
|
-
uri: tag.ns[p]
|
|
791
|
-
})
|
|
792
|
-
})
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
// handle deferred onattribute events
|
|
796
|
-
// Note: do not apply default ns to attributes:
|
|
797
|
-
// http://www.w3.org/TR/REC-xml-names/#defaulting
|
|
798
|
-
for (var i = 0, l = parser.attribList.length; i < l; i++) {
|
|
799
|
-
var nv = parser.attribList[i]
|
|
800
|
-
var name = nv[0]
|
|
801
|
-
var value = nv[1]
|
|
802
|
-
var qualName = qname(name, true)
|
|
803
|
-
var prefix = qualName.prefix
|
|
804
|
-
var local = qualName.local
|
|
805
|
-
var uri = prefix === '' ? '' : (tag.ns[prefix] || '')
|
|
806
|
-
var a = {
|
|
807
|
-
name: name,
|
|
808
|
-
value: value,
|
|
809
|
-
prefix: prefix,
|
|
810
|
-
local: local,
|
|
811
|
-
uri: uri
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
// if there's any attributes with an undefined namespace,
|
|
815
|
-
// then fail on them now.
|
|
816
|
-
if (prefix && prefix !== 'xmlns' && !uri) {
|
|
817
|
-
strictFail(parser, 'Unbound namespace prefix: ' +
|
|
818
|
-
JSON.stringify(prefix))
|
|
819
|
-
a.uri = prefix
|
|
820
|
-
}
|
|
821
|
-
parser.tag.attributes[name] = a
|
|
822
|
-
emitNode(parser, 'onattribute', a)
|
|
823
|
-
}
|
|
824
|
-
parser.attribList.length = 0
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
parser.tag.isSelfClosing = !!selfClosing
|
|
828
|
-
|
|
829
|
-
// process the tag
|
|
830
|
-
parser.sawRoot = true
|
|
831
|
-
parser.tags.push(parser.tag)
|
|
832
|
-
emitNode(parser, 'onopentag', parser.tag)
|
|
833
|
-
if (!selfClosing) {
|
|
834
|
-
// special case for <script> in non-strict mode.
|
|
835
|
-
if (!parser.noscript && parser.tagName.toLowerCase() === 'script') {
|
|
836
|
-
parser.state = S.SCRIPT
|
|
837
|
-
} else {
|
|
838
|
-
parser.state = S.TEXT
|
|
839
|
-
}
|
|
840
|
-
parser.tag = null
|
|
841
|
-
parser.tagName = ''
|
|
842
|
-
}
|
|
843
|
-
parser.attribName = parser.attribValue = ''
|
|
844
|
-
parser.attribList.length = 0
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
function closeTag (parser) {
|
|
848
|
-
if (!parser.tagName) {
|
|
849
|
-
strictFail(parser, 'Weird empty close tag.')
|
|
850
|
-
parser.textNode += '</>'
|
|
851
|
-
parser.state = S.TEXT
|
|
852
|
-
return
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
if (parser.script) {
|
|
856
|
-
if (parser.tagName !== 'script') {
|
|
857
|
-
parser.script += '</' + parser.tagName + '>'
|
|
858
|
-
parser.tagName = ''
|
|
859
|
-
parser.state = S.SCRIPT
|
|
860
|
-
return
|
|
861
|
-
}
|
|
862
|
-
emitNode(parser, 'onscript', parser.script)
|
|
863
|
-
parser.script = ''
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
// first make sure that the closing tag actually exists.
|
|
867
|
-
// <a><b></c></b></a> will close everything, otherwise.
|
|
868
|
-
var t = parser.tags.length
|
|
869
|
-
var tagName = parser.tagName
|
|
870
|
-
if (!parser.strict) {
|
|
871
|
-
tagName = tagName[parser.looseCase]()
|
|
872
|
-
}
|
|
873
|
-
var closeTo = tagName
|
|
874
|
-
while (t--) {
|
|
875
|
-
var close = parser.tags[t]
|
|
876
|
-
if (close.name !== closeTo) {
|
|
877
|
-
// fail the first time in strict mode
|
|
878
|
-
strictFail(parser, 'Unexpected close tag')
|
|
879
|
-
} else {
|
|
880
|
-
break
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
// didn't find it. we already failed for strict, so just abort.
|
|
885
|
-
if (t < 0) {
|
|
886
|
-
strictFail(parser, 'Unmatched closing tag: ' + parser.tagName)
|
|
887
|
-
parser.textNode += '</' + parser.tagName + '>'
|
|
888
|
-
parser.state = S.TEXT
|
|
889
|
-
return
|
|
890
|
-
}
|
|
891
|
-
parser.tagName = tagName
|
|
892
|
-
var s = parser.tags.length
|
|
893
|
-
while (s-- > t) {
|
|
894
|
-
var tag = parser.tag = parser.tags.pop()
|
|
895
|
-
parser.tagName = parser.tag.name
|
|
896
|
-
emitNode(parser, 'onclosetag', parser.tagName)
|
|
897
|
-
|
|
898
|
-
var x = {}
|
|
899
|
-
for (var i in tag.ns) {
|
|
900
|
-
x[i] = tag.ns[i]
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
var parent = parser.tags[parser.tags.length - 1] || parser
|
|
904
|
-
if (parser.opt.xmlns && tag.ns !== parent.ns) {
|
|
905
|
-
// remove namespace bindings introduced by tag
|
|
906
|
-
Object.keys(tag.ns).forEach(function (p) {
|
|
907
|
-
var n = tag.ns[p]
|
|
908
|
-
emitNode(parser, 'onclosenamespace', { prefix: p, uri: n })
|
|
909
|
-
})
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
if (t === 0) parser.closedRoot = true
|
|
913
|
-
parser.tagName = parser.attribValue = parser.attribName = ''
|
|
914
|
-
parser.attribList.length = 0
|
|
915
|
-
parser.state = S.TEXT
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
function parseEntity (parser) {
|
|
919
|
-
var entity = parser.entity
|
|
920
|
-
var entityLC = entity.toLowerCase()
|
|
921
|
-
var num
|
|
922
|
-
var numStr = ''
|
|
923
|
-
|
|
924
|
-
if (parser.ENTITIES[entity]) {
|
|
925
|
-
return parser.ENTITIES[entity]
|
|
926
|
-
}
|
|
927
|
-
if (parser.ENTITIES[entityLC]) {
|
|
928
|
-
return parser.ENTITIES[entityLC]
|
|
929
|
-
}
|
|
930
|
-
entity = entityLC
|
|
931
|
-
if (entity.charAt(0) === '#') {
|
|
932
|
-
if (entity.charAt(1) === 'x') {
|
|
933
|
-
entity = entity.slice(2)
|
|
934
|
-
num = parseInt(entity, 16)
|
|
935
|
-
numStr = num.toString(16)
|
|
936
|
-
} else {
|
|
937
|
-
entity = entity.slice(1)
|
|
938
|
-
num = parseInt(entity, 10)
|
|
939
|
-
numStr = num.toString(10)
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
entity = entity.replace(/^0+/, '')
|
|
943
|
-
if (isNaN(num) || numStr.toLowerCase() !== entity) {
|
|
944
|
-
strictFail(parser, 'Invalid character entity')
|
|
945
|
-
return '&' + parser.entity + ';'
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
return String.fromCodePoint(num)
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
function beginWhiteSpace (parser, c) {
|
|
952
|
-
if (c === '<') {
|
|
953
|
-
parser.state = S.OPEN_WAKA
|
|
954
|
-
parser.startTagPosition = parser.position
|
|
955
|
-
} else if (!isWhitespace(c)) {
|
|
956
|
-
// have to process this as a text node.
|
|
957
|
-
// weird, but happens.
|
|
958
|
-
strictFail(parser, 'Non-whitespace before first tag.')
|
|
959
|
-
parser.textNode = c
|
|
960
|
-
parser.state = S.TEXT
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
function charAt (chunk, i) {
|
|
965
|
-
var result = ''
|
|
966
|
-
if (i < chunk.length) {
|
|
967
|
-
result = chunk.charAt(i)
|
|
968
|
-
}
|
|
969
|
-
return result
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
function write (chunk) {
|
|
973
|
-
var parser = this
|
|
974
|
-
if (this.error) {
|
|
975
|
-
throw this.error
|
|
976
|
-
}
|
|
977
|
-
if (parser.closed) {
|
|
978
|
-
return error(parser,
|
|
979
|
-
'Cannot write after close. Assign an onready handler.')
|
|
980
|
-
}
|
|
981
|
-
if (chunk === null) {
|
|
982
|
-
return end(parser)
|
|
983
|
-
}
|
|
984
|
-
if (typeof chunk === 'object') {
|
|
985
|
-
chunk = chunk.toString()
|
|
986
|
-
}
|
|
987
|
-
var i = 0
|
|
988
|
-
var c = ''
|
|
989
|
-
while (true) {
|
|
990
|
-
c = charAt(chunk, i++)
|
|
991
|
-
parser.c = c
|
|
992
|
-
|
|
993
|
-
if (!c) {
|
|
994
|
-
break
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
if (parser.trackPosition) {
|
|
998
|
-
parser.position++
|
|
999
|
-
if (c === '\n') {
|
|
1000
|
-
parser.line++
|
|
1001
|
-
parser.column = 0
|
|
1002
|
-
} else {
|
|
1003
|
-
parser.column++
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
switch (parser.state) {
|
|
1008
|
-
case S.BEGIN:
|
|
1009
|
-
parser.state = S.BEGIN_WHITESPACE
|
|
1010
|
-
if (c === '\uFEFF') {
|
|
1011
|
-
continue
|
|
1012
|
-
}
|
|
1013
|
-
beginWhiteSpace(parser, c)
|
|
1014
|
-
continue
|
|
1015
|
-
|
|
1016
|
-
case S.BEGIN_WHITESPACE:
|
|
1017
|
-
beginWhiteSpace(parser, c)
|
|
1018
|
-
continue
|
|
1019
|
-
|
|
1020
|
-
case S.TEXT:
|
|
1021
|
-
if (parser.sawRoot && !parser.closedRoot) {
|
|
1022
|
-
var starti = i - 1
|
|
1023
|
-
while (c && c !== '<' && c !== '&') {
|
|
1024
|
-
c = charAt(chunk, i++)
|
|
1025
|
-
if (c && parser.trackPosition) {
|
|
1026
|
-
parser.position++
|
|
1027
|
-
if (c === '\n') {
|
|
1028
|
-
parser.line++
|
|
1029
|
-
parser.column = 0
|
|
1030
|
-
} else {
|
|
1031
|
-
parser.column++
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
parser.textNode += chunk.substring(starti, i - 1)
|
|
1036
|
-
}
|
|
1037
|
-
if (c === '<' && !(parser.sawRoot && parser.closedRoot && !parser.strict)) {
|
|
1038
|
-
parser.state = S.OPEN_WAKA
|
|
1039
|
-
parser.startTagPosition = parser.position
|
|
1040
|
-
} else {
|
|
1041
|
-
if (!isWhitespace(c) && (!parser.sawRoot || parser.closedRoot)) {
|
|
1042
|
-
strictFail(parser, 'Text data outside of root node.')
|
|
1043
|
-
}
|
|
1044
|
-
if (c === '&') {
|
|
1045
|
-
parser.state = S.TEXT_ENTITY
|
|
1046
|
-
} else {
|
|
1047
|
-
parser.textNode += c
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
continue
|
|
1051
|
-
|
|
1052
|
-
case S.SCRIPT:
|
|
1053
|
-
// only non-strict
|
|
1054
|
-
if (c === '<') {
|
|
1055
|
-
parser.state = S.SCRIPT_ENDING
|
|
1056
|
-
} else {
|
|
1057
|
-
parser.script += c
|
|
1058
|
-
}
|
|
1059
|
-
continue
|
|
1060
|
-
|
|
1061
|
-
case S.SCRIPT_ENDING:
|
|
1062
|
-
if (c === '/') {
|
|
1063
|
-
parser.state = S.CLOSE_TAG
|
|
1064
|
-
} else {
|
|
1065
|
-
parser.script += '<' + c
|
|
1066
|
-
parser.state = S.SCRIPT
|
|
1067
|
-
}
|
|
1068
|
-
continue
|
|
1069
|
-
|
|
1070
|
-
case S.OPEN_WAKA:
|
|
1071
|
-
// either a /, ?, !, or text is coming next.
|
|
1072
|
-
if (c === '!') {
|
|
1073
|
-
parser.state = S.SGML_DECL
|
|
1074
|
-
parser.sgmlDecl = ''
|
|
1075
|
-
} else if (isWhitespace(c)) {
|
|
1076
|
-
// wait for it...
|
|
1077
|
-
} else if (isMatch(nameStart, c)) {
|
|
1078
|
-
parser.state = S.OPEN_TAG
|
|
1079
|
-
parser.tagName = c
|
|
1080
|
-
} else if (c === '/') {
|
|
1081
|
-
parser.state = S.CLOSE_TAG
|
|
1082
|
-
parser.tagName = ''
|
|
1083
|
-
} else if (c === '?') {
|
|
1084
|
-
parser.state = S.PROC_INST
|
|
1085
|
-
parser.procInstName = parser.procInstBody = ''
|
|
1086
|
-
} else {
|
|
1087
|
-
strictFail(parser, 'Unencoded <')
|
|
1088
|
-
// if there was some whitespace, then add that in.
|
|
1089
|
-
if (parser.startTagPosition + 1 < parser.position) {
|
|
1090
|
-
var pad = parser.position - parser.startTagPosition
|
|
1091
|
-
c = new Array(pad).join(' ') + c
|
|
1092
|
-
}
|
|
1093
|
-
parser.textNode += '<' + c
|
|
1094
|
-
parser.state = S.TEXT
|
|
1095
|
-
}
|
|
1096
|
-
continue
|
|
1097
|
-
|
|
1098
|
-
case S.SGML_DECL:
|
|
1099
|
-
if (parser.sgmlDecl + c === '--') {
|
|
1100
|
-
parser.state = S.COMMENT
|
|
1101
|
-
parser.comment = ''
|
|
1102
|
-
parser.sgmlDecl = ''
|
|
1103
|
-
continue;
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
if (parser.doctype && parser.doctype !== true && parser.sgmlDecl) {
|
|
1107
|
-
parser.state = S.DOCTYPE_DTD
|
|
1108
|
-
parser.doctype += '<!' + parser.sgmlDecl + c
|
|
1109
|
-
parser.sgmlDecl = ''
|
|
1110
|
-
} else if ((parser.sgmlDecl + c).toUpperCase() === CDATA) {
|
|
1111
|
-
emitNode(parser, 'onopencdata')
|
|
1112
|
-
parser.state = S.CDATA
|
|
1113
|
-
parser.sgmlDecl = ''
|
|
1114
|
-
parser.cdata = ''
|
|
1115
|
-
} else if ((parser.sgmlDecl + c).toUpperCase() === DOCTYPE) {
|
|
1116
|
-
parser.state = S.DOCTYPE
|
|
1117
|
-
if (parser.doctype || parser.sawRoot) {
|
|
1118
|
-
strictFail(parser,
|
|
1119
|
-
'Inappropriately located doctype declaration')
|
|
1120
|
-
}
|
|
1121
|
-
parser.doctype = ''
|
|
1122
|
-
parser.sgmlDecl = ''
|
|
1123
|
-
} else if (c === '>') {
|
|
1124
|
-
emitNode(parser, 'onsgmldeclaration', parser.sgmlDecl)
|
|
1125
|
-
parser.sgmlDecl = ''
|
|
1126
|
-
parser.state = S.TEXT
|
|
1127
|
-
} else if (isQuote(c)) {
|
|
1128
|
-
parser.state = S.SGML_DECL_QUOTED
|
|
1129
|
-
parser.sgmlDecl += c
|
|
1130
|
-
} else {
|
|
1131
|
-
parser.sgmlDecl += c
|
|
1132
|
-
}
|
|
1133
|
-
continue
|
|
1134
|
-
|
|
1135
|
-
case S.SGML_DECL_QUOTED:
|
|
1136
|
-
if (c === parser.q) {
|
|
1137
|
-
parser.state = S.SGML_DECL
|
|
1138
|
-
parser.q = ''
|
|
1139
|
-
}
|
|
1140
|
-
parser.sgmlDecl += c
|
|
1141
|
-
continue
|
|
1142
|
-
|
|
1143
|
-
case S.DOCTYPE:
|
|
1144
|
-
if (c === '>') {
|
|
1145
|
-
parser.state = S.TEXT
|
|
1146
|
-
emitNode(parser, 'ondoctype', parser.doctype)
|
|
1147
|
-
parser.doctype = true // just remember that we saw it.
|
|
1148
|
-
} else {
|
|
1149
|
-
parser.doctype += c
|
|
1150
|
-
if (c === '[') {
|
|
1151
|
-
parser.state = S.DOCTYPE_DTD
|
|
1152
|
-
} else if (isQuote(c)) {
|
|
1153
|
-
parser.state = S.DOCTYPE_QUOTED
|
|
1154
|
-
parser.q = c
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
continue
|
|
1158
|
-
|
|
1159
|
-
case S.DOCTYPE_QUOTED:
|
|
1160
|
-
parser.doctype += c
|
|
1161
|
-
if (c === parser.q) {
|
|
1162
|
-
parser.q = ''
|
|
1163
|
-
parser.state = S.DOCTYPE
|
|
1164
|
-
}
|
|
1165
|
-
continue
|
|
1166
|
-
|
|
1167
|
-
case S.DOCTYPE_DTD:
|
|
1168
|
-
if (c === ']') {
|
|
1169
|
-
parser.doctype += c
|
|
1170
|
-
parser.state = S.DOCTYPE
|
|
1171
|
-
} else if (c === '<') {
|
|
1172
|
-
parser.state = S.OPEN_WAKA
|
|
1173
|
-
parser.startTagPosition = parser.position
|
|
1174
|
-
} else if (isQuote(c)) {
|
|
1175
|
-
parser.doctype += c
|
|
1176
|
-
parser.state = S.DOCTYPE_DTD_QUOTED
|
|
1177
|
-
parser.q = c
|
|
1178
|
-
} else {
|
|
1179
|
-
parser.doctype += c
|
|
1180
|
-
}
|
|
1181
|
-
continue
|
|
1182
|
-
|
|
1183
|
-
case S.DOCTYPE_DTD_QUOTED:
|
|
1184
|
-
parser.doctype += c
|
|
1185
|
-
if (c === parser.q) {
|
|
1186
|
-
parser.state = S.DOCTYPE_DTD
|
|
1187
|
-
parser.q = ''
|
|
1188
|
-
}
|
|
1189
|
-
continue
|
|
1190
|
-
|
|
1191
|
-
case S.COMMENT:
|
|
1192
|
-
if (c === '-') {
|
|
1193
|
-
parser.state = S.COMMENT_ENDING
|
|
1194
|
-
} else {
|
|
1195
|
-
parser.comment += c
|
|
1196
|
-
}
|
|
1197
|
-
continue
|
|
1198
|
-
|
|
1199
|
-
case S.COMMENT_ENDING:
|
|
1200
|
-
if (c === '-') {
|
|
1201
|
-
parser.state = S.COMMENT_ENDED
|
|
1202
|
-
parser.comment = textopts(parser.opt, parser.comment)
|
|
1203
|
-
if (parser.comment) {
|
|
1204
|
-
emitNode(parser, 'oncomment', parser.comment)
|
|
1205
|
-
}
|
|
1206
|
-
parser.comment = ''
|
|
1207
|
-
} else {
|
|
1208
|
-
parser.comment += '-' + c
|
|
1209
|
-
parser.state = S.COMMENT
|
|
1210
|
-
}
|
|
1211
|
-
continue
|
|
1212
|
-
|
|
1213
|
-
case S.COMMENT_ENDED:
|
|
1214
|
-
if (c !== '>') {
|
|
1215
|
-
strictFail(parser, 'Malformed comment')
|
|
1216
|
-
// allow <!-- blah -- bloo --> in non-strict mode,
|
|
1217
|
-
// which is a comment of " blah -- bloo "
|
|
1218
|
-
parser.comment += '--' + c
|
|
1219
|
-
parser.state = S.COMMENT
|
|
1220
|
-
} else if (parser.doctype && parser.doctype !== true) {
|
|
1221
|
-
parser.state = S.DOCTYPE_DTD
|
|
1222
|
-
} else {
|
|
1223
|
-
parser.state = S.TEXT
|
|
1224
|
-
}
|
|
1225
|
-
continue
|
|
1226
|
-
|
|
1227
|
-
case S.CDATA:
|
|
1228
|
-
if (c === ']') {
|
|
1229
|
-
parser.state = S.CDATA_ENDING
|
|
1230
|
-
} else {
|
|
1231
|
-
parser.cdata += c
|
|
1232
|
-
}
|
|
1233
|
-
continue
|
|
1234
|
-
|
|
1235
|
-
case S.CDATA_ENDING:
|
|
1236
|
-
if (c === ']') {
|
|
1237
|
-
parser.state = S.CDATA_ENDING_2
|
|
1238
|
-
} else {
|
|
1239
|
-
parser.cdata += ']' + c
|
|
1240
|
-
parser.state = S.CDATA
|
|
1241
|
-
}
|
|
1242
|
-
continue
|
|
1243
|
-
|
|
1244
|
-
case S.CDATA_ENDING_2:
|
|
1245
|
-
if (c === '>') {
|
|
1246
|
-
if (parser.cdata) {
|
|
1247
|
-
emitNode(parser, 'oncdata', parser.cdata)
|
|
1248
|
-
}
|
|
1249
|
-
emitNode(parser, 'onclosecdata')
|
|
1250
|
-
parser.cdata = ''
|
|
1251
|
-
parser.state = S.TEXT
|
|
1252
|
-
} else if (c === ']') {
|
|
1253
|
-
parser.cdata += ']'
|
|
1254
|
-
} else {
|
|
1255
|
-
parser.cdata += ']]' + c
|
|
1256
|
-
parser.state = S.CDATA
|
|
1257
|
-
}
|
|
1258
|
-
continue
|
|
1259
|
-
|
|
1260
|
-
case S.PROC_INST:
|
|
1261
|
-
if (c === '?') {
|
|
1262
|
-
parser.state = S.PROC_INST_ENDING
|
|
1263
|
-
} else if (isWhitespace(c)) {
|
|
1264
|
-
parser.state = S.PROC_INST_BODY
|
|
1265
|
-
} else {
|
|
1266
|
-
parser.procInstName += c
|
|
1267
|
-
}
|
|
1268
|
-
continue
|
|
1269
|
-
|
|
1270
|
-
case S.PROC_INST_BODY:
|
|
1271
|
-
if (!parser.procInstBody && isWhitespace(c)) {
|
|
1272
|
-
continue
|
|
1273
|
-
} else if (c === '?') {
|
|
1274
|
-
parser.state = S.PROC_INST_ENDING
|
|
1275
|
-
} else {
|
|
1276
|
-
parser.procInstBody += c
|
|
1277
|
-
}
|
|
1278
|
-
continue
|
|
1279
|
-
|
|
1280
|
-
case S.PROC_INST_ENDING:
|
|
1281
|
-
if (c === '>') {
|
|
1282
|
-
emitNode(parser, 'onprocessinginstruction', {
|
|
1283
|
-
name: parser.procInstName,
|
|
1284
|
-
body: parser.procInstBody
|
|
1285
|
-
})
|
|
1286
|
-
parser.procInstName = parser.procInstBody = ''
|
|
1287
|
-
parser.state = S.TEXT
|
|
1288
|
-
} else {
|
|
1289
|
-
parser.procInstBody += '?' + c
|
|
1290
|
-
parser.state = S.PROC_INST_BODY
|
|
1291
|
-
}
|
|
1292
|
-
continue
|
|
1293
|
-
|
|
1294
|
-
case S.OPEN_TAG:
|
|
1295
|
-
if (isMatch(nameBody, c)) {
|
|
1296
|
-
parser.tagName += c
|
|
1297
|
-
} else {
|
|
1298
|
-
newTag(parser)
|
|
1299
|
-
if (c === '>') {
|
|
1300
|
-
openTag(parser)
|
|
1301
|
-
} else if (c === '/') {
|
|
1302
|
-
parser.state = S.OPEN_TAG_SLASH
|
|
1303
|
-
} else {
|
|
1304
|
-
if (!isWhitespace(c)) {
|
|
1305
|
-
strictFail(parser, 'Invalid character in tag name')
|
|
1306
|
-
}
|
|
1307
|
-
parser.state = S.ATTRIB
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
|
-
continue
|
|
1311
|
-
|
|
1312
|
-
case S.OPEN_TAG_SLASH:
|
|
1313
|
-
if (c === '>') {
|
|
1314
|
-
openTag(parser, true)
|
|
1315
|
-
closeTag(parser)
|
|
1316
|
-
} else {
|
|
1317
|
-
strictFail(parser, 'Forward-slash in opening tag not followed by >')
|
|
1318
|
-
parser.state = S.ATTRIB
|
|
1319
|
-
}
|
|
1320
|
-
continue
|
|
1321
|
-
|
|
1322
|
-
case S.ATTRIB:
|
|
1323
|
-
// haven't read the attribute name yet.
|
|
1324
|
-
if (isWhitespace(c)) {
|
|
1325
|
-
continue
|
|
1326
|
-
} else if (c === '>') {
|
|
1327
|
-
openTag(parser)
|
|
1328
|
-
} else if (c === '/') {
|
|
1329
|
-
parser.state = S.OPEN_TAG_SLASH
|
|
1330
|
-
} else if (isMatch(nameStart, c)) {
|
|
1331
|
-
parser.attribName = c
|
|
1332
|
-
parser.attribValue = ''
|
|
1333
|
-
parser.state = S.ATTRIB_NAME
|
|
1334
|
-
} else {
|
|
1335
|
-
strictFail(parser, 'Invalid attribute name')
|
|
1336
|
-
}
|
|
1337
|
-
continue
|
|
1338
|
-
|
|
1339
|
-
case S.ATTRIB_NAME:
|
|
1340
|
-
if (c === '=') {
|
|
1341
|
-
parser.state = S.ATTRIB_VALUE
|
|
1342
|
-
} else if (c === '>') {
|
|
1343
|
-
strictFail(parser, 'Attribute without value')
|
|
1344
|
-
parser.attribValue = parser.attribName
|
|
1345
|
-
attrib(parser)
|
|
1346
|
-
openTag(parser)
|
|
1347
|
-
} else if (isWhitespace(c)) {
|
|
1348
|
-
parser.state = S.ATTRIB_NAME_SAW_WHITE
|
|
1349
|
-
} else if (isMatch(nameBody, c)) {
|
|
1350
|
-
parser.attribName += c
|
|
1351
|
-
} else {
|
|
1352
|
-
strictFail(parser, 'Invalid attribute name')
|
|
1353
|
-
}
|
|
1354
|
-
continue
|
|
1355
|
-
|
|
1356
|
-
case S.ATTRIB_NAME_SAW_WHITE:
|
|
1357
|
-
if (c === '=') {
|
|
1358
|
-
parser.state = S.ATTRIB_VALUE
|
|
1359
|
-
} else if (isWhitespace(c)) {
|
|
1360
|
-
continue
|
|
1361
|
-
} else {
|
|
1362
|
-
strictFail(parser, 'Attribute without value')
|
|
1363
|
-
parser.tag.attributes[parser.attribName] = ''
|
|
1364
|
-
parser.attribValue = ''
|
|
1365
|
-
emitNode(parser, 'onattribute', {
|
|
1366
|
-
name: parser.attribName,
|
|
1367
|
-
value: ''
|
|
1368
|
-
})
|
|
1369
|
-
parser.attribName = ''
|
|
1370
|
-
if (c === '>') {
|
|
1371
|
-
openTag(parser)
|
|
1372
|
-
} else if (isMatch(nameStart, c)) {
|
|
1373
|
-
parser.attribName = c
|
|
1374
|
-
parser.state = S.ATTRIB_NAME
|
|
1375
|
-
} else {
|
|
1376
|
-
strictFail(parser, 'Invalid attribute name')
|
|
1377
|
-
parser.state = S.ATTRIB
|
|
1378
|
-
}
|
|
1379
|
-
}
|
|
1380
|
-
continue
|
|
1381
|
-
|
|
1382
|
-
case S.ATTRIB_VALUE:
|
|
1383
|
-
if (isWhitespace(c)) {
|
|
1384
|
-
continue
|
|
1385
|
-
} else if (isQuote(c)) {
|
|
1386
|
-
parser.q = c
|
|
1387
|
-
parser.state = S.ATTRIB_VALUE_QUOTED
|
|
1388
|
-
} else {
|
|
1389
|
-
if (!parser.opt.unquotedAttributeValues) {
|
|
1390
|
-
error(parser, 'Unquoted attribute value')
|
|
1391
|
-
}
|
|
1392
|
-
parser.state = S.ATTRIB_VALUE_UNQUOTED
|
|
1393
|
-
parser.attribValue = c
|
|
1394
|
-
}
|
|
1395
|
-
continue
|
|
1396
|
-
|
|
1397
|
-
case S.ATTRIB_VALUE_QUOTED:
|
|
1398
|
-
if (c !== parser.q) {
|
|
1399
|
-
if (c === '&') {
|
|
1400
|
-
parser.state = S.ATTRIB_VALUE_ENTITY_Q
|
|
1401
|
-
} else {
|
|
1402
|
-
parser.attribValue += c
|
|
1403
|
-
}
|
|
1404
|
-
continue
|
|
1405
|
-
}
|
|
1406
|
-
attrib(parser)
|
|
1407
|
-
parser.q = ''
|
|
1408
|
-
parser.state = S.ATTRIB_VALUE_CLOSED
|
|
1409
|
-
continue
|
|
1410
|
-
|
|
1411
|
-
case S.ATTRIB_VALUE_CLOSED:
|
|
1412
|
-
if (isWhitespace(c)) {
|
|
1413
|
-
parser.state = S.ATTRIB
|
|
1414
|
-
} else if (c === '>') {
|
|
1415
|
-
openTag(parser)
|
|
1416
|
-
} else if (c === '/') {
|
|
1417
|
-
parser.state = S.OPEN_TAG_SLASH
|
|
1418
|
-
} else if (isMatch(nameStart, c)) {
|
|
1419
|
-
strictFail(parser, 'No whitespace between attributes')
|
|
1420
|
-
parser.attribName = c
|
|
1421
|
-
parser.attribValue = ''
|
|
1422
|
-
parser.state = S.ATTRIB_NAME
|
|
1423
|
-
} else {
|
|
1424
|
-
strictFail(parser, 'Invalid attribute name')
|
|
1425
|
-
}
|
|
1426
|
-
continue
|
|
1427
|
-
|
|
1428
|
-
case S.ATTRIB_VALUE_UNQUOTED:
|
|
1429
|
-
if (!isAttribEnd(c)) {
|
|
1430
|
-
if (c === '&') {
|
|
1431
|
-
parser.state = S.ATTRIB_VALUE_ENTITY_U
|
|
1432
|
-
} else {
|
|
1433
|
-
parser.attribValue += c
|
|
1434
|
-
}
|
|
1435
|
-
continue
|
|
1436
|
-
}
|
|
1437
|
-
attrib(parser)
|
|
1438
|
-
if (c === '>') {
|
|
1439
|
-
openTag(parser)
|
|
1440
|
-
} else {
|
|
1441
|
-
parser.state = S.ATTRIB
|
|
1442
|
-
}
|
|
1443
|
-
continue
|
|
1444
|
-
|
|
1445
|
-
case S.CLOSE_TAG:
|
|
1446
|
-
if (!parser.tagName) {
|
|
1447
|
-
if (isWhitespace(c)) {
|
|
1448
|
-
continue
|
|
1449
|
-
} else if (notMatch(nameStart, c)) {
|
|
1450
|
-
if (parser.script) {
|
|
1451
|
-
parser.script += '</' + c
|
|
1452
|
-
parser.state = S.SCRIPT
|
|
1453
|
-
} else {
|
|
1454
|
-
strictFail(parser, 'Invalid tagname in closing tag.')
|
|
1455
|
-
}
|
|
1456
|
-
} else {
|
|
1457
|
-
parser.tagName = c
|
|
1458
|
-
}
|
|
1459
|
-
} else if (c === '>') {
|
|
1460
|
-
closeTag(parser)
|
|
1461
|
-
} else if (isMatch(nameBody, c)) {
|
|
1462
|
-
parser.tagName += c
|
|
1463
|
-
} else if (parser.script) {
|
|
1464
|
-
parser.script += '</' + parser.tagName
|
|
1465
|
-
parser.tagName = ''
|
|
1466
|
-
parser.state = S.SCRIPT
|
|
1467
|
-
} else {
|
|
1468
|
-
if (!isWhitespace(c)) {
|
|
1469
|
-
strictFail(parser, 'Invalid tagname in closing tag')
|
|
1470
|
-
}
|
|
1471
|
-
parser.state = S.CLOSE_TAG_SAW_WHITE
|
|
1472
|
-
}
|
|
1473
|
-
continue
|
|
1474
|
-
|
|
1475
|
-
case S.CLOSE_TAG_SAW_WHITE:
|
|
1476
|
-
if (isWhitespace(c)) {
|
|
1477
|
-
continue
|
|
1478
|
-
}
|
|
1479
|
-
if (c === '>') {
|
|
1480
|
-
closeTag(parser)
|
|
1481
|
-
} else {
|
|
1482
|
-
strictFail(parser, 'Invalid characters in closing tag')
|
|
1483
|
-
}
|
|
1484
|
-
continue
|
|
1485
|
-
|
|
1486
|
-
case S.TEXT_ENTITY:
|
|
1487
|
-
case S.ATTRIB_VALUE_ENTITY_Q:
|
|
1488
|
-
case S.ATTRIB_VALUE_ENTITY_U:
|
|
1489
|
-
var returnState
|
|
1490
|
-
var buffer
|
|
1491
|
-
switch (parser.state) {
|
|
1492
|
-
case S.TEXT_ENTITY:
|
|
1493
|
-
returnState = S.TEXT
|
|
1494
|
-
buffer = 'textNode'
|
|
1495
|
-
break
|
|
1496
|
-
|
|
1497
|
-
case S.ATTRIB_VALUE_ENTITY_Q:
|
|
1498
|
-
returnState = S.ATTRIB_VALUE_QUOTED
|
|
1499
|
-
buffer = 'attribValue'
|
|
1500
|
-
break
|
|
1501
|
-
|
|
1502
|
-
case S.ATTRIB_VALUE_ENTITY_U:
|
|
1503
|
-
returnState = S.ATTRIB_VALUE_UNQUOTED
|
|
1504
|
-
buffer = 'attribValue'
|
|
1505
|
-
break
|
|
1506
|
-
}
|
|
1507
|
-
|
|
1508
|
-
if (c === ';') {
|
|
1509
|
-
var parsedEntity = parseEntity(parser)
|
|
1510
|
-
if (parser.opt.unparsedEntities && !Object.values(sax.XML_ENTITIES).includes(parsedEntity)) {
|
|
1511
|
-
parser.entity = ''
|
|
1512
|
-
parser.state = returnState
|
|
1513
|
-
parser.write(parsedEntity)
|
|
1514
|
-
} else {
|
|
1515
|
-
parser[buffer] += parsedEntity
|
|
1516
|
-
parser.entity = ''
|
|
1517
|
-
parser.state = returnState
|
|
1518
|
-
}
|
|
1519
|
-
} else if (isMatch(parser.entity.length ? entityBody : entityStart, c)) {
|
|
1520
|
-
parser.entity += c
|
|
1521
|
-
} else {
|
|
1522
|
-
strictFail(parser, 'Invalid character in entity name')
|
|
1523
|
-
parser[buffer] += '&' + parser.entity + c
|
|
1524
|
-
parser.entity = ''
|
|
1525
|
-
parser.state = returnState
|
|
1526
|
-
}
|
|
1527
|
-
|
|
1528
|
-
continue
|
|
1529
|
-
|
|
1530
|
-
default: /* istanbul ignore next */ {
|
|
1531
|
-
throw new Error(parser, 'Unknown state: ' + parser.state)
|
|
1532
|
-
}
|
|
1533
|
-
}
|
|
1534
|
-
} // while
|
|
1535
|
-
|
|
1536
|
-
if (parser.position >= parser.bufferCheckPosition) {
|
|
1537
|
-
checkBufferLength(parser)
|
|
1538
|
-
}
|
|
1539
|
-
return parser
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
|
|
1543
|
-
/* istanbul ignore next */
|
|
1544
|
-
if (!String.fromCodePoint) {
|
|
1545
|
-
(function () {
|
|
1546
|
-
var stringFromCharCode = String.fromCharCode
|
|
1547
|
-
var floor = Math.floor
|
|
1548
|
-
var fromCodePoint = function () {
|
|
1549
|
-
var MAX_SIZE = 0x4000
|
|
1550
|
-
var codeUnits = []
|
|
1551
|
-
var highSurrogate
|
|
1552
|
-
var lowSurrogate
|
|
1553
|
-
var index = -1
|
|
1554
|
-
var length = arguments.length
|
|
1555
|
-
if (!length) {
|
|
1556
|
-
return ''
|
|
1557
|
-
}
|
|
1558
|
-
var result = ''
|
|
1559
|
-
while (++index < length) {
|
|
1560
|
-
var codePoint = Number(arguments[index])
|
|
1561
|
-
if (
|
|
1562
|
-
!isFinite(codePoint) || // `NaN`, `+Infinity`, or `-Infinity`
|
|
1563
|
-
codePoint < 0 || // not a valid Unicode code point
|
|
1564
|
-
codePoint > 0x10FFFF || // not a valid Unicode code point
|
|
1565
|
-
floor(codePoint) !== codePoint // not an integer
|
|
1566
|
-
) {
|
|
1567
|
-
throw RangeError('Invalid code point: ' + codePoint)
|
|
1568
|
-
}
|
|
1569
|
-
if (codePoint <= 0xFFFF) { // BMP code point
|
|
1570
|
-
codeUnits.push(codePoint)
|
|
1571
|
-
} else { // Astral code point; split in surrogate halves
|
|
1572
|
-
// http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
|
|
1573
|
-
codePoint -= 0x10000
|
|
1574
|
-
highSurrogate = (codePoint >> 10) + 0xD800
|
|
1575
|
-
lowSurrogate = (codePoint % 0x400) + 0xDC00
|
|
1576
|
-
codeUnits.push(highSurrogate, lowSurrogate)
|
|
1577
|
-
}
|
|
1578
|
-
if (index + 1 === length || codeUnits.length > MAX_SIZE) {
|
|
1579
|
-
result += stringFromCharCode.apply(null, codeUnits)
|
|
1580
|
-
codeUnits.length = 0
|
|
1581
|
-
}
|
|
1582
|
-
}
|
|
1583
|
-
return result
|
|
1584
|
-
}
|
|
1585
|
-
/* istanbul ignore next */
|
|
1586
|
-
if (Object.defineProperty) {
|
|
1587
|
-
Object.defineProperty(String, 'fromCodePoint', {
|
|
1588
|
-
value: fromCodePoint,
|
|
1589
|
-
configurable: true,
|
|
1590
|
-
writable: true
|
|
1591
|
-
})
|
|
1592
|
-
} else {
|
|
1593
|
-
String.fromCodePoint = fromCodePoint
|
|
1594
|
-
}
|
|
1595
|
-
}())
|
|
1596
|
-
}
|
|
1597
|
-
})(typeof exports === 'undefined' ? this.sax = {} : exports)
|