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 +0,0 @@
|
|
|
1
|
-
var bigInt=function(undefined){"use strict";var BASE=1e7,LOG_BASE=7,MAX_INT=9007199254740992,MAX_INT_ARR=smallToArray(MAX_INT),DEFAULT_ALPHABET="0123456789abcdefghijklmnopqrstuvwxyz";var supportsNativeBigInt=typeof BigInt==="function";function Integer(v,radix,alphabet,caseSensitive){if(typeof v==="undefined")return Integer[0];if(typeof radix!=="undefined")return+radix===10&&!alphabet?parseValue(v):parseBase(v,radix,alphabet,caseSensitive);return parseValue(v)}function BigInteger(value,sign){this.value=value;this.sign=sign;this.isSmall=false}BigInteger.prototype=Object.create(Integer.prototype);function SmallInteger(value){this.value=value;this.sign=value<0;this.isSmall=true}SmallInteger.prototype=Object.create(Integer.prototype);function NativeBigInt(value){this.value=value}NativeBigInt.prototype=Object.create(Integer.prototype);function isPrecise(n){return-MAX_INT<n&&n<MAX_INT}function smallToArray(n){if(n<1e7)return[n];if(n<1e14)return[n%1e7,Math.floor(n/1e7)];return[n%1e7,Math.floor(n/1e7)%1e7,Math.floor(n/1e14)]}function arrayToSmall(arr){trim(arr);var length=arr.length;if(length<4&&compareAbs(arr,MAX_INT_ARR)<0){switch(length){case 0:return 0;case 1:return arr[0];case 2:return arr[0]+arr[1]*BASE;default:return arr[0]+(arr[1]+arr[2]*BASE)*BASE}}return arr}function trim(v){var i=v.length;while(v[--i]===0);v.length=i+1}function createArray(length){var x=new Array(length);var i=-1;while(++i<length){x[i]=0}return x}function truncate(n){if(n>0)return Math.floor(n);return Math.ceil(n)}function add(a,b){var l_a=a.length,l_b=b.length,r=new Array(l_a),carry=0,base=BASE,sum,i;for(i=0;i<l_b;i++){sum=a[i]+b[i]+carry;carry=sum>=base?1:0;r[i]=sum-carry*base}while(i<l_a){sum=a[i]+carry;carry=sum===base?1:0;r[i++]=sum-carry*base}if(carry>0)r.push(carry);return r}function addAny(a,b){if(a.length>=b.length)return add(a,b);return add(b,a)}function addSmall(a,carry){var l=a.length,r=new Array(l),base=BASE,sum,i;for(i=0;i<l;i++){sum=a[i]-base+carry;carry=Math.floor(sum/base);r[i]=sum-carry*base;carry+=1}while(carry>0){r[i++]=carry%base;carry=Math.floor(carry/base)}return r}BigInteger.prototype.add=function(v){var n=parseValue(v);if(this.sign!==n.sign){return this.subtract(n.negate())}var a=this.value,b=n.value;if(n.isSmall){return new BigInteger(addSmall(a,Math.abs(b)),this.sign)}return new BigInteger(addAny(a,b),this.sign)};BigInteger.prototype.plus=BigInteger.prototype.add;SmallInteger.prototype.add=function(v){var n=parseValue(v);var a=this.value;if(a<0!==n.sign){return this.subtract(n.negate())}var b=n.value;if(n.isSmall){if(isPrecise(a+b))return new SmallInteger(a+b);b=smallToArray(Math.abs(b))}return new BigInteger(addSmall(b,Math.abs(a)),a<0)};SmallInteger.prototype.plus=SmallInteger.prototype.add;NativeBigInt.prototype.add=function(v){return new NativeBigInt(this.value+parseValue(v).value)};NativeBigInt.prototype.plus=NativeBigInt.prototype.add;function subtract(a,b){var a_l=a.length,b_l=b.length,r=new Array(a_l),borrow=0,base=BASE,i,difference;for(i=0;i<b_l;i++){difference=a[i]-borrow-b[i];if(difference<0){difference+=base;borrow=1}else borrow=0;r[i]=difference}for(i=b_l;i<a_l;i++){difference=a[i]-borrow;if(difference<0)difference+=base;else{r[i++]=difference;break}r[i]=difference}for(;i<a_l;i++){r[i]=a[i]}trim(r);return r}function subtractAny(a,b,sign){var value;if(compareAbs(a,b)>=0){value=subtract(a,b)}else{value=subtract(b,a);sign=!sign}value=arrayToSmall(value);if(typeof value==="number"){if(sign)value=-value;return new SmallInteger(value)}return new BigInteger(value,sign)}function subtractSmall(a,b,sign){var l=a.length,r=new Array(l),carry=-b,base=BASE,i,difference;for(i=0;i<l;i++){difference=a[i]+carry;carry=Math.floor(difference/base);difference%=base;r[i]=difference<0?difference+base:difference}r=arrayToSmall(r);if(typeof r==="number"){if(sign)r=-r;return new SmallInteger(r)}return new BigInteger(r,sign)}BigInteger.prototype.subtract=function(v){var n=parseValue(v);if(this.sign!==n.sign){return this.add(n.negate())}var a=this.value,b=n.value;if(n.isSmall)return subtractSmall(a,Math.abs(b),this.sign);return subtractAny(a,b,this.sign)};BigInteger.prototype.minus=BigInteger.prototype.subtract;SmallInteger.prototype.subtract=function(v){var n=parseValue(v);var a=this.value;if(a<0!==n.sign){return this.add(n.negate())}var b=n.value;if(n.isSmall){return new SmallInteger(a-b)}return subtractSmall(b,Math.abs(a),a>=0)};SmallInteger.prototype.minus=SmallInteger.prototype.subtract;NativeBigInt.prototype.subtract=function(v){return new NativeBigInt(this.value-parseValue(v).value)};NativeBigInt.prototype.minus=NativeBigInt.prototype.subtract;BigInteger.prototype.negate=function(){return new BigInteger(this.value,!this.sign)};SmallInteger.prototype.negate=function(){var sign=this.sign;var small=new SmallInteger(-this.value);small.sign=!sign;return small};NativeBigInt.prototype.negate=function(){return new NativeBigInt(-this.value)};BigInteger.prototype.abs=function(){return new BigInteger(this.value,false)};SmallInteger.prototype.abs=function(){return new SmallInteger(Math.abs(this.value))};NativeBigInt.prototype.abs=function(){return new NativeBigInt(this.value>=0?this.value:-this.value)};function multiplyLong(a,b){var a_l=a.length,b_l=b.length,l=a_l+b_l,r=createArray(l),base=BASE,product,carry,i,a_i,b_j;for(i=0;i<a_l;++i){a_i=a[i];for(var j=0;j<b_l;++j){b_j=b[j];product=a_i*b_j+r[i+j];carry=Math.floor(product/base);r[i+j]=product-carry*base;r[i+j+1]+=carry}}trim(r);return r}function multiplySmall(a,b){var l=a.length,r=new Array(l),base=BASE,carry=0,product,i;for(i=0;i<l;i++){product=a[i]*b+carry;carry=Math.floor(product/base);r[i]=product-carry*base}while(carry>0){r[i++]=carry%base;carry=Math.floor(carry/base)}return r}function shiftLeft(x,n){var r=[];while(n-- >0)r.push(0);return r.concat(x)}function multiplyKaratsuba(x,y){var n=Math.max(x.length,y.length);if(n<=30)return multiplyLong(x,y);n=Math.ceil(n/2);var b=x.slice(n),a=x.slice(0,n),d=y.slice(n),c=y.slice(0,n);var ac=multiplyKaratsuba(a,c),bd=multiplyKaratsuba(b,d),abcd=multiplyKaratsuba(addAny(a,b),addAny(c,d));var product=addAny(addAny(ac,shiftLeft(subtract(subtract(abcd,ac),bd),n)),shiftLeft(bd,2*n));trim(product);return product}function useKaratsuba(l1,l2){return-.012*l1-.012*l2+15e-6*l1*l2>0}BigInteger.prototype.multiply=function(v){var n=parseValue(v),a=this.value,b=n.value,sign=this.sign!==n.sign,abs;if(n.isSmall){if(b===0)return Integer[0];if(b===1)return this;if(b===-1)return this.negate();abs=Math.abs(b);if(abs<BASE){return new BigInteger(multiplySmall(a,abs),sign)}b=smallToArray(abs)}if(useKaratsuba(a.length,b.length))return new BigInteger(multiplyKaratsuba(a,b),sign);return new BigInteger(multiplyLong(a,b),sign)};BigInteger.prototype.times=BigInteger.prototype.multiply;function multiplySmallAndArray(a,b,sign){if(a<BASE){return new BigInteger(multiplySmall(b,a),sign)}return new BigInteger(multiplyLong(b,smallToArray(a)),sign)}SmallInteger.prototype._multiplyBySmall=function(a){if(isPrecise(a.value*this.value)){return new SmallInteger(a.value*this.value)}return multiplySmallAndArray(Math.abs(a.value),smallToArray(Math.abs(this.value)),this.sign!==a.sign)};BigInteger.prototype._multiplyBySmall=function(a){if(a.value===0)return Integer[0];if(a.value===1)return this;if(a.value===-1)return this.negate();return multiplySmallAndArray(Math.abs(a.value),this.value,this.sign!==a.sign)};SmallInteger.prototype.multiply=function(v){return parseValue(v)._multiplyBySmall(this)};SmallInteger.prototype.times=SmallInteger.prototype.multiply;NativeBigInt.prototype.multiply=function(v){return new NativeBigInt(this.value*parseValue(v).value)};NativeBigInt.prototype.times=NativeBigInt.prototype.multiply;function square(a){var l=a.length,r=createArray(l+l),base=BASE,product,carry,i,a_i,a_j;for(i=0;i<l;i++){a_i=a[i];carry=0-a_i*a_i;for(var j=i;j<l;j++){a_j=a[j];product=2*(a_i*a_j)+r[i+j]+carry;carry=Math.floor(product/base);r[i+j]=product-carry*base}r[i+l]=carry}trim(r);return r}BigInteger.prototype.square=function(){return new BigInteger(square(this.value),false)};SmallInteger.prototype.square=function(){var value=this.value*this.value;if(isPrecise(value))return new SmallInteger(value);return new BigInteger(square(smallToArray(Math.abs(this.value))),false)};NativeBigInt.prototype.square=function(v){return new NativeBigInt(this.value*this.value)};function divMod1(a,b){var a_l=a.length,b_l=b.length,base=BASE,result=createArray(b.length),divisorMostSignificantDigit=b[b_l-1],lambda=Math.ceil(base/(2*divisorMostSignificantDigit)),remainder=multiplySmall(a,lambda),divisor=multiplySmall(b,lambda),quotientDigit,shift,carry,borrow,i,l,q;if(remainder.length<=a_l)remainder.push(0);divisor.push(0);divisorMostSignificantDigit=divisor[b_l-1];for(shift=a_l-b_l;shift>=0;shift--){quotientDigit=base-1;if(remainder[shift+b_l]!==divisorMostSignificantDigit){quotientDigit=Math.floor((remainder[shift+b_l]*base+remainder[shift+b_l-1])/divisorMostSignificantDigit)}carry=0;borrow=0;l=divisor.length;for(i=0;i<l;i++){carry+=quotientDigit*divisor[i];q=Math.floor(carry/base);borrow+=remainder[shift+i]-(carry-q*base);carry=q;if(borrow<0){remainder[shift+i]=borrow+base;borrow=-1}else{remainder[shift+i]=borrow;borrow=0}}while(borrow!==0){quotientDigit-=1;carry=0;for(i=0;i<l;i++){carry+=remainder[shift+i]-base+divisor[i];if(carry<0){remainder[shift+i]=carry+base;carry=0}else{remainder[shift+i]=carry;carry=1}}borrow+=carry}result[shift]=quotientDigit}remainder=divModSmall(remainder,lambda)[0];return[arrayToSmall(result),arrayToSmall(remainder)]}function divMod2(a,b){var a_l=a.length,b_l=b.length,result=[],part=[],base=BASE,guess,xlen,highx,highy,check;while(a_l){part.unshift(a[--a_l]);trim(part);if(compareAbs(part,b)<0){result.push(0);continue}xlen=part.length;highx=part[xlen-1]*base+part[xlen-2];highy=b[b_l-1]*base+b[b_l-2];if(xlen>b_l){highx=(highx+1)*base}guess=Math.ceil(highx/highy);do{check=multiplySmall(b,guess);if(compareAbs(check,part)<=0)break;guess--}while(guess);result.push(guess);part=subtract(part,check)}result.reverse();return[arrayToSmall(result),arrayToSmall(part)]}function divModSmall(value,lambda){var length=value.length,quotient=createArray(length),base=BASE,i,q,remainder,divisor;remainder=0;for(i=length-1;i>=0;--i){divisor=remainder*base+value[i];q=truncate(divisor/lambda);remainder=divisor-q*lambda;quotient[i]=q|0}return[quotient,remainder|0]}function divModAny(self,v){var value,n=parseValue(v);if(supportsNativeBigInt){return[new NativeBigInt(self.value/n.value),new NativeBigInt(self.value%n.value)]}var a=self.value,b=n.value;var quotient;if(b===0)throw new Error("Cannot divide by zero");if(self.isSmall){if(n.isSmall){return[new SmallInteger(truncate(a/b)),new SmallInteger(a%b)]}return[Integer[0],self]}if(n.isSmall){if(b===1)return[self,Integer[0]];if(b==-1)return[self.negate(),Integer[0]];var abs=Math.abs(b);if(abs<BASE){value=divModSmall(a,abs);quotient=arrayToSmall(value[0]);var remainder=value[1];if(self.sign)remainder=-remainder;if(typeof quotient==="number"){if(self.sign!==n.sign)quotient=-quotient;return[new SmallInteger(quotient),new SmallInteger(remainder)]}return[new BigInteger(quotient,self.sign!==n.sign),new SmallInteger(remainder)]}b=smallToArray(abs)}var comparison=compareAbs(a,b);if(comparison===-1)return[Integer[0],self];if(comparison===0)return[Integer[self.sign===n.sign?1:-1],Integer[0]];if(a.length+b.length<=200)value=divMod1(a,b);else value=divMod2(a,b);quotient=value[0];var qSign=self.sign!==n.sign,mod=value[1],mSign=self.sign;if(typeof quotient==="number"){if(qSign)quotient=-quotient;quotient=new SmallInteger(quotient)}else quotient=new BigInteger(quotient,qSign);if(typeof mod==="number"){if(mSign)mod=-mod;mod=new SmallInteger(mod)}else mod=new BigInteger(mod,mSign);return[quotient,mod]}BigInteger.prototype.divmod=function(v){var result=divModAny(this,v);return{quotient:result[0],remainder:result[1]}};NativeBigInt.prototype.divmod=SmallInteger.prototype.divmod=BigInteger.prototype.divmod;BigInteger.prototype.divide=function(v){return divModAny(this,v)[0]};NativeBigInt.prototype.over=NativeBigInt.prototype.divide=function(v){return new NativeBigInt(this.value/parseValue(v).value)};SmallInteger.prototype.over=SmallInteger.prototype.divide=BigInteger.prototype.over=BigInteger.prototype.divide;BigInteger.prototype.mod=function(v){return divModAny(this,v)[1]};NativeBigInt.prototype.mod=NativeBigInt.prototype.remainder=function(v){return new NativeBigInt(this.value%parseValue(v).value)};SmallInteger.prototype.remainder=SmallInteger.prototype.mod=BigInteger.prototype.remainder=BigInteger.prototype.mod;BigInteger.prototype.pow=function(v){var n=parseValue(v),a=this.value,b=n.value,value,x,y;if(b===0)return Integer[1];if(a===0)return Integer[0];if(a===1)return Integer[1];if(a===-1)return n.isEven()?Integer[1]:Integer[-1];if(n.sign){return Integer[0]}if(!n.isSmall)throw new Error("The exponent "+n.toString()+" is too large.");if(this.isSmall){if(isPrecise(value=Math.pow(a,b)))return new SmallInteger(truncate(value))}x=this;y=Integer[1];while(true){if(b&1===1){y=y.times(x);--b}if(b===0)break;b/=2;x=x.square()}return y};SmallInteger.prototype.pow=BigInteger.prototype.pow;NativeBigInt.prototype.pow=function(v){var n=parseValue(v);var a=this.value,b=n.value;var _0=BigInt(0),_1=BigInt(1),_2=BigInt(2);if(b===_0)return Integer[1];if(a===_0)return Integer[0];if(a===_1)return Integer[1];if(a===BigInt(-1))return n.isEven()?Integer[1]:Integer[-1];if(n.isNegative())return new NativeBigInt(_0);var x=this;var y=Integer[1];while(true){if((b&_1)===_1){y=y.times(x);--b}if(b===_0)break;b/=_2;x=x.square()}return y};BigInteger.prototype.modPow=function(exp,mod){exp=parseValue(exp);mod=parseValue(mod);if(mod.isZero())throw new Error("Cannot take modPow with modulus 0");var r=Integer[1],base=this.mod(mod);if(exp.isNegative()){exp=exp.multiply(Integer[-1]);base=base.modInv(mod)}while(exp.isPositive()){if(base.isZero())return Integer[0];if(exp.isOdd())r=r.multiply(base).mod(mod);exp=exp.divide(2);base=base.square().mod(mod)}return r};NativeBigInt.prototype.modPow=SmallInteger.prototype.modPow=BigInteger.prototype.modPow;function compareAbs(a,b){if(a.length!==b.length){return a.length>b.length?1:-1}for(var i=a.length-1;i>=0;i--){if(a[i]!==b[i])return a[i]>b[i]?1:-1}return 0}BigInteger.prototype.compareAbs=function(v){var n=parseValue(v),a=this.value,b=n.value;if(n.isSmall)return 1;return compareAbs(a,b)};SmallInteger.prototype.compareAbs=function(v){var n=parseValue(v),a=Math.abs(this.value),b=n.value;if(n.isSmall){b=Math.abs(b);return a===b?0:a>b?1:-1}return-1};NativeBigInt.prototype.compareAbs=function(v){var a=this.value;var b=parseValue(v).value;a=a>=0?a:-a;b=b>=0?b:-b;return a===b?0:a>b?1:-1};BigInteger.prototype.compare=function(v){if(v===Infinity){return-1}if(v===-Infinity){return 1}var n=parseValue(v),a=this.value,b=n.value;if(this.sign!==n.sign){return n.sign?1:-1}if(n.isSmall){return this.sign?-1:1}return compareAbs(a,b)*(this.sign?-1:1)};BigInteger.prototype.compareTo=BigInteger.prototype.compare;SmallInteger.prototype.compare=function(v){if(v===Infinity){return-1}if(v===-Infinity){return 1}var n=parseValue(v),a=this.value,b=n.value;if(n.isSmall){return a==b?0:a>b?1:-1}if(a<0!==n.sign){return a<0?-1:1}return a<0?1:-1};SmallInteger.prototype.compareTo=SmallInteger.prototype.compare;NativeBigInt.prototype.compare=function(v){if(v===Infinity){return-1}if(v===-Infinity){return 1}var a=this.value;var b=parseValue(v).value;return a===b?0:a>b?1:-1};NativeBigInt.prototype.compareTo=NativeBigInt.prototype.compare;BigInteger.prototype.equals=function(v){return this.compare(v)===0};NativeBigInt.prototype.eq=NativeBigInt.prototype.equals=SmallInteger.prototype.eq=SmallInteger.prototype.equals=BigInteger.prototype.eq=BigInteger.prototype.equals;BigInteger.prototype.notEquals=function(v){return this.compare(v)!==0};NativeBigInt.prototype.neq=NativeBigInt.prototype.notEquals=SmallInteger.prototype.neq=SmallInteger.prototype.notEquals=BigInteger.prototype.neq=BigInteger.prototype.notEquals;BigInteger.prototype.greater=function(v){return this.compare(v)>0};NativeBigInt.prototype.gt=NativeBigInt.prototype.greater=SmallInteger.prototype.gt=SmallInteger.prototype.greater=BigInteger.prototype.gt=BigInteger.prototype.greater;BigInteger.prototype.lesser=function(v){return this.compare(v)<0};NativeBigInt.prototype.lt=NativeBigInt.prototype.lesser=SmallInteger.prototype.lt=SmallInteger.prototype.lesser=BigInteger.prototype.lt=BigInteger.prototype.lesser;BigInteger.prototype.greaterOrEquals=function(v){return this.compare(v)>=0};NativeBigInt.prototype.geq=NativeBigInt.prototype.greaterOrEquals=SmallInteger.prototype.geq=SmallInteger.prototype.greaterOrEquals=BigInteger.prototype.geq=BigInteger.prototype.greaterOrEquals;BigInteger.prototype.lesserOrEquals=function(v){return this.compare(v)<=0};NativeBigInt.prototype.leq=NativeBigInt.prototype.lesserOrEquals=SmallInteger.prototype.leq=SmallInteger.prototype.lesserOrEquals=BigInteger.prototype.leq=BigInteger.prototype.lesserOrEquals;BigInteger.prototype.isEven=function(){return(this.value[0]&1)===0};SmallInteger.prototype.isEven=function(){return(this.value&1)===0};NativeBigInt.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)};BigInteger.prototype.isOdd=function(){return(this.value[0]&1)===1};SmallInteger.prototype.isOdd=function(){return(this.value&1)===1};NativeBigInt.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)};BigInteger.prototype.isPositive=function(){return!this.sign};SmallInteger.prototype.isPositive=function(){return this.value>0};NativeBigInt.prototype.isPositive=SmallInteger.prototype.isPositive;BigInteger.prototype.isNegative=function(){return this.sign};SmallInteger.prototype.isNegative=function(){return this.value<0};NativeBigInt.prototype.isNegative=SmallInteger.prototype.isNegative;BigInteger.prototype.isUnit=function(){return false};SmallInteger.prototype.isUnit=function(){return Math.abs(this.value)===1};NativeBigInt.prototype.isUnit=function(){return this.abs().value===BigInt(1)};BigInteger.prototype.isZero=function(){return false};SmallInteger.prototype.isZero=function(){return this.value===0};NativeBigInt.prototype.isZero=function(){return this.value===BigInt(0)};BigInteger.prototype.isDivisibleBy=function(v){var n=parseValue(v);if(n.isZero())return false;if(n.isUnit())return true;if(n.compareAbs(2)===0)return this.isEven();return this.mod(n).isZero()};NativeBigInt.prototype.isDivisibleBy=SmallInteger.prototype.isDivisibleBy=BigInteger.prototype.isDivisibleBy;function isBasicPrime(v){var n=v.abs();if(n.isUnit())return false;if(n.equals(2)||n.equals(3)||n.equals(5))return true;if(n.isEven()||n.isDivisibleBy(3)||n.isDivisibleBy(5))return false;if(n.lesser(49))return true}function millerRabinTest(n,a){var nPrev=n.prev(),b=nPrev,r=0,d,t,i,x;while(b.isEven())b=b.divide(2),r++;next:for(i=0;i<a.length;i++){if(n.lesser(a[i]))continue;x=bigInt(a[i]).modPow(b,n);if(x.isUnit()||x.equals(nPrev))continue;for(d=r-1;d!=0;d--){x=x.square().mod(n);if(x.isUnit())return false;if(x.equals(nPrev))continue next}return false}return true}BigInteger.prototype.isPrime=function(strict){var isPrime=isBasicPrime(this);if(isPrime!==undefined)return isPrime;var n=this.abs();var bits=n.bitLength();if(bits<=64)return millerRabinTest(n,[2,3,5,7,11,13,17,19,23,29,31,37]);var logN=Math.log(2)*bits.toJSNumber();var t=Math.ceil(strict===true?2*Math.pow(logN,2):logN);for(var a=[],i=0;i<t;i++){a.push(bigInt(i+2))}return millerRabinTest(n,a)};NativeBigInt.prototype.isPrime=SmallInteger.prototype.isPrime=BigInteger.prototype.isPrime;BigInteger.prototype.isProbablePrime=function(iterations,rng){var isPrime=isBasicPrime(this);if(isPrime!==undefined)return isPrime;var n=this.abs();var t=iterations===undefined?5:iterations;for(var a=[],i=0;i<t;i++){a.push(bigInt.randBetween(2,n.minus(2),rng))}return millerRabinTest(n,a)};NativeBigInt.prototype.isProbablePrime=SmallInteger.prototype.isProbablePrime=BigInteger.prototype.isProbablePrime;BigInteger.prototype.modInv=function(n){var t=bigInt.zero,newT=bigInt.one,r=parseValue(n),newR=this.abs(),q,lastT,lastR;while(!newR.isZero()){q=r.divide(newR);lastT=t;lastR=r;t=newT;r=newR;newT=lastT.subtract(q.multiply(newT));newR=lastR.subtract(q.multiply(newR))}if(!r.isUnit())throw new Error(this.toString()+" and "+n.toString()+" are not co-prime");if(t.compare(0)===-1){t=t.add(n)}if(this.isNegative()){return t.negate()}return t};NativeBigInt.prototype.modInv=SmallInteger.prototype.modInv=BigInteger.prototype.modInv;BigInteger.prototype.next=function(){var value=this.value;if(this.sign){return subtractSmall(value,1,this.sign)}return new BigInteger(addSmall(value,1),this.sign)};SmallInteger.prototype.next=function(){var value=this.value;if(value+1<MAX_INT)return new SmallInteger(value+1);return new BigInteger(MAX_INT_ARR,false)};NativeBigInt.prototype.next=function(){return new NativeBigInt(this.value+BigInt(1))};BigInteger.prototype.prev=function(){var value=this.value;if(this.sign){return new BigInteger(addSmall(value,1),true)}return subtractSmall(value,1,this.sign)};SmallInteger.prototype.prev=function(){var value=this.value;if(value-1>-MAX_INT)return new SmallInteger(value-1);return new BigInteger(MAX_INT_ARR,true)};NativeBigInt.prototype.prev=function(){return new NativeBigInt(this.value-BigInt(1))};var powersOfTwo=[1];while(2*powersOfTwo[powersOfTwo.length-1]<=BASE)powersOfTwo.push(2*powersOfTwo[powersOfTwo.length-1]);var powers2Length=powersOfTwo.length,highestPower2=powersOfTwo[powers2Length-1];function shift_isSmall(n){return Math.abs(n)<=BASE}BigInteger.prototype.shiftLeft=function(v){var n=parseValue(v).toJSNumber();if(!shift_isSmall(n)){throw new Error(String(n)+" is too large for shifting.")}if(n<0)return this.shiftRight(-n);var result=this;if(result.isZero())return result;while(n>=powers2Length){result=result.multiply(highestPower2);n-=powers2Length-1}return result.multiply(powersOfTwo[n])};NativeBigInt.prototype.shiftLeft=SmallInteger.prototype.shiftLeft=BigInteger.prototype.shiftLeft;BigInteger.prototype.shiftRight=function(v){var remQuo;var n=parseValue(v).toJSNumber();if(!shift_isSmall(n)){throw new Error(String(n)+" is too large for shifting.")}if(n<0)return this.shiftLeft(-n);var result=this;while(n>=powers2Length){if(result.isZero()||result.isNegative()&&result.isUnit())return result;remQuo=divModAny(result,highestPower2);result=remQuo[1].isNegative()?remQuo[0].prev():remQuo[0];n-=powers2Length-1}remQuo=divModAny(result,powersOfTwo[n]);return remQuo[1].isNegative()?remQuo[0].prev():remQuo[0]};NativeBigInt.prototype.shiftRight=SmallInteger.prototype.shiftRight=BigInteger.prototype.shiftRight;function bitwise(x,y,fn){y=parseValue(y);var xSign=x.isNegative(),ySign=y.isNegative();var xRem=xSign?x.not():x,yRem=ySign?y.not():y;var xDigit=0,yDigit=0;var xDivMod=null,yDivMod=null;var result=[];while(!xRem.isZero()||!yRem.isZero()){xDivMod=divModAny(xRem,highestPower2);xDigit=xDivMod[1].toJSNumber();if(xSign){xDigit=highestPower2-1-xDigit}yDivMod=divModAny(yRem,highestPower2);yDigit=yDivMod[1].toJSNumber();if(ySign){yDigit=highestPower2-1-yDigit}xRem=xDivMod[0];yRem=yDivMod[0];result.push(fn(xDigit,yDigit))}var sum=fn(xSign?1:0,ySign?1:0)!==0?bigInt(-1):bigInt(0);for(var i=result.length-1;i>=0;i-=1){sum=sum.multiply(highestPower2).add(bigInt(result[i]))}return sum}BigInteger.prototype.not=function(){return this.negate().prev()};NativeBigInt.prototype.not=SmallInteger.prototype.not=BigInteger.prototype.not;BigInteger.prototype.and=function(n){return bitwise(this,n,function(a,b){return a&b})};NativeBigInt.prototype.and=SmallInteger.prototype.and=BigInteger.prototype.and;BigInteger.prototype.or=function(n){return bitwise(this,n,function(a,b){return a|b})};NativeBigInt.prototype.or=SmallInteger.prototype.or=BigInteger.prototype.or;BigInteger.prototype.xor=function(n){return bitwise(this,n,function(a,b){return a^b})};NativeBigInt.prototype.xor=SmallInteger.prototype.xor=BigInteger.prototype.xor;var LOBMASK_I=1<<30,LOBMASK_BI=(BASE&-BASE)*(BASE&-BASE)|LOBMASK_I;function roughLOB(n){var v=n.value,x=typeof v==="number"?v|LOBMASK_I:typeof v==="bigint"?v|BigInt(LOBMASK_I):v[0]+v[1]*BASE|LOBMASK_BI;return x&-x}function integerLogarithm(value,base){if(base.compareTo(value)<=0){var tmp=integerLogarithm(value,base.square(base));var p=tmp.p;var e=tmp.e;var t=p.multiply(base);return t.compareTo(value)<=0?{p:t,e:e*2+1}:{p:p,e:e*2}}return{p:bigInt(1),e:0}}BigInteger.prototype.bitLength=function(){var n=this;if(n.compareTo(bigInt(0))<0){n=n.negate().subtract(bigInt(1))}if(n.compareTo(bigInt(0))===0){return bigInt(0)}return bigInt(integerLogarithm(n,bigInt(2)).e).add(bigInt(1))};NativeBigInt.prototype.bitLength=SmallInteger.prototype.bitLength=BigInteger.prototype.bitLength;function max(a,b){a=parseValue(a);b=parseValue(b);return a.greater(b)?a:b}function min(a,b){a=parseValue(a);b=parseValue(b);return a.lesser(b)?a:b}function gcd(a,b){a=parseValue(a).abs();b=parseValue(b).abs();if(a.equals(b))return a;if(a.isZero())return b;if(b.isZero())return a;var c=Integer[1],d,t;while(a.isEven()&&b.isEven()){d=min(roughLOB(a),roughLOB(b));a=a.divide(d);b=b.divide(d);c=c.multiply(d)}while(a.isEven()){a=a.divide(roughLOB(a))}do{while(b.isEven()){b=b.divide(roughLOB(b))}if(a.greater(b)){t=b;b=a;a=t}b=b.subtract(a)}while(!b.isZero());return c.isUnit()?a:a.multiply(c)}function lcm(a,b){a=parseValue(a).abs();b=parseValue(b).abs();return a.divide(gcd(a,b)).multiply(b)}function randBetween(a,b,rng){a=parseValue(a);b=parseValue(b);var usedRNG=rng||Math.random;var low=min(a,b),high=max(a,b);var range=high.subtract(low).add(1);if(range.isSmall)return low.add(Math.floor(usedRNG()*range));var digits=toBase(range,BASE).value;var result=[],restricted=true;for(var i=0;i<digits.length;i++){var top=restricted?digits[i]+(i+1<digits.length?digits[i+1]/BASE:0):BASE;var digit=truncate(usedRNG()*top);result.push(digit);if(digit<digits[i])restricted=false}return low.add(Integer.fromArray(result,BASE,false))}var parseBase=function(text,base,alphabet,caseSensitive){alphabet=alphabet||DEFAULT_ALPHABET;text=String(text);if(!caseSensitive){text=text.toLowerCase();alphabet=alphabet.toLowerCase()}var length=text.length;var i;var absBase=Math.abs(base);var alphabetValues={};for(i=0;i<alphabet.length;i++){alphabetValues[alphabet[i]]=i}for(i=0;i<length;i++){var c=text[i];if(c==="-")continue;if(c in alphabetValues){if(alphabetValues[c]>=absBase){if(c==="1"&&absBase===1)continue;throw new Error(c+" is not a valid digit in base "+base+".")}}}base=parseValue(base);var digits=[];var isNegative=text[0]==="-";for(i=isNegative?1:0;i<text.length;i++){var c=text[i];if(c in alphabetValues)digits.push(parseValue(alphabetValues[c]));else if(c==="<"){var start=i;do{i++}while(text[i]!==">"&&i<text.length);digits.push(parseValue(text.slice(start+1,i)))}else throw new Error(c+" is not a valid character")}return parseBaseFromArray(digits,base,isNegative)};function parseBaseFromArray(digits,base,isNegative){var val=Integer[0],pow=Integer[1],i;for(i=digits.length-1;i>=0;i--){val=val.add(digits[i].times(pow));pow=pow.times(base)}return isNegative?val.negate():val}function stringify(digit,alphabet){alphabet=alphabet||DEFAULT_ALPHABET;if(digit<alphabet.length){return alphabet[digit]}return"<"+digit+">"}function toBase(n,base){base=bigInt(base);if(base.isZero()){if(n.isZero())return{value:[0],isNegative:false};throw new Error("Cannot convert nonzero numbers to base 0.")}if(base.equals(-1)){if(n.isZero())return{value:[0],isNegative:false};if(n.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-n.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:false};var arr=Array.apply(null,Array(n.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);arr.unshift([1]);return{value:[].concat.apply([],arr),isNegative:false}}var neg=false;if(n.isNegative()&&base.isPositive()){neg=true;n=n.abs()}if(base.isUnit()){if(n.isZero())return{value:[0],isNegative:false};return{value:Array.apply(null,Array(n.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:neg}}var out=[];var left=n,divmod;while(left.isNegative()||left.compareAbs(base)>=0){divmod=left.divmod(base);left=divmod.quotient;var digit=divmod.remainder;if(digit.isNegative()){digit=base.minus(digit).abs();left=left.next()}out.push(digit.toJSNumber())}out.push(left.toJSNumber());return{value:out.reverse(),isNegative:neg}}function toBaseString(n,base,alphabet){var arr=toBase(n,base);return(arr.isNegative?"-":"")+arr.value.map(function(x){return stringify(x,alphabet)}).join("")}BigInteger.prototype.toArray=function(radix){return toBase(this,radix)};SmallInteger.prototype.toArray=function(radix){return toBase(this,radix)};NativeBigInt.prototype.toArray=function(radix){return toBase(this,radix)};BigInteger.prototype.toString=function(radix,alphabet){if(radix===undefined)radix=10;if(radix!==10||alphabet)return toBaseString(this,radix,alphabet);var v=this.value,l=v.length,str=String(v[--l]),zeros="0000000",digit;while(--l>=0){digit=String(v[l]);str+=zeros.slice(digit.length)+digit}var sign=this.sign?"-":"";return sign+str};SmallInteger.prototype.toString=function(radix,alphabet){if(radix===undefined)radix=10;if(radix!=10||alphabet)return toBaseString(this,radix,alphabet);return String(this.value)};NativeBigInt.prototype.toString=SmallInteger.prototype.toString;NativeBigInt.prototype.toJSON=BigInteger.prototype.toJSON=SmallInteger.prototype.toJSON=function(){return this.toString()};BigInteger.prototype.valueOf=function(){return parseInt(this.toString(),10)};BigInteger.prototype.toJSNumber=BigInteger.prototype.valueOf;SmallInteger.prototype.valueOf=function(){return this.value};SmallInteger.prototype.toJSNumber=SmallInteger.prototype.valueOf;NativeBigInt.prototype.valueOf=NativeBigInt.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function parseStringValue(v){if(isPrecise(+v)){var x=+v;if(x===truncate(x))return supportsNativeBigInt?new NativeBigInt(BigInt(x)):new SmallInteger(x);throw new Error("Invalid integer: "+v)}var sign=v[0]==="-";if(sign)v=v.slice(1);var split=v.split(/e/i);if(split.length>2)throw new Error("Invalid integer: "+split.join("e"));if(split.length===2){var exp=split[1];if(exp[0]==="+")exp=exp.slice(1);exp=+exp;if(exp!==truncate(exp)||!isPrecise(exp))throw new Error("Invalid integer: "+exp+" is not a valid exponent.");var text=split[0];var decimalPlace=text.indexOf(".");if(decimalPlace>=0){exp-=text.length-decimalPlace-1;text=text.slice(0,decimalPlace)+text.slice(decimalPlace+1)}if(exp<0)throw new Error("Cannot include negative exponent part for integers");text+=new Array(exp+1).join("0");v=text}var isValid=/^([0-9][0-9]*)$/.test(v);if(!isValid)throw new Error("Invalid integer: "+v);if(supportsNativeBigInt){return new NativeBigInt(BigInt(sign?"-"+v:v))}var r=[],max=v.length,l=LOG_BASE,min=max-l;while(max>0){r.push(+v.slice(min,max));min-=l;if(min<0)min=0;max-=l}trim(r);return new BigInteger(r,sign)}function parseNumberValue(v){if(supportsNativeBigInt){return new NativeBigInt(BigInt(v))}if(isPrecise(v)){if(v!==truncate(v))throw new Error(v+" is not an integer.");return new SmallInteger(v)}return parseStringValue(v.toString())}function parseValue(v){if(typeof v==="number"){return parseNumberValue(v)}if(typeof v==="string"){return parseStringValue(v)}if(typeof v==="bigint"){return new NativeBigInt(v)}return v}for(var i=0;i<1e3;i++){Integer[i]=parseValue(i);if(i>0)Integer[-i]=parseValue(-i)}Integer.one=Integer[1];Integer.zero=Integer[0];Integer.minusOne=Integer[-1];Integer.max=max;Integer.min=min;Integer.gcd=gcd;Integer.lcm=lcm;Integer.isInstance=function(x){return x instanceof BigInteger||x instanceof SmallInteger||x instanceof NativeBigInt};Integer.randBetween=randBetween;Integer.fromArray=function(digits,base,isNegative){return parseBaseFromArray(digits.map(parseValue),parseValue(base||10),isNegative)};return Integer}();if(typeof module!=="undefined"&&module.hasOwnProperty("exports")){module.exports=bigInt}if(typeof define==="function"&&define.amd){define(function(){return bigInt})}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
This is free and unencumbered software released into the public domain.
|
|
2
|
-
|
|
3
|
-
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
4
|
-
distribute this software, either in source code form or as a compiled
|
|
5
|
-
binary, for any purpose, commercial or non-commercial, and by any
|
|
6
|
-
means.
|
|
7
|
-
|
|
8
|
-
In jurisdictions that recognize copyright laws, the author or authors
|
|
9
|
-
of this software dedicate any and all copyright interest in the
|
|
10
|
-
software to the public domain. We make this dedication for the benefit
|
|
11
|
-
of the public at large and to the detriment of our heirs and
|
|
12
|
-
successors. We intend this dedication to be an overt act of
|
|
13
|
-
relinquishment in perpetuity of all present and future rights to this
|
|
14
|
-
software under copyright law.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
-
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
20
|
-
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
21
|
-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
22
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
|
23
|
-
|
|
24
|
-
For more information, please refer to <http://unlicense.org>
|
|
@@ -1,589 +0,0 @@
|
|
|
1
|
-
# BigInteger.js [![Build Status][travis-img]][travis-url] [![Coverage Status][coveralls-img]][coveralls-url] [![Monthly Downloads][downloads-img]][downloads-url]
|
|
2
|
-
|
|
3
|
-
[travis-url]: https://travis-ci.org/peterolson/BigInteger.js
|
|
4
|
-
[travis-img]: https://travis-ci.org/peterolson/BigInteger.js.svg?branch=master
|
|
5
|
-
[coveralls-url]: https://coveralls.io/github/peterolson/BigInteger.js?branch=master
|
|
6
|
-
[coveralls-img]: https://coveralls.io/repos/peterolson/BigInteger.js/badge.svg?branch=master&service=github
|
|
7
|
-
[downloads-url]: https://www.npmjs.com/package/big-integer
|
|
8
|
-
[downloads-img]: https://img.shields.io/npm/dm/big-integer.svg
|
|
9
|
-
|
|
10
|
-
**BigInteger.js** is an arbitrary-length integer library for Javascript, allowing arithmetic operations on integers of unlimited size, notwithstanding memory and time limitations.
|
|
11
|
-
|
|
12
|
-
**Update (December 2, 2018):** [`BigInt` is being added as a native feature of JavaScript](https://tc39.github.io/proposal-bigint/). This library now works as a polyfill: if the environment supports the native `BigInt`, this library acts as a thin wrapper over the native implementation.
|
|
13
|
-
|
|
14
|
-
## Installation
|
|
15
|
-
|
|
16
|
-
If you are using a browser, you can download [BigInteger.js from GitHub](http://peterolson.github.com/BigInteger.js/BigInteger.min.js) or just hotlink to it:
|
|
17
|
-
|
|
18
|
-
<script src="https://peterolson.github.io/BigInteger.js/BigInteger.min.js"></script>
|
|
19
|
-
|
|
20
|
-
If you are using node, you can install BigInteger with [npm](https://npmjs.org/).
|
|
21
|
-
|
|
22
|
-
npm install big-integer
|
|
23
|
-
|
|
24
|
-
Then you can include it in your code:
|
|
25
|
-
|
|
26
|
-
var bigInt = require("big-integer");
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
## Usage
|
|
30
|
-
### `bigInt(number, [base], [alphabet], [caseSensitive])`
|
|
31
|
-
|
|
32
|
-
You can create a bigInt by calling the `bigInt` function. You can pass in
|
|
33
|
-
|
|
34
|
-
- a string, which it will parse as an bigInt and throw an `"Invalid integer"` error if the parsing fails.
|
|
35
|
-
- a Javascript number, which it will parse as an bigInt and throw an `"Invalid integer"` error if the parsing fails.
|
|
36
|
-
- another bigInt.
|
|
37
|
-
- nothing, and it will return `bigInt.zero`.
|
|
38
|
-
|
|
39
|
-
If you provide a second parameter, then it will parse `number` as a number in base `base`. Note that `base` can be any bigInt (even negative or zero). The letters "a-z" and "A-Z" will be interpreted as the numbers 10 to 35. Higher digits can be specified in angle brackets (`<` and `>`). The default `base` is `10`.
|
|
40
|
-
|
|
41
|
-
You can specify a custom alphabet for base conversion with the third parameter. The default `alphabet` is `"0123456789abcdefghijklmnopqrstuvwxyz"`.
|
|
42
|
-
|
|
43
|
-
The fourth parameter specifies whether or not the number string should be case-sensitive, i.e. whether `a` and `A` should be treated as different digits. By default `caseSensitive` is `false`.
|
|
44
|
-
|
|
45
|
-
Examples:
|
|
46
|
-
|
|
47
|
-
var zero = bigInt();
|
|
48
|
-
var ninetyThree = bigInt(93);
|
|
49
|
-
var largeNumber = bigInt("75643564363473453456342378564387956906736546456235345");
|
|
50
|
-
var googol = bigInt("1e100");
|
|
51
|
-
var bigNumber = bigInt(largeNumber);
|
|
52
|
-
|
|
53
|
-
var maximumByte = bigInt("FF", 16);
|
|
54
|
-
var fiftyFiveGoogol = bigInt("<55>0", googol);
|
|
55
|
-
|
|
56
|
-
Note that Javascript numbers larger than `9007199254740992` and smaller than `-9007199254740992` are not precisely represented numbers and will not produce exact results. If you are dealing with numbers outside that range, it is better to pass in strings.
|
|
57
|
-
|
|
58
|
-
### Method Chaining
|
|
59
|
-
|
|
60
|
-
Note that bigInt operations return bigInts, which allows you to chain methods, for example:
|
|
61
|
-
|
|
62
|
-
var salary = bigInt(dollarsPerHour).times(hoursWorked).plus(randomBonuses)
|
|
63
|
-
|
|
64
|
-
### Constants
|
|
65
|
-
|
|
66
|
-
There are three named constants already stored that you do not have to construct with the `bigInt` function yourself:
|
|
67
|
-
|
|
68
|
-
- `bigInt.one`, equivalent to `bigInt(1)`
|
|
69
|
-
- `bigInt.zero`, equivalent to `bigInt(0)`
|
|
70
|
-
- `bigInt.minusOne`, equivalent to `bigInt(-1)`
|
|
71
|
-
|
|
72
|
-
The numbers from -999 to 999 are also already prestored and can be accessed using `bigInt[index]`, for example:
|
|
73
|
-
|
|
74
|
-
- `bigInt[-999]`, equivalent to `bigInt(-999)`
|
|
75
|
-
- `bigInt[256]`, equivalent to `bigInt(256)`
|
|
76
|
-
|
|
77
|
-
### Methods
|
|
78
|
-
|
|
79
|
-
#### `abs()`
|
|
80
|
-
|
|
81
|
-
Returns the absolute value of a bigInt.
|
|
82
|
-
|
|
83
|
-
- `bigInt(-45).abs()` => `45`
|
|
84
|
-
- `bigInt(45).abs()` => `45`
|
|
85
|
-
|
|
86
|
-
#### `add(number)`
|
|
87
|
-
|
|
88
|
-
Performs addition.
|
|
89
|
-
|
|
90
|
-
- `bigInt(5).add(7)` => `12`
|
|
91
|
-
|
|
92
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Addition)
|
|
93
|
-
|
|
94
|
-
#### `and(number)`
|
|
95
|
-
|
|
96
|
-
Performs the bitwise AND operation. The operands are treated as if they were represented using [two's complement representation](http://en.wikipedia.org/wiki/Two%27s_complement).
|
|
97
|
-
|
|
98
|
-
- `bigInt(6).and(3)` => `2`
|
|
99
|
-
- `bigInt(6).and(-3)` => `4`
|
|
100
|
-
|
|
101
|
-
#### `bitLength()`
|
|
102
|
-
|
|
103
|
-
Returns the number of digits required to represent a bigInt in binary.
|
|
104
|
-
|
|
105
|
-
- `bigInt(5)` => `3` (since 5 is `101` in binary, which is three digits long)
|
|
106
|
-
|
|
107
|
-
#### `compare(number)`
|
|
108
|
-
|
|
109
|
-
Performs a comparison between two numbers. If the numbers are equal, it returns `0`. If the first number is greater, it returns `1`. If the first number is lesser, it returns `-1`.
|
|
110
|
-
|
|
111
|
-
- `bigInt(5).compare(5)` => `0`
|
|
112
|
-
- `bigInt(5).compare(4)` => `1`
|
|
113
|
-
- `bigInt(4).compare(5)` => `-1`
|
|
114
|
-
|
|
115
|
-
#### `compareAbs(number)`
|
|
116
|
-
|
|
117
|
-
Performs a comparison between the absolute value of two numbers.
|
|
118
|
-
|
|
119
|
-
- `bigInt(5).compareAbs(-5)` => `0`
|
|
120
|
-
- `bigInt(5).compareAbs(4)` => `1`
|
|
121
|
-
- `bigInt(4).compareAbs(-5)` => `-1`
|
|
122
|
-
|
|
123
|
-
#### `compareTo(number)`
|
|
124
|
-
|
|
125
|
-
Alias for the `compare` method.
|
|
126
|
-
|
|
127
|
-
#### `divide(number)`
|
|
128
|
-
|
|
129
|
-
Performs integer division, disregarding the remainder.
|
|
130
|
-
|
|
131
|
-
- `bigInt(59).divide(5)` => `11`
|
|
132
|
-
|
|
133
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Division)
|
|
134
|
-
|
|
135
|
-
#### `divmod(number)`
|
|
136
|
-
|
|
137
|
-
Performs division and returns an object with two properties: `quotient` and `remainder`. The sign of the remainder will match the sign of the dividend.
|
|
138
|
-
|
|
139
|
-
- `bigInt(59).divmod(5)` => `{quotient: bigInt(11), remainder: bigInt(4) }`
|
|
140
|
-
- `bigInt(-5).divmod(2)` => `{quotient: bigInt(-2), remainder: bigInt(-1) }`
|
|
141
|
-
|
|
142
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Division)
|
|
143
|
-
|
|
144
|
-
#### `eq(number)`
|
|
145
|
-
|
|
146
|
-
Alias for the `equals` method.
|
|
147
|
-
|
|
148
|
-
#### `equals(number)`
|
|
149
|
-
|
|
150
|
-
Checks if two numbers are equal.
|
|
151
|
-
|
|
152
|
-
- `bigInt(5).equals(5)` => `true`
|
|
153
|
-
- `bigInt(4).equals(7)` => `false`
|
|
154
|
-
|
|
155
|
-
#### `geq(number)`
|
|
156
|
-
|
|
157
|
-
Alias for the `greaterOrEquals` method.
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
#### `greater(number)`
|
|
161
|
-
|
|
162
|
-
Checks if the first number is greater than the second.
|
|
163
|
-
|
|
164
|
-
- `bigInt(5).greater(6)` => `false`
|
|
165
|
-
- `bigInt(5).greater(5)` => `false`
|
|
166
|
-
- `bigInt(5).greater(4)` => `true`
|
|
167
|
-
|
|
168
|
-
#### `greaterOrEquals(number)`
|
|
169
|
-
|
|
170
|
-
Checks if the first number is greater than or equal to the second.
|
|
171
|
-
|
|
172
|
-
- `bigInt(5).greaterOrEquals(6)` => `false`
|
|
173
|
-
- `bigInt(5).greaterOrEquals(5)` => `true`
|
|
174
|
-
- `bigInt(5).greaterOrEquals(4)` => `true`
|
|
175
|
-
|
|
176
|
-
#### `gt(number)`
|
|
177
|
-
|
|
178
|
-
Alias for the `greater` method.
|
|
179
|
-
|
|
180
|
-
#### `isDivisibleBy(number)`
|
|
181
|
-
|
|
182
|
-
Returns `true` if the first number is divisible by the second number, `false` otherwise.
|
|
183
|
-
|
|
184
|
-
- `bigInt(999).isDivisibleBy(333)` => `true`
|
|
185
|
-
- `bigInt(99).isDivisibleBy(5)` => `false`
|
|
186
|
-
|
|
187
|
-
#### `isEven()`
|
|
188
|
-
|
|
189
|
-
Returns `true` if the number is even, `false` otherwise.
|
|
190
|
-
|
|
191
|
-
- `bigInt(6).isEven()` => `true`
|
|
192
|
-
- `bigInt(3).isEven()` => `false`
|
|
193
|
-
|
|
194
|
-
#### `isNegative()`
|
|
195
|
-
|
|
196
|
-
Returns `true` if the number is negative, `false` otherwise.
|
|
197
|
-
Returns `false` for `0` and `-0`.
|
|
198
|
-
|
|
199
|
-
- `bigInt(-23).isNegative()` => `true`
|
|
200
|
-
- `bigInt(50).isNegative()` => `false`
|
|
201
|
-
|
|
202
|
-
#### `isOdd()`
|
|
203
|
-
|
|
204
|
-
Returns `true` if the number is odd, `false` otherwise.
|
|
205
|
-
|
|
206
|
-
- `bigInt(13).isOdd()` => `true`
|
|
207
|
-
- `bigInt(40).isOdd()` => `false`
|
|
208
|
-
|
|
209
|
-
#### `isPositive()`
|
|
210
|
-
|
|
211
|
-
Return `true` if the number is positive, `false` otherwise.
|
|
212
|
-
Returns `false` for `0` and `-0`.
|
|
213
|
-
|
|
214
|
-
- `bigInt(54).isPositive()` => `true`
|
|
215
|
-
- `bigInt(-1).isPositive()` => `false`
|
|
216
|
-
|
|
217
|
-
#### `isPrime(strict?)`
|
|
218
|
-
|
|
219
|
-
Returns `true` if the number is prime, `false` otherwise.
|
|
220
|
-
Set "strict" boolean to true to force GRH-supported lower bound of 2*log(N)^2.
|
|
221
|
-
|
|
222
|
-
- `bigInt(5).isPrime()` => `true`
|
|
223
|
-
- `bigInt(6).isPrime()` => `false`
|
|
224
|
-
|
|
225
|
-
#### `isProbablePrime([iterations], [rng])`
|
|
226
|
-
|
|
227
|
-
Returns `true` if the number is very likely to be prime, `false` otherwise.
|
|
228
|
-
Supplying `iterations` is optional - it determines the number of iterations of the test (default: `5`). The more iterations, the lower chance of getting a false positive.
|
|
229
|
-
This uses the [Miller Rabin test](https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality_test).
|
|
230
|
-
|
|
231
|
-
- `bigInt(5).isProbablePrime()` => `true`
|
|
232
|
-
- `bigInt(49).isProbablePrime()` => `false`
|
|
233
|
-
- `bigInt(1729).isProbablePrime()` => `false`
|
|
234
|
-
|
|
235
|
-
Note that this function is not deterministic, since it relies on random sampling of factors, so the result for some numbers is not always the same - unless you pass a predictable random number generator as `rng`. The behavior and requirements are the same as with `randBetween`.
|
|
236
|
-
|
|
237
|
-
- `bigInt(1729).isProbablePrime(1, () => 0.1)` => `false`
|
|
238
|
-
- `bigInt(1729).isProbablePrime(1, () => 0.2)` => `true`
|
|
239
|
-
|
|
240
|
-
If the number is composite then the Miller–Rabin primality test declares the number probably prime with a probability at most `4` to the power `−iterations`.
|
|
241
|
-
If the number is prime, this function always returns `true`.
|
|
242
|
-
|
|
243
|
-
#### `isUnit()`
|
|
244
|
-
|
|
245
|
-
Returns `true` if the number is `1` or `-1`, `false` otherwise.
|
|
246
|
-
|
|
247
|
-
- `bigInt.one.isUnit()` => `true`
|
|
248
|
-
- `bigInt.minusOne.isUnit()` => `true`
|
|
249
|
-
- `bigInt(5).isUnit()` => `false`
|
|
250
|
-
|
|
251
|
-
#### `isZero()`
|
|
252
|
-
|
|
253
|
-
Return `true` if the number is `0` or `-0`, `false` otherwise.
|
|
254
|
-
|
|
255
|
-
- `bigInt.zero.isZero()` => `true`
|
|
256
|
-
- `bigInt("-0").isZero()` => `true`
|
|
257
|
-
- `bigInt(50).isZero()` => `false`
|
|
258
|
-
|
|
259
|
-
#### `leq(number)`
|
|
260
|
-
|
|
261
|
-
Alias for the `lesserOrEquals` method.
|
|
262
|
-
|
|
263
|
-
#### `lesser(number)`
|
|
264
|
-
|
|
265
|
-
Checks if the first number is lesser than the second.
|
|
266
|
-
|
|
267
|
-
- `bigInt(5).lesser(6)` => `true`
|
|
268
|
-
- `bigInt(5).lesser(5)` => `false`
|
|
269
|
-
- `bigInt(5).lesser(4)` => `false`
|
|
270
|
-
|
|
271
|
-
#### `lesserOrEquals(number)`
|
|
272
|
-
|
|
273
|
-
Checks if the first number is less than or equal to the second.
|
|
274
|
-
|
|
275
|
-
- `bigInt(5).lesserOrEquals(6)` => `true`
|
|
276
|
-
- `bigInt(5).lesserOrEquals(5)` => `true`
|
|
277
|
-
- `bigInt(5).lesserOrEquals(4)` => `false`
|
|
278
|
-
|
|
279
|
-
#### `lt(number)`
|
|
280
|
-
|
|
281
|
-
Alias for the `lesser` method.
|
|
282
|
-
|
|
283
|
-
#### `minus(number)`
|
|
284
|
-
|
|
285
|
-
Alias for the `subtract` method.
|
|
286
|
-
|
|
287
|
-
- `bigInt(3).minus(5)` => `-2`
|
|
288
|
-
|
|
289
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Subtraction)
|
|
290
|
-
|
|
291
|
-
#### `mod(number)`
|
|
292
|
-
|
|
293
|
-
Performs division and returns the remainder, disregarding the quotient. The sign of the remainder will match the sign of the dividend.
|
|
294
|
-
|
|
295
|
-
- `bigInt(59).mod(5)` => `4`
|
|
296
|
-
- `bigInt(-5).mod(2)` => `-1`
|
|
297
|
-
|
|
298
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Division)
|
|
299
|
-
|
|
300
|
-
#### `modInv(mod)`
|
|
301
|
-
|
|
302
|
-
Finds the [multiplicative inverse](https://en.wikipedia.org/wiki/Modular_multiplicative_inverse) of the number modulo `mod`.
|
|
303
|
-
|
|
304
|
-
- `bigInt(3).modInv(11)` => `4`
|
|
305
|
-
- `bigInt(42).modInv(2017)` => `1969`
|
|
306
|
-
|
|
307
|
-
#### `modPow(exp, mod)`
|
|
308
|
-
|
|
309
|
-
Takes the number to the power `exp` modulo `mod`.
|
|
310
|
-
|
|
311
|
-
- `bigInt(10).modPow(3, 30)` => `10`
|
|
312
|
-
|
|
313
|
-
#### `multiply(number)`
|
|
314
|
-
|
|
315
|
-
Performs multiplication.
|
|
316
|
-
|
|
317
|
-
- `bigInt(111).multiply(111)` => `12321`
|
|
318
|
-
|
|
319
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Multiplication)
|
|
320
|
-
|
|
321
|
-
#### `neq(number)`
|
|
322
|
-
|
|
323
|
-
Alias for the `notEquals` method.
|
|
324
|
-
|
|
325
|
-
#### `next()`
|
|
326
|
-
|
|
327
|
-
Adds one to the number.
|
|
328
|
-
|
|
329
|
-
- `bigInt(6).next()` => `7`
|
|
330
|
-
|
|
331
|
-
#### `not()`
|
|
332
|
-
|
|
333
|
-
Performs the bitwise NOT operation. The operands are treated as if they were represented using [two's complement representation](http://en.wikipedia.org/wiki/Two%27s_complement).
|
|
334
|
-
|
|
335
|
-
- `bigInt(10).not()` => `-11`
|
|
336
|
-
- `bigInt(0).not()` => `-1`
|
|
337
|
-
|
|
338
|
-
#### `notEquals(number)`
|
|
339
|
-
|
|
340
|
-
Checks if two numbers are not equal.
|
|
341
|
-
|
|
342
|
-
- `bigInt(5).notEquals(5)` => `false`
|
|
343
|
-
- `bigInt(4).notEquals(7)` => `true`
|
|
344
|
-
|
|
345
|
-
#### `or(number)`
|
|
346
|
-
|
|
347
|
-
Performs the bitwise OR operation. The operands are treated as if they were represented using [two's complement representation](http://en.wikipedia.org/wiki/Two%27s_complement).
|
|
348
|
-
|
|
349
|
-
- `bigInt(13).or(10)` => `15`
|
|
350
|
-
- `bigInt(13).or(-8)` => `-3`
|
|
351
|
-
|
|
352
|
-
#### `over(number)`
|
|
353
|
-
|
|
354
|
-
Alias for the `divide` method.
|
|
355
|
-
|
|
356
|
-
- `bigInt(59).over(5)` => `11`
|
|
357
|
-
|
|
358
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Division)
|
|
359
|
-
|
|
360
|
-
#### `plus(number)`
|
|
361
|
-
|
|
362
|
-
Alias for the `add` method.
|
|
363
|
-
|
|
364
|
-
- `bigInt(5).plus(7)` => `12`
|
|
365
|
-
|
|
366
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Addition)
|
|
367
|
-
|
|
368
|
-
#### `pow(number)`
|
|
369
|
-
|
|
370
|
-
Performs exponentiation. If the exponent is less than `0`, `pow` returns `0`. `bigInt.zero.pow(0)` returns `1`.
|
|
371
|
-
|
|
372
|
-
- `bigInt(16).pow(16)` => `18446744073709551616`
|
|
373
|
-
|
|
374
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Exponentiation)
|
|
375
|
-
|
|
376
|
-
#### `prev(number)`
|
|
377
|
-
|
|
378
|
-
Subtracts one from the number.
|
|
379
|
-
|
|
380
|
-
- `bigInt(6).prev()` => `5`
|
|
381
|
-
|
|
382
|
-
#### `remainder(number)`
|
|
383
|
-
|
|
384
|
-
Alias for the `mod` method.
|
|
385
|
-
|
|
386
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Division)
|
|
387
|
-
|
|
388
|
-
#### `shiftLeft(n)`
|
|
389
|
-
|
|
390
|
-
Shifts the number left by `n` places in its binary representation. If a negative number is provided, it will shift right. Throws an error if `n` is outside of the range `[-9007199254740992, 9007199254740992]`.
|
|
391
|
-
|
|
392
|
-
- `bigInt(8).shiftLeft(2)` => `32`
|
|
393
|
-
- `bigInt(8).shiftLeft(-2)` => `2`
|
|
394
|
-
|
|
395
|
-
#### `shiftRight(n)`
|
|
396
|
-
|
|
397
|
-
Shifts the number right by `n` places in its binary representation. If a negative number is provided, it will shift left. Throws an error if `n` is outside of the range `[-9007199254740992, 9007199254740992]`.
|
|
398
|
-
|
|
399
|
-
- `bigInt(8).shiftRight(2)` => `2`
|
|
400
|
-
- `bigInt(8).shiftRight(-2)` => `32`
|
|
401
|
-
|
|
402
|
-
#### `square()`
|
|
403
|
-
|
|
404
|
-
Squares the number
|
|
405
|
-
|
|
406
|
-
- `bigInt(3).square()` => `9`
|
|
407
|
-
|
|
408
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Squaring)
|
|
409
|
-
|
|
410
|
-
#### `subtract(number)`
|
|
411
|
-
|
|
412
|
-
Performs subtraction.
|
|
413
|
-
|
|
414
|
-
- `bigInt(3).subtract(5)` => `-2`
|
|
415
|
-
|
|
416
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Subtraction)
|
|
417
|
-
|
|
418
|
-
#### `times(number)`
|
|
419
|
-
|
|
420
|
-
Alias for the `multiply` method.
|
|
421
|
-
|
|
422
|
-
- `bigInt(111).times(111)` => `12321`
|
|
423
|
-
|
|
424
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Multiplication)
|
|
425
|
-
|
|
426
|
-
#### `toArray(radix)`
|
|
427
|
-
|
|
428
|
-
Converts a bigInt into an object with the properties "value" and "isNegative." "Value" is an array of integers modulo the given radix. "isNegative" is a boolean that represents the sign of the result.
|
|
429
|
-
|
|
430
|
-
- `bigInt("1e9").toArray(10)` => {
|
|
431
|
-
value: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
432
|
-
isNegative: false
|
|
433
|
-
}
|
|
434
|
-
- `bigInt("1e9").toArray(16)` => {
|
|
435
|
-
value: [3, 11, 9, 10, 12, 10, 0, 0],
|
|
436
|
-
isNegative: false
|
|
437
|
-
}
|
|
438
|
-
- `bigInt(567890).toArray(100)` => {
|
|
439
|
-
value: [56, 78, 90],
|
|
440
|
-
isNegative: false
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
Negative bases are supported.
|
|
444
|
-
|
|
445
|
-
- `bigInt(12345).toArray(-10)` => {
|
|
446
|
-
value: [2, 8, 4, 6, 5],
|
|
447
|
-
isNegative: false
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
Base 1 and base -1 are also supported.
|
|
451
|
-
|
|
452
|
-
- `bigInt(-15).toArray(1)` => {
|
|
453
|
-
value: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
|
454
|
-
isNegative: true
|
|
455
|
-
}
|
|
456
|
-
- `bigInt(-15).toArray(-1)` => {
|
|
457
|
-
value: [1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1,
|
|
458
|
-
0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0],
|
|
459
|
-
isNegative: false
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
Base 0 is only allowed for the number zero.
|
|
463
|
-
|
|
464
|
-
- `bigInt(0).toArray(0)` => {
|
|
465
|
-
value: [0],
|
|
466
|
-
isNegative: false
|
|
467
|
-
}
|
|
468
|
-
- `bigInt(1).toArray(0)` => `Error: Cannot convert nonzero numbers to base 0.`
|
|
469
|
-
|
|
470
|
-
#### `toJSNumber()`
|
|
471
|
-
|
|
472
|
-
Converts a bigInt into a native Javascript number. Loses precision for numbers outside the range `[-9007199254740992, 9007199254740992]`.
|
|
473
|
-
|
|
474
|
-
- `bigInt("18446744073709551616").toJSNumber()` => `18446744073709552000`
|
|
475
|
-
|
|
476
|
-
#### `xor(number)`
|
|
477
|
-
|
|
478
|
-
Performs the bitwise XOR operation. The operands are treated as if they were represented using [two's complement representation](http://en.wikipedia.org/wiki/Two%27s_complement).
|
|
479
|
-
|
|
480
|
-
- `bigInt(12).xor(5)` => `9`
|
|
481
|
-
- `bigInt(12).xor(-5)` => `-9`
|
|
482
|
-
|
|
483
|
-
### Static Methods
|
|
484
|
-
|
|
485
|
-
#### `fromArray(digits, base = 10, isNegative?)`
|
|
486
|
-
|
|
487
|
-
Constructs a bigInt from an array of digits in base `base`. The optional `isNegative` flag will make the number negative.
|
|
488
|
-
|
|
489
|
-
- `bigInt.fromArray([1, 2, 3, 4, 5], 10)` => `12345`
|
|
490
|
-
- `bigInt.fromArray([1, 0, 0], 2, true)` => `-4`
|
|
491
|
-
|
|
492
|
-
#### `gcd(a, b)`
|
|
493
|
-
|
|
494
|
-
Finds the greatest common denominator of `a` and `b`.
|
|
495
|
-
|
|
496
|
-
- `bigInt.gcd(42,56)` => `14`
|
|
497
|
-
|
|
498
|
-
#### `isInstance(x)`
|
|
499
|
-
|
|
500
|
-
Returns `true` if `x` is a BigInteger, `false` otherwise.
|
|
501
|
-
|
|
502
|
-
- `bigInt.isInstance(bigInt(14))` => `true`
|
|
503
|
-
- `bigInt.isInstance(14)` => `false`
|
|
504
|
-
|
|
505
|
-
#### `lcm(a,b)`
|
|
506
|
-
|
|
507
|
-
Finds the least common multiple of `a` and `b`.
|
|
508
|
-
|
|
509
|
-
- `bigInt.lcm(21, 6)` => `42`
|
|
510
|
-
|
|
511
|
-
#### `max(a,b)`
|
|
512
|
-
|
|
513
|
-
Returns the largest of `a` and `b`.
|
|
514
|
-
|
|
515
|
-
- `bigInt.max(77, 432)` => `432`
|
|
516
|
-
|
|
517
|
-
#### `min(a,b)`
|
|
518
|
-
|
|
519
|
-
Returns the smallest of `a` and `b`.
|
|
520
|
-
|
|
521
|
-
- `bigInt.min(77, 432)` => `77`
|
|
522
|
-
|
|
523
|
-
#### `randBetween(min, max, [rng])`
|
|
524
|
-
|
|
525
|
-
Returns a random number between `min` and `max`, optionally using `rng` to generate randomness.
|
|
526
|
-
|
|
527
|
-
- `bigInt.randBetween("-1e100", "1e100")` => (for example) `8494907165436643479673097939554427056789510374838494147955756275846226209006506706784609314471378745`
|
|
528
|
-
|
|
529
|
-
`rng` should take no arguments and return a `number` between 0 and 1. It defaults to `Math.random`.
|
|
530
|
-
|
|
531
|
-
- `bigInt.randBetween("-1e100", "1e100", () => 0.5)` => (always) `50000005000000500000050000005000000500000050000005000000500000050000005000000500000050000005000000`
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
### Override Methods
|
|
535
|
-
|
|
536
|
-
#### `toString(radix = 10, [alphabet])`
|
|
537
|
-
|
|
538
|
-
Converts a bigInt to a string. There is an optional radix parameter (which defaults to 10) that converts the number to the given radix. Digits in the range `10-35` will use the letters `a-z`.
|
|
539
|
-
|
|
540
|
-
- `bigInt("1e9").toString()` => `"1000000000"`
|
|
541
|
-
- `bigInt("1e9").toString(16)` => `"3b9aca00"`
|
|
542
|
-
|
|
543
|
-
You can use a custom base alphabet with the second parameter. The default `alphabet` is `"0123456789abcdefghijklmnopqrstuvwxyz"`.
|
|
544
|
-
|
|
545
|
-
- `bigInt("5").toString(2, "aA")` => `"AaA"`
|
|
546
|
-
|
|
547
|
-
**Note that arithmetical operators will trigger the `valueOf` function rather than the `toString` function.** When converting a bigInteger to a string, you should use the `toString` method or the `String` function instead of adding the empty string.
|
|
548
|
-
|
|
549
|
-
- `bigInt("999999999999999999").toString()` => `"999999999999999999"`
|
|
550
|
-
- `String(bigInt("999999999999999999"))` => `"999999999999999999"`
|
|
551
|
-
- `bigInt("999999999999999999") + ""` => `1000000000000000000`
|
|
552
|
-
|
|
553
|
-
Bases larger than 36 are supported. If a digit is greater than or equal to 36, it will be enclosed in angle brackets.
|
|
554
|
-
|
|
555
|
-
- `bigInt(567890).toString(100)` => `"<56><78><90>"`
|
|
556
|
-
|
|
557
|
-
Negative bases are also supported.
|
|
558
|
-
|
|
559
|
-
- `bigInt(12345).toString(-10)` => `"28465"`
|
|
560
|
-
|
|
561
|
-
Base 1 and base -1 are also supported.
|
|
562
|
-
|
|
563
|
-
- `bigInt(-15).toString(1)` => `"-111111111111111"`
|
|
564
|
-
- `bigInt(-15).toString(-1)` => `"101010101010101010101010101010"`
|
|
565
|
-
|
|
566
|
-
Base 0 is only allowed for the number zero.
|
|
567
|
-
|
|
568
|
-
- `bigInt(0).toString(0)` => `0`
|
|
569
|
-
- `bigInt(1).toString(0)` => `Error: Cannot convert nonzero numbers to base 0.`
|
|
570
|
-
|
|
571
|
-
[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#toString)
|
|
572
|
-
|
|
573
|
-
#### `valueOf()`
|
|
574
|
-
|
|
575
|
-
Converts a bigInt to a native Javascript number. This override allows you to use native arithmetic operators without explicit conversion:
|
|
576
|
-
|
|
577
|
-
- `bigInt("100") + bigInt("200") === 300; //true`
|
|
578
|
-
|
|
579
|
-
## Contributors
|
|
580
|
-
|
|
581
|
-
To contribute, just fork the project, make some changes, and submit a pull request. Please verify that the unit tests pass before submitting.
|
|
582
|
-
|
|
583
|
-
The unit tests are contained in the `spec/spec.js` file. You can run them locally by opening the `spec/SpecRunner.html` or file or running `npm test`. You can also [run the tests online from GitHub](http://peterolson.github.io/BigInteger.js/spec/SpecRunner.html).
|
|
584
|
-
|
|
585
|
-
There are performance benchmarks that can be viewed from the `benchmarks/index.html` page. You can [run them online from GitHub](http://peterolson.github.io/BigInteger.js/benchmark/).
|
|
586
|
-
|
|
587
|
-
## License
|
|
588
|
-
|
|
589
|
-
This project is public domain. For more details, read about the [Unlicense](http://unlicense.org/).
|