clawatch 1.0.7 → 1.0.9
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/backend/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/backend/node_modules/better-sqlite3/deps/common.gypi +68 -0
- package/backend/node_modules/better-sqlite3/deps/copy.js +31 -0
- package/backend/node_modules/better-sqlite3/deps/defines.gypi +41 -0
- package/backend/node_modules/better-sqlite3/deps/download.sh +122 -0
- package/backend/node_modules/better-sqlite3/deps/patches/1208.patch +15 -0
- package/backend/node_modules/better-sqlite3/deps/sqlite3/sqlite3.c +261480 -0
- package/backend/node_modules/better-sqlite3/deps/sqlite3/sqlite3.h +13715 -0
- package/backend/node_modules/better-sqlite3/deps/sqlite3/sqlite3ext.h +719 -0
- package/backend/node_modules/better-sqlite3/deps/sqlite3.gyp +80 -0
- package/backend/node_modules/better-sqlite3/deps/test_extension.c +21 -0
- package/backend/node_modules/better-sqlite3/src/better_sqlite3.cpp +2186 -0
- package/backend/node_modules/better-sqlite3/src/better_sqlite3.hpp +1036 -0
- package/backend/node_modules/es-abstract/.claude/settings.local.json +12 -0
- package/backend/node_modules/es-abstract/.editorconfig +15 -0
- package/backend/node_modules/es-abstract/.nycrc +15 -0
- package/backend/node_modules/es-abstract/2015/AbstractEqualityComparison.js +38 -0
- package/backend/node_modules/es-abstract/2015/AbstractRelationalComparison.js +62 -0
- package/backend/node_modules/es-abstract/2015/AdvanceStringIndex.js +44 -0
- package/backend/node_modules/es-abstract/2015/ArrayCreate.js +42 -0
- package/backend/node_modules/es-abstract/2015/ArraySetLength.js +77 -0
- package/backend/node_modules/es-abstract/2015/ArraySpeciesCreate.js +46 -0
- package/backend/node_modules/es-abstract/2015/Call.js +20 -0
- package/backend/node_modules/es-abstract/2015/CanonicalNumericIndexString.js +19 -0
- package/backend/node_modules/es-abstract/2015/Canonicalize.js +51 -0
- package/backend/node_modules/es-abstract/2015/CharacterRange.js +53 -0
- package/backend/node_modules/es-abstract/2015/CompletePropertyDescriptor.js +43 -0
- package/backend/node_modules/es-abstract/2015/CompletionRecord.js +48 -0
- package/backend/node_modules/es-abstract/2015/CreateDataProperty.js +25 -0
- package/backend/node_modules/es-abstract/2015/CreateDataPropertyOrThrow.js +24 -0
- package/backend/node_modules/es-abstract/2015/CreateHTML.js +27 -0
- package/backend/node_modules/es-abstract/2015/CreateIterResultObject.js +15 -0
- package/backend/node_modules/es-abstract/2015/CreateListFromArrayLike.js +43 -0
- package/backend/node_modules/es-abstract/2015/CreateMethodProperty.js +38 -0
- package/backend/node_modules/es-abstract/2015/DateFromTime.js +52 -0
- package/backend/node_modules/es-abstract/2015/Day.js +11 -0
- package/backend/node_modules/es-abstract/2015/DayFromYear.js +10 -0
- package/backend/node_modules/es-abstract/2015/DayWithinYear.js +11 -0
- package/backend/node_modules/es-abstract/2015/DaysInYear.js +18 -0
- package/backend/node_modules/es-abstract/2015/DefinePropertyOrThrow.js +39 -0
- package/backend/node_modules/es-abstract/2015/DeletePropertyOrThrow.js +25 -0
- package/backend/node_modules/es-abstract/2015/DetachArrayBuffer.js +38 -0
- package/backend/node_modules/es-abstract/2015/EnumerableOwnNames.js +16 -0
- package/backend/node_modules/es-abstract/2015/FromPropertyDescriptor.js +16 -0
- package/backend/node_modules/es-abstract/2015/Get.js +24 -0
- package/backend/node_modules/es-abstract/2015/GetGlobalObject.js +9 -0
- package/backend/node_modules/es-abstract/2015/GetIterator.js +30 -0
- package/backend/node_modules/es-abstract/2015/GetMethod.js +34 -0
- package/backend/node_modules/es-abstract/2015/GetOwnPropertyKeys.js +30 -0
- package/backend/node_modules/es-abstract/2015/GetPrototypeFromConstructor.js +33 -0
- package/backend/node_modules/es-abstract/2015/GetSubstitution.js +98 -0
- package/backend/node_modules/es-abstract/2015/GetV.js +23 -0
- package/backend/node_modules/es-abstract/2015/GetValueFromBuffer.js +86 -0
- package/backend/node_modules/es-abstract/2015/HasOwnProperty.js +20 -0
- package/backend/node_modules/es-abstract/2015/HasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2015/HourFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2015/InLeapYear.js +19 -0
- package/backend/node_modules/es-abstract/2015/InstanceofOperator.js +30 -0
- package/backend/node_modules/es-abstract/2015/IntegerIndexedElementGet.js +57 -0
- package/backend/node_modules/es-abstract/2015/IntegerIndexedElementSet.js +62 -0
- package/backend/node_modules/es-abstract/2015/InternalizeJSONProperty.js +68 -0
- package/backend/node_modules/es-abstract/2015/Invoke.js +22 -0
- package/backend/node_modules/es-abstract/2015/IsAccessorDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2015/IsArray.js +4 -0
- package/backend/node_modules/es-abstract/2015/IsCallable.js +5 -0
- package/backend/node_modules/es-abstract/2015/IsCompatiblePropertyDescriptor.js +9 -0
- package/backend/node_modules/es-abstract/2015/IsConcatSpreadable.js +26 -0
- package/backend/node_modules/es-abstract/2015/IsConstructor.js +40 -0
- package/backend/node_modules/es-abstract/2015/IsDataDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2015/IsDetachedBuffer.js +25 -0
- package/backend/node_modules/es-abstract/2015/IsExtensible.js +18 -0
- package/backend/node_modules/es-abstract/2015/IsGenericDescriptor.js +26 -0
- package/backend/node_modules/es-abstract/2015/IsInteger.js +9 -0
- package/backend/node_modules/es-abstract/2015/IsPromise.js +24 -0
- package/backend/node_modules/es-abstract/2015/IsPropertyDescriptor.js +11 -0
- package/backend/node_modules/es-abstract/2015/IsPropertyKey.js +9 -0
- package/backend/node_modules/es-abstract/2015/IsRegExp.js +25 -0
- package/backend/node_modules/es-abstract/2015/IsWordChar.js +37 -0
- package/backend/node_modules/es-abstract/2015/IteratorClose.js +51 -0
- package/backend/node_modules/es-abstract/2015/IteratorComplete.js +16 -0
- package/backend/node_modules/es-abstract/2015/IteratorNext.js +16 -0
- package/backend/node_modules/es-abstract/2015/IteratorStep.js +13 -0
- package/backend/node_modules/es-abstract/2015/IteratorValue.js +16 -0
- package/backend/node_modules/es-abstract/2015/MakeDate.js +14 -0
- package/backend/node_modules/es-abstract/2015/MakeDay.js +33 -0
- package/backend/node_modules/es-abstract/2015/MakeTime.js +24 -0
- package/backend/node_modules/es-abstract/2015/MinFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2015/MonthFromTime.js +51 -0
- package/backend/node_modules/es-abstract/2015/NewPromiseCapability.js +34 -0
- package/backend/node_modules/es-abstract/2015/NormalCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2015/ObjectCreate.js +50 -0
- package/backend/node_modules/es-abstract/2015/ObjectDefineProperties.js +37 -0
- package/backend/node_modules/es-abstract/2015/OrdinaryCreateFromConstructor.js +20 -0
- package/backend/node_modules/es-abstract/2015/OrdinaryDefineOwnProperty.js +54 -0
- package/backend/node_modules/es-abstract/2015/OrdinaryGetOwnProperty.js +40 -0
- package/backend/node_modules/es-abstract/2015/OrdinaryHasInstance.js +23 -0
- package/backend/node_modules/es-abstract/2015/OrdinaryHasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2015/QuoteJSONString.js +48 -0
- package/backend/node_modules/es-abstract/2015/RegExpCreate.js +21 -0
- package/backend/node_modules/es-abstract/2015/RegExpExec.js +29 -0
- package/backend/node_modules/es-abstract/2015/RequireObjectCoercible.js +3 -0
- package/backend/node_modules/es-abstract/2015/SameValue.js +13 -0
- package/backend/node_modules/es-abstract/2015/SameValueZero.js +9 -0
- package/backend/node_modules/es-abstract/2015/SecFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2015/Set.js +45 -0
- package/backend/node_modules/es-abstract/2015/SetFunctionName.js +40 -0
- package/backend/node_modules/es-abstract/2015/SetIntegrityLevel.js +57 -0
- package/backend/node_modules/es-abstract/2015/SetValueInBuffer.js +110 -0
- package/backend/node_modules/es-abstract/2015/SpeciesConstructor.js +32 -0
- package/backend/node_modules/es-abstract/2015/SplitMatch.js +35 -0
- package/backend/node_modules/es-abstract/2015/StrictEqualityComparison.js +15 -0
- package/backend/node_modules/es-abstract/2015/StringCreate.js +38 -0
- package/backend/node_modules/es-abstract/2015/StringGetIndexProperty.js +50 -0
- package/backend/node_modules/es-abstract/2015/SymbolDescriptiveString.js +16 -0
- package/backend/node_modules/es-abstract/2015/TestIntegrityLevel.js +40 -0
- package/backend/node_modules/es-abstract/2015/TimeClip.js +20 -0
- package/backend/node_modules/es-abstract/2015/TimeFromYear.js +11 -0
- package/backend/node_modules/es-abstract/2015/TimeWithinDay.js +12 -0
- package/backend/node_modules/es-abstract/2015/ToBoolean.js +5 -0
- package/backend/node_modules/es-abstract/2015/ToDateString.js +21 -0
- package/backend/node_modules/es-abstract/2015/ToInt16.js +10 -0
- package/backend/node_modules/es-abstract/2015/ToInt32.js +9 -0
- package/backend/node_modules/es-abstract/2015/ToInt8.js +10 -0
- package/backend/node_modules/es-abstract/2015/ToInteger.js +12 -0
- package/backend/node_modules/es-abstract/2015/ToLength.js +14 -0
- package/backend/node_modules/es-abstract/2015/ToNumber.js +48 -0
- package/backend/node_modules/es-abstract/2015/ToObject.js +5 -0
- package/backend/node_modules/es-abstract/2015/ToPrimitive.js +12 -0
- package/backend/node_modules/es-abstract/2015/ToPropertyDescriptor.js +50 -0
- package/backend/node_modules/es-abstract/2015/ToPropertyKey.js +15 -0
- package/backend/node_modules/es-abstract/2015/ToString.js +15 -0
- package/backend/node_modules/es-abstract/2015/ToUint16.js +19 -0
- package/backend/node_modules/es-abstract/2015/ToUint32.js +9 -0
- package/backend/node_modules/es-abstract/2015/ToUint8.js +19 -0
- package/backend/node_modules/es-abstract/2015/ToUint8Clamp.js +19 -0
- package/backend/node_modules/es-abstract/2015/Type.js +12 -0
- package/backend/node_modules/es-abstract/2015/ValidateAndApplyPropertyDescriptor.js +159 -0
- package/backend/node_modules/es-abstract/2015/ValidateTypedArray.js +28 -0
- package/backend/node_modules/es-abstract/2015/WeekDay.js +10 -0
- package/backend/node_modules/es-abstract/2015/YearFromTime.js +16 -0
- package/backend/node_modules/es-abstract/2015/abs.js +9 -0
- package/backend/node_modules/es-abstract/2015/floor.js +11 -0
- package/backend/node_modules/es-abstract/2015/max.js +5 -0
- package/backend/node_modules/es-abstract/2015/min.js +5 -0
- package/backend/node_modules/es-abstract/2015/modulo.js +9 -0
- package/backend/node_modules/es-abstract/2015/msFromTime.js +11 -0
- package/backend/node_modules/es-abstract/2015/tables/typed-array-objects.js +32 -0
- package/backend/node_modules/es-abstract/2015/thisBooleanValue.js +13 -0
- package/backend/node_modules/es-abstract/2015/thisNumberValue.js +16 -0
- package/backend/node_modules/es-abstract/2015/thisStringValue.js +13 -0
- package/backend/node_modules/es-abstract/2015/thisTimeValue.js +9 -0
- package/backend/node_modules/es-abstract/2016/AbstractEqualityComparison.js +38 -0
- package/backend/node_modules/es-abstract/2016/AbstractRelationalComparison.js +62 -0
- package/backend/node_modules/es-abstract/2016/AdvanceStringIndex.js +44 -0
- package/backend/node_modules/es-abstract/2016/ArrayCreate.js +42 -0
- package/backend/node_modules/es-abstract/2016/ArraySetLength.js +77 -0
- package/backend/node_modules/es-abstract/2016/ArraySpeciesCreate.js +46 -0
- package/backend/node_modules/es-abstract/2016/Call.js +20 -0
- package/backend/node_modules/es-abstract/2016/CanonicalNumericIndexString.js +19 -0
- package/backend/node_modules/es-abstract/2016/Canonicalize.js +51 -0
- package/backend/node_modules/es-abstract/2016/CharacterRange.js +53 -0
- package/backend/node_modules/es-abstract/2016/CompletePropertyDescriptor.js +43 -0
- package/backend/node_modules/es-abstract/2016/CompletionRecord.js +48 -0
- package/backend/node_modules/es-abstract/2016/CreateDataProperty.js +25 -0
- package/backend/node_modules/es-abstract/2016/CreateDataPropertyOrThrow.js +24 -0
- package/backend/node_modules/es-abstract/2016/CreateHTML.js +27 -0
- package/backend/node_modules/es-abstract/2016/CreateIterResultObject.js +15 -0
- package/backend/node_modules/es-abstract/2016/CreateListFromArrayLike.js +43 -0
- package/backend/node_modules/es-abstract/2016/CreateMethodProperty.js +38 -0
- package/backend/node_modules/es-abstract/2016/DateFromTime.js +52 -0
- package/backend/node_modules/es-abstract/2016/Day.js +11 -0
- package/backend/node_modules/es-abstract/2016/DayFromYear.js +10 -0
- package/backend/node_modules/es-abstract/2016/DayWithinYear.js +11 -0
- package/backend/node_modules/es-abstract/2016/DaysInYear.js +18 -0
- package/backend/node_modules/es-abstract/2016/DefinePropertyOrThrow.js +39 -0
- package/backend/node_modules/es-abstract/2016/DeletePropertyOrThrow.js +25 -0
- package/backend/node_modules/es-abstract/2016/DetachArrayBuffer.js +38 -0
- package/backend/node_modules/es-abstract/2016/EnumerableOwnNames.js +16 -0
- package/backend/node_modules/es-abstract/2016/FromPropertyDescriptor.js +16 -0
- package/backend/node_modules/es-abstract/2016/Get.js +24 -0
- package/backend/node_modules/es-abstract/2016/GetGlobalObject.js +9 -0
- package/backend/node_modules/es-abstract/2016/GetIterator.js +30 -0
- package/backend/node_modules/es-abstract/2016/GetMethod.js +34 -0
- package/backend/node_modules/es-abstract/2016/GetOwnPropertyKeys.js +30 -0
- package/backend/node_modules/es-abstract/2016/GetPrototypeFromConstructor.js +33 -0
- package/backend/node_modules/es-abstract/2016/GetSubstitution.js +98 -0
- package/backend/node_modules/es-abstract/2016/GetV.js +23 -0
- package/backend/node_modules/es-abstract/2016/GetValueFromBuffer.js +86 -0
- package/backend/node_modules/es-abstract/2016/HasOwnProperty.js +20 -0
- package/backend/node_modules/es-abstract/2016/HasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2016/HourFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2016/InLeapYear.js +19 -0
- package/backend/node_modules/es-abstract/2016/InstanceofOperator.js +30 -0
- package/backend/node_modules/es-abstract/2016/IntegerIndexedElementGet.js +57 -0
- package/backend/node_modules/es-abstract/2016/IntegerIndexedElementSet.js +62 -0
- package/backend/node_modules/es-abstract/2016/InternalizeJSONProperty.js +68 -0
- package/backend/node_modules/es-abstract/2016/Invoke.js +22 -0
- package/backend/node_modules/es-abstract/2016/IsAccessorDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2016/IsArray.js +4 -0
- package/backend/node_modules/es-abstract/2016/IsCallable.js +5 -0
- package/backend/node_modules/es-abstract/2016/IsCompatiblePropertyDescriptor.js +9 -0
- package/backend/node_modules/es-abstract/2016/IsConcatSpreadable.js +26 -0
- package/backend/node_modules/es-abstract/2016/IsConstructor.js +40 -0
- package/backend/node_modules/es-abstract/2016/IsDataDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2016/IsDetachedBuffer.js +25 -0
- package/backend/node_modules/es-abstract/2016/IsExtensible.js +18 -0
- package/backend/node_modules/es-abstract/2016/IsGenericDescriptor.js +26 -0
- package/backend/node_modules/es-abstract/2016/IsInteger.js +9 -0
- package/backend/node_modules/es-abstract/2016/IsPromise.js +24 -0
- package/backend/node_modules/es-abstract/2016/IsPropertyDescriptor.js +11 -0
- package/backend/node_modules/es-abstract/2016/IsPropertyKey.js +9 -0
- package/backend/node_modules/es-abstract/2016/IsRegExp.js +25 -0
- package/backend/node_modules/es-abstract/2016/IsWordChar.js +37 -0
- package/backend/node_modules/es-abstract/2016/IterableToArrayLike.js +34 -0
- package/backend/node_modules/es-abstract/2016/IteratorClose.js +51 -0
- package/backend/node_modules/es-abstract/2016/IteratorComplete.js +16 -0
- package/backend/node_modules/es-abstract/2016/IteratorNext.js +16 -0
- package/backend/node_modules/es-abstract/2016/IteratorStep.js +13 -0
- package/backend/node_modules/es-abstract/2016/IteratorValue.js +16 -0
- package/backend/node_modules/es-abstract/2016/MakeDate.js +14 -0
- package/backend/node_modules/es-abstract/2016/MakeDay.js +33 -0
- package/backend/node_modules/es-abstract/2016/MakeTime.js +24 -0
- package/backend/node_modules/es-abstract/2016/MinFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2016/MonthFromTime.js +51 -0
- package/backend/node_modules/es-abstract/2016/NewPromiseCapability.js +34 -0
- package/backend/node_modules/es-abstract/2016/NormalCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2016/ObjectCreate.js +50 -0
- package/backend/node_modules/es-abstract/2016/ObjectDefineProperties.js +37 -0
- package/backend/node_modules/es-abstract/2016/OrdinaryCreateFromConstructor.js +20 -0
- package/backend/node_modules/es-abstract/2016/OrdinaryDefineOwnProperty.js +54 -0
- package/backend/node_modules/es-abstract/2016/OrdinaryGetOwnProperty.js +40 -0
- package/backend/node_modules/es-abstract/2016/OrdinaryGetPrototypeOf.js +18 -0
- package/backend/node_modules/es-abstract/2016/OrdinaryHasInstance.js +23 -0
- package/backend/node_modules/es-abstract/2016/OrdinaryHasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2016/OrdinarySetPrototypeOf.js +50 -0
- package/backend/node_modules/es-abstract/2016/QuoteJSONString.js +48 -0
- package/backend/node_modules/es-abstract/2016/RegExpCreate.js +21 -0
- package/backend/node_modules/es-abstract/2016/RegExpExec.js +29 -0
- package/backend/node_modules/es-abstract/2016/RequireObjectCoercible.js +3 -0
- package/backend/node_modules/es-abstract/2016/SameValue.js +13 -0
- package/backend/node_modules/es-abstract/2016/SameValueNonNumber.js +14 -0
- package/backend/node_modules/es-abstract/2016/SameValueZero.js +9 -0
- package/backend/node_modules/es-abstract/2016/SecFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2016/Set.js +45 -0
- package/backend/node_modules/es-abstract/2016/SetFunctionName.js +40 -0
- package/backend/node_modules/es-abstract/2016/SetIntegrityLevel.js +57 -0
- package/backend/node_modules/es-abstract/2016/SetValueInBuffer.js +110 -0
- package/backend/node_modules/es-abstract/2016/SpeciesConstructor.js +32 -0
- package/backend/node_modules/es-abstract/2016/SplitMatch.js +35 -0
- package/backend/node_modules/es-abstract/2016/StrictEqualityComparison.js +15 -0
- package/backend/node_modules/es-abstract/2016/StringCreate.js +38 -0
- package/backend/node_modules/es-abstract/2016/SymbolDescriptiveString.js +16 -0
- package/backend/node_modules/es-abstract/2016/TestIntegrityLevel.js +40 -0
- package/backend/node_modules/es-abstract/2016/TimeClip.js +20 -0
- package/backend/node_modules/es-abstract/2016/TimeFromYear.js +11 -0
- package/backend/node_modules/es-abstract/2016/TimeWithinDay.js +12 -0
- package/backend/node_modules/es-abstract/2016/ToBoolean.js +5 -0
- package/backend/node_modules/es-abstract/2016/ToDateString.js +21 -0
- package/backend/node_modules/es-abstract/2016/ToInt16.js +10 -0
- package/backend/node_modules/es-abstract/2016/ToInt32.js +9 -0
- package/backend/node_modules/es-abstract/2016/ToInt8.js +10 -0
- package/backend/node_modules/es-abstract/2016/ToInteger.js +12 -0
- package/backend/node_modules/es-abstract/2016/ToLength.js +14 -0
- package/backend/node_modules/es-abstract/2016/ToNumber.js +48 -0
- package/backend/node_modules/es-abstract/2016/ToObject.js +5 -0
- package/backend/node_modules/es-abstract/2016/ToPrimitive.js +12 -0
- package/backend/node_modules/es-abstract/2016/ToPropertyDescriptor.js +50 -0
- package/backend/node_modules/es-abstract/2016/ToPropertyKey.js +15 -0
- package/backend/node_modules/es-abstract/2016/ToString.js +15 -0
- package/backend/node_modules/es-abstract/2016/ToUint16.js +19 -0
- package/backend/node_modules/es-abstract/2016/ToUint32.js +9 -0
- package/backend/node_modules/es-abstract/2016/ToUint8.js +19 -0
- package/backend/node_modules/es-abstract/2016/ToUint8Clamp.js +19 -0
- package/backend/node_modules/es-abstract/2016/Type.js +12 -0
- package/backend/node_modules/es-abstract/2016/TypedArrayCreate.js +47 -0
- package/backend/node_modules/es-abstract/2016/TypedArraySpeciesCreate.js +37 -0
- package/backend/node_modules/es-abstract/2016/UTF16Decode.js +21 -0
- package/backend/node_modules/es-abstract/2016/UTF16Encoding.js +25 -0
- package/backend/node_modules/es-abstract/2016/ValidateAndApplyPropertyDescriptor.js +159 -0
- package/backend/node_modules/es-abstract/2016/ValidateTypedArray.js +28 -0
- package/backend/node_modules/es-abstract/2016/WeekDay.js +10 -0
- package/backend/node_modules/es-abstract/2016/YearFromTime.js +16 -0
- package/backend/node_modules/es-abstract/2016/abs.js +9 -0
- package/backend/node_modules/es-abstract/2016/floor.js +11 -0
- package/backend/node_modules/es-abstract/2016/max.js +5 -0
- package/backend/node_modules/es-abstract/2016/min.js +5 -0
- package/backend/node_modules/es-abstract/2016/modulo.js +9 -0
- package/backend/node_modules/es-abstract/2016/msFromTime.js +11 -0
- package/backend/node_modules/es-abstract/2016/tables/typed-array-objects.js +32 -0
- package/backend/node_modules/es-abstract/2016/thisBooleanValue.js +13 -0
- package/backend/node_modules/es-abstract/2016/thisNumberValue.js +16 -0
- package/backend/node_modules/es-abstract/2016/thisStringValue.js +13 -0
- package/backend/node_modules/es-abstract/2016/thisTimeValue.js +9 -0
- package/backend/node_modules/es-abstract/2017/AbstractEqualityComparison.js +38 -0
- package/backend/node_modules/es-abstract/2017/AbstractRelationalComparison.js +62 -0
- package/backend/node_modules/es-abstract/2017/AdvanceStringIndex.js +44 -0
- package/backend/node_modules/es-abstract/2017/ArrayCreate.js +42 -0
- package/backend/node_modules/es-abstract/2017/ArraySetLength.js +77 -0
- package/backend/node_modules/es-abstract/2017/ArraySpeciesCreate.js +46 -0
- package/backend/node_modules/es-abstract/2017/Call.js +20 -0
- package/backend/node_modules/es-abstract/2017/CanonicalNumericIndexString.js +19 -0
- package/backend/node_modules/es-abstract/2017/Canonicalize.js +51 -0
- package/backend/node_modules/es-abstract/2017/CharacterRange.js +53 -0
- package/backend/node_modules/es-abstract/2017/CompletePropertyDescriptor.js +43 -0
- package/backend/node_modules/es-abstract/2017/CompletionRecord.js +48 -0
- package/backend/node_modules/es-abstract/2017/CreateDataProperty.js +25 -0
- package/backend/node_modules/es-abstract/2017/CreateDataPropertyOrThrow.js +24 -0
- package/backend/node_modules/es-abstract/2017/CreateHTML.js +27 -0
- package/backend/node_modules/es-abstract/2017/CreateIterResultObject.js +15 -0
- package/backend/node_modules/es-abstract/2017/CreateListFromArrayLike.js +43 -0
- package/backend/node_modules/es-abstract/2017/CreateMethodProperty.js +38 -0
- package/backend/node_modules/es-abstract/2017/DateFromTime.js +52 -0
- package/backend/node_modules/es-abstract/2017/Day.js +11 -0
- package/backend/node_modules/es-abstract/2017/DayFromYear.js +10 -0
- package/backend/node_modules/es-abstract/2017/DayWithinYear.js +11 -0
- package/backend/node_modules/es-abstract/2017/DaysInYear.js +18 -0
- package/backend/node_modules/es-abstract/2017/DefinePropertyOrThrow.js +39 -0
- package/backend/node_modules/es-abstract/2017/DeletePropertyOrThrow.js +25 -0
- package/backend/node_modules/es-abstract/2017/DetachArrayBuffer.js +39 -0
- package/backend/node_modules/es-abstract/2017/EnumerableOwnProperties.js +37 -0
- package/backend/node_modules/es-abstract/2017/FromPropertyDescriptor.js +16 -0
- package/backend/node_modules/es-abstract/2017/Get.js +24 -0
- package/backend/node_modules/es-abstract/2017/GetGlobalObject.js +9 -0
- package/backend/node_modules/es-abstract/2017/GetIterator.js +30 -0
- package/backend/node_modules/es-abstract/2017/GetMethod.js +34 -0
- package/backend/node_modules/es-abstract/2017/GetOwnPropertyKeys.js +30 -0
- package/backend/node_modules/es-abstract/2017/GetPrototypeFromConstructor.js +33 -0
- package/backend/node_modules/es-abstract/2017/GetSubstitution.js +98 -0
- package/backend/node_modules/es-abstract/2017/GetV.js +23 -0
- package/backend/node_modules/es-abstract/2017/GetValueFromBuffer.js +96 -0
- package/backend/node_modules/es-abstract/2017/HasOwnProperty.js +20 -0
- package/backend/node_modules/es-abstract/2017/HasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2017/HourFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2017/InLeapYear.js +19 -0
- package/backend/node_modules/es-abstract/2017/InstanceofOperator.js +30 -0
- package/backend/node_modules/es-abstract/2017/IntegerIndexedElementGet.js +58 -0
- package/backend/node_modules/es-abstract/2017/IntegerIndexedElementSet.js +62 -0
- package/backend/node_modules/es-abstract/2017/InternalizeJSONProperty.js +68 -0
- package/backend/node_modules/es-abstract/2017/Invoke.js +22 -0
- package/backend/node_modules/es-abstract/2017/IsAccessorDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2017/IsArray.js +4 -0
- package/backend/node_modules/es-abstract/2017/IsCallable.js +5 -0
- package/backend/node_modules/es-abstract/2017/IsCompatiblePropertyDescriptor.js +9 -0
- package/backend/node_modules/es-abstract/2017/IsConcatSpreadable.js +26 -0
- package/backend/node_modules/es-abstract/2017/IsConstructor.js +40 -0
- package/backend/node_modules/es-abstract/2017/IsDataDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2017/IsDetachedBuffer.js +28 -0
- package/backend/node_modules/es-abstract/2017/IsExtensible.js +18 -0
- package/backend/node_modules/es-abstract/2017/IsGenericDescriptor.js +26 -0
- package/backend/node_modules/es-abstract/2017/IsInteger.js +9 -0
- package/backend/node_modules/es-abstract/2017/IsPromise.js +24 -0
- package/backend/node_modules/es-abstract/2017/IsPropertyDescriptor.js +11 -0
- package/backend/node_modules/es-abstract/2017/IsPropertyKey.js +9 -0
- package/backend/node_modules/es-abstract/2017/IsRegExp.js +25 -0
- package/backend/node_modules/es-abstract/2017/IsSharedArrayBuffer.js +16 -0
- package/backend/node_modules/es-abstract/2017/IsWordChar.js +45 -0
- package/backend/node_modules/es-abstract/2017/IterableToList.js +21 -0
- package/backend/node_modules/es-abstract/2017/IteratorClose.js +51 -0
- package/backend/node_modules/es-abstract/2017/IteratorComplete.js +16 -0
- package/backend/node_modules/es-abstract/2017/IteratorNext.js +16 -0
- package/backend/node_modules/es-abstract/2017/IteratorStep.js +13 -0
- package/backend/node_modules/es-abstract/2017/IteratorValue.js +16 -0
- package/backend/node_modules/es-abstract/2017/MakeDate.js +14 -0
- package/backend/node_modules/es-abstract/2017/MakeDay.js +33 -0
- package/backend/node_modules/es-abstract/2017/MakeTime.js +24 -0
- package/backend/node_modules/es-abstract/2017/MinFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2017/MonthFromTime.js +51 -0
- package/backend/node_modules/es-abstract/2017/NewPromiseCapability.js +34 -0
- package/backend/node_modules/es-abstract/2017/NormalCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2017/NumberToRawBytes.js +59 -0
- package/backend/node_modules/es-abstract/2017/ObjectCreate.js +50 -0
- package/backend/node_modules/es-abstract/2017/ObjectDefineProperties.js +37 -0
- package/backend/node_modules/es-abstract/2017/OrdinaryCreateFromConstructor.js +20 -0
- package/backend/node_modules/es-abstract/2017/OrdinaryDefineOwnProperty.js +54 -0
- package/backend/node_modules/es-abstract/2017/OrdinaryGetOwnProperty.js +40 -0
- package/backend/node_modules/es-abstract/2017/OrdinaryGetPrototypeOf.js +18 -0
- package/backend/node_modules/es-abstract/2017/OrdinaryHasInstance.js +23 -0
- package/backend/node_modules/es-abstract/2017/OrdinaryHasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2017/OrdinarySetPrototypeOf.js +50 -0
- package/backend/node_modules/es-abstract/2017/OrdinaryToPrimitive.js +36 -0
- package/backend/node_modules/es-abstract/2017/QuoteJSONString.js +48 -0
- package/backend/node_modules/es-abstract/2017/RawBytesToNumber.js +58 -0
- package/backend/node_modules/es-abstract/2017/RegExpCreate.js +21 -0
- package/backend/node_modules/es-abstract/2017/RegExpExec.js +29 -0
- package/backend/node_modules/es-abstract/2017/RequireObjectCoercible.js +3 -0
- package/backend/node_modules/es-abstract/2017/SameValue.js +13 -0
- package/backend/node_modules/es-abstract/2017/SameValueNonNumber.js +14 -0
- package/backend/node_modules/es-abstract/2017/SameValueZero.js +9 -0
- package/backend/node_modules/es-abstract/2017/SecFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2017/Set.js +45 -0
- package/backend/node_modules/es-abstract/2017/SetFunctionName.js +40 -0
- package/backend/node_modules/es-abstract/2017/SetIntegrityLevel.js +57 -0
- package/backend/node_modules/es-abstract/2017/SetValueInBuffer.js +94 -0
- package/backend/node_modules/es-abstract/2017/SpeciesConstructor.js +32 -0
- package/backend/node_modules/es-abstract/2017/SplitMatch.js +35 -0
- package/backend/node_modules/es-abstract/2017/StrictEqualityComparison.js +15 -0
- package/backend/node_modules/es-abstract/2017/StringCreate.js +38 -0
- package/backend/node_modules/es-abstract/2017/StringGetOwnProperty.js +47 -0
- package/backend/node_modules/es-abstract/2017/SymbolDescriptiveString.js +16 -0
- package/backend/node_modules/es-abstract/2017/TestIntegrityLevel.js +40 -0
- package/backend/node_modules/es-abstract/2017/TimeClip.js +20 -0
- package/backend/node_modules/es-abstract/2017/TimeFromYear.js +11 -0
- package/backend/node_modules/es-abstract/2017/TimeWithinDay.js +12 -0
- package/backend/node_modules/es-abstract/2017/ToBoolean.js +5 -0
- package/backend/node_modules/es-abstract/2017/ToDateString.js +21 -0
- package/backend/node_modules/es-abstract/2017/ToIndex.js +24 -0
- package/backend/node_modules/es-abstract/2017/ToInt16.js +10 -0
- package/backend/node_modules/es-abstract/2017/ToInt32.js +9 -0
- package/backend/node_modules/es-abstract/2017/ToInt8.js +10 -0
- package/backend/node_modules/es-abstract/2017/ToInteger.js +12 -0
- package/backend/node_modules/es-abstract/2017/ToLength.js +14 -0
- package/backend/node_modules/es-abstract/2017/ToNumber.js +48 -0
- package/backend/node_modules/es-abstract/2017/ToObject.js +5 -0
- package/backend/node_modules/es-abstract/2017/ToPrimitive.js +12 -0
- package/backend/node_modules/es-abstract/2017/ToPropertyDescriptor.js +50 -0
- package/backend/node_modules/es-abstract/2017/ToPropertyKey.js +15 -0
- package/backend/node_modules/es-abstract/2017/ToString.js +15 -0
- package/backend/node_modules/es-abstract/2017/ToUint16.js +19 -0
- package/backend/node_modules/es-abstract/2017/ToUint32.js +9 -0
- package/backend/node_modules/es-abstract/2017/ToUint8.js +19 -0
- package/backend/node_modules/es-abstract/2017/ToUint8Clamp.js +19 -0
- package/backend/node_modules/es-abstract/2017/Type.js +12 -0
- package/backend/node_modules/es-abstract/2017/TypedArrayCreate.js +47 -0
- package/backend/node_modules/es-abstract/2017/TypedArraySpeciesCreate.js +37 -0
- package/backend/node_modules/es-abstract/2017/UTF16Decode.js +21 -0
- package/backend/node_modules/es-abstract/2017/UTF16Encoding.js +25 -0
- package/backend/node_modules/es-abstract/2017/ValidateAndApplyPropertyDescriptor.js +159 -0
- package/backend/node_modules/es-abstract/2017/ValidateAtomicAccess.js +34 -0
- package/backend/node_modules/es-abstract/2017/ValidateTypedArray.js +28 -0
- package/backend/node_modules/es-abstract/2017/WeekDay.js +10 -0
- package/backend/node_modules/es-abstract/2017/WordCharacters.js +46 -0
- package/backend/node_modules/es-abstract/2017/YearFromTime.js +16 -0
- package/backend/node_modules/es-abstract/2017/abs.js +9 -0
- package/backend/node_modules/es-abstract/2017/floor.js +11 -0
- package/backend/node_modules/es-abstract/2017/max.js +5 -0
- package/backend/node_modules/es-abstract/2017/min.js +5 -0
- package/backend/node_modules/es-abstract/2017/modulo.js +9 -0
- package/backend/node_modules/es-abstract/2017/msFromTime.js +11 -0
- package/backend/node_modules/es-abstract/2017/tables/typed-array-objects.js +32 -0
- package/backend/node_modules/es-abstract/2017/thisBooleanValue.js +13 -0
- package/backend/node_modules/es-abstract/2017/thisNumberValue.js +16 -0
- package/backend/node_modules/es-abstract/2017/thisStringValue.js +13 -0
- package/backend/node_modules/es-abstract/2017/thisTimeValue.js +9 -0
- package/backend/node_modules/es-abstract/2018/AbstractEqualityComparison.js +38 -0
- package/backend/node_modules/es-abstract/2018/AbstractRelationalComparison.js +59 -0
- package/backend/node_modules/es-abstract/2018/AdvanceStringIndex.js +44 -0
- package/backend/node_modules/es-abstract/2018/ArrayCreate.js +42 -0
- package/backend/node_modules/es-abstract/2018/ArraySetLength.js +77 -0
- package/backend/node_modules/es-abstract/2018/ArraySpeciesCreate.js +46 -0
- package/backend/node_modules/es-abstract/2018/AsyncIteratorClose.js +64 -0
- package/backend/node_modules/es-abstract/2018/Call.js +20 -0
- package/backend/node_modules/es-abstract/2018/CanonicalNumericIndexString.js +19 -0
- package/backend/node_modules/es-abstract/2018/Canonicalize.js +51 -0
- package/backend/node_modules/es-abstract/2018/CharacterRange.js +53 -0
- package/backend/node_modules/es-abstract/2018/CompletePropertyDescriptor.js +43 -0
- package/backend/node_modules/es-abstract/2018/CompletionRecord.js +48 -0
- package/backend/node_modules/es-abstract/2018/CopyDataProperties.js +62 -0
- package/backend/node_modules/es-abstract/2018/CreateAsyncFromSyncIterator.js +169 -0
- package/backend/node_modules/es-abstract/2018/CreateDataProperty.js +25 -0
- package/backend/node_modules/es-abstract/2018/CreateDataPropertyOrThrow.js +24 -0
- package/backend/node_modules/es-abstract/2018/CreateHTML.js +27 -0
- package/backend/node_modules/es-abstract/2018/CreateIterResultObject.js +15 -0
- package/backend/node_modules/es-abstract/2018/CreateListFromArrayLike.js +43 -0
- package/backend/node_modules/es-abstract/2018/CreateMethodProperty.js +38 -0
- package/backend/node_modules/es-abstract/2018/DateFromTime.js +52 -0
- package/backend/node_modules/es-abstract/2018/DateString.js +27 -0
- package/backend/node_modules/es-abstract/2018/Day.js +11 -0
- package/backend/node_modules/es-abstract/2018/DayFromYear.js +10 -0
- package/backend/node_modules/es-abstract/2018/DayWithinYear.js +11 -0
- package/backend/node_modules/es-abstract/2018/DaysInYear.js +18 -0
- package/backend/node_modules/es-abstract/2018/DefinePropertyOrThrow.js +39 -0
- package/backend/node_modules/es-abstract/2018/DeletePropertyOrThrow.js +25 -0
- package/backend/node_modules/es-abstract/2018/DetachArrayBuffer.js +46 -0
- package/backend/node_modules/es-abstract/2018/EnumerableOwnPropertyNames.js +37 -0
- package/backend/node_modules/es-abstract/2018/FromPropertyDescriptor.js +16 -0
- package/backend/node_modules/es-abstract/2018/Get.js +24 -0
- package/backend/node_modules/es-abstract/2018/GetGlobalObject.js +9 -0
- package/backend/node_modules/es-abstract/2018/GetIterator.js +30 -0
- package/backend/node_modules/es-abstract/2018/GetMethod.js +34 -0
- package/backend/node_modules/es-abstract/2018/GetOwnPropertyKeys.js +30 -0
- package/backend/node_modules/es-abstract/2018/GetPrototypeFromConstructor.js +33 -0
- package/backend/node_modules/es-abstract/2018/GetSubstitution.js +120 -0
- package/backend/node_modules/es-abstract/2018/GetV.js +23 -0
- package/backend/node_modules/es-abstract/2018/GetValueFromBuffer.js +96 -0
- package/backend/node_modules/es-abstract/2018/HasOwnProperty.js +20 -0
- package/backend/node_modules/es-abstract/2018/HasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2018/HourFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2018/InLeapYear.js +19 -0
- package/backend/node_modules/es-abstract/2018/InstanceofOperator.js +30 -0
- package/backend/node_modules/es-abstract/2018/IntegerIndexedElementGet.js +58 -0
- package/backend/node_modules/es-abstract/2018/IntegerIndexedElementSet.js +62 -0
- package/backend/node_modules/es-abstract/2018/InternalizeJSONProperty.js +68 -0
- package/backend/node_modules/es-abstract/2018/Invoke.js +22 -0
- package/backend/node_modules/es-abstract/2018/IsAccessorDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2018/IsArray.js +4 -0
- package/backend/node_modules/es-abstract/2018/IsCallable.js +5 -0
- package/backend/node_modules/es-abstract/2018/IsCompatiblePropertyDescriptor.js +9 -0
- package/backend/node_modules/es-abstract/2018/IsConcatSpreadable.js +26 -0
- package/backend/node_modules/es-abstract/2018/IsConstructor.js +40 -0
- package/backend/node_modules/es-abstract/2018/IsDataDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2018/IsDetachedBuffer.js +28 -0
- package/backend/node_modules/es-abstract/2018/IsExtensible.js +18 -0
- package/backend/node_modules/es-abstract/2018/IsGenericDescriptor.js +26 -0
- package/backend/node_modules/es-abstract/2018/IsInteger.js +9 -0
- package/backend/node_modules/es-abstract/2018/IsPromise.js +24 -0
- package/backend/node_modules/es-abstract/2018/IsPropertyKey.js +9 -0
- package/backend/node_modules/es-abstract/2018/IsRegExp.js +25 -0
- package/backend/node_modules/es-abstract/2018/IsSharedArrayBuffer.js +16 -0
- package/backend/node_modules/es-abstract/2018/IsStringPrefix.js +43 -0
- package/backend/node_modules/es-abstract/2018/IsWordChar.js +45 -0
- package/backend/node_modules/es-abstract/2018/IterableToList.js +21 -0
- package/backend/node_modules/es-abstract/2018/IteratorClose.js +51 -0
- package/backend/node_modules/es-abstract/2018/IteratorComplete.js +16 -0
- package/backend/node_modules/es-abstract/2018/IteratorNext.js +16 -0
- package/backend/node_modules/es-abstract/2018/IteratorStep.js +13 -0
- package/backend/node_modules/es-abstract/2018/IteratorValue.js +16 -0
- package/backend/node_modules/es-abstract/2018/MakeDate.js +14 -0
- package/backend/node_modules/es-abstract/2018/MakeDay.js +33 -0
- package/backend/node_modules/es-abstract/2018/MakeTime.js +24 -0
- package/backend/node_modules/es-abstract/2018/MinFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2018/MonthFromTime.js +51 -0
- package/backend/node_modules/es-abstract/2018/NewPromiseCapability.js +34 -0
- package/backend/node_modules/es-abstract/2018/NormalCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2018/NumberToRawBytes.js +59 -0
- package/backend/node_modules/es-abstract/2018/NumberToString.js +17 -0
- package/backend/node_modules/es-abstract/2018/ObjectCreate.js +50 -0
- package/backend/node_modules/es-abstract/2018/ObjectDefineProperties.js +37 -0
- package/backend/node_modules/es-abstract/2018/OrdinaryCreateFromConstructor.js +20 -0
- package/backend/node_modules/es-abstract/2018/OrdinaryDefineOwnProperty.js +54 -0
- package/backend/node_modules/es-abstract/2018/OrdinaryGetOwnProperty.js +40 -0
- package/backend/node_modules/es-abstract/2018/OrdinaryGetPrototypeOf.js +18 -0
- package/backend/node_modules/es-abstract/2018/OrdinaryHasInstance.js +23 -0
- package/backend/node_modules/es-abstract/2018/OrdinaryHasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2018/OrdinarySetPrototypeOf.js +50 -0
- package/backend/node_modules/es-abstract/2018/OrdinaryToPrimitive.js +36 -0
- package/backend/node_modules/es-abstract/2018/PromiseResolve.js +18 -0
- package/backend/node_modules/es-abstract/2018/QuoteJSONString.js +45 -0
- package/backend/node_modules/es-abstract/2018/RawBytesToNumber.js +58 -0
- package/backend/node_modules/es-abstract/2018/RegExpCreate.js +21 -0
- package/backend/node_modules/es-abstract/2018/RegExpExec.js +29 -0
- package/backend/node_modules/es-abstract/2018/RequireObjectCoercible.js +3 -0
- package/backend/node_modules/es-abstract/2018/SameValue.js +13 -0
- package/backend/node_modules/es-abstract/2018/SameValueNonNumber.js +14 -0
- package/backend/node_modules/es-abstract/2018/SameValueZero.js +9 -0
- package/backend/node_modules/es-abstract/2018/SecFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2018/Set.js +45 -0
- package/backend/node_modules/es-abstract/2018/SetFunctionLength.js +28 -0
- package/backend/node_modules/es-abstract/2018/SetFunctionName.js +40 -0
- package/backend/node_modules/es-abstract/2018/SetIntegrityLevel.js +57 -0
- package/backend/node_modules/es-abstract/2018/SetValueInBuffer.js +94 -0
- package/backend/node_modules/es-abstract/2018/SpeciesConstructor.js +32 -0
- package/backend/node_modules/es-abstract/2018/SplitMatch.js +35 -0
- package/backend/node_modules/es-abstract/2018/StrictEqualityComparison.js +15 -0
- package/backend/node_modules/es-abstract/2018/StringCreate.js +38 -0
- package/backend/node_modules/es-abstract/2018/StringGetOwnProperty.js +47 -0
- package/backend/node_modules/es-abstract/2018/SymbolDescriptiveString.js +16 -0
- package/backend/node_modules/es-abstract/2018/TestIntegrityLevel.js +40 -0
- package/backend/node_modules/es-abstract/2018/ThrowCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2018/TimeClip.js +20 -0
- package/backend/node_modules/es-abstract/2018/TimeFromYear.js +11 -0
- package/backend/node_modules/es-abstract/2018/TimeString.js +22 -0
- package/backend/node_modules/es-abstract/2018/TimeWithinDay.js +12 -0
- package/backend/node_modules/es-abstract/2018/TimeZoneString.js +33 -0
- package/backend/node_modules/es-abstract/2018/ToBoolean.js +5 -0
- package/backend/node_modules/es-abstract/2018/ToDateString.js +21 -0
- package/backend/node_modules/es-abstract/2018/ToIndex.js +24 -0
- package/backend/node_modules/es-abstract/2018/ToInt16.js +10 -0
- package/backend/node_modules/es-abstract/2018/ToInt32.js +9 -0
- package/backend/node_modules/es-abstract/2018/ToInt8.js +10 -0
- package/backend/node_modules/es-abstract/2018/ToInteger.js +12 -0
- package/backend/node_modules/es-abstract/2018/ToLength.js +14 -0
- package/backend/node_modules/es-abstract/2018/ToNumber.js +48 -0
- package/backend/node_modules/es-abstract/2018/ToObject.js +5 -0
- package/backend/node_modules/es-abstract/2018/ToPrimitive.js +12 -0
- package/backend/node_modules/es-abstract/2018/ToPropertyDescriptor.js +50 -0
- package/backend/node_modules/es-abstract/2018/ToPropertyKey.js +15 -0
- package/backend/node_modules/es-abstract/2018/ToString.js +15 -0
- package/backend/node_modules/es-abstract/2018/ToUint16.js +19 -0
- package/backend/node_modules/es-abstract/2018/ToUint32.js +9 -0
- package/backend/node_modules/es-abstract/2018/ToUint8.js +19 -0
- package/backend/node_modules/es-abstract/2018/ToUint8Clamp.js +19 -0
- package/backend/node_modules/es-abstract/2018/Type.js +12 -0
- package/backend/node_modules/es-abstract/2018/TypedArrayCreate.js +47 -0
- package/backend/node_modules/es-abstract/2018/TypedArraySpeciesCreate.js +37 -0
- package/backend/node_modules/es-abstract/2018/UTF16Decode.js +21 -0
- package/backend/node_modules/es-abstract/2018/UTF16Encoding.js +25 -0
- package/backend/node_modules/es-abstract/2018/UnicodeEscape.js +24 -0
- package/backend/node_modules/es-abstract/2018/ValidateAndApplyPropertyDescriptor.js +159 -0
- package/backend/node_modules/es-abstract/2018/ValidateAtomicAccess.js +34 -0
- package/backend/node_modules/es-abstract/2018/ValidateTypedArray.js +28 -0
- package/backend/node_modules/es-abstract/2018/WeekDay.js +10 -0
- package/backend/node_modules/es-abstract/2018/WordCharacters.js +46 -0
- package/backend/node_modules/es-abstract/2018/YearFromTime.js +16 -0
- package/backend/node_modules/es-abstract/2018/abs.js +9 -0
- package/backend/node_modules/es-abstract/2018/floor.js +11 -0
- package/backend/node_modules/es-abstract/2018/max.js +5 -0
- package/backend/node_modules/es-abstract/2018/min.js +5 -0
- package/backend/node_modules/es-abstract/2018/modulo.js +9 -0
- package/backend/node_modules/es-abstract/2018/msFromTime.js +11 -0
- package/backend/node_modules/es-abstract/2018/tables/typed-array-objects.js +32 -0
- package/backend/node_modules/es-abstract/2018/thisBooleanValue.js +13 -0
- package/backend/node_modules/es-abstract/2018/thisNumberValue.js +16 -0
- package/backend/node_modules/es-abstract/2018/thisStringValue.js +13 -0
- package/backend/node_modules/es-abstract/2018/thisSymbolValue.js +20 -0
- package/backend/node_modules/es-abstract/2018/thisTimeValue.js +9 -0
- package/backend/node_modules/es-abstract/2019/AbstractEqualityComparison.js +38 -0
- package/backend/node_modules/es-abstract/2019/AbstractRelationalComparison.js +59 -0
- package/backend/node_modules/es-abstract/2019/AddEntriesFromIterable.js +44 -0
- package/backend/node_modules/es-abstract/2019/AdvanceStringIndex.js +44 -0
- package/backend/node_modules/es-abstract/2019/ArrayCreate.js +42 -0
- package/backend/node_modules/es-abstract/2019/ArraySetLength.js +77 -0
- package/backend/node_modules/es-abstract/2019/ArraySpeciesCreate.js +46 -0
- package/backend/node_modules/es-abstract/2019/AsyncFromSyncIteratorContinuation.js +45 -0
- package/backend/node_modules/es-abstract/2019/AsyncIteratorClose.js +64 -0
- package/backend/node_modules/es-abstract/2019/Call.js +20 -0
- package/backend/node_modules/es-abstract/2019/CanonicalNumericIndexString.js +19 -0
- package/backend/node_modules/es-abstract/2019/Canonicalize.js +51 -0
- package/backend/node_modules/es-abstract/2019/CharacterRange.js +53 -0
- package/backend/node_modules/es-abstract/2019/CompletePropertyDescriptor.js +43 -0
- package/backend/node_modules/es-abstract/2019/CompletionRecord.js +48 -0
- package/backend/node_modules/es-abstract/2019/CopyDataProperties.js +62 -0
- package/backend/node_modules/es-abstract/2019/CreateAsyncFromSyncIterator.js +137 -0
- package/backend/node_modules/es-abstract/2019/CreateDataProperty.js +25 -0
- package/backend/node_modules/es-abstract/2019/CreateDataPropertyOrThrow.js +24 -0
- package/backend/node_modules/es-abstract/2019/CreateHTML.js +27 -0
- package/backend/node_modules/es-abstract/2019/CreateIterResultObject.js +15 -0
- package/backend/node_modules/es-abstract/2019/CreateListFromArrayLike.js +43 -0
- package/backend/node_modules/es-abstract/2019/CreateMethodProperty.js +38 -0
- package/backend/node_modules/es-abstract/2019/DateFromTime.js +52 -0
- package/backend/node_modules/es-abstract/2019/DateString.js +27 -0
- package/backend/node_modules/es-abstract/2019/Day.js +11 -0
- package/backend/node_modules/es-abstract/2019/DayFromYear.js +10 -0
- package/backend/node_modules/es-abstract/2019/DayWithinYear.js +11 -0
- package/backend/node_modules/es-abstract/2019/DaysInYear.js +18 -0
- package/backend/node_modules/es-abstract/2019/DefinePropertyOrThrow.js +39 -0
- package/backend/node_modules/es-abstract/2019/DeletePropertyOrThrow.js +25 -0
- package/backend/node_modules/es-abstract/2019/DetachArrayBuffer.js +46 -0
- package/backend/node_modules/es-abstract/2019/EnumerableOwnPropertyNames.js +37 -0
- package/backend/node_modules/es-abstract/2019/FlattenIntoArray.js +55 -0
- package/backend/node_modules/es-abstract/2019/FromPropertyDescriptor.js +16 -0
- package/backend/node_modules/es-abstract/2019/Get.js +24 -0
- package/backend/node_modules/es-abstract/2019/GetGlobalObject.js +9 -0
- package/backend/node_modules/es-abstract/2019/GetIterator.js +30 -0
- package/backend/node_modules/es-abstract/2019/GetMethod.js +34 -0
- package/backend/node_modules/es-abstract/2019/GetOwnPropertyKeys.js +30 -0
- package/backend/node_modules/es-abstract/2019/GetPrototypeFromConstructor.js +33 -0
- package/backend/node_modules/es-abstract/2019/GetSubstitution.js +120 -0
- package/backend/node_modules/es-abstract/2019/GetV.js +23 -0
- package/backend/node_modules/es-abstract/2019/GetValueFromBuffer.js +94 -0
- package/backend/node_modules/es-abstract/2019/HasOwnProperty.js +20 -0
- package/backend/node_modules/es-abstract/2019/HasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2019/HourFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2019/InLeapYear.js +19 -0
- package/backend/node_modules/es-abstract/2019/InstanceofOperator.js +30 -0
- package/backend/node_modules/es-abstract/2019/IntegerIndexedElementGet.js +58 -0
- package/backend/node_modules/es-abstract/2019/IntegerIndexedElementSet.js +62 -0
- package/backend/node_modules/es-abstract/2019/InternalizeJSONProperty.js +68 -0
- package/backend/node_modules/es-abstract/2019/Invoke.js +22 -0
- package/backend/node_modules/es-abstract/2019/IsAccessorDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2019/IsArray.js +4 -0
- package/backend/node_modules/es-abstract/2019/IsCallable.js +5 -0
- package/backend/node_modules/es-abstract/2019/IsCompatiblePropertyDescriptor.js +9 -0
- package/backend/node_modules/es-abstract/2019/IsConcatSpreadable.js +26 -0
- package/backend/node_modules/es-abstract/2019/IsConstructor.js +40 -0
- package/backend/node_modules/es-abstract/2019/IsDataDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2019/IsDetachedBuffer.js +28 -0
- package/backend/node_modules/es-abstract/2019/IsExtensible.js +18 -0
- package/backend/node_modules/es-abstract/2019/IsGenericDescriptor.js +26 -0
- package/backend/node_modules/es-abstract/2019/IsInteger.js +9 -0
- package/backend/node_modules/es-abstract/2019/IsPromise.js +24 -0
- package/backend/node_modules/es-abstract/2019/IsPropertyKey.js +9 -0
- package/backend/node_modules/es-abstract/2019/IsRegExp.js +25 -0
- package/backend/node_modules/es-abstract/2019/IsSharedArrayBuffer.js +16 -0
- package/backend/node_modules/es-abstract/2019/IsStringPrefix.js +43 -0
- package/backend/node_modules/es-abstract/2019/IsWordChar.js +45 -0
- package/backend/node_modules/es-abstract/2019/IterableToList.js +21 -0
- package/backend/node_modules/es-abstract/2019/IteratorClose.js +51 -0
- package/backend/node_modules/es-abstract/2019/IteratorComplete.js +16 -0
- package/backend/node_modules/es-abstract/2019/IteratorNext.js +16 -0
- package/backend/node_modules/es-abstract/2019/IteratorStep.js +13 -0
- package/backend/node_modules/es-abstract/2019/IteratorValue.js +16 -0
- package/backend/node_modules/es-abstract/2019/MakeDate.js +14 -0
- package/backend/node_modules/es-abstract/2019/MakeDay.js +33 -0
- package/backend/node_modules/es-abstract/2019/MakeTime.js +24 -0
- package/backend/node_modules/es-abstract/2019/MinFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2019/MonthFromTime.js +51 -0
- package/backend/node_modules/es-abstract/2019/NewPromiseCapability.js +34 -0
- package/backend/node_modules/es-abstract/2019/NormalCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2019/NumberToRawBytes.js +59 -0
- package/backend/node_modules/es-abstract/2019/NumberToString.js +17 -0
- package/backend/node_modules/es-abstract/2019/ObjectCreate.js +50 -0
- package/backend/node_modules/es-abstract/2019/ObjectDefineProperties.js +37 -0
- package/backend/node_modules/es-abstract/2019/OrdinaryCreateFromConstructor.js +20 -0
- package/backend/node_modules/es-abstract/2019/OrdinaryDefineOwnProperty.js +54 -0
- package/backend/node_modules/es-abstract/2019/OrdinaryGetOwnProperty.js +40 -0
- package/backend/node_modules/es-abstract/2019/OrdinaryGetPrototypeOf.js +18 -0
- package/backend/node_modules/es-abstract/2019/OrdinaryHasInstance.js +23 -0
- package/backend/node_modules/es-abstract/2019/OrdinaryHasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2019/OrdinarySetPrototypeOf.js +50 -0
- package/backend/node_modules/es-abstract/2019/OrdinaryToPrimitive.js +36 -0
- package/backend/node_modules/es-abstract/2019/PromiseResolve.js +18 -0
- package/backend/node_modules/es-abstract/2019/QuoteJSONString.js +51 -0
- package/backend/node_modules/es-abstract/2019/RawBytesToNumber.js +58 -0
- package/backend/node_modules/es-abstract/2019/RegExpCreate.js +21 -0
- package/backend/node_modules/es-abstract/2019/RegExpExec.js +29 -0
- package/backend/node_modules/es-abstract/2019/RequireObjectCoercible.js +3 -0
- package/backend/node_modules/es-abstract/2019/SameValue.js +13 -0
- package/backend/node_modules/es-abstract/2019/SameValueNonNumber.js +14 -0
- package/backend/node_modules/es-abstract/2019/SameValueZero.js +9 -0
- package/backend/node_modules/es-abstract/2019/SecFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2019/Set.js +45 -0
- package/backend/node_modules/es-abstract/2019/SetFunctionLength.js +28 -0
- package/backend/node_modules/es-abstract/2019/SetFunctionName.js +40 -0
- package/backend/node_modules/es-abstract/2019/SetIntegrityLevel.js +57 -0
- package/backend/node_modules/es-abstract/2019/SetValueInBuffer.js +94 -0
- package/backend/node_modules/es-abstract/2019/SpeciesConstructor.js +32 -0
- package/backend/node_modules/es-abstract/2019/SplitMatch.js +35 -0
- package/backend/node_modules/es-abstract/2019/StrictEqualityComparison.js +15 -0
- package/backend/node_modules/es-abstract/2019/StringCreate.js +38 -0
- package/backend/node_modules/es-abstract/2019/StringGetOwnProperty.js +47 -0
- package/backend/node_modules/es-abstract/2019/SymbolDescriptiveString.js +16 -0
- package/backend/node_modules/es-abstract/2019/TestIntegrityLevel.js +40 -0
- package/backend/node_modules/es-abstract/2019/ThrowCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2019/TimeClip.js +20 -0
- package/backend/node_modules/es-abstract/2019/TimeFromYear.js +11 -0
- package/backend/node_modules/es-abstract/2019/TimeString.js +22 -0
- package/backend/node_modules/es-abstract/2019/TimeWithinDay.js +12 -0
- package/backend/node_modules/es-abstract/2019/TimeZoneString.js +33 -0
- package/backend/node_modules/es-abstract/2019/ToBoolean.js +5 -0
- package/backend/node_modules/es-abstract/2019/ToDateString.js +21 -0
- package/backend/node_modules/es-abstract/2019/ToIndex.js +24 -0
- package/backend/node_modules/es-abstract/2019/ToInt16.js +10 -0
- package/backend/node_modules/es-abstract/2019/ToInt32.js +9 -0
- package/backend/node_modules/es-abstract/2019/ToInt8.js +10 -0
- package/backend/node_modules/es-abstract/2019/ToInteger.js +12 -0
- package/backend/node_modules/es-abstract/2019/ToLength.js +14 -0
- package/backend/node_modules/es-abstract/2019/ToNumber.js +48 -0
- package/backend/node_modules/es-abstract/2019/ToObject.js +5 -0
- package/backend/node_modules/es-abstract/2019/ToPrimitive.js +12 -0
- package/backend/node_modules/es-abstract/2019/ToPropertyDescriptor.js +50 -0
- package/backend/node_modules/es-abstract/2019/ToPropertyKey.js +15 -0
- package/backend/node_modules/es-abstract/2019/ToString.js +15 -0
- package/backend/node_modules/es-abstract/2019/ToUint16.js +19 -0
- package/backend/node_modules/es-abstract/2019/ToUint32.js +9 -0
- package/backend/node_modules/es-abstract/2019/ToUint8.js +19 -0
- package/backend/node_modules/es-abstract/2019/ToUint8Clamp.js +19 -0
- package/backend/node_modules/es-abstract/2019/TrimString.js +27 -0
- package/backend/node_modules/es-abstract/2019/Type.js +12 -0
- package/backend/node_modules/es-abstract/2019/TypedArrayCreate.js +47 -0
- package/backend/node_modules/es-abstract/2019/TypedArraySpeciesCreate.js +37 -0
- package/backend/node_modules/es-abstract/2019/UTF16Decode.js +21 -0
- package/backend/node_modules/es-abstract/2019/UTF16Encoding.js +25 -0
- package/backend/node_modules/es-abstract/2019/UnicodeEscape.js +24 -0
- package/backend/node_modules/es-abstract/2019/ValidateAndApplyPropertyDescriptor.js +159 -0
- package/backend/node_modules/es-abstract/2019/ValidateAtomicAccess.js +34 -0
- package/backend/node_modules/es-abstract/2019/ValidateTypedArray.js +28 -0
- package/backend/node_modules/es-abstract/2019/WeekDay.js +10 -0
- package/backend/node_modules/es-abstract/2019/WordCharacters.js +46 -0
- package/backend/node_modules/es-abstract/2019/YearFromTime.js +16 -0
- package/backend/node_modules/es-abstract/2019/abs.js +9 -0
- package/backend/node_modules/es-abstract/2019/floor.js +11 -0
- package/backend/node_modules/es-abstract/2019/max.js +5 -0
- package/backend/node_modules/es-abstract/2019/min.js +5 -0
- package/backend/node_modules/es-abstract/2019/modulo.js +9 -0
- package/backend/node_modules/es-abstract/2019/msFromTime.js +11 -0
- package/backend/node_modules/es-abstract/2019/tables/typed-array-objects.js +32 -0
- package/backend/node_modules/es-abstract/2019/thisBooleanValue.js +13 -0
- package/backend/node_modules/es-abstract/2019/thisNumberValue.js +16 -0
- package/backend/node_modules/es-abstract/2019/thisStringValue.js +13 -0
- package/backend/node_modules/es-abstract/2019/thisSymbolValue.js +20 -0
- package/backend/node_modules/es-abstract/2019/thisTimeValue.js +9 -0
- package/backend/node_modules/es-abstract/2020/AbstractEqualityComparison.js +56 -0
- package/backend/node_modules/es-abstract/2020/AbstractRelationalComparison.js +80 -0
- package/backend/node_modules/es-abstract/2020/AddEntriesFromIterable.js +44 -0
- package/backend/node_modules/es-abstract/2020/AdvanceStringIndex.js +30 -0
- package/backend/node_modules/es-abstract/2020/ArrayCreate.js +42 -0
- package/backend/node_modules/es-abstract/2020/ArraySetLength.js +77 -0
- package/backend/node_modules/es-abstract/2020/ArraySpeciesCreate.js +46 -0
- package/backend/node_modules/es-abstract/2020/AsyncFromSyncIteratorContinuation.js +45 -0
- package/backend/node_modules/es-abstract/2020/AsyncIteratorClose.js +64 -0
- package/backend/node_modules/es-abstract/2020/BigInt/add.js +14 -0
- package/backend/node_modules/es-abstract/2020/BigInt/bitwiseAND.js +14 -0
- package/backend/node_modules/es-abstract/2020/BigInt/bitwiseNOT.js +15 -0
- package/backend/node_modules/es-abstract/2020/BigInt/bitwiseOR.js +14 -0
- package/backend/node_modules/es-abstract/2020/BigInt/bitwiseXOR.js +14 -0
- package/backend/node_modules/es-abstract/2020/BigInt/divide.js +20 -0
- package/backend/node_modules/es-abstract/2020/BigInt/equal.js +13 -0
- package/backend/node_modules/es-abstract/2020/BigInt/exponentiate.js +29 -0
- package/backend/node_modules/es-abstract/2020/BigInt/index.js +43 -0
- package/backend/node_modules/es-abstract/2020/BigInt/leftShift.js +14 -0
- package/backend/node_modules/es-abstract/2020/BigInt/lessThan.js +14 -0
- package/backend/node_modules/es-abstract/2020/BigInt/multiply.js +14 -0
- package/backend/node_modules/es-abstract/2020/BigInt/remainder.js +28 -0
- package/backend/node_modules/es-abstract/2020/BigInt/sameValue.js +15 -0
- package/backend/node_modules/es-abstract/2020/BigInt/sameValueZero.js +15 -0
- package/backend/node_modules/es-abstract/2020/BigInt/signedRightShift.js +15 -0
- package/backend/node_modules/es-abstract/2020/BigInt/subtract.js +14 -0
- package/backend/node_modules/es-abstract/2020/BigInt/toString.js +16 -0
- package/backend/node_modules/es-abstract/2020/BigInt/unaryMinus.js +22 -0
- package/backend/node_modules/es-abstract/2020/BigInt/unsignedRightShift.js +13 -0
- package/backend/node_modules/es-abstract/2020/BigIntBitwiseOp.js +63 -0
- package/backend/node_modules/es-abstract/2020/BinaryAnd.js +12 -0
- package/backend/node_modules/es-abstract/2020/BinaryOr.js +12 -0
- package/backend/node_modules/es-abstract/2020/BinaryXor.js +12 -0
- package/backend/node_modules/es-abstract/2020/Call.js +20 -0
- package/backend/node_modules/es-abstract/2020/CanonicalNumericIndexString.js +19 -0
- package/backend/node_modules/es-abstract/2020/Canonicalize.js +51 -0
- package/backend/node_modules/es-abstract/2020/CharacterRange.js +53 -0
- package/backend/node_modules/es-abstract/2020/CodePointAt.js +55 -0
- package/backend/node_modules/es-abstract/2020/CompletePropertyDescriptor.js +43 -0
- package/backend/node_modules/es-abstract/2020/CompletionRecord.js +48 -0
- package/backend/node_modules/es-abstract/2020/CopyDataProperties.js +62 -0
- package/backend/node_modules/es-abstract/2020/CreateAsyncFromSyncIterator.js +137 -0
- package/backend/node_modules/es-abstract/2020/CreateDataProperty.js +25 -0
- package/backend/node_modules/es-abstract/2020/CreateDataPropertyOrThrow.js +24 -0
- package/backend/node_modules/es-abstract/2020/CreateHTML.js +27 -0
- package/backend/node_modules/es-abstract/2020/CreateIterResultObject.js +15 -0
- package/backend/node_modules/es-abstract/2020/CreateListFromArrayLike.js +46 -0
- package/backend/node_modules/es-abstract/2020/CreateMethodProperty.js +38 -0
- package/backend/node_modules/es-abstract/2020/CreateRegExpStringIterator.js +100 -0
- package/backend/node_modules/es-abstract/2020/DateFromTime.js +52 -0
- package/backend/node_modules/es-abstract/2020/DateString.js +27 -0
- package/backend/node_modules/es-abstract/2020/Day.js +11 -0
- package/backend/node_modules/es-abstract/2020/DayFromYear.js +10 -0
- package/backend/node_modules/es-abstract/2020/DayWithinYear.js +11 -0
- package/backend/node_modules/es-abstract/2020/DaysInYear.js +18 -0
- package/backend/node_modules/es-abstract/2020/DefinePropertyOrThrow.js +39 -0
- package/backend/node_modules/es-abstract/2020/DeletePropertyOrThrow.js +25 -0
- package/backend/node_modules/es-abstract/2020/DetachArrayBuffer.js +46 -0
- package/backend/node_modules/es-abstract/2020/EnumerableOwnPropertyNames.js +37 -0
- package/backend/node_modules/es-abstract/2020/FlattenIntoArray.js +55 -0
- package/backend/node_modules/es-abstract/2020/FromPropertyDescriptor.js +16 -0
- package/backend/node_modules/es-abstract/2020/Get.js +24 -0
- package/backend/node_modules/es-abstract/2020/GetGlobalObject.js +9 -0
- package/backend/node_modules/es-abstract/2020/GetIterator.js +63 -0
- package/backend/node_modules/es-abstract/2020/GetMethod.js +34 -0
- package/backend/node_modules/es-abstract/2020/GetOwnPropertyKeys.js +30 -0
- package/backend/node_modules/es-abstract/2020/GetPrototypeFromConstructor.js +33 -0
- package/backend/node_modules/es-abstract/2020/GetSubstitution.js +120 -0
- package/backend/node_modules/es-abstract/2020/GetV.js +23 -0
- package/backend/node_modules/es-abstract/2020/GetValueFromBuffer.js +96 -0
- package/backend/node_modules/es-abstract/2020/HasOwnProperty.js +20 -0
- package/backend/node_modules/es-abstract/2020/HasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2020/HourFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2020/InLeapYear.js +19 -0
- package/backend/node_modules/es-abstract/2020/InstanceofOperator.js +30 -0
- package/backend/node_modules/es-abstract/2020/IntegerIndexedElementGet.js +53 -0
- package/backend/node_modules/es-abstract/2020/IntegerIndexedElementSet.js +60 -0
- package/backend/node_modules/es-abstract/2020/InternalizeJSONProperty.js +66 -0
- package/backend/node_modules/es-abstract/2020/Invoke.js +22 -0
- package/backend/node_modules/es-abstract/2020/IsAccessorDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2020/IsArray.js +4 -0
- package/backend/node_modules/es-abstract/2020/IsBigIntElementType.js +7 -0
- package/backend/node_modules/es-abstract/2020/IsCallable.js +5 -0
- package/backend/node_modules/es-abstract/2020/IsCompatiblePropertyDescriptor.js +9 -0
- package/backend/node_modules/es-abstract/2020/IsConcatSpreadable.js +26 -0
- package/backend/node_modules/es-abstract/2020/IsConstructor.js +40 -0
- package/backend/node_modules/es-abstract/2020/IsDataDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2020/IsDetachedBuffer.js +28 -0
- package/backend/node_modules/es-abstract/2020/IsExtensible.js +18 -0
- package/backend/node_modules/es-abstract/2020/IsGenericDescriptor.js +26 -0
- package/backend/node_modules/es-abstract/2020/IsInteger.js +9 -0
- package/backend/node_modules/es-abstract/2020/IsNoTearConfiguration.js +16 -0
- package/backend/node_modules/es-abstract/2020/IsNonNegativeInteger.js +9 -0
- package/backend/node_modules/es-abstract/2020/IsPromise.js +24 -0
- package/backend/node_modules/es-abstract/2020/IsPropertyKey.js +9 -0
- package/backend/node_modules/es-abstract/2020/IsRegExp.js +25 -0
- package/backend/node_modules/es-abstract/2020/IsSharedArrayBuffer.js +16 -0
- package/backend/node_modules/es-abstract/2020/IsStringPrefix.js +43 -0
- package/backend/node_modules/es-abstract/2020/IsUnclampedIntegerElementType.js +12 -0
- package/backend/node_modules/es-abstract/2020/IsUnsignedElementType.js +11 -0
- package/backend/node_modules/es-abstract/2020/IsValidIntegerIndex.js +32 -0
- package/backend/node_modules/es-abstract/2020/IsWordChar.js +45 -0
- package/backend/node_modules/es-abstract/2020/IterableToList.js +21 -0
- package/backend/node_modules/es-abstract/2020/IteratorClose.js +51 -0
- package/backend/node_modules/es-abstract/2020/IteratorComplete.js +16 -0
- package/backend/node_modules/es-abstract/2020/IteratorNext.js +16 -0
- package/backend/node_modules/es-abstract/2020/IteratorStep.js +13 -0
- package/backend/node_modules/es-abstract/2020/IteratorValue.js +16 -0
- package/backend/node_modules/es-abstract/2020/LengthOfArrayLike.js +18 -0
- package/backend/node_modules/es-abstract/2020/MakeDate.js +14 -0
- package/backend/node_modules/es-abstract/2020/MakeDay.js +33 -0
- package/backend/node_modules/es-abstract/2020/MakeTime.js +24 -0
- package/backend/node_modules/es-abstract/2020/MinFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2020/MonthFromTime.js +51 -0
- package/backend/node_modules/es-abstract/2020/NewPromiseCapability.js +34 -0
- package/backend/node_modules/es-abstract/2020/NormalCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2020/Number/add.js +40 -0
- package/backend/node_modules/es-abstract/2020/Number/bitwiseAND.js +14 -0
- package/backend/node_modules/es-abstract/2020/Number/bitwiseNOT.js +16 -0
- package/backend/node_modules/es-abstract/2020/Number/bitwiseOR.js +14 -0
- package/backend/node_modules/es-abstract/2020/Number/bitwiseXOR.js +14 -0
- package/backend/node_modules/es-abstract/2020/Number/divide.js +18 -0
- package/backend/node_modules/es-abstract/2020/Number/equal.js +18 -0
- package/backend/node_modules/es-abstract/2020/Number/exponentiate.js +74 -0
- package/backend/node_modules/es-abstract/2020/Number/index.js +43 -0
- package/backend/node_modules/es-abstract/2020/Number/leftShift.js +21 -0
- package/backend/node_modules/es-abstract/2020/Number/lessThan.js +22 -0
- package/backend/node_modules/es-abstract/2020/Number/multiply.js +29 -0
- package/backend/node_modules/es-abstract/2020/Number/remainder.js +28 -0
- package/backend/node_modules/es-abstract/2020/Number/sameValue.js +18 -0
- package/backend/node_modules/es-abstract/2020/Number/sameValueZero.js +20 -0
- package/backend/node_modules/es-abstract/2020/Number/signedRightShift.js +21 -0
- package/backend/node_modules/es-abstract/2020/Number/subtract.js +12 -0
- package/backend/node_modules/es-abstract/2020/Number/toString.js +16 -0
- package/backend/node_modules/es-abstract/2020/Number/unaryMinus.js +17 -0
- package/backend/node_modules/es-abstract/2020/Number/unsignedRightShift.js +21 -0
- package/backend/node_modules/es-abstract/2020/NumberBitwiseOp.js +26 -0
- package/backend/node_modules/es-abstract/2020/NumberToBigInt.js +24 -0
- package/backend/node_modules/es-abstract/2020/NumericToRawBytes.js +62 -0
- package/backend/node_modules/es-abstract/2020/ObjectDefineProperties.js +37 -0
- package/backend/node_modules/es-abstract/2020/OrdinaryCreateFromConstructor.js +20 -0
- package/backend/node_modules/es-abstract/2020/OrdinaryDefineOwnProperty.js +54 -0
- package/backend/node_modules/es-abstract/2020/OrdinaryGetOwnProperty.js +40 -0
- package/backend/node_modules/es-abstract/2020/OrdinaryGetPrototypeOf.js +18 -0
- package/backend/node_modules/es-abstract/2020/OrdinaryHasInstance.js +23 -0
- package/backend/node_modules/es-abstract/2020/OrdinaryHasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2020/OrdinaryObjectCreate.js +56 -0
- package/backend/node_modules/es-abstract/2020/OrdinarySetPrototypeOf.js +50 -0
- package/backend/node_modules/es-abstract/2020/OrdinaryToPrimitive.js +36 -0
- package/backend/node_modules/es-abstract/2020/PromiseResolve.js +18 -0
- package/backend/node_modules/es-abstract/2020/QuoteJSONString.js +52 -0
- package/backend/node_modules/es-abstract/2020/RawBytesToNumeric.js +67 -0
- package/backend/node_modules/es-abstract/2020/RegExpCreate.js +21 -0
- package/backend/node_modules/es-abstract/2020/RegExpExec.js +29 -0
- package/backend/node_modules/es-abstract/2020/RequireObjectCoercible.js +3 -0
- package/backend/node_modules/es-abstract/2020/SameValue.js +13 -0
- package/backend/node_modules/es-abstract/2020/SameValueNonNumeric.js +18 -0
- package/backend/node_modules/es-abstract/2020/SameValueZero.js +9 -0
- package/backend/node_modules/es-abstract/2020/SecFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2020/Set.js +45 -0
- package/backend/node_modules/es-abstract/2020/SetFunctionLength.js +28 -0
- package/backend/node_modules/es-abstract/2020/SetFunctionName.js +40 -0
- package/backend/node_modules/es-abstract/2020/SetIntegrityLevel.js +57 -0
- package/backend/node_modules/es-abstract/2020/SetValueInBuffer.js +96 -0
- package/backend/node_modules/es-abstract/2020/SpeciesConstructor.js +32 -0
- package/backend/node_modules/es-abstract/2020/SplitMatch.js +35 -0
- package/backend/node_modules/es-abstract/2020/StrictEqualityComparison.js +15 -0
- package/backend/node_modules/es-abstract/2020/StringCreate.js +38 -0
- package/backend/node_modules/es-abstract/2020/StringGetOwnProperty.js +47 -0
- package/backend/node_modules/es-abstract/2020/StringPad.js +41 -0
- package/backend/node_modules/es-abstract/2020/StringToBigInt.js +23 -0
- package/backend/node_modules/es-abstract/2020/SymbolDescriptiveString.js +16 -0
- package/backend/node_modules/es-abstract/2020/TestIntegrityLevel.js +40 -0
- package/backend/node_modules/es-abstract/2020/ThrowCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2020/TimeClip.js +20 -0
- package/backend/node_modules/es-abstract/2020/TimeFromYear.js +11 -0
- package/backend/node_modules/es-abstract/2020/TimeString.js +22 -0
- package/backend/node_modules/es-abstract/2020/TimeWithinDay.js +12 -0
- package/backend/node_modules/es-abstract/2020/TimeZoneString.js +33 -0
- package/backend/node_modules/es-abstract/2020/ToBigInt.js +53 -0
- package/backend/node_modules/es-abstract/2020/ToBigInt64.js +25 -0
- package/backend/node_modules/es-abstract/2020/ToBigUint64.js +23 -0
- package/backend/node_modules/es-abstract/2020/ToBoolean.js +5 -0
- package/backend/node_modules/es-abstract/2020/ToDateString.js +21 -0
- package/backend/node_modules/es-abstract/2020/ToIndex.js +24 -0
- package/backend/node_modules/es-abstract/2020/ToInt16.js +10 -0
- package/backend/node_modules/es-abstract/2020/ToInt32.js +9 -0
- package/backend/node_modules/es-abstract/2020/ToInt8.js +10 -0
- package/backend/node_modules/es-abstract/2020/ToInteger.js +15 -0
- package/backend/node_modules/es-abstract/2020/ToLength.js +14 -0
- package/backend/node_modules/es-abstract/2020/ToNumber.js +51 -0
- package/backend/node_modules/es-abstract/2020/ToNumeric.js +20 -0
- package/backend/node_modules/es-abstract/2020/ToObject.js +5 -0
- package/backend/node_modules/es-abstract/2020/ToPrimitive.js +12 -0
- package/backend/node_modules/es-abstract/2020/ToPropertyDescriptor.js +50 -0
- package/backend/node_modules/es-abstract/2020/ToPropertyKey.js +15 -0
- package/backend/node_modules/es-abstract/2020/ToString.js +15 -0
- package/backend/node_modules/es-abstract/2020/ToUint16.js +19 -0
- package/backend/node_modules/es-abstract/2020/ToUint32.js +9 -0
- package/backend/node_modules/es-abstract/2020/ToUint8.js +19 -0
- package/backend/node_modules/es-abstract/2020/ToUint8Clamp.js +19 -0
- package/backend/node_modules/es-abstract/2020/TrimString.js +27 -0
- package/backend/node_modules/es-abstract/2020/Type.js +15 -0
- package/backend/node_modules/es-abstract/2020/TypedArrayCreate.js +47 -0
- package/backend/node_modules/es-abstract/2020/TypedArraySpeciesCreate.js +37 -0
- package/backend/node_modules/es-abstract/2020/UTF16DecodeString.js +22 -0
- package/backend/node_modules/es-abstract/2020/UTF16DecodeSurrogatePair.js +19 -0
- package/backend/node_modules/es-abstract/2020/UTF16Encoding.js +25 -0
- package/backend/node_modules/es-abstract/2020/UnicodeEscape.js +25 -0
- package/backend/node_modules/es-abstract/2020/ValidateAndApplyPropertyDescriptor.js +159 -0
- package/backend/node_modules/es-abstract/2020/ValidateAtomicAccess.js +34 -0
- package/backend/node_modules/es-abstract/2020/ValidateTypedArray.js +28 -0
- package/backend/node_modules/es-abstract/2020/WeekDay.js +10 -0
- package/backend/node_modules/es-abstract/2020/WordCharacters.js +46 -0
- package/backend/node_modules/es-abstract/2020/YearFromTime.js +16 -0
- package/backend/node_modules/es-abstract/2020/abs.js +9 -0
- package/backend/node_modules/es-abstract/2020/floor.js +14 -0
- package/backend/node_modules/es-abstract/2020/max.js +5 -0
- package/backend/node_modules/es-abstract/2020/min.js +5 -0
- package/backend/node_modules/es-abstract/2020/modulo.js +9 -0
- package/backend/node_modules/es-abstract/2020/msFromTime.js +11 -0
- package/backend/node_modules/es-abstract/2020/tables/typed-array-objects.js +36 -0
- package/backend/node_modules/es-abstract/2020/thisBigIntValue.js +18 -0
- package/backend/node_modules/es-abstract/2020/thisBooleanValue.js +13 -0
- package/backend/node_modules/es-abstract/2020/thisNumberValue.js +16 -0
- package/backend/node_modules/es-abstract/2020/thisStringValue.js +13 -0
- package/backend/node_modules/es-abstract/2020/thisSymbolValue.js +20 -0
- package/backend/node_modules/es-abstract/2020/thisTimeValue.js +9 -0
- package/backend/node_modules/es-abstract/2021/AbstractEqualityComparison.js +56 -0
- package/backend/node_modules/es-abstract/2021/AbstractRelationalComparison.js +80 -0
- package/backend/node_modules/es-abstract/2021/AddEntriesFromIterable.js +44 -0
- package/backend/node_modules/es-abstract/2021/AddToKeptObjects.js +18 -0
- package/backend/node_modules/es-abstract/2021/AdvanceStringIndex.js +30 -0
- package/backend/node_modules/es-abstract/2021/ApplyStringOrNumericBinaryOperator.js +77 -0
- package/backend/node_modules/es-abstract/2021/ArrayCreate.js +42 -0
- package/backend/node_modules/es-abstract/2021/ArraySetLength.js +77 -0
- package/backend/node_modules/es-abstract/2021/ArraySpeciesCreate.js +48 -0
- package/backend/node_modules/es-abstract/2021/AsyncFromSyncIteratorContinuation.js +45 -0
- package/backend/node_modules/es-abstract/2021/AsyncIteratorClose.js +70 -0
- package/backend/node_modules/es-abstract/2021/BigInt/add.js +14 -0
- package/backend/node_modules/es-abstract/2021/BigInt/bitwiseAND.js +14 -0
- package/backend/node_modules/es-abstract/2021/BigInt/bitwiseNOT.js +15 -0
- package/backend/node_modules/es-abstract/2021/BigInt/bitwiseOR.js +14 -0
- package/backend/node_modules/es-abstract/2021/BigInt/bitwiseXOR.js +14 -0
- package/backend/node_modules/es-abstract/2021/BigInt/divide.js +20 -0
- package/backend/node_modules/es-abstract/2021/BigInt/equal.js +13 -0
- package/backend/node_modules/es-abstract/2021/BigInt/exponentiate.js +29 -0
- package/backend/node_modules/es-abstract/2021/BigInt/index.js +43 -0
- package/backend/node_modules/es-abstract/2021/BigInt/leftShift.js +14 -0
- package/backend/node_modules/es-abstract/2021/BigInt/lessThan.js +14 -0
- package/backend/node_modules/es-abstract/2021/BigInt/multiply.js +14 -0
- package/backend/node_modules/es-abstract/2021/BigInt/remainder.js +28 -0
- package/backend/node_modules/es-abstract/2021/BigInt/sameValue.js +15 -0
- package/backend/node_modules/es-abstract/2021/BigInt/sameValueZero.js +15 -0
- package/backend/node_modules/es-abstract/2021/BigInt/signedRightShift.js +15 -0
- package/backend/node_modules/es-abstract/2021/BigInt/subtract.js +14 -0
- package/backend/node_modules/es-abstract/2021/BigInt/toString.js +16 -0
- package/backend/node_modules/es-abstract/2021/BigInt/unaryMinus.js +22 -0
- package/backend/node_modules/es-abstract/2021/BigInt/unsignedRightShift.js +13 -0
- package/backend/node_modules/es-abstract/2021/BigIntBitwiseOp.js +63 -0
- package/backend/node_modules/es-abstract/2021/BinaryAnd.js +12 -0
- package/backend/node_modules/es-abstract/2021/BinaryOr.js +12 -0
- package/backend/node_modules/es-abstract/2021/BinaryXor.js +12 -0
- package/backend/node_modules/es-abstract/2021/ByteListBitwiseOp.js +39 -0
- package/backend/node_modules/es-abstract/2021/ByteListEqual.js +31 -0
- package/backend/node_modules/es-abstract/2021/Call.js +20 -0
- package/backend/node_modules/es-abstract/2021/CanonicalNumericIndexString.js +19 -0
- package/backend/node_modules/es-abstract/2021/Canonicalize.js +51 -0
- package/backend/node_modules/es-abstract/2021/CharacterRange.js +53 -0
- package/backend/node_modules/es-abstract/2021/ClearKeptObjects.js +12 -0
- package/backend/node_modules/es-abstract/2021/CloneArrayBuffer.js +46 -0
- package/backend/node_modules/es-abstract/2021/CodePointAt.js +55 -0
- package/backend/node_modules/es-abstract/2021/CodePointsToString.js +25 -0
- package/backend/node_modules/es-abstract/2021/CompletePropertyDescriptor.js +43 -0
- package/backend/node_modules/es-abstract/2021/CompletionRecord.js +48 -0
- package/backend/node_modules/es-abstract/2021/CopyDataProperties.js +69 -0
- package/backend/node_modules/es-abstract/2021/CreateAsyncFromSyncIterator.js +137 -0
- package/backend/node_modules/es-abstract/2021/CreateDataProperty.js +25 -0
- package/backend/node_modules/es-abstract/2021/CreateDataPropertyOrThrow.js +24 -0
- package/backend/node_modules/es-abstract/2021/CreateHTML.js +27 -0
- package/backend/node_modules/es-abstract/2021/CreateIterResultObject.js +15 -0
- package/backend/node_modules/es-abstract/2021/CreateListFromArrayLike.js +44 -0
- package/backend/node_modules/es-abstract/2021/CreateMethodProperty.js +38 -0
- package/backend/node_modules/es-abstract/2021/CreateRegExpStringIterator.js +100 -0
- package/backend/node_modules/es-abstract/2021/DateFromTime.js +52 -0
- package/backend/node_modules/es-abstract/2021/DateString.js +27 -0
- package/backend/node_modules/es-abstract/2021/Day.js +11 -0
- package/backend/node_modules/es-abstract/2021/DayFromYear.js +10 -0
- package/backend/node_modules/es-abstract/2021/DayWithinYear.js +11 -0
- package/backend/node_modules/es-abstract/2021/DaysInYear.js +18 -0
- package/backend/node_modules/es-abstract/2021/DefinePropertyOrThrow.js +39 -0
- package/backend/node_modules/es-abstract/2021/DeletePropertyOrThrow.js +25 -0
- package/backend/node_modules/es-abstract/2021/DetachArrayBuffer.js +46 -0
- package/backend/node_modules/es-abstract/2021/EnumerableOwnPropertyNames.js +37 -0
- package/backend/node_modules/es-abstract/2021/FlattenIntoArray.js +55 -0
- package/backend/node_modules/es-abstract/2021/FromPropertyDescriptor.js +16 -0
- package/backend/node_modules/es-abstract/2021/Get.js +24 -0
- package/backend/node_modules/es-abstract/2021/GetGlobalObject.js +9 -0
- package/backend/node_modules/es-abstract/2021/GetIterator.js +63 -0
- package/backend/node_modules/es-abstract/2021/GetMethod.js +34 -0
- package/backend/node_modules/es-abstract/2021/GetOwnPropertyKeys.js +30 -0
- package/backend/node_modules/es-abstract/2021/GetPromiseResolve.js +20 -0
- package/backend/node_modules/es-abstract/2021/GetPrototypeFromConstructor.js +33 -0
- package/backend/node_modules/es-abstract/2021/GetSubstitution.js +119 -0
- package/backend/node_modules/es-abstract/2021/GetV.js +23 -0
- package/backend/node_modules/es-abstract/2021/GetValueFromBuffer.js +96 -0
- package/backend/node_modules/es-abstract/2021/HasOwnProperty.js +20 -0
- package/backend/node_modules/es-abstract/2021/HasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2021/HourFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2021/InLeapYear.js +19 -0
- package/backend/node_modules/es-abstract/2021/InstanceofOperator.js +30 -0
- package/backend/node_modules/es-abstract/2021/IntegerIndexedElementGet.js +39 -0
- package/backend/node_modules/es-abstract/2021/IntegerIndexedElementSet.js +44 -0
- package/backend/node_modules/es-abstract/2021/InternalizeJSONProperty.js +66 -0
- package/backend/node_modules/es-abstract/2021/Invoke.js +22 -0
- package/backend/node_modules/es-abstract/2021/IsAccessorDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2021/IsArray.js +4 -0
- package/backend/node_modules/es-abstract/2021/IsBigIntElementType.js +7 -0
- package/backend/node_modules/es-abstract/2021/IsCallable.js +5 -0
- package/backend/node_modules/es-abstract/2021/IsCompatiblePropertyDescriptor.js +9 -0
- package/backend/node_modules/es-abstract/2021/IsConcatSpreadable.js +26 -0
- package/backend/node_modules/es-abstract/2021/IsConstructor.js +40 -0
- package/backend/node_modules/es-abstract/2021/IsDataDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2021/IsDetachedBuffer.js +28 -0
- package/backend/node_modules/es-abstract/2021/IsExtensible.js +18 -0
- package/backend/node_modules/es-abstract/2021/IsGenericDescriptor.js +26 -0
- package/backend/node_modules/es-abstract/2021/IsIntegralNumber.js +9 -0
- package/backend/node_modules/es-abstract/2021/IsNoTearConfiguration.js +16 -0
- package/backend/node_modules/es-abstract/2021/IsPromise.js +24 -0
- package/backend/node_modules/es-abstract/2021/IsPropertyKey.js +9 -0
- package/backend/node_modules/es-abstract/2021/IsRegExp.js +25 -0
- package/backend/node_modules/es-abstract/2021/IsSharedArrayBuffer.js +16 -0
- package/backend/node_modules/es-abstract/2021/IsStringPrefix.js +43 -0
- package/backend/node_modules/es-abstract/2021/IsUnclampedIntegerElementType.js +12 -0
- package/backend/node_modules/es-abstract/2021/IsUnsignedElementType.js +11 -0
- package/backend/node_modules/es-abstract/2021/IsValidIntegerIndex.js +30 -0
- package/backend/node_modules/es-abstract/2021/IsWordChar.js +46 -0
- package/backend/node_modules/es-abstract/2021/IterableToList.js +26 -0
- package/backend/node_modules/es-abstract/2021/IteratorClose.js +51 -0
- package/backend/node_modules/es-abstract/2021/IteratorComplete.js +16 -0
- package/backend/node_modules/es-abstract/2021/IteratorNext.js +16 -0
- package/backend/node_modules/es-abstract/2021/IteratorStep.js +13 -0
- package/backend/node_modules/es-abstract/2021/IteratorValue.js +16 -0
- package/backend/node_modules/es-abstract/2021/LengthOfArrayLike.js +18 -0
- package/backend/node_modules/es-abstract/2021/MakeDate.js +14 -0
- package/backend/node_modules/es-abstract/2021/MakeDay.js +36 -0
- package/backend/node_modules/es-abstract/2021/MakeTime.js +23 -0
- package/backend/node_modules/es-abstract/2021/MinFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2021/MonthFromTime.js +51 -0
- package/backend/node_modules/es-abstract/2021/NewPromiseCapability.js +34 -0
- package/backend/node_modules/es-abstract/2021/NormalCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2021/Number/add.js +31 -0
- package/backend/node_modules/es-abstract/2021/Number/bitwiseAND.js +14 -0
- package/backend/node_modules/es-abstract/2021/Number/bitwiseNOT.js +16 -0
- package/backend/node_modules/es-abstract/2021/Number/bitwiseOR.js +14 -0
- package/backend/node_modules/es-abstract/2021/Number/bitwiseXOR.js +14 -0
- package/backend/node_modules/es-abstract/2021/Number/divide.js +18 -0
- package/backend/node_modules/es-abstract/2021/Number/equal.js +18 -0
- package/backend/node_modules/es-abstract/2021/Number/exponentiate.js +74 -0
- package/backend/node_modules/es-abstract/2021/Number/index.js +43 -0
- package/backend/node_modules/es-abstract/2021/Number/leftShift.js +22 -0
- package/backend/node_modules/es-abstract/2021/Number/lessThan.js +22 -0
- package/backend/node_modules/es-abstract/2021/Number/multiply.js +29 -0
- package/backend/node_modules/es-abstract/2021/Number/remainder.js +28 -0
- package/backend/node_modules/es-abstract/2021/Number/sameValue.js +18 -0
- package/backend/node_modules/es-abstract/2021/Number/sameValueZero.js +20 -0
- package/backend/node_modules/es-abstract/2021/Number/signedRightShift.js +22 -0
- package/backend/node_modules/es-abstract/2021/Number/subtract.js +15 -0
- package/backend/node_modules/es-abstract/2021/Number/toString.js +16 -0
- package/backend/node_modules/es-abstract/2021/Number/unaryMinus.js +17 -0
- package/backend/node_modules/es-abstract/2021/Number/unsignedRightShift.js +22 -0
- package/backend/node_modules/es-abstract/2021/NumberBitwiseOp.js +26 -0
- package/backend/node_modules/es-abstract/2021/NumberToBigInt.js +25 -0
- package/backend/node_modules/es-abstract/2021/NumericToRawBytes.js +62 -0
- package/backend/node_modules/es-abstract/2021/ObjectDefineProperties.js +37 -0
- package/backend/node_modules/es-abstract/2021/OrdinaryCreateFromConstructor.js +20 -0
- package/backend/node_modules/es-abstract/2021/OrdinaryDefineOwnProperty.js +54 -0
- package/backend/node_modules/es-abstract/2021/OrdinaryGetOwnProperty.js +41 -0
- package/backend/node_modules/es-abstract/2021/OrdinaryGetPrototypeOf.js +18 -0
- package/backend/node_modules/es-abstract/2021/OrdinaryHasInstance.js +23 -0
- package/backend/node_modules/es-abstract/2021/OrdinaryHasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2021/OrdinaryObjectCreate.js +56 -0
- package/backend/node_modules/es-abstract/2021/OrdinarySetPrototypeOf.js +50 -0
- package/backend/node_modules/es-abstract/2021/OrdinaryToPrimitive.js +36 -0
- package/backend/node_modules/es-abstract/2021/PromiseResolve.js +18 -0
- package/backend/node_modules/es-abstract/2021/QuoteJSONString.js +52 -0
- package/backend/node_modules/es-abstract/2021/RawBytesToNumeric.js +67 -0
- package/backend/node_modules/es-abstract/2021/RegExpCreate.js +21 -0
- package/backend/node_modules/es-abstract/2021/RegExpExec.js +29 -0
- package/backend/node_modules/es-abstract/2021/RequireObjectCoercible.js +3 -0
- package/backend/node_modules/es-abstract/2021/SameValue.js +13 -0
- package/backend/node_modules/es-abstract/2021/SameValueNonNumeric.js +18 -0
- package/backend/node_modules/es-abstract/2021/SameValueZero.js +9 -0
- package/backend/node_modules/es-abstract/2021/SecFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2021/Set.js +45 -0
- package/backend/node_modules/es-abstract/2021/SetFunctionLength.js +28 -0
- package/backend/node_modules/es-abstract/2021/SetFunctionName.js +40 -0
- package/backend/node_modules/es-abstract/2021/SetIntegrityLevel.js +57 -0
- package/backend/node_modules/es-abstract/2021/SetTypedArrayFromArrayLike.js +96 -0
- package/backend/node_modules/es-abstract/2021/SetTypedArrayFromTypedArray.js +138 -0
- package/backend/node_modules/es-abstract/2021/SetValueInBuffer.js +92 -0
- package/backend/node_modules/es-abstract/2021/SpeciesConstructor.js +32 -0
- package/backend/node_modules/es-abstract/2021/SplitMatch.js +35 -0
- package/backend/node_modules/es-abstract/2021/StrictEqualityComparison.js +15 -0
- package/backend/node_modules/es-abstract/2021/StringCreate.js +38 -0
- package/backend/node_modules/es-abstract/2021/StringGetOwnProperty.js +46 -0
- package/backend/node_modules/es-abstract/2021/StringIndexOf.js +36 -0
- package/backend/node_modules/es-abstract/2021/StringPad.js +41 -0
- package/backend/node_modules/es-abstract/2021/StringToBigInt.js +23 -0
- package/backend/node_modules/es-abstract/2021/StringToCodePoints.js +22 -0
- package/backend/node_modules/es-abstract/2021/SymbolDescriptiveString.js +16 -0
- package/backend/node_modules/es-abstract/2021/TestIntegrityLevel.js +40 -0
- package/backend/node_modules/es-abstract/2021/ThrowCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2021/TimeClip.js +20 -0
- package/backend/node_modules/es-abstract/2021/TimeFromYear.js +11 -0
- package/backend/node_modules/es-abstract/2021/TimeString.js +22 -0
- package/backend/node_modules/es-abstract/2021/TimeWithinDay.js +12 -0
- package/backend/node_modules/es-abstract/2021/TimeZoneString.js +38 -0
- package/backend/node_modules/es-abstract/2021/ToBigInt.js +53 -0
- package/backend/node_modules/es-abstract/2021/ToBigInt64.js +25 -0
- package/backend/node_modules/es-abstract/2021/ToBigUint64.js +23 -0
- package/backend/node_modules/es-abstract/2021/ToBoolean.js +5 -0
- package/backend/node_modules/es-abstract/2021/ToDateString.js +21 -0
- package/backend/node_modules/es-abstract/2021/ToIndex.js +24 -0
- package/backend/node_modules/es-abstract/2021/ToInt16.js +10 -0
- package/backend/node_modules/es-abstract/2021/ToInt32.js +9 -0
- package/backend/node_modules/es-abstract/2021/ToInt8.js +10 -0
- package/backend/node_modules/es-abstract/2021/ToIntegerOrInfinity.js +20 -0
- package/backend/node_modules/es-abstract/2021/ToLength.js +14 -0
- package/backend/node_modules/es-abstract/2021/ToNumber.js +51 -0
- package/backend/node_modules/es-abstract/2021/ToNumeric.js +20 -0
- package/backend/node_modules/es-abstract/2021/ToObject.js +5 -0
- package/backend/node_modules/es-abstract/2021/ToPrimitive.js +12 -0
- package/backend/node_modules/es-abstract/2021/ToPropertyDescriptor.js +50 -0
- package/backend/node_modules/es-abstract/2021/ToPropertyKey.js +15 -0
- package/backend/node_modules/es-abstract/2021/ToString.js +15 -0
- package/backend/node_modules/es-abstract/2021/ToUint16.js +19 -0
- package/backend/node_modules/es-abstract/2021/ToUint32.js +9 -0
- package/backend/node_modules/es-abstract/2021/ToUint8.js +19 -0
- package/backend/node_modules/es-abstract/2021/ToUint8Clamp.js +19 -0
- package/backend/node_modules/es-abstract/2021/TrimString.js +27 -0
- package/backend/node_modules/es-abstract/2021/Type.js +15 -0
- package/backend/node_modules/es-abstract/2021/TypedArrayCreate.js +47 -0
- package/backend/node_modules/es-abstract/2021/TypedArraySpeciesCreate.js +37 -0
- package/backend/node_modules/es-abstract/2021/UTF16EncodeCodePoint.js +25 -0
- package/backend/node_modules/es-abstract/2021/UTF16SurrogatePairToCodePoint.js +19 -0
- package/backend/node_modules/es-abstract/2021/UnicodeEscape.js +25 -0
- package/backend/node_modules/es-abstract/2021/ValidateAndApplyPropertyDescriptor.js +159 -0
- package/backend/node_modules/es-abstract/2021/ValidateAtomicAccess.js +45 -0
- package/backend/node_modules/es-abstract/2021/ValidateIntegerTypedArray.js +37 -0
- package/backend/node_modules/es-abstract/2021/ValidateTypedArray.js +28 -0
- package/backend/node_modules/es-abstract/2021/WeakRefDeref.js +23 -0
- package/backend/node_modules/es-abstract/2021/WeekDay.js +10 -0
- package/backend/node_modules/es-abstract/2021/WordCharacters.js +46 -0
- package/backend/node_modules/es-abstract/2021/YearFromTime.js +16 -0
- package/backend/node_modules/es-abstract/2021/abs.js +9 -0
- package/backend/node_modules/es-abstract/2021/clamp.js +14 -0
- package/backend/node_modules/es-abstract/2021/floor.js +14 -0
- package/backend/node_modules/es-abstract/2021/max.js +5 -0
- package/backend/node_modules/es-abstract/2021/min.js +5 -0
- package/backend/node_modules/es-abstract/2021/modulo.js +9 -0
- package/backend/node_modules/es-abstract/2021/msFromTime.js +11 -0
- package/backend/node_modules/es-abstract/2021/substring.js +15 -0
- package/backend/node_modules/es-abstract/2021/tables/typed-array-objects.js +36 -0
- package/backend/node_modules/es-abstract/2021/thisBigIntValue.js +18 -0
- package/backend/node_modules/es-abstract/2021/thisBooleanValue.js +13 -0
- package/backend/node_modules/es-abstract/2021/thisNumberValue.js +16 -0
- package/backend/node_modules/es-abstract/2021/thisStringValue.js +13 -0
- package/backend/node_modules/es-abstract/2021/thisSymbolValue.js +20 -0
- package/backend/node_modules/es-abstract/2021/thisTimeValue.js +9 -0
- package/backend/node_modules/es-abstract/2022/AddEntriesFromIterable.js +44 -0
- package/backend/node_modules/es-abstract/2022/AddToKeptObjects.js +18 -0
- package/backend/node_modules/es-abstract/2022/AdvanceStringIndex.js +30 -0
- package/backend/node_modules/es-abstract/2022/ApplyStringOrNumericBinaryOperator.js +77 -0
- package/backend/node_modules/es-abstract/2022/ArrayCreate.js +42 -0
- package/backend/node_modules/es-abstract/2022/ArraySetLength.js +77 -0
- package/backend/node_modules/es-abstract/2022/ArraySpeciesCreate.js +48 -0
- package/backend/node_modules/es-abstract/2022/AsyncFromSyncIteratorContinuation.js +45 -0
- package/backend/node_modules/es-abstract/2022/AsyncIteratorClose.js +70 -0
- package/backend/node_modules/es-abstract/2022/BigInt/add.js +14 -0
- package/backend/node_modules/es-abstract/2022/BigInt/bitwiseAND.js +14 -0
- package/backend/node_modules/es-abstract/2022/BigInt/bitwiseNOT.js +15 -0
- package/backend/node_modules/es-abstract/2022/BigInt/bitwiseOR.js +14 -0
- package/backend/node_modules/es-abstract/2022/BigInt/bitwiseXOR.js +14 -0
- package/backend/node_modules/es-abstract/2022/BigInt/divide.js +20 -0
- package/backend/node_modules/es-abstract/2022/BigInt/equal.js +13 -0
- package/backend/node_modules/es-abstract/2022/BigInt/exponentiate.js +29 -0
- package/backend/node_modules/es-abstract/2022/BigInt/index.js +43 -0
- package/backend/node_modules/es-abstract/2022/BigInt/leftShift.js +14 -0
- package/backend/node_modules/es-abstract/2022/BigInt/lessThan.js +14 -0
- package/backend/node_modules/es-abstract/2022/BigInt/multiply.js +14 -0
- package/backend/node_modules/es-abstract/2022/BigInt/remainder.js +28 -0
- package/backend/node_modules/es-abstract/2022/BigInt/sameValue.js +15 -0
- package/backend/node_modules/es-abstract/2022/BigInt/sameValueZero.js +15 -0
- package/backend/node_modules/es-abstract/2022/BigInt/signedRightShift.js +15 -0
- package/backend/node_modules/es-abstract/2022/BigInt/subtract.js +14 -0
- package/backend/node_modules/es-abstract/2022/BigInt/toString.js +16 -0
- package/backend/node_modules/es-abstract/2022/BigInt/unaryMinus.js +22 -0
- package/backend/node_modules/es-abstract/2022/BigInt/unsignedRightShift.js +13 -0
- package/backend/node_modules/es-abstract/2022/BigIntBitwiseOp.js +63 -0
- package/backend/node_modules/es-abstract/2022/BinaryAnd.js +12 -0
- package/backend/node_modules/es-abstract/2022/BinaryOr.js +12 -0
- package/backend/node_modules/es-abstract/2022/BinaryXor.js +12 -0
- package/backend/node_modules/es-abstract/2022/ByteListBitwiseOp.js +39 -0
- package/backend/node_modules/es-abstract/2022/ByteListEqual.js +31 -0
- package/backend/node_modules/es-abstract/2022/Call.js +20 -0
- package/backend/node_modules/es-abstract/2022/CanonicalNumericIndexString.js +19 -0
- package/backend/node_modules/es-abstract/2022/Canonicalize.js +51 -0
- package/backend/node_modules/es-abstract/2022/CharacterRange.js +53 -0
- package/backend/node_modules/es-abstract/2022/ClearKeptObjects.js +12 -0
- package/backend/node_modules/es-abstract/2022/CloneArrayBuffer.js +46 -0
- package/backend/node_modules/es-abstract/2022/CodePointAt.js +55 -0
- package/backend/node_modules/es-abstract/2022/CodePointsToString.js +25 -0
- package/backend/node_modules/es-abstract/2022/CompletePropertyDescriptor.js +43 -0
- package/backend/node_modules/es-abstract/2022/CompletionRecord.js +48 -0
- package/backend/node_modules/es-abstract/2022/CopyDataProperties.js +69 -0
- package/backend/node_modules/es-abstract/2022/CreateAsyncFromSyncIterator.js +137 -0
- package/backend/node_modules/es-abstract/2022/CreateDataProperty.js +25 -0
- package/backend/node_modules/es-abstract/2022/CreateDataPropertyOrThrow.js +24 -0
- package/backend/node_modules/es-abstract/2022/CreateHTML.js +27 -0
- package/backend/node_modules/es-abstract/2022/CreateIterResultObject.js +15 -0
- package/backend/node_modules/es-abstract/2022/CreateListFromArrayLike.js +44 -0
- package/backend/node_modules/es-abstract/2022/CreateMethodProperty.js +38 -0
- package/backend/node_modules/es-abstract/2022/CreateNonEnumerableDataPropertyOrThrow.js +28 -0
- package/backend/node_modules/es-abstract/2022/CreateRegExpStringIterator.js +100 -0
- package/backend/node_modules/es-abstract/2022/DateFromTime.js +52 -0
- package/backend/node_modules/es-abstract/2022/DateString.js +27 -0
- package/backend/node_modules/es-abstract/2022/Day.js +11 -0
- package/backend/node_modules/es-abstract/2022/DayFromYear.js +10 -0
- package/backend/node_modules/es-abstract/2022/DayWithinYear.js +11 -0
- package/backend/node_modules/es-abstract/2022/DaysInYear.js +18 -0
- package/backend/node_modules/es-abstract/2022/DefineMethodProperty.js +42 -0
- package/backend/node_modules/es-abstract/2022/DefinePropertyOrThrow.js +39 -0
- package/backend/node_modules/es-abstract/2022/DeletePropertyOrThrow.js +25 -0
- package/backend/node_modules/es-abstract/2022/DetachArrayBuffer.js +46 -0
- package/backend/node_modules/es-abstract/2022/EnumerableOwnPropertyNames.js +37 -0
- package/backend/node_modules/es-abstract/2022/FlattenIntoArray.js +55 -0
- package/backend/node_modules/es-abstract/2022/FromPropertyDescriptor.js +16 -0
- package/backend/node_modules/es-abstract/2022/Get.js +24 -0
- package/backend/node_modules/es-abstract/2022/GetGlobalObject.js +9 -0
- package/backend/node_modules/es-abstract/2022/GetIterator.js +63 -0
- package/backend/node_modules/es-abstract/2022/GetMatchIndexPair.js +24 -0
- package/backend/node_modules/es-abstract/2022/GetMatchString.js +26 -0
- package/backend/node_modules/es-abstract/2022/GetMethod.js +34 -0
- package/backend/node_modules/es-abstract/2022/GetOwnPropertyKeys.js +30 -0
- package/backend/node_modules/es-abstract/2022/GetPromiseResolve.js +20 -0
- package/backend/node_modules/es-abstract/2022/GetPrototypeFromConstructor.js +33 -0
- package/backend/node_modules/es-abstract/2022/GetStringIndex.js +27 -0
- package/backend/node_modules/es-abstract/2022/GetSubstitution.js +137 -0
- package/backend/node_modules/es-abstract/2022/GetV.js +23 -0
- package/backend/node_modules/es-abstract/2022/GetValueFromBuffer.js +96 -0
- package/backend/node_modules/es-abstract/2022/HasOwnProperty.js +20 -0
- package/backend/node_modules/es-abstract/2022/HasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2022/HourFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2022/InLeapYear.js +19 -0
- package/backend/node_modules/es-abstract/2022/InstallErrorCause.js +21 -0
- package/backend/node_modules/es-abstract/2022/InstanceofOperator.js +30 -0
- package/backend/node_modules/es-abstract/2022/IntegerIndexedElementGet.js +38 -0
- package/backend/node_modules/es-abstract/2022/IntegerIndexedElementSet.js +42 -0
- package/backend/node_modules/es-abstract/2022/InternalizeJSONProperty.js +66 -0
- package/backend/node_modules/es-abstract/2022/Invoke.js +22 -0
- package/backend/node_modules/es-abstract/2022/IsAccessorDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2022/IsArray.js +4 -0
- package/backend/node_modules/es-abstract/2022/IsBigIntElementType.js +7 -0
- package/backend/node_modules/es-abstract/2022/IsCallable.js +5 -0
- package/backend/node_modules/es-abstract/2022/IsCompatiblePropertyDescriptor.js +9 -0
- package/backend/node_modules/es-abstract/2022/IsConcatSpreadable.js +26 -0
- package/backend/node_modules/es-abstract/2022/IsConstructor.js +40 -0
- package/backend/node_modules/es-abstract/2022/IsDataDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2022/IsDetachedBuffer.js +28 -0
- package/backend/node_modules/es-abstract/2022/IsExtensible.js +18 -0
- package/backend/node_modules/es-abstract/2022/IsGenericDescriptor.js +26 -0
- package/backend/node_modules/es-abstract/2022/IsIntegralNumber.js +9 -0
- package/backend/node_modules/es-abstract/2022/IsLessThan.js +87 -0
- package/backend/node_modules/es-abstract/2022/IsLooselyEqual.js +58 -0
- package/backend/node_modules/es-abstract/2022/IsNoTearConfiguration.js +16 -0
- package/backend/node_modules/es-abstract/2022/IsPromise.js +24 -0
- package/backend/node_modules/es-abstract/2022/IsPropertyKey.js +9 -0
- package/backend/node_modules/es-abstract/2022/IsRegExp.js +25 -0
- package/backend/node_modules/es-abstract/2022/IsSharedArrayBuffer.js +16 -0
- package/backend/node_modules/es-abstract/2022/IsStrictlyEqual.js +18 -0
- package/backend/node_modules/es-abstract/2022/IsStringPrefix.js +19 -0
- package/backend/node_modules/es-abstract/2022/IsStringWellFormedUnicode.js +23 -0
- package/backend/node_modules/es-abstract/2022/IsUnclampedIntegerElementType.js +12 -0
- package/backend/node_modules/es-abstract/2022/IsUnsignedElementType.js +11 -0
- package/backend/node_modules/es-abstract/2022/IsValidIntegerIndex.js +30 -0
- package/backend/node_modules/es-abstract/2022/IsWordChar.js +46 -0
- package/backend/node_modules/es-abstract/2022/IterableToList.js +26 -0
- package/backend/node_modules/es-abstract/2022/IteratorClose.js +51 -0
- package/backend/node_modules/es-abstract/2022/IteratorComplete.js +16 -0
- package/backend/node_modules/es-abstract/2022/IteratorNext.js +16 -0
- package/backend/node_modules/es-abstract/2022/IteratorStep.js +13 -0
- package/backend/node_modules/es-abstract/2022/IteratorValue.js +16 -0
- package/backend/node_modules/es-abstract/2022/LengthOfArrayLike.js +18 -0
- package/backend/node_modules/es-abstract/2022/MakeDate.js +14 -0
- package/backend/node_modules/es-abstract/2022/MakeDay.js +36 -0
- package/backend/node_modules/es-abstract/2022/MakeMatchIndicesIndexPairArray.js +66 -0
- package/backend/node_modules/es-abstract/2022/MakeTime.js +23 -0
- package/backend/node_modules/es-abstract/2022/MinFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2022/MonthFromTime.js +51 -0
- package/backend/node_modules/es-abstract/2022/NewPromiseCapability.js +34 -0
- package/backend/node_modules/es-abstract/2022/NormalCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2022/Number/add.js +31 -0
- package/backend/node_modules/es-abstract/2022/Number/bitwiseAND.js +14 -0
- package/backend/node_modules/es-abstract/2022/Number/bitwiseNOT.js +16 -0
- package/backend/node_modules/es-abstract/2022/Number/bitwiseOR.js +14 -0
- package/backend/node_modules/es-abstract/2022/Number/bitwiseXOR.js +14 -0
- package/backend/node_modules/es-abstract/2022/Number/divide.js +18 -0
- package/backend/node_modules/es-abstract/2022/Number/equal.js +18 -0
- package/backend/node_modules/es-abstract/2022/Number/exponentiate.js +74 -0
- package/backend/node_modules/es-abstract/2022/Number/index.js +43 -0
- package/backend/node_modules/es-abstract/2022/Number/leftShift.js +22 -0
- package/backend/node_modules/es-abstract/2022/Number/lessThan.js +22 -0
- package/backend/node_modules/es-abstract/2022/Number/multiply.js +29 -0
- package/backend/node_modules/es-abstract/2022/Number/remainder.js +28 -0
- package/backend/node_modules/es-abstract/2022/Number/sameValue.js +18 -0
- package/backend/node_modules/es-abstract/2022/Number/sameValueZero.js +20 -0
- package/backend/node_modules/es-abstract/2022/Number/signedRightShift.js +22 -0
- package/backend/node_modules/es-abstract/2022/Number/subtract.js +15 -0
- package/backend/node_modules/es-abstract/2022/Number/toString.js +16 -0
- package/backend/node_modules/es-abstract/2022/Number/unaryMinus.js +17 -0
- package/backend/node_modules/es-abstract/2022/Number/unsignedRightShift.js +22 -0
- package/backend/node_modules/es-abstract/2022/NumberBitwiseOp.js +26 -0
- package/backend/node_modules/es-abstract/2022/NumberToBigInt.js +25 -0
- package/backend/node_modules/es-abstract/2022/NumericToRawBytes.js +62 -0
- package/backend/node_modules/es-abstract/2022/ObjectDefineProperties.js +37 -0
- package/backend/node_modules/es-abstract/2022/OrdinaryCreateFromConstructor.js +20 -0
- package/backend/node_modules/es-abstract/2022/OrdinaryDefineOwnProperty.js +54 -0
- package/backend/node_modules/es-abstract/2022/OrdinaryGetOwnProperty.js +41 -0
- package/backend/node_modules/es-abstract/2022/OrdinaryGetPrototypeOf.js +18 -0
- package/backend/node_modules/es-abstract/2022/OrdinaryHasInstance.js +23 -0
- package/backend/node_modules/es-abstract/2022/OrdinaryHasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2022/OrdinaryObjectCreate.js +56 -0
- package/backend/node_modules/es-abstract/2022/OrdinarySetPrototypeOf.js +50 -0
- package/backend/node_modules/es-abstract/2022/OrdinaryToPrimitive.js +36 -0
- package/backend/node_modules/es-abstract/2022/PromiseResolve.js +18 -0
- package/backend/node_modules/es-abstract/2022/QuoteJSONString.js +52 -0
- package/backend/node_modules/es-abstract/2022/RawBytesToNumeric.js +67 -0
- package/backend/node_modules/es-abstract/2022/RegExpCreate.js +21 -0
- package/backend/node_modules/es-abstract/2022/RegExpExec.js +29 -0
- package/backend/node_modules/es-abstract/2022/RegExpHasFlag.js +38 -0
- package/backend/node_modules/es-abstract/2022/RequireObjectCoercible.js +3 -0
- package/backend/node_modules/es-abstract/2022/SameValue.js +13 -0
- package/backend/node_modules/es-abstract/2022/SameValueNonNumeric.js +18 -0
- package/backend/node_modules/es-abstract/2022/SameValueZero.js +9 -0
- package/backend/node_modules/es-abstract/2022/SecFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2022/Set.js +45 -0
- package/backend/node_modules/es-abstract/2022/SetFunctionLength.js +28 -0
- package/backend/node_modules/es-abstract/2022/SetFunctionName.js +40 -0
- package/backend/node_modules/es-abstract/2022/SetIntegrityLevel.js +57 -0
- package/backend/node_modules/es-abstract/2022/SetTypedArrayFromArrayLike.js +94 -0
- package/backend/node_modules/es-abstract/2022/SetTypedArrayFromTypedArray.js +134 -0
- package/backend/node_modules/es-abstract/2022/SetValueInBuffer.js +92 -0
- package/backend/node_modules/es-abstract/2022/SortIndexedProperties.js +62 -0
- package/backend/node_modules/es-abstract/2022/SpeciesConstructor.js +32 -0
- package/backend/node_modules/es-abstract/2022/StringCreate.js +38 -0
- package/backend/node_modules/es-abstract/2022/StringGetOwnProperty.js +46 -0
- package/backend/node_modules/es-abstract/2022/StringIndexOf.js +36 -0
- package/backend/node_modules/es-abstract/2022/StringPad.js +41 -0
- package/backend/node_modules/es-abstract/2022/StringToBigInt.js +23 -0
- package/backend/node_modules/es-abstract/2022/StringToCodePoints.js +22 -0
- package/backend/node_modules/es-abstract/2022/StringToNumber.js +42 -0
- package/backend/node_modules/es-abstract/2022/SymbolDescriptiveString.js +16 -0
- package/backend/node_modules/es-abstract/2022/TestIntegrityLevel.js +40 -0
- package/backend/node_modules/es-abstract/2022/ThrowCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2022/TimeClip.js +20 -0
- package/backend/node_modules/es-abstract/2022/TimeFromYear.js +11 -0
- package/backend/node_modules/es-abstract/2022/TimeString.js +26 -0
- package/backend/node_modules/es-abstract/2022/TimeWithinDay.js +12 -0
- package/backend/node_modules/es-abstract/2022/TimeZoneString.js +38 -0
- package/backend/node_modules/es-abstract/2022/ToBigInt.js +51 -0
- package/backend/node_modules/es-abstract/2022/ToBigInt64.js +25 -0
- package/backend/node_modules/es-abstract/2022/ToBigUint64.js +23 -0
- package/backend/node_modules/es-abstract/2022/ToBoolean.js +5 -0
- package/backend/node_modules/es-abstract/2022/ToDateString.js +21 -0
- package/backend/node_modules/es-abstract/2022/ToIndex.js +24 -0
- package/backend/node_modules/es-abstract/2022/ToInt16.js +10 -0
- package/backend/node_modules/es-abstract/2022/ToInt32.js +9 -0
- package/backend/node_modules/es-abstract/2022/ToInt8.js +10 -0
- package/backend/node_modules/es-abstract/2022/ToIntegerOrInfinity.js +20 -0
- package/backend/node_modules/es-abstract/2022/ToLength.js +14 -0
- package/backend/node_modules/es-abstract/2022/ToNumber.js +26 -0
- package/backend/node_modules/es-abstract/2022/ToNumeric.js +20 -0
- package/backend/node_modules/es-abstract/2022/ToObject.js +5 -0
- package/backend/node_modules/es-abstract/2022/ToPrimitive.js +12 -0
- package/backend/node_modules/es-abstract/2022/ToPropertyDescriptor.js +50 -0
- package/backend/node_modules/es-abstract/2022/ToPropertyKey.js +15 -0
- package/backend/node_modules/es-abstract/2022/ToString.js +15 -0
- package/backend/node_modules/es-abstract/2022/ToUint16.js +19 -0
- package/backend/node_modules/es-abstract/2022/ToUint32.js +9 -0
- package/backend/node_modules/es-abstract/2022/ToUint8.js +19 -0
- package/backend/node_modules/es-abstract/2022/ToUint8Clamp.js +19 -0
- package/backend/node_modules/es-abstract/2022/ToZeroPaddedDecimalString.js +19 -0
- package/backend/node_modules/es-abstract/2022/TrimString.js +27 -0
- package/backend/node_modules/es-abstract/2022/Type.js +15 -0
- package/backend/node_modules/es-abstract/2022/TypedArrayCreate.js +47 -0
- package/backend/node_modules/es-abstract/2022/TypedArrayElementSize.js +23 -0
- package/backend/node_modules/es-abstract/2022/TypedArrayElementType.js +23 -0
- package/backend/node_modules/es-abstract/2022/TypedArraySpeciesCreate.js +37 -0
- package/backend/node_modules/es-abstract/2022/UTF16EncodeCodePoint.js +25 -0
- package/backend/node_modules/es-abstract/2022/UTF16SurrogatePairToCodePoint.js +19 -0
- package/backend/node_modules/es-abstract/2022/UnicodeEscape.js +25 -0
- package/backend/node_modules/es-abstract/2022/ValidateAndApplyPropertyDescriptor.js +171 -0
- package/backend/node_modules/es-abstract/2022/ValidateAtomicAccess.js +40 -0
- package/backend/node_modules/es-abstract/2022/ValidateIntegerTypedArray.js +38 -0
- package/backend/node_modules/es-abstract/2022/ValidateTypedArray.js +26 -0
- package/backend/node_modules/es-abstract/2022/WeakRefDeref.js +23 -0
- package/backend/node_modules/es-abstract/2022/WeekDay.js +10 -0
- package/backend/node_modules/es-abstract/2022/WordCharacters.js +46 -0
- package/backend/node_modules/es-abstract/2022/YearFromTime.js +16 -0
- package/backend/node_modules/es-abstract/2022/abs.js +9 -0
- package/backend/node_modules/es-abstract/2022/clamp.js +14 -0
- package/backend/node_modules/es-abstract/2022/floor.js +14 -0
- package/backend/node_modules/es-abstract/2022/max.js +5 -0
- package/backend/node_modules/es-abstract/2022/min.js +5 -0
- package/backend/node_modules/es-abstract/2022/modulo.js +9 -0
- package/backend/node_modules/es-abstract/2022/msFromTime.js +11 -0
- package/backend/node_modules/es-abstract/2022/substring.js +15 -0
- package/backend/node_modules/es-abstract/2022/tables/typed-array-objects.js +36 -0
- package/backend/node_modules/es-abstract/2022/thisBigIntValue.js +18 -0
- package/backend/node_modules/es-abstract/2022/thisBooleanValue.js +13 -0
- package/backend/node_modules/es-abstract/2022/thisNumberValue.js +16 -0
- package/backend/node_modules/es-abstract/2022/thisStringValue.js +13 -0
- package/backend/node_modules/es-abstract/2022/thisSymbolValue.js +20 -0
- package/backend/node_modules/es-abstract/2022/thisTimeValue.js +9 -0
- package/backend/node_modules/es-abstract/2023/AddEntriesFromIterable.js +44 -0
- package/backend/node_modules/es-abstract/2023/AddToKeptObjects.js +18 -0
- package/backend/node_modules/es-abstract/2023/AdvanceStringIndex.js +30 -0
- package/backend/node_modules/es-abstract/2023/ApplyStringOrNumericBinaryOperator.js +77 -0
- package/backend/node_modules/es-abstract/2023/ArrayCreate.js +42 -0
- package/backend/node_modules/es-abstract/2023/ArraySetLength.js +77 -0
- package/backend/node_modules/es-abstract/2023/ArraySpeciesCreate.js +48 -0
- package/backend/node_modules/es-abstract/2023/AsyncFromSyncIteratorContinuation.js +45 -0
- package/backend/node_modules/es-abstract/2023/AsyncIteratorClose.js +70 -0
- package/backend/node_modules/es-abstract/2023/BigInt/add.js +14 -0
- package/backend/node_modules/es-abstract/2023/BigInt/bitwiseAND.js +14 -0
- package/backend/node_modules/es-abstract/2023/BigInt/bitwiseNOT.js +15 -0
- package/backend/node_modules/es-abstract/2023/BigInt/bitwiseOR.js +14 -0
- package/backend/node_modules/es-abstract/2023/BigInt/bitwiseXOR.js +14 -0
- package/backend/node_modules/es-abstract/2023/BigInt/divide.js +20 -0
- package/backend/node_modules/es-abstract/2023/BigInt/equal.js +13 -0
- package/backend/node_modules/es-abstract/2023/BigInt/exponentiate.js +29 -0
- package/backend/node_modules/es-abstract/2023/BigInt/index.js +39 -0
- package/backend/node_modules/es-abstract/2023/BigInt/leftShift.js +14 -0
- package/backend/node_modules/es-abstract/2023/BigInt/lessThan.js +14 -0
- package/backend/node_modules/es-abstract/2023/BigInt/multiply.js +14 -0
- package/backend/node_modules/es-abstract/2023/BigInt/remainder.js +28 -0
- package/backend/node_modules/es-abstract/2023/BigInt/signedRightShift.js +15 -0
- package/backend/node_modules/es-abstract/2023/BigInt/subtract.js +14 -0
- package/backend/node_modules/es-abstract/2023/BigInt/toString.js +26 -0
- package/backend/node_modules/es-abstract/2023/BigInt/unaryMinus.js +22 -0
- package/backend/node_modules/es-abstract/2023/BigInt/unsignedRightShift.js +13 -0
- package/backend/node_modules/es-abstract/2023/BigIntBitwiseOp.js +63 -0
- package/backend/node_modules/es-abstract/2023/BinaryAnd.js +12 -0
- package/backend/node_modules/es-abstract/2023/BinaryOr.js +12 -0
- package/backend/node_modules/es-abstract/2023/BinaryXor.js +12 -0
- package/backend/node_modules/es-abstract/2023/ByteListBitwiseOp.js +39 -0
- package/backend/node_modules/es-abstract/2023/ByteListEqual.js +31 -0
- package/backend/node_modules/es-abstract/2023/Call.js +20 -0
- package/backend/node_modules/es-abstract/2023/CanBeHeldWeakly.js +17 -0
- package/backend/node_modules/es-abstract/2023/CanonicalNumericIndexString.js +19 -0
- package/backend/node_modules/es-abstract/2023/Canonicalize.js +52 -0
- package/backend/node_modules/es-abstract/2023/CharacterRange.js +53 -0
- package/backend/node_modules/es-abstract/2023/ClearKeptObjects.js +12 -0
- package/backend/node_modules/es-abstract/2023/CloneArrayBuffer.js +46 -0
- package/backend/node_modules/es-abstract/2023/CodePointAt.js +55 -0
- package/backend/node_modules/es-abstract/2023/CodePointsToString.js +25 -0
- package/backend/node_modules/es-abstract/2023/CompareArrayElements.js +50 -0
- package/backend/node_modules/es-abstract/2023/CompareTypedArrayElements.js +60 -0
- package/backend/node_modules/es-abstract/2023/CompletePropertyDescriptor.js +43 -0
- package/backend/node_modules/es-abstract/2023/CompletionRecord.js +48 -0
- package/backend/node_modules/es-abstract/2023/CopyDataProperties.js +69 -0
- package/backend/node_modules/es-abstract/2023/CreateAsyncFromSyncIterator.js +137 -0
- package/backend/node_modules/es-abstract/2023/CreateDataProperty.js +25 -0
- package/backend/node_modules/es-abstract/2023/CreateDataPropertyOrThrow.js +23 -0
- package/backend/node_modules/es-abstract/2023/CreateHTML.js +27 -0
- package/backend/node_modules/es-abstract/2023/CreateIterResultObject.js +15 -0
- package/backend/node_modules/es-abstract/2023/CreateListFromArrayLike.js +44 -0
- package/backend/node_modules/es-abstract/2023/CreateMethodProperty.js +38 -0
- package/backend/node_modules/es-abstract/2023/CreateNonEnumerableDataPropertyOrThrow.js +28 -0
- package/backend/node_modules/es-abstract/2023/CreateRegExpStringIterator.js +100 -0
- package/backend/node_modules/es-abstract/2023/DateFromTime.js +52 -0
- package/backend/node_modules/es-abstract/2023/DateString.js +27 -0
- package/backend/node_modules/es-abstract/2023/Day.js +11 -0
- package/backend/node_modules/es-abstract/2023/DayFromYear.js +10 -0
- package/backend/node_modules/es-abstract/2023/DayWithinYear.js +11 -0
- package/backend/node_modules/es-abstract/2023/DaysInYear.js +18 -0
- package/backend/node_modules/es-abstract/2023/DefaultTimeZone.js +18 -0
- package/backend/node_modules/es-abstract/2023/DefineMethodProperty.js +42 -0
- package/backend/node_modules/es-abstract/2023/DefinePropertyOrThrow.js +39 -0
- package/backend/node_modules/es-abstract/2023/DeletePropertyOrThrow.js +25 -0
- package/backend/node_modules/es-abstract/2023/DetachArrayBuffer.js +46 -0
- package/backend/node_modules/es-abstract/2023/EnumerableOwnProperties.js +36 -0
- package/backend/node_modules/es-abstract/2023/FindViaPredicate.js +43 -0
- package/backend/node_modules/es-abstract/2023/FlattenIntoArray.js +55 -0
- package/backend/node_modules/es-abstract/2023/FromPropertyDescriptor.js +16 -0
- package/backend/node_modules/es-abstract/2023/Get.js +24 -0
- package/backend/node_modules/es-abstract/2023/GetGlobalObject.js +9 -0
- package/backend/node_modules/es-abstract/2023/GetIterator.js +53 -0
- package/backend/node_modules/es-abstract/2023/GetIteratorFromMethod.js +28 -0
- package/backend/node_modules/es-abstract/2023/GetMatchIndexPair.js +24 -0
- package/backend/node_modules/es-abstract/2023/GetMatchString.js +26 -0
- package/backend/node_modules/es-abstract/2023/GetMethod.js +34 -0
- package/backend/node_modules/es-abstract/2023/GetNamedTimeZoneEpochNanoseconds.js +72 -0
- package/backend/node_modules/es-abstract/2023/GetOwnPropertyKeys.js +30 -0
- package/backend/node_modules/es-abstract/2023/GetPromiseResolve.js +20 -0
- package/backend/node_modules/es-abstract/2023/GetPrototypeFromConstructor.js +33 -0
- package/backend/node_modules/es-abstract/2023/GetStringIndex.js +27 -0
- package/backend/node_modules/es-abstract/2023/GetSubstitution.js +138 -0
- package/backend/node_modules/es-abstract/2023/GetUTCEpochNanoseconds.js +68 -0
- package/backend/node_modules/es-abstract/2023/GetV.js +23 -0
- package/backend/node_modules/es-abstract/2023/GetValueFromBuffer.js +96 -0
- package/backend/node_modules/es-abstract/2023/HasOwnProperty.js +20 -0
- package/backend/node_modules/es-abstract/2023/HasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2023/HourFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2023/InLeapYear.js +19 -0
- package/backend/node_modules/es-abstract/2023/InstallErrorCause.js +21 -0
- package/backend/node_modules/es-abstract/2023/InstanceofOperator.js +30 -0
- package/backend/node_modules/es-abstract/2023/IntegerIndexedElementGet.js +38 -0
- package/backend/node_modules/es-abstract/2023/IntegerIndexedElementSet.js +42 -0
- package/backend/node_modules/es-abstract/2023/InternalizeJSONProperty.js +68 -0
- package/backend/node_modules/es-abstract/2023/Invoke.js +22 -0
- package/backend/node_modules/es-abstract/2023/IsAccessorDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2023/IsArray.js +4 -0
- package/backend/node_modules/es-abstract/2023/IsBigIntElementType.js +7 -0
- package/backend/node_modules/es-abstract/2023/IsCallable.js +5 -0
- package/backend/node_modules/es-abstract/2023/IsCompatiblePropertyDescriptor.js +9 -0
- package/backend/node_modules/es-abstract/2023/IsConcatSpreadable.js +26 -0
- package/backend/node_modules/es-abstract/2023/IsConstructor.js +40 -0
- package/backend/node_modules/es-abstract/2023/IsDataDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2023/IsDetachedBuffer.js +28 -0
- package/backend/node_modules/es-abstract/2023/IsExtensible.js +18 -0
- package/backend/node_modules/es-abstract/2023/IsGenericDescriptor.js +26 -0
- package/backend/node_modules/es-abstract/2023/IsIntegralNumber.js +14 -0
- package/backend/node_modules/es-abstract/2023/IsLessThan.js +97 -0
- package/backend/node_modules/es-abstract/2023/IsLooselyEqual.js +58 -0
- package/backend/node_modules/es-abstract/2023/IsNoTearConfiguration.js +16 -0
- package/backend/node_modules/es-abstract/2023/IsPromise.js +24 -0
- package/backend/node_modules/es-abstract/2023/IsPropertyKey.js +9 -0
- package/backend/node_modules/es-abstract/2023/IsRegExp.js +25 -0
- package/backend/node_modules/es-abstract/2023/IsSharedArrayBuffer.js +16 -0
- package/backend/node_modules/es-abstract/2023/IsStrictlyEqual.js +14 -0
- package/backend/node_modules/es-abstract/2023/IsStringWellFormedUnicode.js +23 -0
- package/backend/node_modules/es-abstract/2023/IsTimeZoneOffsetString.js +20 -0
- package/backend/node_modules/es-abstract/2023/IsUnclampedIntegerElementType.js +12 -0
- package/backend/node_modules/es-abstract/2023/IsUnsignedElementType.js +11 -0
- package/backend/node_modules/es-abstract/2023/IsValidIntegerIndex.js +30 -0
- package/backend/node_modules/es-abstract/2023/IsWordChar.js +42 -0
- package/backend/node_modules/es-abstract/2023/IteratorClose.js +65 -0
- package/backend/node_modules/es-abstract/2023/IteratorComplete.js +16 -0
- package/backend/node_modules/es-abstract/2023/IteratorNext.js +28 -0
- package/backend/node_modules/es-abstract/2023/IteratorStep.js +21 -0
- package/backend/node_modules/es-abstract/2023/IteratorToList.js +27 -0
- package/backend/node_modules/es-abstract/2023/IteratorValue.js +16 -0
- package/backend/node_modules/es-abstract/2023/KeyForSymbol.js +16 -0
- package/backend/node_modules/es-abstract/2023/LengthOfArrayLike.js +18 -0
- package/backend/node_modules/es-abstract/2023/MakeDate.js +14 -0
- package/backend/node_modules/es-abstract/2023/MakeDay.js +36 -0
- package/backend/node_modules/es-abstract/2023/MakeMatchIndicesIndexPairArray.js +66 -0
- package/backend/node_modules/es-abstract/2023/MakeTime.js +23 -0
- package/backend/node_modules/es-abstract/2023/MinFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2023/MonthFromTime.js +51 -0
- package/backend/node_modules/es-abstract/2023/NewPromiseCapability.js +34 -0
- package/backend/node_modules/es-abstract/2023/NormalCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2023/Number/add.js +31 -0
- package/backend/node_modules/es-abstract/2023/Number/bitwiseAND.js +14 -0
- package/backend/node_modules/es-abstract/2023/Number/bitwiseNOT.js +16 -0
- package/backend/node_modules/es-abstract/2023/Number/bitwiseOR.js +14 -0
- package/backend/node_modules/es-abstract/2023/Number/bitwiseXOR.js +14 -0
- package/backend/node_modules/es-abstract/2023/Number/divide.js +18 -0
- package/backend/node_modules/es-abstract/2023/Number/equal.js +18 -0
- package/backend/node_modules/es-abstract/2023/Number/exponentiate.js +74 -0
- package/backend/node_modules/es-abstract/2023/Number/index.js +43 -0
- package/backend/node_modules/es-abstract/2023/Number/leftShift.js +22 -0
- package/backend/node_modules/es-abstract/2023/Number/lessThan.js +22 -0
- package/backend/node_modules/es-abstract/2023/Number/multiply.js +29 -0
- package/backend/node_modules/es-abstract/2023/Number/remainder.js +38 -0
- package/backend/node_modules/es-abstract/2023/Number/sameValue.js +18 -0
- package/backend/node_modules/es-abstract/2023/Number/sameValueZero.js +20 -0
- package/backend/node_modules/es-abstract/2023/Number/signedRightShift.js +22 -0
- package/backend/node_modules/es-abstract/2023/Number/subtract.js +15 -0
- package/backend/node_modules/es-abstract/2023/Number/toString.js +20 -0
- package/backend/node_modules/es-abstract/2023/Number/unaryMinus.js +17 -0
- package/backend/node_modules/es-abstract/2023/Number/unsignedRightShift.js +22 -0
- package/backend/node_modules/es-abstract/2023/NumberBitwiseOp.js +26 -0
- package/backend/node_modules/es-abstract/2023/NumberToBigInt.js +25 -0
- package/backend/node_modules/es-abstract/2023/NumericToRawBytes.js +62 -0
- package/backend/node_modules/es-abstract/2023/ObjectDefineProperties.js +37 -0
- package/backend/node_modules/es-abstract/2023/OrdinaryCreateFromConstructor.js +20 -0
- package/backend/node_modules/es-abstract/2023/OrdinaryDefineOwnProperty.js +54 -0
- package/backend/node_modules/es-abstract/2023/OrdinaryGetOwnProperty.js +41 -0
- package/backend/node_modules/es-abstract/2023/OrdinaryGetPrototypeOf.js +18 -0
- package/backend/node_modules/es-abstract/2023/OrdinaryHasInstance.js +23 -0
- package/backend/node_modules/es-abstract/2023/OrdinaryHasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2023/OrdinaryObjectCreate.js +56 -0
- package/backend/node_modules/es-abstract/2023/OrdinarySetPrototypeOf.js +50 -0
- package/backend/node_modules/es-abstract/2023/OrdinaryToPrimitive.js +36 -0
- package/backend/node_modules/es-abstract/2023/ParseHexOctet.js +40 -0
- package/backend/node_modules/es-abstract/2023/PromiseResolve.js +18 -0
- package/backend/node_modules/es-abstract/2023/QuoteJSONString.js +52 -0
- package/backend/node_modules/es-abstract/2023/RawBytesToNumeric.js +67 -0
- package/backend/node_modules/es-abstract/2023/RegExpCreate.js +21 -0
- package/backend/node_modules/es-abstract/2023/RegExpExec.js +29 -0
- package/backend/node_modules/es-abstract/2023/RegExpHasFlag.js +38 -0
- package/backend/node_modules/es-abstract/2023/RequireObjectCoercible.js +3 -0
- package/backend/node_modules/es-abstract/2023/SameValue.js +13 -0
- package/backend/node_modules/es-abstract/2023/SameValueNonNumber.js +18 -0
- package/backend/node_modules/es-abstract/2023/SameValueZero.js +9 -0
- package/backend/node_modules/es-abstract/2023/SecFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2023/Set.js +45 -0
- package/backend/node_modules/es-abstract/2023/SetFunctionLength.js +28 -0
- package/backend/node_modules/es-abstract/2023/SetFunctionName.js +40 -0
- package/backend/node_modules/es-abstract/2023/SetIntegrityLevel.js +57 -0
- package/backend/node_modules/es-abstract/2023/SetTypedArrayFromArrayLike.js +68 -0
- package/backend/node_modules/es-abstract/2023/SetTypedArrayFromTypedArray.js +129 -0
- package/backend/node_modules/es-abstract/2023/SetValueInBuffer.js +92 -0
- package/backend/node_modules/es-abstract/2023/SortIndexedProperties.js +49 -0
- package/backend/node_modules/es-abstract/2023/SpeciesConstructor.js +32 -0
- package/backend/node_modules/es-abstract/2023/StringCreate.js +38 -0
- package/backend/node_modules/es-abstract/2023/StringGetOwnProperty.js +46 -0
- package/backend/node_modules/es-abstract/2023/StringIndexOf.js +36 -0
- package/backend/node_modules/es-abstract/2023/StringPad.js +41 -0
- package/backend/node_modules/es-abstract/2023/StringToBigInt.js +23 -0
- package/backend/node_modules/es-abstract/2023/StringToCodePoints.js +22 -0
- package/backend/node_modules/es-abstract/2023/StringToNumber.js +42 -0
- package/backend/node_modules/es-abstract/2023/SymbolDescriptiveString.js +16 -0
- package/backend/node_modules/es-abstract/2023/TestIntegrityLevel.js +40 -0
- package/backend/node_modules/es-abstract/2023/ThrowCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2023/TimeClip.js +20 -0
- package/backend/node_modules/es-abstract/2023/TimeFromYear.js +11 -0
- package/backend/node_modules/es-abstract/2023/TimeString.js +26 -0
- package/backend/node_modules/es-abstract/2023/TimeWithinDay.js +12 -0
- package/backend/node_modules/es-abstract/2023/TimeZoneString.js +41 -0
- package/backend/node_modules/es-abstract/2023/ToBigInt.js +51 -0
- package/backend/node_modules/es-abstract/2023/ToBigInt64.js +25 -0
- package/backend/node_modules/es-abstract/2023/ToBigUint64.js +23 -0
- package/backend/node_modules/es-abstract/2023/ToBoolean.js +5 -0
- package/backend/node_modules/es-abstract/2023/ToDateString.js +21 -0
- package/backend/node_modules/es-abstract/2023/ToIndex.js +24 -0
- package/backend/node_modules/es-abstract/2023/ToInt16.js +21 -0
- package/backend/node_modules/es-abstract/2023/ToInt32.js +23 -0
- package/backend/node_modules/es-abstract/2023/ToInt8.js +19 -0
- package/backend/node_modules/es-abstract/2023/ToIntegerOrInfinity.js +16 -0
- package/backend/node_modules/es-abstract/2023/ToLength.js +14 -0
- package/backend/node_modules/es-abstract/2023/ToNumber.js +26 -0
- package/backend/node_modules/es-abstract/2023/ToNumeric.js +20 -0
- package/backend/node_modules/es-abstract/2023/ToObject.js +5 -0
- package/backend/node_modules/es-abstract/2023/ToPrimitive.js +12 -0
- package/backend/node_modules/es-abstract/2023/ToPropertyDescriptor.js +50 -0
- package/backend/node_modules/es-abstract/2023/ToPropertyKey.js +15 -0
- package/backend/node_modules/es-abstract/2023/ToString.js +15 -0
- package/backend/node_modules/es-abstract/2023/ToUint16.js +21 -0
- package/backend/node_modules/es-abstract/2023/ToUint32.js +21 -0
- package/backend/node_modules/es-abstract/2023/ToUint8.js +19 -0
- package/backend/node_modules/es-abstract/2023/ToUint8Clamp.js +19 -0
- package/backend/node_modules/es-abstract/2023/ToZeroPaddedDecimalString.js +19 -0
- package/backend/node_modules/es-abstract/2023/TrimString.js +27 -0
- package/backend/node_modules/es-abstract/2023/Type.js +15 -0
- package/backend/node_modules/es-abstract/2023/TypedArrayCreate.js +47 -0
- package/backend/node_modules/es-abstract/2023/TypedArrayCreateSameType.js +35 -0
- package/backend/node_modules/es-abstract/2023/TypedArrayElementSize.js +23 -0
- package/backend/node_modules/es-abstract/2023/TypedArrayElementType.js +23 -0
- package/backend/node_modules/es-abstract/2023/TypedArraySpeciesCreate.js +37 -0
- package/backend/node_modules/es-abstract/2023/UTF16EncodeCodePoint.js +25 -0
- package/backend/node_modules/es-abstract/2023/UTF16SurrogatePairToCodePoint.js +19 -0
- package/backend/node_modules/es-abstract/2023/UnicodeEscape.js +25 -0
- package/backend/node_modules/es-abstract/2023/ValidateAndApplyPropertyDescriptor.js +171 -0
- package/backend/node_modules/es-abstract/2023/ValidateAtomicAccess.js +40 -0
- package/backend/node_modules/es-abstract/2023/ValidateIntegerTypedArray.js +38 -0
- package/backend/node_modules/es-abstract/2023/ValidateTypedArray.js +26 -0
- package/backend/node_modules/es-abstract/2023/WeakRefDeref.js +23 -0
- package/backend/node_modules/es-abstract/2023/WeekDay.js +10 -0
- package/backend/node_modules/es-abstract/2023/WordCharacters.js +47 -0
- package/backend/node_modules/es-abstract/2023/YearFromTime.js +16 -0
- package/backend/node_modules/es-abstract/2023/abs.js +9 -0
- package/backend/node_modules/es-abstract/2023/clamp.js +14 -0
- package/backend/node_modules/es-abstract/2023/floor.js +14 -0
- package/backend/node_modules/es-abstract/2023/max.js +5 -0
- package/backend/node_modules/es-abstract/2023/min.js +5 -0
- package/backend/node_modules/es-abstract/2023/modulo.js +9 -0
- package/backend/node_modules/es-abstract/2023/msFromTime.js +11 -0
- package/backend/node_modules/es-abstract/2023/substring.js +15 -0
- package/backend/node_modules/es-abstract/2023/tables/typed-array-objects.js +36 -0
- package/backend/node_modules/es-abstract/2023/thisBigIntValue.js +18 -0
- package/backend/node_modules/es-abstract/2023/thisBooleanValue.js +13 -0
- package/backend/node_modules/es-abstract/2023/thisNumberValue.js +16 -0
- package/backend/node_modules/es-abstract/2023/thisStringValue.js +13 -0
- package/backend/node_modules/es-abstract/2023/thisSymbolValue.js +20 -0
- package/backend/node_modules/es-abstract/2023/thisTimeValue.js +9 -0
- package/backend/node_modules/es-abstract/2023/truncate.js +15 -0
- package/backend/node_modules/es-abstract/2024/AddEntriesFromIterable.js +44 -0
- package/backend/node_modules/es-abstract/2024/AddToKeptObjects.js +18 -0
- package/backend/node_modules/es-abstract/2024/AddValueToKeyedGroup.js +45 -0
- package/backend/node_modules/es-abstract/2024/AdvanceStringIndex.js +30 -0
- package/backend/node_modules/es-abstract/2024/AllCharacters.js +29 -0
- package/backend/node_modules/es-abstract/2024/ApplyStringOrNumericBinaryOperator.js +77 -0
- package/backend/node_modules/es-abstract/2024/ArrayBufferByteLength.js +41 -0
- package/backend/node_modules/es-abstract/2024/ArrayBufferCopyAndDetach.js +101 -0
- package/backend/node_modules/es-abstract/2024/ArrayCreate.js +42 -0
- package/backend/node_modules/es-abstract/2024/ArraySetLength.js +77 -0
- package/backend/node_modules/es-abstract/2024/ArraySpeciesCreate.js +48 -0
- package/backend/node_modules/es-abstract/2024/AsyncFromSyncIteratorContinuation.js +45 -0
- package/backend/node_modules/es-abstract/2024/AsyncIteratorClose.js +70 -0
- package/backend/node_modules/es-abstract/2024/BigInt/add.js +14 -0
- package/backend/node_modules/es-abstract/2024/BigInt/bitwiseAND.js +14 -0
- package/backend/node_modules/es-abstract/2024/BigInt/bitwiseNOT.js +15 -0
- package/backend/node_modules/es-abstract/2024/BigInt/bitwiseOR.js +14 -0
- package/backend/node_modules/es-abstract/2024/BigInt/bitwiseXOR.js +14 -0
- package/backend/node_modules/es-abstract/2024/BigInt/divide.js +20 -0
- package/backend/node_modules/es-abstract/2024/BigInt/equal.js +13 -0
- package/backend/node_modules/es-abstract/2024/BigInt/exponentiate.js +29 -0
- package/backend/node_modules/es-abstract/2024/BigInt/index.js +39 -0
- package/backend/node_modules/es-abstract/2024/BigInt/leftShift.js +14 -0
- package/backend/node_modules/es-abstract/2024/BigInt/lessThan.js +14 -0
- package/backend/node_modules/es-abstract/2024/BigInt/multiply.js +14 -0
- package/backend/node_modules/es-abstract/2024/BigInt/remainder.js +28 -0
- package/backend/node_modules/es-abstract/2024/BigInt/signedRightShift.js +15 -0
- package/backend/node_modules/es-abstract/2024/BigInt/subtract.js +14 -0
- package/backend/node_modules/es-abstract/2024/BigInt/toString.js +26 -0
- package/backend/node_modules/es-abstract/2024/BigInt/unaryMinus.js +22 -0
- package/backend/node_modules/es-abstract/2024/BigInt/unsignedRightShift.js +13 -0
- package/backend/node_modules/es-abstract/2024/BigIntBitwiseOp.js +63 -0
- package/backend/node_modules/es-abstract/2024/BinaryAnd.js +12 -0
- package/backend/node_modules/es-abstract/2024/BinaryOr.js +12 -0
- package/backend/node_modules/es-abstract/2024/BinaryXor.js +12 -0
- package/backend/node_modules/es-abstract/2024/ByteListBitwiseOp.js +39 -0
- package/backend/node_modules/es-abstract/2024/ByteListEqual.js +31 -0
- package/backend/node_modules/es-abstract/2024/Call.js +20 -0
- package/backend/node_modules/es-abstract/2024/CanBeHeldWeakly.js +17 -0
- package/backend/node_modules/es-abstract/2024/CanonicalNumericIndexString.js +19 -0
- package/backend/node_modules/es-abstract/2024/Canonicalize.js +52 -0
- package/backend/node_modules/es-abstract/2024/CharacterComplement.js +34 -0
- package/backend/node_modules/es-abstract/2024/CharacterRange.js +53 -0
- package/backend/node_modules/es-abstract/2024/ClearKeptObjects.js +12 -0
- package/backend/node_modules/es-abstract/2024/CloneArrayBuffer.js +46 -0
- package/backend/node_modules/es-abstract/2024/CodePointAt.js +55 -0
- package/backend/node_modules/es-abstract/2024/CodePointsToString.js +25 -0
- package/backend/node_modules/es-abstract/2024/CompareArrayElements.js +50 -0
- package/backend/node_modules/es-abstract/2024/CompareTypedArrayElements.js +60 -0
- package/backend/node_modules/es-abstract/2024/CompletePropertyDescriptor.js +43 -0
- package/backend/node_modules/es-abstract/2024/CompletionRecord.js +48 -0
- package/backend/node_modules/es-abstract/2024/CopyDataProperties.js +69 -0
- package/backend/node_modules/es-abstract/2024/CreateAsyncFromSyncIterator.js +137 -0
- package/backend/node_modules/es-abstract/2024/CreateDataProperty.js +25 -0
- package/backend/node_modules/es-abstract/2024/CreateDataPropertyOrThrow.js +23 -0
- package/backend/node_modules/es-abstract/2024/CreateHTML.js +27 -0
- package/backend/node_modules/es-abstract/2024/CreateIterResultObject.js +15 -0
- package/backend/node_modules/es-abstract/2024/CreateListFromArrayLike.js +44 -0
- package/backend/node_modules/es-abstract/2024/CreateNonEnumerableDataPropertyOrThrow.js +28 -0
- package/backend/node_modules/es-abstract/2024/CreateRegExpStringIterator.js +101 -0
- package/backend/node_modules/es-abstract/2024/DateFromTime.js +52 -0
- package/backend/node_modules/es-abstract/2024/DateString.js +27 -0
- package/backend/node_modules/es-abstract/2024/Day.js +11 -0
- package/backend/node_modules/es-abstract/2024/DayFromYear.js +10 -0
- package/backend/node_modules/es-abstract/2024/DayWithinYear.js +11 -0
- package/backend/node_modules/es-abstract/2024/DaysInYear.js +18 -0
- package/backend/node_modules/es-abstract/2024/DefineMethodProperty.js +42 -0
- package/backend/node_modules/es-abstract/2024/DefinePropertyOrThrow.js +39 -0
- package/backend/node_modules/es-abstract/2024/DeletePropertyOrThrow.js +25 -0
- package/backend/node_modules/es-abstract/2024/DetachArrayBuffer.js +46 -0
- package/backend/node_modules/es-abstract/2024/EnumerableOwnProperties.js +36 -0
- package/backend/node_modules/es-abstract/2024/FindViaPredicate.js +43 -0
- package/backend/node_modules/es-abstract/2024/FlattenIntoArray.js +55 -0
- package/backend/node_modules/es-abstract/2024/FromPropertyDescriptor.js +16 -0
- package/backend/node_modules/es-abstract/2024/Get.js +24 -0
- package/backend/node_modules/es-abstract/2024/GetArrayBufferMaxByteLengthOption.js +22 -0
- package/backend/node_modules/es-abstract/2024/GetGlobalObject.js +9 -0
- package/backend/node_modules/es-abstract/2024/GetIterator.js +53 -0
- package/backend/node_modules/es-abstract/2024/GetIteratorFromMethod.js +28 -0
- package/backend/node_modules/es-abstract/2024/GetMatchIndexPair.js +24 -0
- package/backend/node_modules/es-abstract/2024/GetMatchString.js +26 -0
- package/backend/node_modules/es-abstract/2024/GetMethod.js +34 -0
- package/backend/node_modules/es-abstract/2024/GetNamedTimeZoneEpochNanoseconds.js +72 -0
- package/backend/node_modules/es-abstract/2024/GetOwnPropertyKeys.js +30 -0
- package/backend/node_modules/es-abstract/2024/GetPromiseResolve.js +20 -0
- package/backend/node_modules/es-abstract/2024/GetPrototypeFromConstructor.js +33 -0
- package/backend/node_modules/es-abstract/2024/GetStringIndex.js +27 -0
- package/backend/node_modules/es-abstract/2024/GetSubstitution.js +148 -0
- package/backend/node_modules/es-abstract/2024/GetUTCEpochNanoseconds.js +68 -0
- package/backend/node_modules/es-abstract/2024/GetV.js +23 -0
- package/backend/node_modules/es-abstract/2024/GetValueFromBuffer.js +95 -0
- package/backend/node_modules/es-abstract/2024/GetViewByteLength.js +47 -0
- package/backend/node_modules/es-abstract/2024/GroupBy.js +75 -0
- package/backend/node_modules/es-abstract/2024/HasEitherUnicodeFlag.js +18 -0
- package/backend/node_modules/es-abstract/2024/HasOwnProperty.js +20 -0
- package/backend/node_modules/es-abstract/2024/HasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2024/HourFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2024/InLeapYear.js +19 -0
- package/backend/node_modules/es-abstract/2024/InstallErrorCause.js +21 -0
- package/backend/node_modules/es-abstract/2024/InstanceofOperator.js +30 -0
- package/backend/node_modules/es-abstract/2024/InternalizeJSONProperty.js +68 -0
- package/backend/node_modules/es-abstract/2024/Invoke.js +22 -0
- package/backend/node_modules/es-abstract/2024/IsAccessorDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2024/IsArray.js +4 -0
- package/backend/node_modules/es-abstract/2024/IsArrayBufferViewOutOfBounds.js +30 -0
- package/backend/node_modules/es-abstract/2024/IsBigIntElementType.js +7 -0
- package/backend/node_modules/es-abstract/2024/IsCallable.js +5 -0
- package/backend/node_modules/es-abstract/2024/IsCompatiblePropertyDescriptor.js +9 -0
- package/backend/node_modules/es-abstract/2024/IsConcatSpreadable.js +26 -0
- package/backend/node_modules/es-abstract/2024/IsConstructor.js +40 -0
- package/backend/node_modules/es-abstract/2024/IsDataDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2024/IsDetachedBuffer.js +28 -0
- package/backend/node_modules/es-abstract/2024/IsExtensible.js +18 -0
- package/backend/node_modules/es-abstract/2024/IsFixedLengthArrayBuffer.js +29 -0
- package/backend/node_modules/es-abstract/2024/IsGenericDescriptor.js +26 -0
- package/backend/node_modules/es-abstract/2024/IsIntegralNumber.js +14 -0
- package/backend/node_modules/es-abstract/2024/IsLessThan.js +97 -0
- package/backend/node_modules/es-abstract/2024/IsLooselyEqual.js +58 -0
- package/backend/node_modules/es-abstract/2024/IsNoTearConfiguration.js +16 -0
- package/backend/node_modules/es-abstract/2024/IsPromise.js +24 -0
- package/backend/node_modules/es-abstract/2024/IsPropertyKey.js +9 -0
- package/backend/node_modules/es-abstract/2024/IsRegExp.js +25 -0
- package/backend/node_modules/es-abstract/2024/IsSharedArrayBuffer.js +16 -0
- package/backend/node_modules/es-abstract/2024/IsStrictlyEqual.js +14 -0
- package/backend/node_modules/es-abstract/2024/IsStringWellFormedUnicode.js +23 -0
- package/backend/node_modules/es-abstract/2024/IsTimeZoneOffsetString.js +20 -0
- package/backend/node_modules/es-abstract/2024/IsTypedArrayOutOfBounds.js +57 -0
- package/backend/node_modules/es-abstract/2024/IsUnclampedIntegerElementType.js +12 -0
- package/backend/node_modules/es-abstract/2024/IsUnsignedElementType.js +11 -0
- package/backend/node_modules/es-abstract/2024/IsValidIntegerIndex.js +43 -0
- package/backend/node_modules/es-abstract/2024/IsViewOutOfBounds.js +48 -0
- package/backend/node_modules/es-abstract/2024/IsWordChar.js +42 -0
- package/backend/node_modules/es-abstract/2024/IteratorClose.js +65 -0
- package/backend/node_modules/es-abstract/2024/IteratorComplete.js +16 -0
- package/backend/node_modules/es-abstract/2024/IteratorNext.js +28 -0
- package/backend/node_modules/es-abstract/2024/IteratorStep.js +21 -0
- package/backend/node_modules/es-abstract/2024/IteratorStepValue.js +49 -0
- package/backend/node_modules/es-abstract/2024/IteratorToList.js +27 -0
- package/backend/node_modules/es-abstract/2024/IteratorValue.js +16 -0
- package/backend/node_modules/es-abstract/2024/KeyForSymbol.js +16 -0
- package/backend/node_modules/es-abstract/2024/LengthOfArrayLike.js +18 -0
- package/backend/node_modules/es-abstract/2024/MakeDataViewWithBufferWitnessRecord.js +26 -0
- package/backend/node_modules/es-abstract/2024/MakeDate.js +14 -0
- package/backend/node_modules/es-abstract/2024/MakeDay.js +36 -0
- package/backend/node_modules/es-abstract/2024/MakeFullYear.js +26 -0
- package/backend/node_modules/es-abstract/2024/MakeMatchIndicesIndexPairArray.js +66 -0
- package/backend/node_modules/es-abstract/2024/MakeTime.js +23 -0
- package/backend/node_modules/es-abstract/2024/MakeTypedArrayWithBufferWitnessRecord.js +26 -0
- package/backend/node_modules/es-abstract/2024/MinFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2024/MonthFromTime.js +51 -0
- package/backend/node_modules/es-abstract/2024/NewPromiseCapability.js +34 -0
- package/backend/node_modules/es-abstract/2024/NormalCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2024/Number/add.js +31 -0
- package/backend/node_modules/es-abstract/2024/Number/bitwiseAND.js +14 -0
- package/backend/node_modules/es-abstract/2024/Number/bitwiseNOT.js +16 -0
- package/backend/node_modules/es-abstract/2024/Number/bitwiseOR.js +14 -0
- package/backend/node_modules/es-abstract/2024/Number/bitwiseXOR.js +14 -0
- package/backend/node_modules/es-abstract/2024/Number/divide.js +18 -0
- package/backend/node_modules/es-abstract/2024/Number/equal.js +18 -0
- package/backend/node_modules/es-abstract/2024/Number/exponentiate.js +74 -0
- package/backend/node_modules/es-abstract/2024/Number/index.js +43 -0
- package/backend/node_modules/es-abstract/2024/Number/leftShift.js +22 -0
- package/backend/node_modules/es-abstract/2024/Number/lessThan.js +22 -0
- package/backend/node_modules/es-abstract/2024/Number/multiply.js +29 -0
- package/backend/node_modules/es-abstract/2024/Number/remainder.js +38 -0
- package/backend/node_modules/es-abstract/2024/Number/sameValue.js +18 -0
- package/backend/node_modules/es-abstract/2024/Number/sameValueZero.js +20 -0
- package/backend/node_modules/es-abstract/2024/Number/signedRightShift.js +22 -0
- package/backend/node_modules/es-abstract/2024/Number/subtract.js +15 -0
- package/backend/node_modules/es-abstract/2024/Number/toString.js +20 -0
- package/backend/node_modules/es-abstract/2024/Number/unaryMinus.js +17 -0
- package/backend/node_modules/es-abstract/2024/Number/unsignedRightShift.js +22 -0
- package/backend/node_modules/es-abstract/2024/NumberBitwiseOp.js +26 -0
- package/backend/node_modules/es-abstract/2024/NumberToBigInt.js +25 -0
- package/backend/node_modules/es-abstract/2024/NumericToRawBytes.js +62 -0
- package/backend/node_modules/es-abstract/2024/ObjectDefineProperties.js +33 -0
- package/backend/node_modules/es-abstract/2024/OrdinaryCreateFromConstructor.js +20 -0
- package/backend/node_modules/es-abstract/2024/OrdinaryDefineOwnProperty.js +54 -0
- package/backend/node_modules/es-abstract/2024/OrdinaryGetOwnProperty.js +41 -0
- package/backend/node_modules/es-abstract/2024/OrdinaryGetPrototypeOf.js +18 -0
- package/backend/node_modules/es-abstract/2024/OrdinaryHasInstance.js +23 -0
- package/backend/node_modules/es-abstract/2024/OrdinaryHasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2024/OrdinaryObjectCreate.js +56 -0
- package/backend/node_modules/es-abstract/2024/OrdinarySetPrototypeOf.js +50 -0
- package/backend/node_modules/es-abstract/2024/OrdinaryToPrimitive.js +36 -0
- package/backend/node_modules/es-abstract/2024/ParseHexOctet.js +40 -0
- package/backend/node_modules/es-abstract/2024/PromiseResolve.js +18 -0
- package/backend/node_modules/es-abstract/2024/QuoteJSONString.js +52 -0
- package/backend/node_modules/es-abstract/2024/RawBytesToNumeric.js +67 -0
- package/backend/node_modules/es-abstract/2024/RegExpCreate.js +21 -0
- package/backend/node_modules/es-abstract/2024/RegExpExec.js +29 -0
- package/backend/node_modules/es-abstract/2024/RegExpHasFlag.js +38 -0
- package/backend/node_modules/es-abstract/2024/RequireObjectCoercible.js +3 -0
- package/backend/node_modules/es-abstract/2024/SameValue.js +13 -0
- package/backend/node_modules/es-abstract/2024/SameValueNonNumber.js +18 -0
- package/backend/node_modules/es-abstract/2024/SameValueZero.js +9 -0
- package/backend/node_modules/es-abstract/2024/SecFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2024/Set.js +45 -0
- package/backend/node_modules/es-abstract/2024/SetFunctionLength.js +28 -0
- package/backend/node_modules/es-abstract/2024/SetFunctionName.js +40 -0
- package/backend/node_modules/es-abstract/2024/SetIntegrityLevel.js +57 -0
- package/backend/node_modules/es-abstract/2024/SetTypedArrayFromArrayLike.js +64 -0
- package/backend/node_modules/es-abstract/2024/SetTypedArrayFromTypedArray.js +133 -0
- package/backend/node_modules/es-abstract/2024/SetValueInBuffer.js +92 -0
- package/backend/node_modules/es-abstract/2024/SortIndexedProperties.js +49 -0
- package/backend/node_modules/es-abstract/2024/SpeciesConstructor.js +32 -0
- package/backend/node_modules/es-abstract/2024/StringCreate.js +38 -0
- package/backend/node_modules/es-abstract/2024/StringGetOwnProperty.js +46 -0
- package/backend/node_modules/es-abstract/2024/StringIndexOf.js +36 -0
- package/backend/node_modules/es-abstract/2024/StringPad.js +43 -0
- package/backend/node_modules/es-abstract/2024/StringPaddingBuiltinsImpl.js +27 -0
- package/backend/node_modules/es-abstract/2024/StringToBigInt.js +23 -0
- package/backend/node_modules/es-abstract/2024/StringToCodePoints.js +22 -0
- package/backend/node_modules/es-abstract/2024/StringToNumber.js +42 -0
- package/backend/node_modules/es-abstract/2024/SymbolDescriptiveString.js +16 -0
- package/backend/node_modules/es-abstract/2024/SystemTimeZoneIdentifier.js +18 -0
- package/backend/node_modules/es-abstract/2024/TestIntegrityLevel.js +40 -0
- package/backend/node_modules/es-abstract/2024/ThisBigIntValue.js +20 -0
- package/backend/node_modules/es-abstract/2024/ThisBooleanValue.js +13 -0
- package/backend/node_modules/es-abstract/2024/ThisNumberValue.js +15 -0
- package/backend/node_modules/es-abstract/2024/ThisStringValue.js +13 -0
- package/backend/node_modules/es-abstract/2024/ThisSymbolValue.js +20 -0
- package/backend/node_modules/es-abstract/2024/ThrowCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2024/TimeClip.js +20 -0
- package/backend/node_modules/es-abstract/2024/TimeFromYear.js +11 -0
- package/backend/node_modules/es-abstract/2024/TimeString.js +26 -0
- package/backend/node_modules/es-abstract/2024/TimeWithinDay.js +12 -0
- package/backend/node_modules/es-abstract/2024/TimeZoneString.js +41 -0
- package/backend/node_modules/es-abstract/2024/ToBigInt.js +51 -0
- package/backend/node_modules/es-abstract/2024/ToBigInt64.js +25 -0
- package/backend/node_modules/es-abstract/2024/ToBigUint64.js +23 -0
- package/backend/node_modules/es-abstract/2024/ToBoolean.js +5 -0
- package/backend/node_modules/es-abstract/2024/ToDateString.js +21 -0
- package/backend/node_modules/es-abstract/2024/ToIndex.js +20 -0
- package/backend/node_modules/es-abstract/2024/ToInt16.js +21 -0
- package/backend/node_modules/es-abstract/2024/ToInt32.js +23 -0
- package/backend/node_modules/es-abstract/2024/ToInt8.js +19 -0
- package/backend/node_modules/es-abstract/2024/ToIntegerOrInfinity.js +16 -0
- package/backend/node_modules/es-abstract/2024/ToLength.js +14 -0
- package/backend/node_modules/es-abstract/2024/ToNumber.js +26 -0
- package/backend/node_modules/es-abstract/2024/ToNumeric.js +20 -0
- package/backend/node_modules/es-abstract/2024/ToObject.js +5 -0
- package/backend/node_modules/es-abstract/2024/ToPrimitive.js +12 -0
- package/backend/node_modules/es-abstract/2024/ToPropertyDescriptor.js +50 -0
- package/backend/node_modules/es-abstract/2024/ToPropertyKey.js +15 -0
- package/backend/node_modules/es-abstract/2024/ToString.js +15 -0
- package/backend/node_modules/es-abstract/2024/ToUint16.js +21 -0
- package/backend/node_modules/es-abstract/2024/ToUint32.js +21 -0
- package/backend/node_modules/es-abstract/2024/ToUint8.js +19 -0
- package/backend/node_modules/es-abstract/2024/ToUint8Clamp.js +26 -0
- package/backend/node_modules/es-abstract/2024/ToZeroPaddedDecimalString.js +19 -0
- package/backend/node_modules/es-abstract/2024/TrimString.js +27 -0
- package/backend/node_modules/es-abstract/2024/Type.js +15 -0
- package/backend/node_modules/es-abstract/2024/TypedArrayByteLength.js +43 -0
- package/backend/node_modules/es-abstract/2024/TypedArrayCreateFromConstructor.js +52 -0
- package/backend/node_modules/es-abstract/2024/TypedArrayCreateSameType.js +35 -0
- package/backend/node_modules/es-abstract/2024/TypedArrayElementSize.js +23 -0
- package/backend/node_modules/es-abstract/2024/TypedArrayElementType.js +23 -0
- package/backend/node_modules/es-abstract/2024/TypedArrayGetElement.js +37 -0
- package/backend/node_modules/es-abstract/2024/TypedArrayLength.js +51 -0
- package/backend/node_modules/es-abstract/2024/TypedArraySetElement.js +42 -0
- package/backend/node_modules/es-abstract/2024/TypedArraySpeciesCreate.js +37 -0
- package/backend/node_modules/es-abstract/2024/UTF16EncodeCodePoint.js +25 -0
- package/backend/node_modules/es-abstract/2024/UTF16SurrogatePairToCodePoint.js +19 -0
- package/backend/node_modules/es-abstract/2024/UnicodeEscape.js +25 -0
- package/backend/node_modules/es-abstract/2024/ValidateAndApplyPropertyDescriptor.js +171 -0
- package/backend/node_modules/es-abstract/2024/ValidateAtomicAccess.js +43 -0
- package/backend/node_modules/es-abstract/2024/ValidateAtomicAccessOnIntegerTypedArray.js +19 -0
- package/backend/node_modules/es-abstract/2024/ValidateIntegerTypedArray.js +31 -0
- package/backend/node_modules/es-abstract/2024/ValidateTypedArray.js +32 -0
- package/backend/node_modules/es-abstract/2024/WeakRefDeref.js +23 -0
- package/backend/node_modules/es-abstract/2024/WeekDay.js +10 -0
- package/backend/node_modules/es-abstract/2024/WordCharacters.js +47 -0
- package/backend/node_modules/es-abstract/2024/YearFromTime.js +16 -0
- package/backend/node_modules/es-abstract/2024/abs.js +9 -0
- package/backend/node_modules/es-abstract/2024/clamp.js +14 -0
- package/backend/node_modules/es-abstract/2024/floor.js +14 -0
- package/backend/node_modules/es-abstract/2024/max.js +5 -0
- package/backend/node_modules/es-abstract/2024/min.js +5 -0
- package/backend/node_modules/es-abstract/2024/modulo.js +9 -0
- package/backend/node_modules/es-abstract/2024/msFromTime.js +11 -0
- package/backend/node_modules/es-abstract/2024/substring.js +15 -0
- package/backend/node_modules/es-abstract/2024/tables/typed-array-objects.js +36 -0
- package/backend/node_modules/es-abstract/2024/truncate.js +15 -0
- package/backend/node_modules/es-abstract/2025/AddEntriesFromIterable.js +44 -0
- package/backend/node_modules/es-abstract/2025/AddToKeptObjects.js +18 -0
- package/backend/node_modules/es-abstract/2025/AddValueToKeyedGroup.js +45 -0
- package/backend/node_modules/es-abstract/2025/AdvanceStringIndex.js +30 -0
- package/backend/node_modules/es-abstract/2025/AllCharacters.js +29 -0
- package/backend/node_modules/es-abstract/2025/ApplyStringOrNumericBinaryOperator.js +77 -0
- package/backend/node_modules/es-abstract/2025/ArrayBufferByteLength.js +41 -0
- package/backend/node_modules/es-abstract/2025/ArrayBufferCopyAndDetach.js +101 -0
- package/backend/node_modules/es-abstract/2025/ArrayCreate.js +42 -0
- package/backend/node_modules/es-abstract/2025/ArraySetLength.js +77 -0
- package/backend/node_modules/es-abstract/2025/ArraySpeciesCreate.js +48 -0
- package/backend/node_modules/es-abstract/2025/AsyncFromSyncIteratorContinuation.js +45 -0
- package/backend/node_modules/es-abstract/2025/AsyncIteratorClose.js +70 -0
- package/backend/node_modules/es-abstract/2025/BigInt/add.js +14 -0
- package/backend/node_modules/es-abstract/2025/BigInt/bitwiseAND.js +14 -0
- package/backend/node_modules/es-abstract/2025/BigInt/bitwiseNOT.js +15 -0
- package/backend/node_modules/es-abstract/2025/BigInt/bitwiseOR.js +14 -0
- package/backend/node_modules/es-abstract/2025/BigInt/bitwiseXOR.js +14 -0
- package/backend/node_modules/es-abstract/2025/BigInt/divide.js +20 -0
- package/backend/node_modules/es-abstract/2025/BigInt/equal.js +13 -0
- package/backend/node_modules/es-abstract/2025/BigInt/exponentiate.js +29 -0
- package/backend/node_modules/es-abstract/2025/BigInt/index.js +39 -0
- package/backend/node_modules/es-abstract/2025/BigInt/leftShift.js +14 -0
- package/backend/node_modules/es-abstract/2025/BigInt/lessThan.js +14 -0
- package/backend/node_modules/es-abstract/2025/BigInt/multiply.js +14 -0
- package/backend/node_modules/es-abstract/2025/BigInt/remainder.js +28 -0
- package/backend/node_modules/es-abstract/2025/BigInt/signedRightShift.js +15 -0
- package/backend/node_modules/es-abstract/2025/BigInt/subtract.js +14 -0
- package/backend/node_modules/es-abstract/2025/BigInt/toString.js +26 -0
- package/backend/node_modules/es-abstract/2025/BigInt/unaryMinus.js +22 -0
- package/backend/node_modules/es-abstract/2025/BigInt/unsignedRightShift.js +13 -0
- package/backend/node_modules/es-abstract/2025/BigIntBitwiseOp.js +63 -0
- package/backend/node_modules/es-abstract/2025/BinaryAnd.js +12 -0
- package/backend/node_modules/es-abstract/2025/BinaryOr.js +12 -0
- package/backend/node_modules/es-abstract/2025/BinaryXor.js +12 -0
- package/backend/node_modules/es-abstract/2025/ByteListBitwiseOp.js +39 -0
- package/backend/node_modules/es-abstract/2025/ByteListEqual.js +31 -0
- package/backend/node_modules/es-abstract/2025/Call.js +20 -0
- package/backend/node_modules/es-abstract/2025/CanBeHeldWeakly.js +17 -0
- package/backend/node_modules/es-abstract/2025/CanonicalNumericIndexString.js +19 -0
- package/backend/node_modules/es-abstract/2025/Canonicalize.js +52 -0
- package/backend/node_modules/es-abstract/2025/CanonicalizeKeyedCollectionKey.js +7 -0
- package/backend/node_modules/es-abstract/2025/CharacterComplement.js +34 -0
- package/backend/node_modules/es-abstract/2025/CharacterRange.js +47 -0
- package/backend/node_modules/es-abstract/2025/ClearKeptObjects.js +12 -0
- package/backend/node_modules/es-abstract/2025/CloneArrayBuffer.js +46 -0
- package/backend/node_modules/es-abstract/2025/CodePointAt.js +55 -0
- package/backend/node_modules/es-abstract/2025/CodePointsToString.js +25 -0
- package/backend/node_modules/es-abstract/2025/CompareArrayElements.js +50 -0
- package/backend/node_modules/es-abstract/2025/CompareTypedArrayElements.js +60 -0
- package/backend/node_modules/es-abstract/2025/CompletePropertyDescriptor.js +43 -0
- package/backend/node_modules/es-abstract/2025/CompletionRecord.js +48 -0
- package/backend/node_modules/es-abstract/2025/CopyDataProperties.js +69 -0
- package/backend/node_modules/es-abstract/2025/CreateAsyncFromSyncIterator.js +137 -0
- package/backend/node_modules/es-abstract/2025/CreateDataProperty.js +25 -0
- package/backend/node_modules/es-abstract/2025/CreateDataPropertyOrThrow.js +23 -0
- package/backend/node_modules/es-abstract/2025/CreateHTML.js +27 -0
- package/backend/node_modules/es-abstract/2025/CreateIteratorFromClosure.js +51 -0
- package/backend/node_modules/es-abstract/2025/CreateIteratorResultObject.js +15 -0
- package/backend/node_modules/es-abstract/2025/CreateListFromArrayLike.js +40 -0
- package/backend/node_modules/es-abstract/2025/CreateNonEnumerableDataPropertyOrThrow.js +28 -0
- package/backend/node_modules/es-abstract/2025/CreateRegExpStringIterator.js +101 -0
- package/backend/node_modules/es-abstract/2025/DateFromTime.js +52 -0
- package/backend/node_modules/es-abstract/2025/DateString.js +27 -0
- package/backend/node_modules/es-abstract/2025/Day.js +11 -0
- package/backend/node_modules/es-abstract/2025/DayFromYear.js +10 -0
- package/backend/node_modules/es-abstract/2025/DayWithinYear.js +11 -0
- package/backend/node_modules/es-abstract/2025/DaysInYear.js +18 -0
- package/backend/node_modules/es-abstract/2025/DefineMethodProperty.js +42 -0
- package/backend/node_modules/es-abstract/2025/DefinePropertyOrThrow.js +39 -0
- package/backend/node_modules/es-abstract/2025/DeletePropertyOrThrow.js +25 -0
- package/backend/node_modules/es-abstract/2025/DetachArrayBuffer.js +46 -0
- package/backend/node_modules/es-abstract/2025/EncodeForRegExpEscape.js +74 -0
- package/backend/node_modules/es-abstract/2025/EnumerableOwnProperties.js +36 -0
- package/backend/node_modules/es-abstract/2025/FindViaPredicate.js +43 -0
- package/backend/node_modules/es-abstract/2025/FlattenIntoArray.js +55 -0
- package/backend/node_modules/es-abstract/2025/FromPropertyDescriptor.js +16 -0
- package/backend/node_modules/es-abstract/2025/GeneratorResume.js +29 -0
- package/backend/node_modules/es-abstract/2025/GeneratorResumeAbrupt.js +55 -0
- package/backend/node_modules/es-abstract/2025/GeneratorStart.js +46 -0
- package/backend/node_modules/es-abstract/2025/GeneratorValidate.js +24 -0
- package/backend/node_modules/es-abstract/2025/Get.js +24 -0
- package/backend/node_modules/es-abstract/2025/GetArrayBufferMaxByteLengthOption.js +22 -0
- package/backend/node_modules/es-abstract/2025/GetGlobalObject.js +9 -0
- package/backend/node_modules/es-abstract/2025/GetIterator.js +53 -0
- package/backend/node_modules/es-abstract/2025/GetIteratorDirect.js +24 -0
- package/backend/node_modules/es-abstract/2025/GetIteratorFlattenable.js +48 -0
- package/backend/node_modules/es-abstract/2025/GetIteratorFromMethod.js +28 -0
- package/backend/node_modules/es-abstract/2025/GetMatchIndexPair.js +24 -0
- package/backend/node_modules/es-abstract/2025/GetMatchString.js +26 -0
- package/backend/node_modules/es-abstract/2025/GetMethod.js +34 -0
- package/backend/node_modules/es-abstract/2025/GetNamedTimeZoneEpochNanoseconds.js +72 -0
- package/backend/node_modules/es-abstract/2025/GetOwnPropertyKeys.js +30 -0
- package/backend/node_modules/es-abstract/2025/GetPromiseResolve.js +20 -0
- package/backend/node_modules/es-abstract/2025/GetPrototypeFromConstructor.js +33 -0
- package/backend/node_modules/es-abstract/2025/GetSetRecord.js +64 -0
- package/backend/node_modules/es-abstract/2025/GetStringIndex.js +27 -0
- package/backend/node_modules/es-abstract/2025/GetSubstitution.js +148 -0
- package/backend/node_modules/es-abstract/2025/GetUTCEpochNanoseconds.js +68 -0
- package/backend/node_modules/es-abstract/2025/GetV.js +23 -0
- package/backend/node_modules/es-abstract/2025/GetValueFromBuffer.js +95 -0
- package/backend/node_modules/es-abstract/2025/GetViewByteLength.js +47 -0
- package/backend/node_modules/es-abstract/2025/GroupBy.js +75 -0
- package/backend/node_modules/es-abstract/2025/HasEitherUnicodeFlag.js +18 -0
- package/backend/node_modules/es-abstract/2025/HasOwnProperty.js +20 -0
- package/backend/node_modules/es-abstract/2025/HasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2025/HourFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2025/IfAbruptCloseIterator.js +19 -0
- package/backend/node_modules/es-abstract/2025/InLeapYear.js +19 -0
- package/backend/node_modules/es-abstract/2025/InstallErrorCause.js +21 -0
- package/backend/node_modules/es-abstract/2025/InstanceofOperator.js +30 -0
- package/backend/node_modules/es-abstract/2025/InternalizeJSONProperty.js +68 -0
- package/backend/node_modules/es-abstract/2025/Invoke.js +22 -0
- package/backend/node_modules/es-abstract/2025/IsAccessorDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2025/IsArray.js +4 -0
- package/backend/node_modules/es-abstract/2025/IsArrayBufferViewOutOfBounds.js +30 -0
- package/backend/node_modules/es-abstract/2025/IsBigIntElementType.js +7 -0
- package/backend/node_modules/es-abstract/2025/IsCallable.js +5 -0
- package/backend/node_modules/es-abstract/2025/IsCompatiblePropertyDescriptor.js +9 -0
- package/backend/node_modules/es-abstract/2025/IsConcatSpreadable.js +26 -0
- package/backend/node_modules/es-abstract/2025/IsConstructor.js +40 -0
- package/backend/node_modules/es-abstract/2025/IsDataDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/2025/IsDetachedBuffer.js +28 -0
- package/backend/node_modules/es-abstract/2025/IsExtensible.js +18 -0
- package/backend/node_modules/es-abstract/2025/IsFixedLengthArrayBuffer.js +29 -0
- package/backend/node_modules/es-abstract/2025/IsGenericDescriptor.js +26 -0
- package/backend/node_modules/es-abstract/2025/IsLessThan.js +97 -0
- package/backend/node_modules/es-abstract/2025/IsLooselyEqual.js +58 -0
- package/backend/node_modules/es-abstract/2025/IsNoTearConfiguration.js +16 -0
- package/backend/node_modules/es-abstract/2025/IsPromise.js +24 -0
- package/backend/node_modules/es-abstract/2025/IsRegExp.js +25 -0
- package/backend/node_modules/es-abstract/2025/IsSharedArrayBuffer.js +16 -0
- package/backend/node_modules/es-abstract/2025/IsStrictlyEqual.js +14 -0
- package/backend/node_modules/es-abstract/2025/IsStringWellFormedUnicode.js +23 -0
- package/backend/node_modules/es-abstract/2025/IsTimeZoneOffsetString.js +20 -0
- package/backend/node_modules/es-abstract/2025/IsTypedArrayFixedLength.js +34 -0
- package/backend/node_modules/es-abstract/2025/IsTypedArrayOutOfBounds.js +57 -0
- package/backend/node_modules/es-abstract/2025/IsUnclampedIntegerElementType.js +12 -0
- package/backend/node_modules/es-abstract/2025/IsUnsignedElementType.js +11 -0
- package/backend/node_modules/es-abstract/2025/IsValidIntegerIndex.js +43 -0
- package/backend/node_modules/es-abstract/2025/IsViewOutOfBounds.js +48 -0
- package/backend/node_modules/es-abstract/2025/IsWordChar.js +42 -0
- package/backend/node_modules/es-abstract/2025/IteratorClose.js +65 -0
- package/backend/node_modules/es-abstract/2025/IteratorComplete.js +16 -0
- package/backend/node_modules/es-abstract/2025/IteratorNext.js +36 -0
- package/backend/node_modules/es-abstract/2025/IteratorStep.js +35 -0
- package/backend/node_modules/es-abstract/2025/IteratorStepValue.js +32 -0
- package/backend/node_modules/es-abstract/2025/IteratorToList.js +27 -0
- package/backend/node_modules/es-abstract/2025/IteratorValue.js +16 -0
- package/backend/node_modules/es-abstract/2025/KeyForSymbol.js +16 -0
- package/backend/node_modules/es-abstract/2025/LengthOfArrayLike.js +18 -0
- package/backend/node_modules/es-abstract/2025/MakeDataViewWithBufferWitnessRecord.js +26 -0
- package/backend/node_modules/es-abstract/2025/MakeDate.js +14 -0
- package/backend/node_modules/es-abstract/2025/MakeDay.js +36 -0
- package/backend/node_modules/es-abstract/2025/MakeFullYear.js +26 -0
- package/backend/node_modules/es-abstract/2025/MakeMatchIndicesIndexPairArray.js +66 -0
- package/backend/node_modules/es-abstract/2025/MakeTime.js +23 -0
- package/backend/node_modules/es-abstract/2025/MakeTypedArrayWithBufferWitnessRecord.js +26 -0
- package/backend/node_modules/es-abstract/2025/MinFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2025/MonthFromTime.js +51 -0
- package/backend/node_modules/es-abstract/2025/NewPromiseCapability.js +34 -0
- package/backend/node_modules/es-abstract/2025/NormalCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2025/Number/add.js +31 -0
- package/backend/node_modules/es-abstract/2025/Number/bitwiseAND.js +14 -0
- package/backend/node_modules/es-abstract/2025/Number/bitwiseNOT.js +16 -0
- package/backend/node_modules/es-abstract/2025/Number/bitwiseOR.js +14 -0
- package/backend/node_modules/es-abstract/2025/Number/bitwiseXOR.js +14 -0
- package/backend/node_modules/es-abstract/2025/Number/divide.js +18 -0
- package/backend/node_modules/es-abstract/2025/Number/equal.js +18 -0
- package/backend/node_modules/es-abstract/2025/Number/exponentiate.js +74 -0
- package/backend/node_modules/es-abstract/2025/Number/index.js +43 -0
- package/backend/node_modules/es-abstract/2025/Number/leftShift.js +22 -0
- package/backend/node_modules/es-abstract/2025/Number/lessThan.js +22 -0
- package/backend/node_modules/es-abstract/2025/Number/multiply.js +29 -0
- package/backend/node_modules/es-abstract/2025/Number/remainder.js +38 -0
- package/backend/node_modules/es-abstract/2025/Number/sameValue.js +18 -0
- package/backend/node_modules/es-abstract/2025/Number/sameValueZero.js +20 -0
- package/backend/node_modules/es-abstract/2025/Number/signedRightShift.js +22 -0
- package/backend/node_modules/es-abstract/2025/Number/subtract.js +15 -0
- package/backend/node_modules/es-abstract/2025/Number/toString.js +20 -0
- package/backend/node_modules/es-abstract/2025/Number/unaryMinus.js +17 -0
- package/backend/node_modules/es-abstract/2025/Number/unsignedRightShift.js +22 -0
- package/backend/node_modules/es-abstract/2025/NumberBitwiseOp.js +26 -0
- package/backend/node_modules/es-abstract/2025/NumberToBigInt.js +25 -0
- package/backend/node_modules/es-abstract/2025/NumericToRawBytes.js +65 -0
- package/backend/node_modules/es-abstract/2025/ObjectDefineProperties.js +33 -0
- package/backend/node_modules/es-abstract/2025/OrdinaryCreateFromConstructor.js +20 -0
- package/backend/node_modules/es-abstract/2025/OrdinaryDefineOwnProperty.js +54 -0
- package/backend/node_modules/es-abstract/2025/OrdinaryGetOwnProperty.js +41 -0
- package/backend/node_modules/es-abstract/2025/OrdinaryGetPrototypeOf.js +18 -0
- package/backend/node_modules/es-abstract/2025/OrdinaryHasInstance.js +23 -0
- package/backend/node_modules/es-abstract/2025/OrdinaryHasProperty.js +18 -0
- package/backend/node_modules/es-abstract/2025/OrdinaryObjectCreate.js +56 -0
- package/backend/node_modules/es-abstract/2025/OrdinarySetPrototypeOf.js +50 -0
- package/backend/node_modules/es-abstract/2025/OrdinaryToPrimitive.js +36 -0
- package/backend/node_modules/es-abstract/2025/ParseHexOctet.js +40 -0
- package/backend/node_modules/es-abstract/2025/PromiseResolve.js +18 -0
- package/backend/node_modules/es-abstract/2025/QuoteJSONString.js +52 -0
- package/backend/node_modules/es-abstract/2025/RawBytesToNumeric.js +72 -0
- package/backend/node_modules/es-abstract/2025/RegExpCreate.js +21 -0
- package/backend/node_modules/es-abstract/2025/RegExpExec.js +29 -0
- package/backend/node_modules/es-abstract/2025/RegExpHasFlag.js +38 -0
- package/backend/node_modules/es-abstract/2025/RequireObjectCoercible.js +3 -0
- package/backend/node_modules/es-abstract/2025/ReturnCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2025/SameType.js +16 -0
- package/backend/node_modules/es-abstract/2025/SameValue.js +13 -0
- package/backend/node_modules/es-abstract/2025/SameValueNonNumber.js +18 -0
- package/backend/node_modules/es-abstract/2025/SameValueZero.js +9 -0
- package/backend/node_modules/es-abstract/2025/SecFromTime.js +14 -0
- package/backend/node_modules/es-abstract/2025/Set.js +45 -0
- package/backend/node_modules/es-abstract/2025/SetDataHas.js +26 -0
- package/backend/node_modules/es-abstract/2025/SetDataIndex.js +32 -0
- package/backend/node_modules/es-abstract/2025/SetDataSize.js +30 -0
- package/backend/node_modules/es-abstract/2025/SetFunctionLength.js +28 -0
- package/backend/node_modules/es-abstract/2025/SetFunctionName.js +40 -0
- package/backend/node_modules/es-abstract/2025/SetIntegrityLevel.js +57 -0
- package/backend/node_modules/es-abstract/2025/SetTypedArrayFromArrayLike.js +64 -0
- package/backend/node_modules/es-abstract/2025/SetTypedArrayFromTypedArray.js +133 -0
- package/backend/node_modules/es-abstract/2025/SetValueInBuffer.js +92 -0
- package/backend/node_modules/es-abstract/2025/SetterThatIgnoresPrototypeProperties.js +38 -0
- package/backend/node_modules/es-abstract/2025/SortIndexedProperties.js +49 -0
- package/backend/node_modules/es-abstract/2025/SpeciesConstructor.js +32 -0
- package/backend/node_modules/es-abstract/2025/StringCreate.js +38 -0
- package/backend/node_modules/es-abstract/2025/StringGetOwnProperty.js +46 -0
- package/backend/node_modules/es-abstract/2025/StringIndexOf.js +36 -0
- package/backend/node_modules/es-abstract/2025/StringLastIndexOf.js +38 -0
- package/backend/node_modules/es-abstract/2025/StringPad.js +43 -0
- package/backend/node_modules/es-abstract/2025/StringPaddingBuiltinsImpl.js +27 -0
- package/backend/node_modules/es-abstract/2025/StringToBigInt.js +23 -0
- package/backend/node_modules/es-abstract/2025/StringToCodePoints.js +22 -0
- package/backend/node_modules/es-abstract/2025/StringToNumber.js +42 -0
- package/backend/node_modules/es-abstract/2025/SymbolDescriptiveString.js +16 -0
- package/backend/node_modules/es-abstract/2025/SystemTimeZoneIdentifier.js +18 -0
- package/backend/node_modules/es-abstract/2025/TestIntegrityLevel.js +40 -0
- package/backend/node_modules/es-abstract/2025/ThisBigIntValue.js +20 -0
- package/backend/node_modules/es-abstract/2025/ThisBooleanValue.js +13 -0
- package/backend/node_modules/es-abstract/2025/ThisNumberValue.js +15 -0
- package/backend/node_modules/es-abstract/2025/ThisStringValue.js +13 -0
- package/backend/node_modules/es-abstract/2025/ThisSymbolValue.js +20 -0
- package/backend/node_modules/es-abstract/2025/ThrowCompletion.js +9 -0
- package/backend/node_modules/es-abstract/2025/TimeClip.js +20 -0
- package/backend/node_modules/es-abstract/2025/TimeFromYear.js +11 -0
- package/backend/node_modules/es-abstract/2025/TimeString.js +26 -0
- package/backend/node_modules/es-abstract/2025/TimeWithinDay.js +12 -0
- package/backend/node_modules/es-abstract/2025/TimeZoneString.js +41 -0
- package/backend/node_modules/es-abstract/2025/ToBigInt.js +51 -0
- package/backend/node_modules/es-abstract/2025/ToBigInt64.js +25 -0
- package/backend/node_modules/es-abstract/2025/ToBigUint64.js +23 -0
- package/backend/node_modules/es-abstract/2025/ToBoolean.js +5 -0
- package/backend/node_modules/es-abstract/2025/ToDateString.js +21 -0
- package/backend/node_modules/es-abstract/2025/ToIndex.js +20 -0
- package/backend/node_modules/es-abstract/2025/ToInt16.js +21 -0
- package/backend/node_modules/es-abstract/2025/ToInt32.js +23 -0
- package/backend/node_modules/es-abstract/2025/ToInt8.js +19 -0
- package/backend/node_modules/es-abstract/2025/ToIntegerOrInfinity.js +16 -0
- package/backend/node_modules/es-abstract/2025/ToLength.js +14 -0
- package/backend/node_modules/es-abstract/2025/ToNumber.js +26 -0
- package/backend/node_modules/es-abstract/2025/ToNumeric.js +20 -0
- package/backend/node_modules/es-abstract/2025/ToObject.js +5 -0
- package/backend/node_modules/es-abstract/2025/ToPrimitive.js +12 -0
- package/backend/node_modules/es-abstract/2025/ToPropertyDescriptor.js +50 -0
- package/backend/node_modules/es-abstract/2025/ToPropertyKey.js +15 -0
- package/backend/node_modules/es-abstract/2025/ToString.js +15 -0
- package/backend/node_modules/es-abstract/2025/ToUint16.js +21 -0
- package/backend/node_modules/es-abstract/2025/ToUint32.js +21 -0
- package/backend/node_modules/es-abstract/2025/ToUint8.js +19 -0
- package/backend/node_modules/es-abstract/2025/ToUint8Clamp.js +26 -0
- package/backend/node_modules/es-abstract/2025/ToZeroPaddedDecimalString.js +19 -0
- package/backend/node_modules/es-abstract/2025/TrimString.js +27 -0
- package/backend/node_modules/es-abstract/2025/TypedArrayByteLength.js +43 -0
- package/backend/node_modules/es-abstract/2025/TypedArrayCreateFromConstructor.js +52 -0
- package/backend/node_modules/es-abstract/2025/TypedArrayCreateSameType.js +35 -0
- package/backend/node_modules/es-abstract/2025/TypedArrayElementSize.js +23 -0
- package/backend/node_modules/es-abstract/2025/TypedArrayElementType.js +23 -0
- package/backend/node_modules/es-abstract/2025/TypedArrayGetElement.js +37 -0
- package/backend/node_modules/es-abstract/2025/TypedArrayLength.js +51 -0
- package/backend/node_modules/es-abstract/2025/TypedArraySetElement.js +42 -0
- package/backend/node_modules/es-abstract/2025/TypedArraySpeciesCreate.js +37 -0
- package/backend/node_modules/es-abstract/2025/UTF16EncodeCodePoint.js +25 -0
- package/backend/node_modules/es-abstract/2025/UTF16SurrogatePairToCodePoint.js +19 -0
- package/backend/node_modules/es-abstract/2025/UnicodeEscape.js +25 -0
- package/backend/node_modules/es-abstract/2025/UpdateModifiers.js +77 -0
- package/backend/node_modules/es-abstract/2025/ValidateAndApplyPropertyDescriptor.js +171 -0
- package/backend/node_modules/es-abstract/2025/ValidateAtomicAccess.js +43 -0
- package/backend/node_modules/es-abstract/2025/ValidateAtomicAccessOnIntegerTypedArray.js +19 -0
- package/backend/node_modules/es-abstract/2025/ValidateIntegerTypedArray.js +31 -0
- package/backend/node_modules/es-abstract/2025/ValidateTypedArray.js +32 -0
- package/backend/node_modules/es-abstract/2025/WeakRefDeref.js +23 -0
- package/backend/node_modules/es-abstract/2025/WeekDay.js +10 -0
- package/backend/node_modules/es-abstract/2025/WordCharacters.js +47 -0
- package/backend/node_modules/es-abstract/2025/YearFromTime.js +16 -0
- package/backend/node_modules/es-abstract/2025/abs.js +9 -0
- package/backend/node_modules/es-abstract/2025/clamp.js +14 -0
- package/backend/node_modules/es-abstract/2025/floor.js +14 -0
- package/backend/node_modules/es-abstract/2025/max.js +5 -0
- package/backend/node_modules/es-abstract/2025/min.js +5 -0
- package/backend/node_modules/es-abstract/2025/modulo.js +9 -0
- package/backend/node_modules/es-abstract/2025/msFromTime.js +11 -0
- package/backend/node_modules/es-abstract/2025/substring.js +15 -0
- package/backend/node_modules/es-abstract/2025/tables/typed-array-objects.js +38 -0
- package/backend/node_modules/es-abstract/2025/truncate.js +15 -0
- package/backend/node_modules/es-abstract/5/AbstractEqualityComparison.js +38 -0
- package/backend/node_modules/es-abstract/5/AbstractRelationalComparison.js +62 -0
- package/backend/node_modules/es-abstract/5/Canonicalize.js +38 -0
- package/backend/node_modules/es-abstract/5/CheckObjectCoercible.js +9 -0
- package/backend/node_modules/es-abstract/5/DateFromTime.js +52 -0
- package/backend/node_modules/es-abstract/5/Day.js +11 -0
- package/backend/node_modules/es-abstract/5/DayFromYear.js +10 -0
- package/backend/node_modules/es-abstract/5/DayWithinYear.js +11 -0
- package/backend/node_modules/es-abstract/5/DaysInYear.js +18 -0
- package/backend/node_modules/es-abstract/5/FromPropertyDescriptor.js +38 -0
- package/backend/node_modules/es-abstract/5/HourFromTime.js +14 -0
- package/backend/node_modules/es-abstract/5/InLeapYear.js +19 -0
- package/backend/node_modules/es-abstract/5/IsAccessorDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/5/IsCallable.js +5 -0
- package/backend/node_modules/es-abstract/5/IsDataDescriptor.js +25 -0
- package/backend/node_modules/es-abstract/5/IsGenericDescriptor.js +26 -0
- package/backend/node_modules/es-abstract/5/IsPropertyDescriptor.js +11 -0
- package/backend/node_modules/es-abstract/5/MakeDate.js +14 -0
- package/backend/node_modules/es-abstract/5/MakeDay.js +33 -0
- package/backend/node_modules/es-abstract/5/MakeTime.js +24 -0
- package/backend/node_modules/es-abstract/5/MinFromTime.js +14 -0
- package/backend/node_modules/es-abstract/5/MonthFromTime.js +51 -0
- package/backend/node_modules/es-abstract/5/SameValue.js +13 -0
- package/backend/node_modules/es-abstract/5/SecFromTime.js +14 -0
- package/backend/node_modules/es-abstract/5/StrictEqualityComparison.js +15 -0
- package/backend/node_modules/es-abstract/5/TimeClip.js +20 -0
- package/backend/node_modules/es-abstract/5/TimeFromYear.js +11 -0
- package/backend/node_modules/es-abstract/5/TimeWithinDay.js +12 -0
- package/backend/node_modules/es-abstract/5/ToBoolean.js +5 -0
- package/backend/node_modules/es-abstract/5/ToInt32.js +9 -0
- package/backend/node_modules/es-abstract/5/ToInteger.js +18 -0
- package/backend/node_modules/es-abstract/5/ToNumber.js +34 -0
- package/backend/node_modules/es-abstract/5/ToObject.js +5 -0
- package/backend/node_modules/es-abstract/5/ToPrimitive.js +5 -0
- package/backend/node_modules/es-abstract/5/ToPropertyDescriptor.js +50 -0
- package/backend/node_modules/es-abstract/5/ToString.js +12 -0
- package/backend/node_modules/es-abstract/5/ToUint16.js +19 -0
- package/backend/node_modules/es-abstract/5/ToUint32.js +9 -0
- package/backend/node_modules/es-abstract/5/Type.js +26 -0
- package/backend/node_modules/es-abstract/5/WeekDay.js +10 -0
- package/backend/node_modules/es-abstract/5/YearFromTime.js +16 -0
- package/backend/node_modules/es-abstract/5/abs.js +9 -0
- package/backend/node_modules/es-abstract/5/floor.js +11 -0
- package/backend/node_modules/es-abstract/5/modulo.js +9 -0
- package/backend/node_modules/es-abstract/5/msFromTime.js +11 -0
- package/backend/node_modules/es-abstract/GetIntrinsic.js +5 -0
- package/backend/node_modules/es-abstract/es2015.js +142 -0
- package/backend/node_modules/es-abstract/es2016.js +149 -0
- package/backend/node_modules/es-abstract/es2017.js +157 -0
- package/backend/node_modules/es-abstract/es2018.js +169 -0
- package/backend/node_modules/es-abstract/es2019.js +173 -0
- package/backend/node_modules/es-abstract/es2020.js +197 -0
- package/backend/node_modules/es-abstract/es2021.js +211 -0
- package/backend/node_modules/es-abstract/es2022.js +224 -0
- package/backend/node_modules/es-abstract/es2023.js +236 -0
- package/backend/node_modules/es-abstract/es2024.js +255 -0
- package/backend/node_modules/es-abstract/es2025.js +272 -0
- package/backend/node_modules/es-abstract/es5.js +52 -0
- package/backend/node_modules/es-abstract/es6.js +3 -0
- package/backend/node_modules/es-abstract/es7.js +3 -0
- package/backend/node_modules/es-abstract/eslint.config.mjs +129 -0
- package/backend/node_modules/es-abstract/helpers/CharSet.js +130 -0
- package/backend/node_modules/es-abstract/helpers/DefineOwnProperty.js +53 -0
- package/backend/node_modules/es-abstract/helpers/IsArray.js +12 -0
- package/backend/node_modules/es-abstract/helpers/OwnPropertyKeys.js +4 -0
- package/backend/node_modules/es-abstract/helpers/assertRecord.js +32 -0
- package/backend/node_modules/es-abstract/helpers/assign.js +22 -0
- package/backend/node_modules/es-abstract/helpers/bytesAsFloat16.js +47 -0
- package/backend/node_modules/es-abstract/helpers/bytesAsFloat32.js +36 -0
- package/backend/node_modules/es-abstract/helpers/bytesAsFloat64.js +42 -0
- package/backend/node_modules/es-abstract/helpers/bytesAsInteger.js +32 -0
- package/backend/node_modules/es-abstract/helpers/callBind.js +5 -0
- package/backend/node_modules/es-abstract/helpers/callBound.js +5 -0
- package/backend/node_modules/es-abstract/helpers/caseFolding.json +1430 -0
- package/backend/node_modules/es-abstract/helpers/defaultEndianness.js +21 -0
- package/backend/node_modules/es-abstract/helpers/every.js +10 -0
- package/backend/node_modules/es-abstract/helpers/forEach.js +7 -0
- package/backend/node_modules/es-abstract/helpers/fractionToBinaryString.js +33 -0
- package/backend/node_modules/es-abstract/helpers/fromPropertyDescriptor.js +27 -0
- package/backend/node_modules/es-abstract/helpers/getInferredName.js +4 -0
- package/backend/node_modules/es-abstract/helpers/getIteratorMethod.js +50 -0
- package/backend/node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js +5 -0
- package/backend/node_modules/es-abstract/helpers/getProto.js +4 -0
- package/backend/node_modules/es-abstract/helpers/getSymbolDescription.js +4 -0
- package/backend/node_modules/es-abstract/helpers/intToBinaryString.js +21 -0
- package/backend/node_modules/es-abstract/helpers/integerToNBytes.js +28 -0
- package/backend/node_modules/es-abstract/helpers/isAbstractClosure.js +9 -0
- package/backend/node_modules/es-abstract/helpers/isByteValue.js +5 -0
- package/backend/node_modules/es-abstract/helpers/isCodePoint.js +5 -0
- package/backend/node_modules/es-abstract/helpers/isFinite.js +4 -0
- package/backend/node_modules/es-abstract/helpers/isFullyPopulatedPropertyDescriptor.js +10 -0
- package/backend/node_modules/es-abstract/helpers/isInteger.js +4 -0
- package/backend/node_modules/es-abstract/helpers/isLeadingSurrogate.js +5 -0
- package/backend/node_modules/es-abstract/helpers/isLineTerminator.js +7 -0
- package/backend/node_modules/es-abstract/helpers/isNaN.js +5 -0
- package/backend/node_modules/es-abstract/helpers/isNegativeZero.js +6 -0
- package/backend/node_modules/es-abstract/helpers/isObject.js +5 -0
- package/backend/node_modules/es-abstract/helpers/isPrefixOf.js +13 -0
- package/backend/node_modules/es-abstract/helpers/isPrimitive.js +5 -0
- package/backend/node_modules/es-abstract/helpers/isPropertyKey.js +5 -0
- package/backend/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js +20 -0
- package/backend/node_modules/es-abstract/helpers/isSameType.js +16 -0
- package/backend/node_modules/es-abstract/helpers/isStringOrHole.js +9 -0
- package/backend/node_modules/es-abstract/helpers/isStringOrUndefined.js +5 -0
- package/backend/node_modules/es-abstract/helpers/isTrailingSurrogate.js +5 -0
- package/backend/node_modules/es-abstract/helpers/maxSafeInteger.js +4 -0
- package/backend/node_modules/es-abstract/helpers/maxValue.js +3 -0
- package/backend/node_modules/es-abstract/helpers/mod.js +4 -0
- package/backend/node_modules/es-abstract/helpers/modBigInt.js +6 -0
- package/backend/node_modules/es-abstract/helpers/padTimeComponent.js +9 -0
- package/backend/node_modules/es-abstract/helpers/records/async-generator-request-record.js +13 -0
- package/backend/node_modules/es-abstract/helpers/records/data-view-with-buffer-witness-record.js +18 -0
- package/backend/node_modules/es-abstract/helpers/records/iterator-record-2023.js +7 -0
- package/backend/node_modules/es-abstract/helpers/records/iterator-record.js +12 -0
- package/backend/node_modules/es-abstract/helpers/records/match-record.js +18 -0
- package/backend/node_modules/es-abstract/helpers/records/promise-capability-record.js +16 -0
- package/backend/node_modules/es-abstract/helpers/records/property-descriptor.js +36 -0
- package/backend/node_modules/es-abstract/helpers/records/regexp-record.js +23 -0
- package/backend/node_modules/es-abstract/helpers/records/set-record.js +21 -0
- package/backend/node_modules/es-abstract/helpers/records/typed-array-with-buffer-witness-record.js +18 -0
- package/backend/node_modules/es-abstract/helpers/reduce.js +9 -0
- package/backend/node_modules/es-abstract/helpers/regexTester.js +5 -0
- package/backend/node_modules/es-abstract/helpers/setProto.js +4 -0
- package/backend/node_modules/es-abstract/helpers/sign.js +4 -0
- package/backend/node_modules/es-abstract/helpers/some.js +10 -0
- package/backend/node_modules/es-abstract/helpers/timeConstants.js +19 -0
- package/backend/node_modules/es-abstract/helpers/timeValue.js +7 -0
- package/backend/node_modules/es-abstract/helpers/typedArrayConstructors.js +23 -0
- package/backend/node_modules/es-abstract/helpers/valueToFloat16Bytes.js +73 -0
- package/backend/node_modules/es-abstract/helpers/valueToFloat32Bytes.js +67 -0
- package/backend/node_modules/es-abstract/helpers/valueToFloat64Bytes.js +83 -0
- package/backend/node_modules/es-abstract/index.js +38 -0
- package/backend/node_modules/es-abstract/operations/2015.js +744 -0
- package/backend/node_modules/es-abstract/operations/2016.js +813 -0
- package/backend/node_modules/es-abstract/operations/2017.js +954 -0
- package/backend/node_modules/es-abstract/operations/2018.js +1033 -0
- package/backend/node_modules/es-abstract/operations/2019.js +1048 -0
- package/backend/node_modules/es-abstract/operations/2020.js +1228 -0
- package/backend/node_modules/es-abstract/operations/2021.js +1282 -0
- package/backend/node_modules/es-abstract/operations/2022.js +1372 -0
- package/backend/node_modules/es-abstract/operations/2023.js +1441 -0
- package/backend/node_modules/es-abstract/operations/2024.js +1537 -0
- package/backend/node_modules/es-abstract/operations/2025.js +1603 -0
- package/backend/node_modules/es-abstract/operations/es5.js +50 -0
- package/backend/node_modules/es-abstract/package.json +188 -0
- package/backend/node_modules/lodash/_DataView.js +7 -0
- package/backend/node_modules/lodash/_Hash.js +32 -0
- package/backend/node_modules/lodash/_LazyWrapper.js +28 -0
- package/backend/node_modules/lodash/_ListCache.js +32 -0
- package/backend/node_modules/lodash/_LodashWrapper.js +22 -0
- package/backend/node_modules/lodash/_Map.js +7 -0
- package/backend/node_modules/lodash/_MapCache.js +32 -0
- package/backend/node_modules/lodash/_Promise.js +7 -0
- package/backend/node_modules/lodash/_Set.js +7 -0
- package/backend/node_modules/lodash/_SetCache.js +27 -0
- package/backend/node_modules/lodash/_Stack.js +27 -0
- package/backend/node_modules/lodash/_Symbol.js +6 -0
- package/backend/node_modules/lodash/_Uint8Array.js +6 -0
- package/backend/node_modules/lodash/_WeakMap.js +7 -0
- package/backend/node_modules/lodash/_apply.js +21 -0
- package/backend/node_modules/lodash/_arrayAggregator.js +22 -0
- package/backend/node_modules/lodash/_arrayEach.js +22 -0
- package/backend/node_modules/lodash/_arrayEachRight.js +21 -0
- package/backend/node_modules/lodash/_arrayEvery.js +23 -0
- package/backend/node_modules/lodash/_arrayFilter.js +25 -0
- package/backend/node_modules/lodash/_arrayIncludes.js +17 -0
- package/backend/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/backend/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/backend/node_modules/lodash/_arrayMap.js +21 -0
- package/backend/node_modules/lodash/_arrayPush.js +20 -0
- package/backend/node_modules/lodash/_arrayReduce.js +26 -0
- package/backend/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/backend/node_modules/lodash/_arraySample.js +15 -0
- package/backend/node_modules/lodash/_arraySampleSize.js +17 -0
- package/backend/node_modules/lodash/_arrayShuffle.js +15 -0
- package/backend/node_modules/lodash/_arraySome.js +23 -0
- package/backend/node_modules/lodash/_asciiSize.js +12 -0
- package/backend/node_modules/lodash/_asciiToArray.js +12 -0
- package/backend/node_modules/lodash/_asciiWords.js +15 -0
- package/backend/node_modules/lodash/_assignMergeValue.js +20 -0
- package/backend/node_modules/lodash/_assignValue.js +28 -0
- package/backend/node_modules/lodash/_assocIndexOf.js +21 -0
- package/backend/node_modules/lodash/_baseAggregator.js +21 -0
- package/backend/node_modules/lodash/_baseAssign.js +17 -0
- package/backend/node_modules/lodash/_baseAssignIn.js +17 -0
- package/backend/node_modules/lodash/_baseAssignValue.js +25 -0
- package/backend/node_modules/lodash/_baseAt.js +23 -0
- package/backend/node_modules/lodash/_baseClamp.js +22 -0
- package/backend/node_modules/lodash/_baseClone.js +166 -0
- package/backend/node_modules/lodash/_baseConforms.js +18 -0
- package/backend/node_modules/lodash/_baseConformsTo.js +27 -0
- package/backend/node_modules/lodash/_baseCreate.js +30 -0
- package/backend/node_modules/lodash/_baseDelay.js +21 -0
- package/backend/node_modules/lodash/_baseDifference.js +67 -0
- package/backend/node_modules/lodash/_baseEach.js +14 -0
- package/backend/node_modules/lodash/_baseEachRight.js +14 -0
- package/backend/node_modules/lodash/_baseEvery.js +21 -0
- package/backend/node_modules/lodash/_baseExtremum.js +32 -0
- package/backend/node_modules/lodash/_baseFill.js +32 -0
- package/backend/node_modules/lodash/_baseFilter.js +21 -0
- package/backend/node_modules/lodash/_baseFindIndex.js +24 -0
- package/backend/node_modules/lodash/_baseFindKey.js +23 -0
- package/backend/node_modules/lodash/_baseFlatten.js +38 -0
- package/backend/node_modules/lodash/_baseFor.js +16 -0
- package/backend/node_modules/lodash/_baseForOwn.js +16 -0
- package/backend/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/backend/node_modules/lodash/_baseForRight.js +15 -0
- package/backend/node_modules/lodash/_baseFunctions.js +19 -0
- package/backend/node_modules/lodash/_baseGet.js +24 -0
- package/backend/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/backend/node_modules/lodash/_baseGetTag.js +28 -0
- package/backend/node_modules/lodash/_baseGt.js +14 -0
- package/backend/node_modules/lodash/_baseHas.js +19 -0
- package/backend/node_modules/lodash/_baseHasIn.js +13 -0
- package/backend/node_modules/lodash/_baseInRange.js +18 -0
- package/backend/node_modules/lodash/_baseIndexOf.js +20 -0
- package/backend/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/backend/node_modules/lodash/_baseIntersection.js +74 -0
- package/backend/node_modules/lodash/_baseInverter.js +21 -0
- package/backend/node_modules/lodash/_baseInvoke.js +24 -0
- package/backend/node_modules/lodash/_baseIsArguments.js +18 -0
- package/backend/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/backend/node_modules/lodash/_baseIsDate.js +18 -0
- package/backend/node_modules/lodash/_baseIsEqual.js +28 -0
- package/backend/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/backend/node_modules/lodash/_baseIsMap.js +18 -0
- package/backend/node_modules/lodash/_baseIsMatch.js +62 -0
- package/backend/node_modules/lodash/_baseIsNaN.js +12 -0
- package/backend/node_modules/lodash/_baseIsNative.js +47 -0
- package/backend/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/backend/node_modules/lodash/_baseIsSet.js +18 -0
- package/backend/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/backend/node_modules/lodash/_baseIteratee.js +31 -0
- package/backend/node_modules/lodash/_baseKeys.js +30 -0
- package/backend/node_modules/lodash/_baseKeysIn.js +33 -0
- package/backend/node_modules/lodash/_baseLodash.js +10 -0
- package/backend/node_modules/lodash/_baseLt.js +14 -0
- package/backend/node_modules/lodash/_baseMap.js +22 -0
- package/backend/node_modules/lodash/_baseMatches.js +22 -0
- package/backend/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/backend/node_modules/lodash/_baseMean.js +20 -0
- package/backend/node_modules/lodash/_baseMerge.js +42 -0
- package/backend/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/backend/node_modules/lodash/_baseNth.js +20 -0
- package/backend/node_modules/lodash/_baseOrderBy.js +49 -0
- package/backend/node_modules/lodash/_basePick.js +19 -0
- package/backend/node_modules/lodash/_basePickBy.js +30 -0
- package/backend/node_modules/lodash/_baseProperty.js +14 -0
- package/backend/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/backend/node_modules/lodash/_basePropertyOf.js +14 -0
- package/backend/node_modules/lodash/_basePullAll.js +51 -0
- package/backend/node_modules/lodash/_basePullAt.js +37 -0
- package/backend/node_modules/lodash/_baseRandom.js +18 -0
- package/backend/node_modules/lodash/_baseRange.js +28 -0
- package/backend/node_modules/lodash/_baseReduce.js +23 -0
- package/backend/node_modules/lodash/_baseRepeat.js +35 -0
- package/backend/node_modules/lodash/_baseRest.js +17 -0
- package/backend/node_modules/lodash/_baseSample.js +15 -0
- package/backend/node_modules/lodash/_baseSampleSize.js +18 -0
- package/backend/node_modules/lodash/_baseSet.js +51 -0
- package/backend/node_modules/lodash/_baseSetData.js +17 -0
- package/backend/node_modules/lodash/_baseSetToString.js +22 -0
- package/backend/node_modules/lodash/_baseShuffle.js +15 -0
- package/backend/node_modules/lodash/_baseSlice.js +31 -0
- package/backend/node_modules/lodash/_baseSome.js +22 -0
- package/backend/node_modules/lodash/_baseSortBy.js +21 -0
- package/backend/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/backend/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/backend/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/backend/node_modules/lodash/_baseSum.js +24 -0
- package/backend/node_modules/lodash/_baseTimes.js +20 -0
- package/backend/node_modules/lodash/_baseToNumber.js +24 -0
- package/backend/node_modules/lodash/_baseToPairs.js +18 -0
- package/backend/node_modules/lodash/_baseToString.js +37 -0
- package/backend/node_modules/lodash/_baseTrim.js +19 -0
- package/backend/node_modules/lodash/_baseUnary.js +14 -0
- package/backend/node_modules/lodash/_baseUniq.js +72 -0
- package/backend/node_modules/lodash/_baseUnset.js +65 -0
- package/backend/node_modules/lodash/_baseUpdate.js +18 -0
- package/backend/node_modules/lodash/_baseValues.js +19 -0
- package/backend/node_modules/lodash/_baseWhile.js +26 -0
- package/backend/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/backend/node_modules/lodash/_baseXor.js +36 -0
- package/backend/node_modules/lodash/_baseZipObject.js +23 -0
- package/backend/node_modules/lodash/_cacheHas.js +13 -0
- package/backend/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/backend/node_modules/lodash/_castFunction.js +14 -0
- package/backend/node_modules/lodash/_castPath.js +21 -0
- package/backend/node_modules/lodash/_castRest.js +14 -0
- package/backend/node_modules/lodash/_castSlice.js +18 -0
- package/backend/node_modules/lodash/_charsEndIndex.js +19 -0
- package/backend/node_modules/lodash/_charsStartIndex.js +20 -0
- package/backend/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/backend/node_modules/lodash/_cloneBuffer.js +35 -0
- package/backend/node_modules/lodash/_cloneDataView.js +16 -0
- package/backend/node_modules/lodash/_cloneRegExp.js +17 -0
- package/backend/node_modules/lodash/_cloneSymbol.js +18 -0
- package/backend/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/backend/node_modules/lodash/_compareAscending.js +41 -0
- package/backend/node_modules/lodash/_compareMultiple.js +44 -0
- package/backend/node_modules/lodash/_composeArgs.js +39 -0
- package/backend/node_modules/lodash/_composeArgsRight.js +41 -0
- package/backend/node_modules/lodash/_copyArray.js +20 -0
- package/backend/node_modules/lodash/_copyObject.js +40 -0
- package/backend/node_modules/lodash/_copySymbols.js +16 -0
- package/backend/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/backend/node_modules/lodash/_coreJsData.js +6 -0
- package/backend/node_modules/lodash/_countHolders.js +21 -0
- package/backend/node_modules/lodash/_createAggregator.js +23 -0
- package/backend/node_modules/lodash/_createAssigner.js +37 -0
- package/backend/node_modules/lodash/_createBaseEach.js +32 -0
- package/backend/node_modules/lodash/_createBaseFor.js +25 -0
- package/backend/node_modules/lodash/_createBind.js +28 -0
- package/backend/node_modules/lodash/_createCaseFirst.js +33 -0
- package/backend/node_modules/lodash/_createCompounder.js +24 -0
- package/backend/node_modules/lodash/_createCtor.js +37 -0
- package/backend/node_modules/lodash/_createCurry.js +46 -0
- package/backend/node_modules/lodash/_createFind.js +25 -0
- package/backend/node_modules/lodash/_createFlow.js +78 -0
- package/backend/node_modules/lodash/_createHybrid.js +92 -0
- package/backend/node_modules/lodash/_createInverter.js +17 -0
- package/backend/node_modules/lodash/_createMathOperation.js +38 -0
- package/backend/node_modules/lodash/_createOver.js +27 -0
- package/backend/node_modules/lodash/_createPadding.js +33 -0
- package/backend/node_modules/lodash/_createPartial.js +43 -0
- package/backend/node_modules/lodash/_createRange.js +30 -0
- package/backend/node_modules/lodash/_createRecurry.js +56 -0
- package/backend/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/backend/node_modules/lodash/_createRound.js +35 -0
- package/backend/node_modules/lodash/_createSet.js +19 -0
- package/backend/node_modules/lodash/_createToPairs.js +30 -0
- package/backend/node_modules/lodash/_createWrap.js +106 -0
- package/backend/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/backend/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/backend/node_modules/lodash/_customOmitClone.js +16 -0
- package/backend/node_modules/lodash/_deburrLetter.js +71 -0
- package/backend/node_modules/lodash/_defineProperty.js +11 -0
- package/backend/node_modules/lodash/_equalArrays.js +84 -0
- package/backend/node_modules/lodash/_equalByTag.js +112 -0
- package/backend/node_modules/lodash/_equalObjects.js +90 -0
- package/backend/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/backend/node_modules/lodash/_escapeStringChar.js +22 -0
- package/backend/node_modules/lodash/_flatRest.js +16 -0
- package/backend/node_modules/lodash/_freeGlobal.js +4 -0
- package/backend/node_modules/lodash/_getAllKeys.js +16 -0
- package/backend/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/backend/node_modules/lodash/_getData.js +15 -0
- package/backend/node_modules/lodash/_getFuncName.js +31 -0
- package/backend/node_modules/lodash/_getHolder.js +13 -0
- package/backend/node_modules/lodash/_getMapData.js +18 -0
- package/backend/node_modules/lodash/_getMatchData.js +24 -0
- package/backend/node_modules/lodash/_getNative.js +17 -0
- package/backend/node_modules/lodash/_getPrototype.js +6 -0
- package/backend/node_modules/lodash/_getRawTag.js +46 -0
- package/backend/node_modules/lodash/_getSymbols.js +30 -0
- package/backend/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/backend/node_modules/lodash/_getTag.js +58 -0
- package/backend/node_modules/lodash/_getValue.js +13 -0
- package/backend/node_modules/lodash/_getView.js +33 -0
- package/backend/node_modules/lodash/_getWrapDetails.js +17 -0
- package/backend/node_modules/lodash/_hasPath.js +39 -0
- package/backend/node_modules/lodash/_hasUnicode.js +26 -0
- package/backend/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/backend/node_modules/lodash/_hashClear.js +15 -0
- package/backend/node_modules/lodash/_hashDelete.js +17 -0
- package/backend/node_modules/lodash/_hashGet.js +30 -0
- package/backend/node_modules/lodash/_hashHas.js +23 -0
- package/backend/node_modules/lodash/_hashSet.js +23 -0
- package/backend/node_modules/lodash/_initCloneArray.js +26 -0
- package/backend/node_modules/lodash/_initCloneByTag.js +77 -0
- package/backend/node_modules/lodash/_initCloneObject.js +18 -0
- package/backend/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/backend/node_modules/lodash/_isFlattenable.js +20 -0
- package/backend/node_modules/lodash/_isIndex.js +25 -0
- package/backend/node_modules/lodash/_isIterateeCall.js +30 -0
- package/backend/node_modules/lodash/_isKey.js +29 -0
- package/backend/node_modules/lodash/_isKeyable.js +15 -0
- package/backend/node_modules/lodash/_isLaziable.js +28 -0
- package/backend/node_modules/lodash/_isMaskable.js +14 -0
- package/backend/node_modules/lodash/_isMasked.js +20 -0
- package/backend/node_modules/lodash/_isPrototype.js +18 -0
- package/backend/node_modules/lodash/_isStrictComparable.js +15 -0
- package/backend/node_modules/lodash/_iteratorToArray.js +18 -0
- package/backend/node_modules/lodash/_lazyClone.js +23 -0
- package/backend/node_modules/lodash/_lazyReverse.js +23 -0
- package/backend/node_modules/lodash/_lazyValue.js +69 -0
- package/backend/node_modules/lodash/_listCacheClear.js +13 -0
- package/backend/node_modules/lodash/_listCacheDelete.js +35 -0
- package/backend/node_modules/lodash/_listCacheGet.js +19 -0
- package/backend/node_modules/lodash/_listCacheHas.js +16 -0
- package/backend/node_modules/lodash/_listCacheSet.js +26 -0
- package/backend/node_modules/lodash/_mapCacheClear.js +21 -0
- package/backend/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/backend/node_modules/lodash/_mapCacheGet.js +16 -0
- package/backend/node_modules/lodash/_mapCacheHas.js +16 -0
- package/backend/node_modules/lodash/_mapCacheSet.js +22 -0
- package/backend/node_modules/lodash/_mapToArray.js +18 -0
- package/backend/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/backend/node_modules/lodash/_memoizeCapped.js +26 -0
- package/backend/node_modules/lodash/_mergeData.js +90 -0
- package/backend/node_modules/lodash/_metaMap.js +6 -0
- package/backend/node_modules/lodash/_nativeCreate.js +6 -0
- package/backend/node_modules/lodash/_nativeKeys.js +6 -0
- package/backend/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/backend/node_modules/lodash/_nodeUtil.js +30 -0
- package/backend/node_modules/lodash/_objectToString.js +22 -0
- package/backend/node_modules/lodash/_overArg.js +15 -0
- package/backend/node_modules/lodash/_overRest.js +36 -0
- package/backend/node_modules/lodash/_parent.js +16 -0
- package/backend/node_modules/lodash/_reEscape.js +4 -0
- package/backend/node_modules/lodash/_reEvaluate.js +4 -0
- package/backend/node_modules/lodash/_reInterpolate.js +4 -0
- package/backend/node_modules/lodash/_realNames.js +4 -0
- package/backend/node_modules/lodash/_reorder.js +29 -0
- package/backend/node_modules/lodash/_replaceHolders.js +29 -0
- package/backend/node_modules/lodash/_root.js +9 -0
- package/backend/node_modules/lodash/_safeGet.js +21 -0
- package/backend/node_modules/lodash/_setCacheAdd.js +19 -0
- package/backend/node_modules/lodash/_setCacheHas.js +14 -0
- package/backend/node_modules/lodash/_setData.js +20 -0
- package/backend/node_modules/lodash/_setToArray.js +18 -0
- package/backend/node_modules/lodash/_setToPairs.js +18 -0
- package/backend/node_modules/lodash/_setToString.js +14 -0
- package/backend/node_modules/lodash/_setWrapToString.js +21 -0
- package/backend/node_modules/lodash/_shortOut.js +37 -0
- package/backend/node_modules/lodash/_shuffleSelf.js +28 -0
- package/backend/node_modules/lodash/_stackClear.js +15 -0
- package/backend/node_modules/lodash/_stackDelete.js +18 -0
- package/backend/node_modules/lodash/_stackGet.js +14 -0
- package/backend/node_modules/lodash/_stackHas.js +14 -0
- package/backend/node_modules/lodash/_stackSet.js +34 -0
- package/backend/node_modules/lodash/_strictIndexOf.js +23 -0
- package/backend/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/backend/node_modules/lodash/_stringSize.js +18 -0
- package/backend/node_modules/lodash/_stringToArray.js +18 -0
- package/backend/node_modules/lodash/_stringToPath.js +27 -0
- package/backend/node_modules/lodash/_toKey.js +21 -0
- package/backend/node_modules/lodash/_toSource.js +26 -0
- package/backend/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/backend/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/backend/node_modules/lodash/_unicodeSize.js +44 -0
- package/backend/node_modules/lodash/_unicodeToArray.js +40 -0
- package/backend/node_modules/lodash/_unicodeWords.js +69 -0
- package/backend/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/backend/node_modules/lodash/_wrapperClone.js +23 -0
- package/backend/node_modules/lodash/add.js +22 -0
- package/backend/node_modules/lodash/after.js +42 -0
- package/backend/node_modules/lodash/array.js +67 -0
- package/backend/node_modules/lodash/ary.js +29 -0
- package/backend/node_modules/lodash/assign.js +58 -0
- package/backend/node_modules/lodash/assignIn.js +40 -0
- package/backend/node_modules/lodash/assignInWith.js +38 -0
- package/backend/node_modules/lodash/assignWith.js +37 -0
- package/backend/node_modules/lodash/at.js +23 -0
- package/backend/node_modules/lodash/attempt.js +35 -0
- package/backend/node_modules/lodash/before.js +40 -0
- package/backend/node_modules/lodash/bind.js +57 -0
- package/backend/node_modules/lodash/bindAll.js +41 -0
- package/backend/node_modules/lodash/bindKey.js +68 -0
- package/backend/node_modules/lodash/camelCase.js +29 -0
- package/backend/node_modules/lodash/capitalize.js +23 -0
- package/backend/node_modules/lodash/castArray.js +44 -0
- package/backend/node_modules/lodash/ceil.js +26 -0
- package/backend/node_modules/lodash/chain.js +38 -0
- package/backend/node_modules/lodash/chunk.js +50 -0
- package/backend/node_modules/lodash/clamp.js +39 -0
- package/backend/node_modules/lodash/clone.js +36 -0
- package/backend/node_modules/lodash/cloneDeep.js +29 -0
- package/backend/node_modules/lodash/cloneDeepWith.js +40 -0
- package/backend/node_modules/lodash/cloneWith.js +42 -0
- package/backend/node_modules/lodash/collection.js +30 -0
- package/backend/node_modules/lodash/commit.js +33 -0
- package/backend/node_modules/lodash/compact.js +31 -0
- package/backend/node_modules/lodash/concat.js +43 -0
- package/backend/node_modules/lodash/cond.js +60 -0
- package/backend/node_modules/lodash/conforms.js +35 -0
- package/backend/node_modules/lodash/conformsTo.js +32 -0
- package/backend/node_modules/lodash/constant.js +26 -0
- package/backend/node_modules/lodash/core.js +3877 -0
- package/backend/node_modules/lodash/core.min.js +29 -0
- package/backend/node_modules/lodash/countBy.js +40 -0
- package/backend/node_modules/lodash/create.js +43 -0
- package/backend/node_modules/lodash/curry.js +57 -0
- package/backend/node_modules/lodash/curryRight.js +54 -0
- package/backend/node_modules/lodash/date.js +3 -0
- package/backend/node_modules/lodash/debounce.js +191 -0
- package/backend/node_modules/lodash/deburr.js +45 -0
- package/backend/node_modules/lodash/defaultTo.js +25 -0
- package/backend/node_modules/lodash/defaults.js +64 -0
- package/backend/node_modules/lodash/defaultsDeep.js +30 -0
- package/backend/node_modules/lodash/defer.js +26 -0
- package/backend/node_modules/lodash/delay.js +28 -0
- package/backend/node_modules/lodash/difference.js +33 -0
- package/backend/node_modules/lodash/differenceBy.js +44 -0
- package/backend/node_modules/lodash/differenceWith.js +40 -0
- package/backend/node_modules/lodash/divide.js +22 -0
- package/backend/node_modules/lodash/drop.js +38 -0
- package/backend/node_modules/lodash/dropRight.js +39 -0
- package/backend/node_modules/lodash/dropRightWhile.js +45 -0
- package/backend/node_modules/lodash/dropWhile.js +45 -0
- package/backend/node_modules/lodash/each.js +1 -0
- package/backend/node_modules/lodash/eachRight.js +1 -0
- package/backend/node_modules/lodash/endsWith.js +43 -0
- package/backend/node_modules/lodash/entries.js +1 -0
- package/backend/node_modules/lodash/entriesIn.js +1 -0
- package/backend/node_modules/lodash/eq.js +37 -0
- package/backend/node_modules/lodash/escape.js +43 -0
- package/backend/node_modules/lodash/escapeRegExp.js +32 -0
- package/backend/node_modules/lodash/every.js +56 -0
- package/backend/node_modules/lodash/extend.js +1 -0
- package/backend/node_modules/lodash/extendWith.js +1 -0
- package/backend/node_modules/lodash/fill.js +45 -0
- package/backend/node_modules/lodash/filter.js +52 -0
- package/backend/node_modules/lodash/find.js +42 -0
- package/backend/node_modules/lodash/findIndex.js +55 -0
- package/backend/node_modules/lodash/findKey.js +44 -0
- package/backend/node_modules/lodash/findLast.js +25 -0
- package/backend/node_modules/lodash/findLastIndex.js +59 -0
- package/backend/node_modules/lodash/findLastKey.js +44 -0
- package/backend/node_modules/lodash/first.js +1 -0
- package/backend/node_modules/lodash/flatMap.js +29 -0
- package/backend/node_modules/lodash/flatMapDeep.js +31 -0
- package/backend/node_modules/lodash/flatMapDepth.js +31 -0
- package/backend/node_modules/lodash/flatten.js +22 -0
- package/backend/node_modules/lodash/flattenDeep.js +25 -0
- package/backend/node_modules/lodash/flattenDepth.js +33 -0
- package/backend/node_modules/lodash/flip.js +28 -0
- package/backend/node_modules/lodash/floor.js +26 -0
- package/backend/node_modules/lodash/flow.js +27 -0
- package/backend/node_modules/lodash/flowRight.js +26 -0
- package/backend/node_modules/lodash/forEach.js +41 -0
- package/backend/node_modules/lodash/forEachRight.js +31 -0
- package/backend/node_modules/lodash/forIn.js +39 -0
- package/backend/node_modules/lodash/forInRight.js +37 -0
- package/backend/node_modules/lodash/forOwn.js +36 -0
- package/backend/node_modules/lodash/forOwnRight.js +34 -0
- package/backend/node_modules/lodash/fp/F.js +1 -0
- package/backend/node_modules/lodash/fp/T.js +1 -0
- package/backend/node_modules/lodash/fp/__.js +1 -0
- package/backend/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/backend/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/backend/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/backend/node_modules/lodash/fp/_mapping.js +358 -0
- package/backend/node_modules/lodash/fp/_util.js +16 -0
- package/backend/node_modules/lodash/fp/add.js +5 -0
- package/backend/node_modules/lodash/fp/after.js +5 -0
- package/backend/node_modules/lodash/fp/all.js +1 -0
- package/backend/node_modules/lodash/fp/allPass.js +1 -0
- package/backend/node_modules/lodash/fp/always.js +1 -0
- package/backend/node_modules/lodash/fp/any.js +1 -0
- package/backend/node_modules/lodash/fp/anyPass.js +1 -0
- package/backend/node_modules/lodash/fp/apply.js +1 -0
- package/backend/node_modules/lodash/fp/array.js +2 -0
- package/backend/node_modules/lodash/fp/ary.js +5 -0
- package/backend/node_modules/lodash/fp/assign.js +5 -0
- package/backend/node_modules/lodash/fp/assignAll.js +5 -0
- package/backend/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/backend/node_modules/lodash/fp/assignIn.js +5 -0
- package/backend/node_modules/lodash/fp/assignInAll.js +5 -0
- package/backend/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/backend/node_modules/lodash/fp/assignInWith.js +5 -0
- package/backend/node_modules/lodash/fp/assignWith.js +5 -0
- package/backend/node_modules/lodash/fp/assoc.js +1 -0
- package/backend/node_modules/lodash/fp/assocPath.js +1 -0
- package/backend/node_modules/lodash/fp/at.js +5 -0
- package/backend/node_modules/lodash/fp/attempt.js +5 -0
- package/backend/node_modules/lodash/fp/before.js +5 -0
- package/backend/node_modules/lodash/fp/bind.js +5 -0
- package/backend/node_modules/lodash/fp/bindAll.js +5 -0
- package/backend/node_modules/lodash/fp/bindKey.js +5 -0
- package/backend/node_modules/lodash/fp/camelCase.js +5 -0
- package/backend/node_modules/lodash/fp/capitalize.js +5 -0
- package/backend/node_modules/lodash/fp/castArray.js +5 -0
- package/backend/node_modules/lodash/fp/ceil.js +5 -0
- package/backend/node_modules/lodash/fp/chain.js +5 -0
- package/backend/node_modules/lodash/fp/chunk.js +5 -0
- package/backend/node_modules/lodash/fp/clamp.js +5 -0
- package/backend/node_modules/lodash/fp/clone.js +5 -0
- package/backend/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/backend/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/backend/node_modules/lodash/fp/cloneWith.js +5 -0
- package/backend/node_modules/lodash/fp/collection.js +2 -0
- package/backend/node_modules/lodash/fp/commit.js +5 -0
- package/backend/node_modules/lodash/fp/compact.js +5 -0
- package/backend/node_modules/lodash/fp/complement.js +1 -0
- package/backend/node_modules/lodash/fp/compose.js +1 -0
- package/backend/node_modules/lodash/fp/concat.js +5 -0
- package/backend/node_modules/lodash/fp/cond.js +5 -0
- package/backend/node_modules/lodash/fp/conforms.js +1 -0
- package/backend/node_modules/lodash/fp/conformsTo.js +5 -0
- package/backend/node_modules/lodash/fp/constant.js +5 -0
- package/backend/node_modules/lodash/fp/contains.js +1 -0
- package/backend/node_modules/lodash/fp/convert.js +18 -0
- package/backend/node_modules/lodash/fp/countBy.js +5 -0
- package/backend/node_modules/lodash/fp/create.js +5 -0
- package/backend/node_modules/lodash/fp/curry.js +5 -0
- package/backend/node_modules/lodash/fp/curryN.js +5 -0
- package/backend/node_modules/lodash/fp/curryRight.js +5 -0
- package/backend/node_modules/lodash/fp/curryRightN.js +5 -0
- package/backend/node_modules/lodash/fp/date.js +2 -0
- package/backend/node_modules/lodash/fp/debounce.js +5 -0
- package/backend/node_modules/lodash/fp/deburr.js +5 -0
- package/backend/node_modules/lodash/fp/defaultTo.js +5 -0
- package/backend/node_modules/lodash/fp/defaults.js +5 -0
- package/backend/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/backend/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/backend/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/backend/node_modules/lodash/fp/defer.js +5 -0
- package/backend/node_modules/lodash/fp/delay.js +5 -0
- package/backend/node_modules/lodash/fp/difference.js +5 -0
- package/backend/node_modules/lodash/fp/differenceBy.js +5 -0
- package/backend/node_modules/lodash/fp/differenceWith.js +5 -0
- package/backend/node_modules/lodash/fp/dissoc.js +1 -0
- package/backend/node_modules/lodash/fp/dissocPath.js +1 -0
- package/backend/node_modules/lodash/fp/divide.js +5 -0
- package/backend/node_modules/lodash/fp/drop.js +5 -0
- package/backend/node_modules/lodash/fp/dropLast.js +1 -0
- package/backend/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/backend/node_modules/lodash/fp/dropRight.js +5 -0
- package/backend/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/backend/node_modules/lodash/fp/dropWhile.js +5 -0
- package/backend/node_modules/lodash/fp/each.js +1 -0
- package/backend/node_modules/lodash/fp/eachRight.js +1 -0
- package/backend/node_modules/lodash/fp/endsWith.js +5 -0
- package/backend/node_modules/lodash/fp/entries.js +1 -0
- package/backend/node_modules/lodash/fp/entriesIn.js +1 -0
- package/backend/node_modules/lodash/fp/eq.js +5 -0
- package/backend/node_modules/lodash/fp/equals.js +1 -0
- package/backend/node_modules/lodash/fp/escape.js +5 -0
- package/backend/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/backend/node_modules/lodash/fp/every.js +5 -0
- package/backend/node_modules/lodash/fp/extend.js +1 -0
- package/backend/node_modules/lodash/fp/extendAll.js +1 -0
- package/backend/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/backend/node_modules/lodash/fp/extendWith.js +1 -0
- package/backend/node_modules/lodash/fp/fill.js +5 -0
- package/backend/node_modules/lodash/fp/filter.js +5 -0
- package/backend/node_modules/lodash/fp/find.js +5 -0
- package/backend/node_modules/lodash/fp/findFrom.js +5 -0
- package/backend/node_modules/lodash/fp/findIndex.js +5 -0
- package/backend/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/backend/node_modules/lodash/fp/findKey.js +5 -0
- package/backend/node_modules/lodash/fp/findLast.js +5 -0
- package/backend/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/backend/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/backend/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/backend/node_modules/lodash/fp/findLastKey.js +5 -0
- package/backend/node_modules/lodash/fp/first.js +1 -0
- package/backend/node_modules/lodash/fp/flatMap.js +5 -0
- package/backend/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/backend/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/backend/node_modules/lodash/fp/flatten.js +5 -0
- package/backend/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/backend/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/backend/node_modules/lodash/fp/flip.js +5 -0
- package/backend/node_modules/lodash/fp/floor.js +5 -0
- package/backend/node_modules/lodash/fp/flow.js +5 -0
- package/backend/node_modules/lodash/fp/flowRight.js +5 -0
- package/backend/node_modules/lodash/fp/forEach.js +5 -0
- package/backend/node_modules/lodash/fp/forEachRight.js +5 -0
- package/backend/node_modules/lodash/fp/forIn.js +5 -0
- package/backend/node_modules/lodash/fp/forInRight.js +5 -0
- package/backend/node_modules/lodash/fp/forOwn.js +5 -0
- package/backend/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/backend/node_modules/lodash/fp/fromPairs.js +5 -0
- package/backend/node_modules/lodash/fp/function.js +2 -0
- package/backend/node_modules/lodash/fp/functions.js +5 -0
- package/backend/node_modules/lodash/fp/functionsIn.js +5 -0
- package/backend/node_modules/lodash/fp/get.js +5 -0
- package/backend/node_modules/lodash/fp/getOr.js +5 -0
- package/backend/node_modules/lodash/fp/groupBy.js +5 -0
- package/backend/node_modules/lodash/fp/gt.js +5 -0
- package/backend/node_modules/lodash/fp/gte.js +5 -0
- package/backend/node_modules/lodash/fp/has.js +5 -0
- package/backend/node_modules/lodash/fp/hasIn.js +5 -0
- package/backend/node_modules/lodash/fp/head.js +5 -0
- package/backend/node_modules/lodash/fp/identical.js +1 -0
- package/backend/node_modules/lodash/fp/identity.js +5 -0
- package/backend/node_modules/lodash/fp/inRange.js +5 -0
- package/backend/node_modules/lodash/fp/includes.js +5 -0
- package/backend/node_modules/lodash/fp/includesFrom.js +5 -0
- package/backend/node_modules/lodash/fp/indexBy.js +1 -0
- package/backend/node_modules/lodash/fp/indexOf.js +5 -0
- package/backend/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/backend/node_modules/lodash/fp/init.js +1 -0
- package/backend/node_modules/lodash/fp/initial.js +5 -0
- package/backend/node_modules/lodash/fp/intersection.js +5 -0
- package/backend/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/backend/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/backend/node_modules/lodash/fp/invert.js +5 -0
- package/backend/node_modules/lodash/fp/invertBy.js +5 -0
- package/backend/node_modules/lodash/fp/invertObj.js +1 -0
- package/backend/node_modules/lodash/fp/invoke.js +5 -0
- package/backend/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/backend/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/backend/node_modules/lodash/fp/invokeMap.js +5 -0
- package/backend/node_modules/lodash/fp/isArguments.js +5 -0
- package/backend/node_modules/lodash/fp/isArray.js +5 -0
- package/backend/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/backend/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/backend/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/backend/node_modules/lodash/fp/isBoolean.js +5 -0
- package/backend/node_modules/lodash/fp/isBuffer.js +5 -0
- package/backend/node_modules/lodash/fp/isDate.js +5 -0
- package/backend/node_modules/lodash/fp/isElement.js +5 -0
- package/backend/node_modules/lodash/fp/isEmpty.js +5 -0
- package/backend/node_modules/lodash/fp/isEqual.js +5 -0
- package/backend/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/backend/node_modules/lodash/fp/isError.js +5 -0
- package/backend/node_modules/lodash/fp/isFinite.js +5 -0
- package/backend/node_modules/lodash/fp/isFunction.js +5 -0
- package/backend/node_modules/lodash/fp/isInteger.js +5 -0
- package/backend/node_modules/lodash/fp/isLength.js +5 -0
- package/backend/node_modules/lodash/fp/isMap.js +5 -0
- package/backend/node_modules/lodash/fp/isMatch.js +5 -0
- package/backend/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/backend/node_modules/lodash/fp/isNaN.js +5 -0
- package/backend/node_modules/lodash/fp/isNative.js +5 -0
- package/backend/node_modules/lodash/fp/isNil.js +5 -0
- package/backend/node_modules/lodash/fp/isNull.js +5 -0
- package/backend/node_modules/lodash/fp/isNumber.js +5 -0
- package/backend/node_modules/lodash/fp/isObject.js +5 -0
- package/backend/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/backend/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/backend/node_modules/lodash/fp/isRegExp.js +5 -0
- package/backend/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/backend/node_modules/lodash/fp/isSet.js +5 -0
- package/backend/node_modules/lodash/fp/isString.js +5 -0
- package/backend/node_modules/lodash/fp/isSymbol.js +5 -0
- package/backend/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/backend/node_modules/lodash/fp/isUndefined.js +5 -0
- package/backend/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/backend/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/backend/node_modules/lodash/fp/iteratee.js +5 -0
- package/backend/node_modules/lodash/fp/join.js +5 -0
- package/backend/node_modules/lodash/fp/juxt.js +1 -0
- package/backend/node_modules/lodash/fp/kebabCase.js +5 -0
- package/backend/node_modules/lodash/fp/keyBy.js +5 -0
- package/backend/node_modules/lodash/fp/keys.js +5 -0
- package/backend/node_modules/lodash/fp/keysIn.js +5 -0
- package/backend/node_modules/lodash/fp/lang.js +2 -0
- package/backend/node_modules/lodash/fp/last.js +5 -0
- package/backend/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/backend/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/backend/node_modules/lodash/fp/lowerCase.js +5 -0
- package/backend/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/backend/node_modules/lodash/fp/lt.js +5 -0
- package/backend/node_modules/lodash/fp/lte.js +5 -0
- package/backend/node_modules/lodash/fp/map.js +5 -0
- package/backend/node_modules/lodash/fp/mapKeys.js +5 -0
- package/backend/node_modules/lodash/fp/mapValues.js +5 -0
- package/backend/node_modules/lodash/fp/matches.js +1 -0
- package/backend/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/backend/node_modules/lodash/fp/math.js +2 -0
- package/backend/node_modules/lodash/fp/max.js +5 -0
- package/backend/node_modules/lodash/fp/maxBy.js +5 -0
- package/backend/node_modules/lodash/fp/mean.js +5 -0
- package/backend/node_modules/lodash/fp/meanBy.js +5 -0
- package/backend/node_modules/lodash/fp/memoize.js +5 -0
- package/backend/node_modules/lodash/fp/merge.js +5 -0
- package/backend/node_modules/lodash/fp/mergeAll.js +5 -0
- package/backend/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/backend/node_modules/lodash/fp/mergeWith.js +5 -0
- package/backend/node_modules/lodash/fp/method.js +5 -0
- package/backend/node_modules/lodash/fp/methodOf.js +5 -0
- package/backend/node_modules/lodash/fp/min.js +5 -0
- package/backend/node_modules/lodash/fp/minBy.js +5 -0
- package/backend/node_modules/lodash/fp/mixin.js +5 -0
- package/backend/node_modules/lodash/fp/multiply.js +5 -0
- package/backend/node_modules/lodash/fp/nAry.js +1 -0
- package/backend/node_modules/lodash/fp/negate.js +5 -0
- package/backend/node_modules/lodash/fp/next.js +5 -0
- package/backend/node_modules/lodash/fp/noop.js +5 -0
- package/backend/node_modules/lodash/fp/now.js +5 -0
- package/backend/node_modules/lodash/fp/nth.js +5 -0
- package/backend/node_modules/lodash/fp/nthArg.js +5 -0
- package/backend/node_modules/lodash/fp/number.js +2 -0
- package/backend/node_modules/lodash/fp/object.js +2 -0
- package/backend/node_modules/lodash/fp/omit.js +5 -0
- package/backend/node_modules/lodash/fp/omitAll.js +1 -0
- package/backend/node_modules/lodash/fp/omitBy.js +5 -0
- package/backend/node_modules/lodash/fp/once.js +5 -0
- package/backend/node_modules/lodash/fp/orderBy.js +5 -0
- package/backend/node_modules/lodash/fp/over.js +5 -0
- package/backend/node_modules/lodash/fp/overArgs.js +5 -0
- package/backend/node_modules/lodash/fp/overEvery.js +5 -0
- package/backend/node_modules/lodash/fp/overSome.js +5 -0
- package/backend/node_modules/lodash/fp/pad.js +5 -0
- package/backend/node_modules/lodash/fp/padChars.js +5 -0
- package/backend/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/backend/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/backend/node_modules/lodash/fp/padEnd.js +5 -0
- package/backend/node_modules/lodash/fp/padStart.js +5 -0
- package/backend/node_modules/lodash/fp/parseInt.js +5 -0
- package/backend/node_modules/lodash/fp/partial.js +5 -0
- package/backend/node_modules/lodash/fp/partialRight.js +5 -0
- package/backend/node_modules/lodash/fp/partition.js +5 -0
- package/backend/node_modules/lodash/fp/path.js +1 -0
- package/backend/node_modules/lodash/fp/pathEq.js +1 -0
- package/backend/node_modules/lodash/fp/pathOr.js +1 -0
- package/backend/node_modules/lodash/fp/paths.js +1 -0
- package/backend/node_modules/lodash/fp/pick.js +5 -0
- package/backend/node_modules/lodash/fp/pickAll.js +1 -0
- package/backend/node_modules/lodash/fp/pickBy.js +5 -0
- package/backend/node_modules/lodash/fp/pipe.js +1 -0
- package/backend/node_modules/lodash/fp/placeholder.js +6 -0
- package/backend/node_modules/lodash/fp/plant.js +5 -0
- package/backend/node_modules/lodash/fp/pluck.js +1 -0
- package/backend/node_modules/lodash/fp/prop.js +1 -0
- package/backend/node_modules/lodash/fp/propEq.js +1 -0
- package/backend/node_modules/lodash/fp/propOr.js +1 -0
- package/backend/node_modules/lodash/fp/property.js +1 -0
- package/backend/node_modules/lodash/fp/propertyOf.js +5 -0
- package/backend/node_modules/lodash/fp/props.js +1 -0
- package/backend/node_modules/lodash/fp/pull.js +5 -0
- package/backend/node_modules/lodash/fp/pullAll.js +5 -0
- package/backend/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/backend/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/backend/node_modules/lodash/fp/pullAt.js +5 -0
- package/backend/node_modules/lodash/fp/random.js +5 -0
- package/backend/node_modules/lodash/fp/range.js +5 -0
- package/backend/node_modules/lodash/fp/rangeRight.js +5 -0
- package/backend/node_modules/lodash/fp/rangeStep.js +5 -0
- package/backend/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/backend/node_modules/lodash/fp/rearg.js +5 -0
- package/backend/node_modules/lodash/fp/reduce.js +5 -0
- package/backend/node_modules/lodash/fp/reduceRight.js +5 -0
- package/backend/node_modules/lodash/fp/reject.js +5 -0
- package/backend/node_modules/lodash/fp/remove.js +5 -0
- package/backend/node_modules/lodash/fp/repeat.js +5 -0
- package/backend/node_modules/lodash/fp/replace.js +5 -0
- package/backend/node_modules/lodash/fp/rest.js +5 -0
- package/backend/node_modules/lodash/fp/restFrom.js +5 -0
- package/backend/node_modules/lodash/fp/result.js +5 -0
- package/backend/node_modules/lodash/fp/reverse.js +5 -0
- package/backend/node_modules/lodash/fp/round.js +5 -0
- package/backend/node_modules/lodash/fp/sample.js +5 -0
- package/backend/node_modules/lodash/fp/sampleSize.js +5 -0
- package/backend/node_modules/lodash/fp/seq.js +2 -0
- package/backend/node_modules/lodash/fp/set.js +5 -0
- package/backend/node_modules/lodash/fp/setWith.js +5 -0
- package/backend/node_modules/lodash/fp/shuffle.js +5 -0
- package/backend/node_modules/lodash/fp/size.js +5 -0
- package/backend/node_modules/lodash/fp/slice.js +5 -0
- package/backend/node_modules/lodash/fp/snakeCase.js +5 -0
- package/backend/node_modules/lodash/fp/some.js +5 -0
- package/backend/node_modules/lodash/fp/sortBy.js +5 -0
- package/backend/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/backend/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/backend/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/backend/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/backend/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/backend/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/backend/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/backend/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/backend/node_modules/lodash/fp/split.js +5 -0
- package/backend/node_modules/lodash/fp/spread.js +5 -0
- package/backend/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/backend/node_modules/lodash/fp/startCase.js +5 -0
- package/backend/node_modules/lodash/fp/startsWith.js +5 -0
- package/backend/node_modules/lodash/fp/string.js +2 -0
- package/backend/node_modules/lodash/fp/stubArray.js +5 -0
- package/backend/node_modules/lodash/fp/stubFalse.js +5 -0
- package/backend/node_modules/lodash/fp/stubObject.js +5 -0
- package/backend/node_modules/lodash/fp/stubString.js +5 -0
- package/backend/node_modules/lodash/fp/stubTrue.js +5 -0
- package/backend/node_modules/lodash/fp/subtract.js +5 -0
- package/backend/node_modules/lodash/fp/sum.js +5 -0
- package/backend/node_modules/lodash/fp/sumBy.js +5 -0
- package/backend/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/backend/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/backend/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/backend/node_modules/lodash/fp/tail.js +5 -0
- package/backend/node_modules/lodash/fp/take.js +5 -0
- package/backend/node_modules/lodash/fp/takeLast.js +1 -0
- package/backend/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/backend/node_modules/lodash/fp/takeRight.js +5 -0
- package/backend/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/backend/node_modules/lodash/fp/takeWhile.js +5 -0
- package/backend/node_modules/lodash/fp/tap.js +5 -0
- package/backend/node_modules/lodash/fp/template.js +5 -0
- package/backend/node_modules/lodash/fp/templateSettings.js +5 -0
- package/backend/node_modules/lodash/fp/throttle.js +5 -0
- package/backend/node_modules/lodash/fp/thru.js +5 -0
- package/backend/node_modules/lodash/fp/times.js +5 -0
- package/backend/node_modules/lodash/fp/toArray.js +5 -0
- package/backend/node_modules/lodash/fp/toFinite.js +5 -0
- package/backend/node_modules/lodash/fp/toInteger.js +5 -0
- package/backend/node_modules/lodash/fp/toIterator.js +5 -0
- package/backend/node_modules/lodash/fp/toJSON.js +5 -0
- package/backend/node_modules/lodash/fp/toLength.js +5 -0
- package/backend/node_modules/lodash/fp/toLower.js +5 -0
- package/backend/node_modules/lodash/fp/toNumber.js +5 -0
- package/backend/node_modules/lodash/fp/toPairs.js +5 -0
- package/backend/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/backend/node_modules/lodash/fp/toPath.js +5 -0
- package/backend/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/backend/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/backend/node_modules/lodash/fp/toString.js +5 -0
- package/backend/node_modules/lodash/fp/toUpper.js +5 -0
- package/backend/node_modules/lodash/fp/transform.js +5 -0
- package/backend/node_modules/lodash/fp/trim.js +5 -0
- package/backend/node_modules/lodash/fp/trimChars.js +5 -0
- package/backend/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/backend/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/backend/node_modules/lodash/fp/trimEnd.js +5 -0
- package/backend/node_modules/lodash/fp/trimStart.js +5 -0
- package/backend/node_modules/lodash/fp/truncate.js +5 -0
- package/backend/node_modules/lodash/fp/unapply.js +1 -0
- package/backend/node_modules/lodash/fp/unary.js +5 -0
- package/backend/node_modules/lodash/fp/unescape.js +5 -0
- package/backend/node_modules/lodash/fp/union.js +5 -0
- package/backend/node_modules/lodash/fp/unionBy.js +5 -0
- package/backend/node_modules/lodash/fp/unionWith.js +5 -0
- package/backend/node_modules/lodash/fp/uniq.js +5 -0
- package/backend/node_modules/lodash/fp/uniqBy.js +5 -0
- package/backend/node_modules/lodash/fp/uniqWith.js +5 -0
- package/backend/node_modules/lodash/fp/uniqueId.js +5 -0
- package/backend/node_modules/lodash/fp/unnest.js +1 -0
- package/backend/node_modules/lodash/fp/unset.js +5 -0
- package/backend/node_modules/lodash/fp/unzip.js +5 -0
- package/backend/node_modules/lodash/fp/unzipWith.js +5 -0
- package/backend/node_modules/lodash/fp/update.js +5 -0
- package/backend/node_modules/lodash/fp/updateWith.js +5 -0
- package/backend/node_modules/lodash/fp/upperCase.js +5 -0
- package/backend/node_modules/lodash/fp/upperFirst.js +5 -0
- package/backend/node_modules/lodash/fp/useWith.js +1 -0
- package/backend/node_modules/lodash/fp/util.js +2 -0
- package/backend/node_modules/lodash/fp/value.js +5 -0
- package/backend/node_modules/lodash/fp/valueOf.js +5 -0
- package/backend/node_modules/lodash/fp/values.js +5 -0
- package/backend/node_modules/lodash/fp/valuesIn.js +5 -0
- package/backend/node_modules/lodash/fp/where.js +1 -0
- package/backend/node_modules/lodash/fp/whereEq.js +1 -0
- package/backend/node_modules/lodash/fp/without.js +5 -0
- package/backend/node_modules/lodash/fp/words.js +5 -0
- package/backend/node_modules/lodash/fp/wrap.js +5 -0
- package/backend/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/backend/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/backend/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/backend/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/backend/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/backend/node_modules/lodash/fp/xor.js +5 -0
- package/backend/node_modules/lodash/fp/xorBy.js +5 -0
- package/backend/node_modules/lodash/fp/xorWith.js +5 -0
- package/backend/node_modules/lodash/fp/zip.js +5 -0
- package/backend/node_modules/lodash/fp/zipAll.js +5 -0
- package/backend/node_modules/lodash/fp/zipObj.js +1 -0
- package/backend/node_modules/lodash/fp/zipObject.js +5 -0
- package/backend/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/backend/node_modules/lodash/fp/zipWith.js +5 -0
- package/backend/node_modules/lodash/fp.js +2 -0
- package/backend/node_modules/lodash/fromPairs.js +28 -0
- package/backend/node_modules/lodash/function.js +25 -0
- package/backend/node_modules/lodash/functions.js +31 -0
- package/backend/node_modules/lodash/functionsIn.js +31 -0
- package/backend/node_modules/lodash/get.js +33 -0
- package/backend/node_modules/lodash/groupBy.js +41 -0
- package/backend/node_modules/lodash/gt.js +29 -0
- package/backend/node_modules/lodash/gte.js +30 -0
- package/backend/node_modules/lodash/has.js +35 -0
- package/backend/node_modules/lodash/hasIn.js +34 -0
- package/backend/node_modules/lodash/head.js +23 -0
- package/backend/node_modules/lodash/identity.js +21 -0
- package/backend/node_modules/lodash/inRange.js +55 -0
- package/backend/node_modules/lodash/includes.js +53 -0
- package/backend/node_modules/lodash/index.js +1 -0
- package/backend/node_modules/lodash/indexOf.js +42 -0
- package/backend/node_modules/lodash/initial.js +22 -0
- package/backend/node_modules/lodash/intersection.js +30 -0
- package/backend/node_modules/lodash/intersectionBy.js +45 -0
- package/backend/node_modules/lodash/intersectionWith.js +41 -0
- package/backend/node_modules/lodash/invert.js +42 -0
- package/backend/node_modules/lodash/invertBy.js +56 -0
- package/backend/node_modules/lodash/invoke.js +24 -0
- package/backend/node_modules/lodash/invokeMap.js +41 -0
- package/backend/node_modules/lodash/isArguments.js +36 -0
- package/backend/node_modules/lodash/isArray.js +26 -0
- package/backend/node_modules/lodash/isArrayBuffer.js +27 -0
- package/backend/node_modules/lodash/isArrayLike.js +33 -0
- package/backend/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/backend/node_modules/lodash/isBoolean.js +29 -0
- package/backend/node_modules/lodash/isBuffer.js +38 -0
- package/backend/node_modules/lodash/isDate.js +27 -0
- package/backend/node_modules/lodash/isElement.js +25 -0
- package/backend/node_modules/lodash/isEmpty.js +77 -0
- package/backend/node_modules/lodash/isEqual.js +35 -0
- package/backend/node_modules/lodash/isEqualWith.js +41 -0
- package/backend/node_modules/lodash/isError.js +36 -0
- package/backend/node_modules/lodash/isFinite.js +36 -0
- package/backend/node_modules/lodash/isFunction.js +37 -0
- package/backend/node_modules/lodash/isInteger.js +33 -0
- package/backend/node_modules/lodash/isLength.js +35 -0
- package/backend/node_modules/lodash/isMap.js +27 -0
- package/backend/node_modules/lodash/isMatch.js +36 -0
- package/backend/node_modules/lodash/isMatchWith.js +41 -0
- package/backend/node_modules/lodash/isNaN.js +38 -0
- package/backend/node_modules/lodash/isNative.js +40 -0
- package/backend/node_modules/lodash/isNil.js +25 -0
- package/backend/node_modules/lodash/isNull.js +22 -0
- package/backend/node_modules/lodash/isNumber.js +38 -0
- package/backend/node_modules/lodash/isObject.js +31 -0
- package/backend/node_modules/lodash/isObjectLike.js +29 -0
- package/backend/node_modules/lodash/isPlainObject.js +62 -0
- package/backend/node_modules/lodash/isRegExp.js +27 -0
- package/backend/node_modules/lodash/isSafeInteger.js +37 -0
- package/backend/node_modules/lodash/isSet.js +27 -0
- package/backend/node_modules/lodash/isString.js +30 -0
- package/backend/node_modules/lodash/isSymbol.js +29 -0
- package/backend/node_modules/lodash/isTypedArray.js +27 -0
- package/backend/node_modules/lodash/isUndefined.js +22 -0
- package/backend/node_modules/lodash/isWeakMap.js +28 -0
- package/backend/node_modules/lodash/isWeakSet.js +28 -0
- package/backend/node_modules/lodash/iteratee.js +53 -0
- package/backend/node_modules/lodash/join.js +26 -0
- package/backend/node_modules/lodash/kebabCase.js +28 -0
- package/backend/node_modules/lodash/keyBy.js +36 -0
- package/backend/node_modules/lodash/keys.js +37 -0
- package/backend/node_modules/lodash/keysIn.js +32 -0
- package/backend/node_modules/lodash/lang.js +58 -0
- package/backend/node_modules/lodash/last.js +20 -0
- package/backend/node_modules/lodash/lastIndexOf.js +46 -0
- package/backend/node_modules/lodash/lodash.js +17248 -0
- package/backend/node_modules/lodash/lodash.min.js +140 -0
- package/backend/node_modules/lodash/lowerCase.js +27 -0
- package/backend/node_modules/lodash/lowerFirst.js +22 -0
- package/backend/node_modules/lodash/lt.js +29 -0
- package/backend/node_modules/lodash/lte.js +30 -0
- package/backend/node_modules/lodash/map.js +53 -0
- package/backend/node_modules/lodash/mapKeys.js +36 -0
- package/backend/node_modules/lodash/mapValues.js +43 -0
- package/backend/node_modules/lodash/matches.js +46 -0
- package/backend/node_modules/lodash/matchesProperty.js +44 -0
- package/backend/node_modules/lodash/math.js +17 -0
- package/backend/node_modules/lodash/max.js +29 -0
- package/backend/node_modules/lodash/maxBy.js +34 -0
- package/backend/node_modules/lodash/mean.js +22 -0
- package/backend/node_modules/lodash/meanBy.js +31 -0
- package/backend/node_modules/lodash/memoize.js +73 -0
- package/backend/node_modules/lodash/merge.js +39 -0
- package/backend/node_modules/lodash/mergeWith.js +39 -0
- package/backend/node_modules/lodash/method.js +34 -0
- package/backend/node_modules/lodash/methodOf.js +33 -0
- package/backend/node_modules/lodash/min.js +29 -0
- package/backend/node_modules/lodash/minBy.js +34 -0
- package/backend/node_modules/lodash/mixin.js +74 -0
- package/backend/node_modules/lodash/multiply.js +22 -0
- package/backend/node_modules/lodash/negate.js +40 -0
- package/backend/node_modules/lodash/next.js +35 -0
- package/backend/node_modules/lodash/noop.js +17 -0
- package/backend/node_modules/lodash/now.js +23 -0
- package/backend/node_modules/lodash/nth.js +29 -0
- package/backend/node_modules/lodash/nthArg.js +32 -0
- package/backend/node_modules/lodash/number.js +5 -0
- package/backend/node_modules/lodash/object.js +49 -0
- package/backend/node_modules/lodash/omit.js +57 -0
- package/backend/node_modules/lodash/omitBy.js +29 -0
- package/backend/node_modules/lodash/once.js +25 -0
- package/backend/node_modules/lodash/orderBy.js +47 -0
- package/backend/node_modules/lodash/over.js +24 -0
- package/backend/node_modules/lodash/overArgs.js +61 -0
- package/backend/node_modules/lodash/overEvery.js +34 -0
- package/backend/node_modules/lodash/overSome.js +37 -0
- package/backend/node_modules/lodash/package.json +17 -0
- package/backend/node_modules/lodash/pad.js +49 -0
- package/backend/node_modules/lodash/padEnd.js +39 -0
- package/backend/node_modules/lodash/padStart.js +39 -0
- package/backend/node_modules/lodash/parseInt.js +43 -0
- package/backend/node_modules/lodash/partial.js +50 -0
- package/backend/node_modules/lodash/partialRight.js +49 -0
- package/backend/node_modules/lodash/partition.js +43 -0
- package/backend/node_modules/lodash/pick.js +25 -0
- package/backend/node_modules/lodash/pickBy.js +37 -0
- package/backend/node_modules/lodash/plant.js +48 -0
- package/backend/node_modules/lodash/property.js +32 -0
- package/backend/node_modules/lodash/propertyOf.js +30 -0
- package/backend/node_modules/lodash/pull.js +29 -0
- package/backend/node_modules/lodash/pullAll.js +29 -0
- package/backend/node_modules/lodash/pullAllBy.js +33 -0
- package/backend/node_modules/lodash/pullAllWith.js +32 -0
- package/backend/node_modules/lodash/pullAt.js +43 -0
- package/backend/node_modules/lodash/random.js +82 -0
- package/backend/node_modules/lodash/range.js +46 -0
- package/backend/node_modules/lodash/rangeRight.js +41 -0
- package/backend/node_modules/lodash/rearg.js +33 -0
- package/backend/node_modules/lodash/reduce.js +51 -0
- package/backend/node_modules/lodash/reduceRight.js +36 -0
- package/backend/node_modules/lodash/reject.js +46 -0
- package/backend/node_modules/lodash/remove.js +53 -0
- package/backend/node_modules/lodash/repeat.js +37 -0
- package/backend/node_modules/lodash/replace.js +29 -0
- package/backend/node_modules/lodash/rest.js +40 -0
- package/backend/node_modules/lodash/result.js +56 -0
- package/backend/node_modules/lodash/reverse.js +34 -0
- package/backend/node_modules/lodash/round.js +26 -0
- package/backend/node_modules/lodash/sample.js +24 -0
- package/backend/node_modules/lodash/sampleSize.js +37 -0
- package/backend/node_modules/lodash/seq.js +16 -0
- package/backend/node_modules/lodash/set.js +35 -0
- package/backend/node_modules/lodash/setWith.js +32 -0
- package/backend/node_modules/lodash/shuffle.js +25 -0
- package/backend/node_modules/lodash/size.js +46 -0
- package/backend/node_modules/lodash/slice.js +37 -0
- package/backend/node_modules/lodash/snakeCase.js +28 -0
- package/backend/node_modules/lodash/some.js +51 -0
- package/backend/node_modules/lodash/sortBy.js +48 -0
- package/backend/node_modules/lodash/sortedIndex.js +24 -0
- package/backend/node_modules/lodash/sortedIndexBy.js +33 -0
- package/backend/node_modules/lodash/sortedIndexOf.js +31 -0
- package/backend/node_modules/lodash/sortedLastIndex.js +25 -0
- package/backend/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/backend/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/backend/node_modules/lodash/sortedUniq.js +24 -0
- package/backend/node_modules/lodash/sortedUniqBy.js +26 -0
- package/backend/node_modules/lodash/split.js +52 -0
- package/backend/node_modules/lodash/spread.js +63 -0
- package/backend/node_modules/lodash/startCase.js +29 -0
- package/backend/node_modules/lodash/startsWith.js +39 -0
- package/backend/node_modules/lodash/string.js +33 -0
- package/backend/node_modules/lodash/stubArray.js +23 -0
- package/backend/node_modules/lodash/stubFalse.js +18 -0
- package/backend/node_modules/lodash/stubObject.js +23 -0
- package/backend/node_modules/lodash/stubString.js +18 -0
- package/backend/node_modules/lodash/stubTrue.js +18 -0
- package/backend/node_modules/lodash/subtract.js +22 -0
- package/backend/node_modules/lodash/sum.js +24 -0
- package/backend/node_modules/lodash/sumBy.js +33 -0
- package/backend/node_modules/lodash/tail.js +22 -0
- package/backend/node_modules/lodash/take.js +37 -0
- package/backend/node_modules/lodash/takeRight.js +39 -0
- package/backend/node_modules/lodash/takeRightWhile.js +45 -0
- package/backend/node_modules/lodash/takeWhile.js +45 -0
- package/backend/node_modules/lodash/tap.js +29 -0
- package/backend/node_modules/lodash/template.js +272 -0
- package/backend/node_modules/lodash/templateSettings.js +67 -0
- package/backend/node_modules/lodash/throttle.js +69 -0
- package/backend/node_modules/lodash/thru.js +28 -0
- package/backend/node_modules/lodash/times.js +51 -0
- package/backend/node_modules/lodash/toArray.js +58 -0
- package/backend/node_modules/lodash/toFinite.js +42 -0
- package/backend/node_modules/lodash/toInteger.js +36 -0
- package/backend/node_modules/lodash/toIterator.js +23 -0
- package/backend/node_modules/lodash/toJSON.js +1 -0
- package/backend/node_modules/lodash/toLength.js +38 -0
- package/backend/node_modules/lodash/toLower.js +28 -0
- package/backend/node_modules/lodash/toNumber.js +64 -0
- package/backend/node_modules/lodash/toPairs.js +30 -0
- package/backend/node_modules/lodash/toPairsIn.js +30 -0
- package/backend/node_modules/lodash/toPath.js +33 -0
- package/backend/node_modules/lodash/toPlainObject.js +32 -0
- package/backend/node_modules/lodash/toSafeInteger.js +37 -0
- package/backend/node_modules/lodash/toString.js +28 -0
- package/backend/node_modules/lodash/toUpper.js +28 -0
- package/backend/node_modules/lodash/transform.js +65 -0
- package/backend/node_modules/lodash/trim.js +47 -0
- package/backend/node_modules/lodash/trimEnd.js +41 -0
- package/backend/node_modules/lodash/trimStart.js +43 -0
- package/backend/node_modules/lodash/truncate.js +111 -0
- package/backend/node_modules/lodash/unary.js +22 -0
- package/backend/node_modules/lodash/unescape.js +34 -0
- package/backend/node_modules/lodash/union.js +26 -0
- package/backend/node_modules/lodash/unionBy.js +39 -0
- package/backend/node_modules/lodash/unionWith.js +34 -0
- package/backend/node_modules/lodash/uniq.js +25 -0
- package/backend/node_modules/lodash/uniqBy.js +31 -0
- package/backend/node_modules/lodash/uniqWith.js +28 -0
- package/backend/node_modules/lodash/uniqueId.js +28 -0
- package/backend/node_modules/lodash/unset.js +34 -0
- package/backend/node_modules/lodash/unzip.js +45 -0
- package/backend/node_modules/lodash/unzipWith.js +39 -0
- package/backend/node_modules/lodash/update.js +35 -0
- package/backend/node_modules/lodash/updateWith.js +33 -0
- package/backend/node_modules/lodash/upperCase.js +27 -0
- package/backend/node_modules/lodash/upperFirst.js +22 -0
- package/backend/node_modules/lodash/util.js +34 -0
- package/backend/node_modules/lodash/value.js +1 -0
- package/backend/node_modules/lodash/valueOf.js +1 -0
- package/backend/node_modules/lodash/values.js +34 -0
- package/backend/node_modules/lodash/valuesIn.js +32 -0
- package/backend/node_modules/lodash/without.js +31 -0
- package/backend/node_modules/lodash/words.js +35 -0
- package/backend/node_modules/lodash/wrap.js +30 -0
- package/backend/node_modules/lodash/wrapperAt.js +48 -0
- package/backend/node_modules/lodash/wrapperChain.js +34 -0
- package/backend/node_modules/lodash/wrapperLodash.js +147 -0
- package/backend/node_modules/lodash/wrapperReverse.js +44 -0
- package/backend/node_modules/lodash/wrapperValue.js +21 -0
- package/backend/node_modules/lodash/xor.js +28 -0
- package/backend/node_modules/lodash/xorBy.js +39 -0
- package/backend/node_modules/lodash/xorWith.js +34 -0
- package/backend/node_modules/lodash/zip.js +22 -0
- package/backend/node_modules/lodash/zipObject.js +24 -0
- package/backend/node_modules/lodash/zipObjectDeep.js +23 -0
- package/backend/node_modules/lodash/zipWith.js +32 -0
- package/dist/cli.js +31 -3
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- /package/frontend/.next/static/{Y8bvqh5Eqw1QrBKc87axS → EyjGkDjuK1hTOiLyWRmXG}/_buildManifest.js +0 -0
- /package/frontend/.next/static/{Y8bvqh5Eqw1QrBKc87axS → EyjGkDjuK1hTOiLyWRmXG}/_clientMiddlewareManifest.json +0 -0
- /package/frontend/.next/static/{Y8bvqh5Eqw1QrBKc87axS → EyjGkDjuK1hTOiLyWRmXG}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,2186 @@
|
|
|
1
|
+
// better_sqlite3.cpp
|
|
2
|
+
//
|
|
3
|
+
|
|
4
|
+
#include "better_sqlite3.hpp"
|
|
5
|
+
#line 154 "./src/util/macros.lzz"
|
|
6
|
+
void SetPrototypeGetter(
|
|
7
|
+
v8::Isolate* isolate,
|
|
8
|
+
v8::Local<v8::External> data,
|
|
9
|
+
v8::Local<v8::FunctionTemplate> recv,
|
|
10
|
+
const char* name,
|
|
11
|
+
v8::AccessorNameGetterCallback func
|
|
12
|
+
) {
|
|
13
|
+
v8::HandleScope scope(isolate);
|
|
14
|
+
|
|
15
|
+
#if defined NODE_MODULE_VERSION && NODE_MODULE_VERSION < 121
|
|
16
|
+
recv->InstanceTemplate()->SetAccessor(
|
|
17
|
+
InternalizedFromLatin1(isolate, name),
|
|
18
|
+
func,
|
|
19
|
+
0,
|
|
20
|
+
data,
|
|
21
|
+
v8::AccessControl::DEFAULT,
|
|
22
|
+
v8::PropertyAttribute::None
|
|
23
|
+
);
|
|
24
|
+
#else
|
|
25
|
+
recv->InstanceTemplate()->SetNativeDataProperty(
|
|
26
|
+
InternalizedFromLatin1(isolate, name),
|
|
27
|
+
func,
|
|
28
|
+
0,
|
|
29
|
+
data
|
|
30
|
+
);
|
|
31
|
+
#endif
|
|
32
|
+
}
|
|
33
|
+
#line 184 "./src/util/macros.lzz"
|
|
34
|
+
#ifndef V8_COMPRESS_POINTERS_IN_SHARED_CAGE
|
|
35
|
+
#define SAFE_NEW_BUFFER(env, data, length, finalizeCallback, finalizeHint) node::Buffer::New(env, data, length, finalizeCallback, finalizeHint)
|
|
36
|
+
#else
|
|
37
|
+
static inline v8::MaybeLocal<v8::Object> BufferSandboxNew(v8::Isolate* isolate, char* data, size_t length, void (*finalizeCallback)(char*, void*), void* finalizeHint) {
|
|
38
|
+
v8::MaybeLocal<v8::Object> buffer = node::Buffer::Copy(isolate, data, length);
|
|
39
|
+
finalizeCallback(data, finalizeHint);
|
|
40
|
+
return buffer;
|
|
41
|
+
}
|
|
42
|
+
#define SAFE_NEW_BUFFER(env, data, length, finalizeCallback, finalizeHint) BufferSandboxNew(env, data, length, finalizeCallback, finalizeHint)
|
|
43
|
+
#endif
|
|
44
|
+
#line 39 "./src/util/binder.lzz"
|
|
45
|
+
static bool IsPlainObject(v8::Isolate* isolate, v8::Local<v8::Object> obj) {
|
|
46
|
+
v8::Local<v8::Value> proto = obj->GetPrototype();
|
|
47
|
+
|
|
48
|
+
#if defined NODE_MODULE_VERSION && NODE_MODULE_VERSION < 93
|
|
49
|
+
v8::Local<v8::Context> ctx = obj->CreationContext();
|
|
50
|
+
#else
|
|
51
|
+
v8::Local<v8::Context> ctx = obj->GetCreationContext().ToLocalChecked();
|
|
52
|
+
#endif
|
|
53
|
+
|
|
54
|
+
ctx->Enter();
|
|
55
|
+
v8::Local<v8::Value> baseProto = v8::Object::New(isolate)->GetPrototype();
|
|
56
|
+
ctx->Exit();
|
|
57
|
+
return proto->StrictEquals(baseProto) || proto->StrictEquals(v8::Null(isolate));
|
|
58
|
+
}
|
|
59
|
+
#line 67 "./src/better_sqlite3.lzz"
|
|
60
|
+
NODE_MODULE_INIT(/* exports, context */) {
|
|
61
|
+
v8::Isolate* isolate = context->GetIsolate();
|
|
62
|
+
v8::HandleScope scope(isolate);
|
|
63
|
+
|
|
64
|
+
// Initialize addon instance.
|
|
65
|
+
Addon* addon = new Addon(isolate);
|
|
66
|
+
v8::Local<v8::External> data = v8::External::New(isolate, addon);
|
|
67
|
+
node::AddEnvironmentCleanupHook(isolate, Addon::Cleanup, addon);
|
|
68
|
+
|
|
69
|
+
// Create and export native-backed classes and functions.
|
|
70
|
+
exports->Set(context, InternalizedFromLatin1(isolate, "Database"), Database::Init(isolate, data)).FromJust();
|
|
71
|
+
exports->Set(context, InternalizedFromLatin1(isolate, "Statement"), Statement::Init(isolate, data)).FromJust();
|
|
72
|
+
exports->Set(context, InternalizedFromLatin1(isolate, "StatementIterator"), StatementIterator::Init(isolate, data)).FromJust();
|
|
73
|
+
exports->Set(context, InternalizedFromLatin1(isolate, "Backup"), Backup::Init(isolate, data)).FromJust();
|
|
74
|
+
exports->Set(context, InternalizedFromLatin1(isolate, "setErrorConstructor"), v8::FunctionTemplate::New(isolate, Addon::JS_setErrorConstructor, data)->GetFunction(context).ToLocalChecked()).FromJust();
|
|
75
|
+
|
|
76
|
+
// Store addon instance data.
|
|
77
|
+
addon->Statement.Reset(isolate, exports->Get(context, InternalizedFromLatin1(isolate, "Statement")).ToLocalChecked().As<v8::Function>());
|
|
78
|
+
addon->StatementIterator.Reset(isolate, exports->Get(context, InternalizedFromLatin1(isolate, "StatementIterator")).ToLocalChecked().As<v8::Function>());
|
|
79
|
+
addon->Backup.Reset(isolate, exports->Get(context, InternalizedFromLatin1(isolate, "Backup")).ToLocalChecked().As<v8::Function>());
|
|
80
|
+
}
|
|
81
|
+
#define LZZ_INLINE inline
|
|
82
|
+
#line 65 "./src/util/data.lzz"
|
|
83
|
+
namespace Data
|
|
84
|
+
{
|
|
85
|
+
#line 67 "./src/util/data.lzz"
|
|
86
|
+
static char const FLAT = 0;
|
|
87
|
+
}
|
|
88
|
+
#line 65 "./src/util/data.lzz"
|
|
89
|
+
namespace Data
|
|
90
|
+
{
|
|
91
|
+
#line 68 "./src/util/data.lzz"
|
|
92
|
+
static char const PLUCK = 1;
|
|
93
|
+
}
|
|
94
|
+
#line 65 "./src/util/data.lzz"
|
|
95
|
+
namespace Data
|
|
96
|
+
{
|
|
97
|
+
#line 69 "./src/util/data.lzz"
|
|
98
|
+
static char const EXPAND = 2;
|
|
99
|
+
}
|
|
100
|
+
#line 65 "./src/util/data.lzz"
|
|
101
|
+
namespace Data
|
|
102
|
+
{
|
|
103
|
+
#line 70 "./src/util/data.lzz"
|
|
104
|
+
static char const RAW = 3;
|
|
105
|
+
}
|
|
106
|
+
#line 38 "./src/util/macros.lzz"
|
|
107
|
+
void ThrowError (char const * message)
|
|
108
|
+
#line 38 "./src/util/macros.lzz"
|
|
109
|
+
{ v8 :: Isolate * isolate = v8 :: Isolate :: GetCurrent ( ) ; isolate->ThrowException(v8::Exception::Error(StringFromUtf8(isolate, message, -1)));
|
|
110
|
+
}
|
|
111
|
+
#line 39 "./src/util/macros.lzz"
|
|
112
|
+
void ThrowTypeError (char const * message)
|
|
113
|
+
#line 39 "./src/util/macros.lzz"
|
|
114
|
+
{ v8 :: Isolate * isolate = v8 :: Isolate :: GetCurrent ( ) ; isolate->ThrowException(v8::Exception::TypeError(StringFromUtf8(isolate, message, -1)));
|
|
115
|
+
}
|
|
116
|
+
#line 40 "./src/util/macros.lzz"
|
|
117
|
+
void ThrowRangeError (char const * message)
|
|
118
|
+
#line 40 "./src/util/macros.lzz"
|
|
119
|
+
{ v8 :: Isolate * isolate = v8 :: Isolate :: GetCurrent ( ) ; isolate->ThrowException(v8::Exception::RangeError(StringFromUtf8(isolate, message, -1)));
|
|
120
|
+
}
|
|
121
|
+
#line 106 "./src/util/macros.lzz"
|
|
122
|
+
v8::Local <v8::FunctionTemplate> NewConstructorTemplate (v8::Isolate * isolate, v8::Local <v8::External> data, v8::FunctionCallback func, char const * name)
|
|
123
|
+
#line 111 "./src/util/macros.lzz"
|
|
124
|
+
{
|
|
125
|
+
v8::Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate, func, data);
|
|
126
|
+
t->InstanceTemplate()->SetInternalFieldCount(1);
|
|
127
|
+
t->SetClassName(InternalizedFromLatin1(isolate, name));
|
|
128
|
+
return t;
|
|
129
|
+
}
|
|
130
|
+
#line 117 "./src/util/macros.lzz"
|
|
131
|
+
void SetPrototypeMethod (v8::Isolate * isolate, v8::Local <v8::External> data, v8::Local <v8::FunctionTemplate> recv, char const * name, v8::FunctionCallback func)
|
|
132
|
+
#line 123 "./src/util/macros.lzz"
|
|
133
|
+
{
|
|
134
|
+
v8::HandleScope scope(isolate);
|
|
135
|
+
recv->PrototypeTemplate()->Set(
|
|
136
|
+
InternalizedFromLatin1(isolate, name),
|
|
137
|
+
v8::FunctionTemplate::New(isolate, func, data, v8::Signature::New(isolate, recv))
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
#line 130 "./src/util/macros.lzz"
|
|
141
|
+
void SetPrototypeSymbolMethod (v8::Isolate * isolate, v8::Local <v8::External> data, v8::Local <v8::FunctionTemplate> recv, v8::Local <v8::Symbol> symbol, v8::FunctionCallback func)
|
|
142
|
+
#line 136 "./src/util/macros.lzz"
|
|
143
|
+
{
|
|
144
|
+
v8::HandleScope scope(isolate);
|
|
145
|
+
recv->PrototypeTemplate()->Set(
|
|
146
|
+
symbol,
|
|
147
|
+
v8::FunctionTemplate::New(isolate, func, data, v8::Signature::New(isolate, recv))
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
#line 4 "./src/util/constants.lzz"
|
|
151
|
+
v8::Local <v8::String> CS::Code (v8::Isolate * isolate, int code)
|
|
152
|
+
#line 4 "./src/util/constants.lzz"
|
|
153
|
+
{
|
|
154
|
+
auto element = codes.find(code);
|
|
155
|
+
if (element != codes.end()) return element->second.Get(isolate);
|
|
156
|
+
return StringFromUtf8(isolate, (std::string("UNKNOWN_SQLITE_ERROR_") + std::to_string(code)).c_str(), -1);
|
|
157
|
+
}
|
|
158
|
+
#line 10 "./src/util/constants.lzz"
|
|
159
|
+
CS::CS (v8::Isolate * isolate)
|
|
160
|
+
#line 10 "./src/util/constants.lzz"
|
|
161
|
+
{
|
|
162
|
+
SetString(isolate, database, "database");
|
|
163
|
+
SetString(isolate, reader, "reader");
|
|
164
|
+
SetString(isolate, source, "source");
|
|
165
|
+
SetString(isolate, memory, "memory");
|
|
166
|
+
SetString(isolate, readonly, "readonly");
|
|
167
|
+
SetString(isolate, name, "name");
|
|
168
|
+
SetString(isolate, next, "next");
|
|
169
|
+
SetString(isolate, length, "length");
|
|
170
|
+
SetString(isolate, done, "done");
|
|
171
|
+
SetString(isolate, value, "value");
|
|
172
|
+
SetString(isolate, changes, "changes");
|
|
173
|
+
SetString(isolate, lastInsertRowid, "lastInsertRowid");
|
|
174
|
+
SetString(isolate, statement, "statement");
|
|
175
|
+
SetString(isolate, column, "column");
|
|
176
|
+
SetString(isolate, table, "table");
|
|
177
|
+
SetString(isolate, type, "type");
|
|
178
|
+
SetString(isolate, totalPages, "totalPages");
|
|
179
|
+
SetString(isolate, remainingPages, "remainingPages");
|
|
180
|
+
|
|
181
|
+
SetCode(isolate, SQLITE_OK, "SQLITE_OK");
|
|
182
|
+
SetCode(isolate, SQLITE_ERROR, "SQLITE_ERROR");
|
|
183
|
+
SetCode(isolate, SQLITE_INTERNAL, "SQLITE_INTERNAL");
|
|
184
|
+
SetCode(isolate, SQLITE_PERM, "SQLITE_PERM");
|
|
185
|
+
SetCode(isolate, SQLITE_ABORT, "SQLITE_ABORT");
|
|
186
|
+
SetCode(isolate, SQLITE_BUSY, "SQLITE_BUSY");
|
|
187
|
+
SetCode(isolate, SQLITE_LOCKED, "SQLITE_LOCKED");
|
|
188
|
+
SetCode(isolate, SQLITE_NOMEM, "SQLITE_NOMEM");
|
|
189
|
+
SetCode(isolate, SQLITE_READONLY, "SQLITE_READONLY");
|
|
190
|
+
SetCode(isolate, SQLITE_INTERRUPT, "SQLITE_INTERRUPT");
|
|
191
|
+
SetCode(isolate, SQLITE_IOERR, "SQLITE_IOERR");
|
|
192
|
+
SetCode(isolate, SQLITE_CORRUPT, "SQLITE_CORRUPT");
|
|
193
|
+
SetCode(isolate, SQLITE_NOTFOUND, "SQLITE_NOTFOUND");
|
|
194
|
+
SetCode(isolate, SQLITE_FULL, "SQLITE_FULL");
|
|
195
|
+
SetCode(isolate, SQLITE_CANTOPEN, "SQLITE_CANTOPEN");
|
|
196
|
+
SetCode(isolate, SQLITE_PROTOCOL, "SQLITE_PROTOCOL");
|
|
197
|
+
SetCode(isolate, SQLITE_EMPTY, "SQLITE_EMPTY");
|
|
198
|
+
SetCode(isolate, SQLITE_SCHEMA, "SQLITE_SCHEMA");
|
|
199
|
+
SetCode(isolate, SQLITE_TOOBIG, "SQLITE_TOOBIG");
|
|
200
|
+
SetCode(isolate, SQLITE_CONSTRAINT, "SQLITE_CONSTRAINT");
|
|
201
|
+
SetCode(isolate, SQLITE_MISMATCH, "SQLITE_MISMATCH");
|
|
202
|
+
SetCode(isolate, SQLITE_MISUSE, "SQLITE_MISUSE");
|
|
203
|
+
SetCode(isolate, SQLITE_NOLFS, "SQLITE_NOLFS");
|
|
204
|
+
SetCode(isolate, SQLITE_AUTH, "SQLITE_AUTH");
|
|
205
|
+
SetCode(isolate, SQLITE_FORMAT, "SQLITE_FORMAT");
|
|
206
|
+
SetCode(isolate, SQLITE_RANGE, "SQLITE_RANGE");
|
|
207
|
+
SetCode(isolate, SQLITE_NOTADB, "SQLITE_NOTADB");
|
|
208
|
+
SetCode(isolate, SQLITE_NOTICE, "SQLITE_NOTICE");
|
|
209
|
+
SetCode(isolate, SQLITE_WARNING, "SQLITE_WARNING");
|
|
210
|
+
SetCode(isolate, SQLITE_ROW, "SQLITE_ROW");
|
|
211
|
+
SetCode(isolate, SQLITE_DONE, "SQLITE_DONE");
|
|
212
|
+
|
|
213
|
+
SetCode(isolate, SQLITE_ERROR_MISSING_COLLSEQ, "SQLITE_ERROR_MISSING_COLLSEQ");
|
|
214
|
+
SetCode(isolate, SQLITE_ERROR_RETRY, "SQLITE_ERROR_RETRY");
|
|
215
|
+
SetCode(isolate, SQLITE_ERROR_SNAPSHOT, "SQLITE_ERROR_SNAPSHOT");
|
|
216
|
+
SetCode(isolate, SQLITE_IOERR_READ, "SQLITE_IOERR_READ");
|
|
217
|
+
SetCode(isolate, SQLITE_IOERR_SHORT_READ, "SQLITE_IOERR_SHORT_READ");
|
|
218
|
+
SetCode(isolate, SQLITE_IOERR_WRITE, "SQLITE_IOERR_WRITE");
|
|
219
|
+
SetCode(isolate, SQLITE_IOERR_FSYNC, "SQLITE_IOERR_FSYNC");
|
|
220
|
+
SetCode(isolate, SQLITE_IOERR_DIR_FSYNC, "SQLITE_IOERR_DIR_FSYNC");
|
|
221
|
+
SetCode(isolate, SQLITE_IOERR_TRUNCATE, "SQLITE_IOERR_TRUNCATE");
|
|
222
|
+
SetCode(isolate, SQLITE_IOERR_FSTAT, "SQLITE_IOERR_FSTAT");
|
|
223
|
+
SetCode(isolate, SQLITE_IOERR_UNLOCK, "SQLITE_IOERR_UNLOCK");
|
|
224
|
+
SetCode(isolate, SQLITE_IOERR_RDLOCK, "SQLITE_IOERR_RDLOCK");
|
|
225
|
+
SetCode(isolate, SQLITE_IOERR_DELETE, "SQLITE_IOERR_DELETE");
|
|
226
|
+
SetCode(isolate, SQLITE_IOERR_BLOCKED, "SQLITE_IOERR_BLOCKED");
|
|
227
|
+
SetCode(isolate, SQLITE_IOERR_NOMEM, "SQLITE_IOERR_NOMEM");
|
|
228
|
+
SetCode(isolate, SQLITE_IOERR_ACCESS, "SQLITE_IOERR_ACCESS");
|
|
229
|
+
SetCode(isolate, SQLITE_IOERR_CHECKRESERVEDLOCK, "SQLITE_IOERR_CHECKRESERVEDLOCK");
|
|
230
|
+
SetCode(isolate, SQLITE_IOERR_LOCK, "SQLITE_IOERR_LOCK");
|
|
231
|
+
SetCode(isolate, SQLITE_IOERR_CLOSE, "SQLITE_IOERR_CLOSE");
|
|
232
|
+
SetCode(isolate, SQLITE_IOERR_DIR_CLOSE, "SQLITE_IOERR_DIR_CLOSE");
|
|
233
|
+
SetCode(isolate, SQLITE_IOERR_SHMOPEN, "SQLITE_IOERR_SHMOPEN");
|
|
234
|
+
SetCode(isolate, SQLITE_IOERR_SHMSIZE, "SQLITE_IOERR_SHMSIZE");
|
|
235
|
+
SetCode(isolate, SQLITE_IOERR_SHMLOCK, "SQLITE_IOERR_SHMLOCK");
|
|
236
|
+
SetCode(isolate, SQLITE_IOERR_SHMMAP, "SQLITE_IOERR_SHMMAP");
|
|
237
|
+
SetCode(isolate, SQLITE_IOERR_SEEK, "SQLITE_IOERR_SEEK");
|
|
238
|
+
SetCode(isolate, SQLITE_IOERR_DELETE_NOENT, "SQLITE_IOERR_DELETE_NOENT");
|
|
239
|
+
SetCode(isolate, SQLITE_IOERR_MMAP, "SQLITE_IOERR_MMAP");
|
|
240
|
+
SetCode(isolate, SQLITE_IOERR_GETTEMPPATH, "SQLITE_IOERR_GETTEMPPATH");
|
|
241
|
+
SetCode(isolate, SQLITE_IOERR_CONVPATH, "SQLITE_IOERR_CONVPATH");
|
|
242
|
+
SetCode(isolate, SQLITE_IOERR_VNODE, "SQLITE_IOERR_VNODE");
|
|
243
|
+
SetCode(isolate, SQLITE_IOERR_AUTH, "SQLITE_IOERR_AUTH");
|
|
244
|
+
SetCode(isolate, SQLITE_IOERR_BEGIN_ATOMIC, "SQLITE_IOERR_BEGIN_ATOMIC");
|
|
245
|
+
SetCode(isolate, SQLITE_IOERR_COMMIT_ATOMIC, "SQLITE_IOERR_COMMIT_ATOMIC");
|
|
246
|
+
SetCode(isolate, SQLITE_IOERR_ROLLBACK_ATOMIC, "SQLITE_IOERR_ROLLBACK_ATOMIC");
|
|
247
|
+
SetCode(isolate, SQLITE_IOERR_DATA, "SQLITE_IOERR_DATA");
|
|
248
|
+
SetCode(isolate, SQLITE_IOERR_CORRUPTFS, "SQLITE_IOERR_CORRUPTFS");
|
|
249
|
+
SetCode(isolate, SQLITE_IOERR_IN_PAGE, "SQLITE_IOERR_IN_PAGE");
|
|
250
|
+
SetCode(isolate, SQLITE_LOCKED_SHAREDCACHE, "SQLITE_LOCKED_SHAREDCACHE");
|
|
251
|
+
SetCode(isolate, SQLITE_LOCKED_VTAB, "SQLITE_LOCKED_VTAB");
|
|
252
|
+
SetCode(isolate, SQLITE_BUSY_RECOVERY, "SQLITE_BUSY_RECOVERY");
|
|
253
|
+
SetCode(isolate, SQLITE_BUSY_SNAPSHOT, "SQLITE_BUSY_SNAPSHOT");
|
|
254
|
+
SetCode(isolate, SQLITE_CANTOPEN_NOTEMPDIR, "SQLITE_CANTOPEN_NOTEMPDIR");
|
|
255
|
+
SetCode(isolate, SQLITE_CANTOPEN_ISDIR, "SQLITE_CANTOPEN_ISDIR");
|
|
256
|
+
SetCode(isolate, SQLITE_CANTOPEN_FULLPATH, "SQLITE_CANTOPEN_FULLPATH");
|
|
257
|
+
SetCode(isolate, SQLITE_CANTOPEN_CONVPATH, "SQLITE_CANTOPEN_CONVPATH");
|
|
258
|
+
SetCode(isolate, SQLITE_CANTOPEN_DIRTYWAL, "SQLITE_CANTOPEN_DIRTYWAL");
|
|
259
|
+
SetCode(isolate, SQLITE_CANTOPEN_SYMLINK, "SQLITE_CANTOPEN_SYMLINK");
|
|
260
|
+
SetCode(isolate, SQLITE_CORRUPT_VTAB, "SQLITE_CORRUPT_VTAB");
|
|
261
|
+
SetCode(isolate, SQLITE_CORRUPT_SEQUENCE, "SQLITE_CORRUPT_SEQUENCE");
|
|
262
|
+
SetCode(isolate, SQLITE_CORRUPT_INDEX, "SQLITE_CORRUPT_INDEX");
|
|
263
|
+
SetCode(isolate, SQLITE_READONLY_RECOVERY, "SQLITE_READONLY_RECOVERY");
|
|
264
|
+
SetCode(isolate, SQLITE_READONLY_CANTLOCK, "SQLITE_READONLY_CANTLOCK");
|
|
265
|
+
SetCode(isolate, SQLITE_READONLY_ROLLBACK, "SQLITE_READONLY_ROLLBACK");
|
|
266
|
+
SetCode(isolate, SQLITE_READONLY_DBMOVED, "SQLITE_READONLY_DBMOVED");
|
|
267
|
+
SetCode(isolate, SQLITE_READONLY_CANTINIT, "SQLITE_READONLY_CANTINIT");
|
|
268
|
+
SetCode(isolate, SQLITE_READONLY_DIRECTORY, "SQLITE_READONLY_DIRECTORY");
|
|
269
|
+
SetCode(isolate, SQLITE_ABORT_ROLLBACK, "SQLITE_ABORT_ROLLBACK");
|
|
270
|
+
SetCode(isolate, SQLITE_CONSTRAINT_CHECK, "SQLITE_CONSTRAINT_CHECK");
|
|
271
|
+
SetCode(isolate, SQLITE_CONSTRAINT_COMMITHOOK, "SQLITE_CONSTRAINT_COMMITHOOK");
|
|
272
|
+
SetCode(isolate, SQLITE_CONSTRAINT_FOREIGNKEY, "SQLITE_CONSTRAINT_FOREIGNKEY");
|
|
273
|
+
SetCode(isolate, SQLITE_CONSTRAINT_FUNCTION, "SQLITE_CONSTRAINT_FUNCTION");
|
|
274
|
+
SetCode(isolate, SQLITE_CONSTRAINT_NOTNULL, "SQLITE_CONSTRAINT_NOTNULL");
|
|
275
|
+
SetCode(isolate, SQLITE_CONSTRAINT_PRIMARYKEY, "SQLITE_CONSTRAINT_PRIMARYKEY");
|
|
276
|
+
SetCode(isolate, SQLITE_CONSTRAINT_TRIGGER, "SQLITE_CONSTRAINT_TRIGGER");
|
|
277
|
+
SetCode(isolate, SQLITE_CONSTRAINT_UNIQUE, "SQLITE_CONSTRAINT_UNIQUE");
|
|
278
|
+
SetCode(isolate, SQLITE_CONSTRAINT_VTAB, "SQLITE_CONSTRAINT_VTAB");
|
|
279
|
+
SetCode(isolate, SQLITE_CONSTRAINT_ROWID, "SQLITE_CONSTRAINT_ROWID");
|
|
280
|
+
SetCode(isolate, SQLITE_CONSTRAINT_PINNED, "SQLITE_CONSTRAINT_PINNED");
|
|
281
|
+
SetCode(isolate, SQLITE_CONSTRAINT_DATATYPE, "SQLITE_CONSTRAINT_DATATYPE");
|
|
282
|
+
SetCode(isolate, SQLITE_NOTICE_RECOVER_WAL, "SQLITE_NOTICE_RECOVER_WAL");
|
|
283
|
+
SetCode(isolate, SQLITE_NOTICE_RECOVER_ROLLBACK, "SQLITE_NOTICE_RECOVER_ROLLBACK");
|
|
284
|
+
SetCode(isolate, SQLITE_NOTICE_RBU, "SQLITE_NOTICE_RBU");
|
|
285
|
+
SetCode(isolate, SQLITE_WARNING_AUTOINDEX, "SQLITE_WARNING_AUTOINDEX");
|
|
286
|
+
SetCode(isolate, SQLITE_AUTH_USER, "SQLITE_AUTH_USER");
|
|
287
|
+
SetCode(isolate, SQLITE_OK_LOAD_PERMANENTLY, "SQLITE_OK_LOAD_PERMANENTLY");
|
|
288
|
+
SetCode(isolate, SQLITE_OK_SYMLINK, "SQLITE_OK_SYMLINK");
|
|
289
|
+
}
|
|
290
|
+
#line 161 "./src/util/constants.lzz"
|
|
291
|
+
void CS::SetString (v8::Isolate * isolate, v8::Global <v8::String> & constant, char const * str)
|
|
292
|
+
#line 161 "./src/util/constants.lzz"
|
|
293
|
+
{
|
|
294
|
+
constant.Reset(isolate, InternalizedFromLatin1(isolate, str));
|
|
295
|
+
}
|
|
296
|
+
#line 165 "./src/util/constants.lzz"
|
|
297
|
+
void CS::SetCode (v8::Isolate * isolate, int code, char const * str)
|
|
298
|
+
#line 165 "./src/util/constants.lzz"
|
|
299
|
+
{
|
|
300
|
+
codes.emplace(std::piecewise_construct,
|
|
301
|
+
std::forward_as_tuple(code),
|
|
302
|
+
std::forward_as_tuple(isolate, InternalizedFromLatin1(isolate, str)));
|
|
303
|
+
}
|
|
304
|
+
#line 19 "./src/util/bind-map.lzz"
|
|
305
|
+
BindMap::Pair::Pair (v8::Isolate * isolate, char const * name, int index)
|
|
306
|
+
#line 20 "./src/util/bind-map.lzz"
|
|
307
|
+
: name (isolate, InternalizedFromUtf8(isolate, name, -1)), index (index)
|
|
308
|
+
#line 20 "./src/util/bind-map.lzz"
|
|
309
|
+
{}
|
|
310
|
+
#line 22 "./src/util/bind-map.lzz"
|
|
311
|
+
BindMap::Pair::Pair (v8::Isolate * isolate, Pair * pair)
|
|
312
|
+
#line 23 "./src/util/bind-map.lzz"
|
|
313
|
+
: name (isolate, pair->name), index (pair->index)
|
|
314
|
+
#line 23 "./src/util/bind-map.lzz"
|
|
315
|
+
{}
|
|
316
|
+
#line 29 "./src/util/bind-map.lzz"
|
|
317
|
+
BindMap::BindMap (char _)
|
|
318
|
+
#line 29 "./src/util/bind-map.lzz"
|
|
319
|
+
{
|
|
320
|
+
assert(_ == 0);
|
|
321
|
+
pairs = NULL;
|
|
322
|
+
capacity = 0;
|
|
323
|
+
length = 0;
|
|
324
|
+
}
|
|
325
|
+
#line 36 "./src/util/bind-map.lzz"
|
|
326
|
+
BindMap::~ BindMap ()
|
|
327
|
+
#line 36 "./src/util/bind-map.lzz"
|
|
328
|
+
{
|
|
329
|
+
while (length) pairs[--length].~Pair();
|
|
330
|
+
FREE_ARRAY<Pair>(pairs);
|
|
331
|
+
}
|
|
332
|
+
#line 50 "./src/util/bind-map.lzz"
|
|
333
|
+
void BindMap::Add (v8::Isolate * isolate, char const * name, int index)
|
|
334
|
+
#line 50 "./src/util/bind-map.lzz"
|
|
335
|
+
{
|
|
336
|
+
assert(name != NULL);
|
|
337
|
+
if (capacity == length) Grow(isolate);
|
|
338
|
+
new (pairs + length++) Pair(isolate, name, index);
|
|
339
|
+
}
|
|
340
|
+
#line 58 "./src/util/bind-map.lzz"
|
|
341
|
+
void BindMap::Grow (v8::Isolate * isolate)
|
|
342
|
+
#line 58 "./src/util/bind-map.lzz"
|
|
343
|
+
{
|
|
344
|
+
assert(capacity == length);
|
|
345
|
+
capacity = (capacity << 1) | 2;
|
|
346
|
+
Pair* new_pairs = ALLOC_ARRAY<Pair>(capacity);
|
|
347
|
+
for (int i = 0; i < length; ++i) {
|
|
348
|
+
new (new_pairs + i) Pair(isolate, pairs + i);
|
|
349
|
+
pairs[i].~Pair();
|
|
350
|
+
}
|
|
351
|
+
FREE_ARRAY<Pair>(pairs);
|
|
352
|
+
pairs = new_pairs;
|
|
353
|
+
}
|
|
354
|
+
#line 4 "./src/objects/database.lzz"
|
|
355
|
+
v8::Local <v8 :: Function> Database::Init (v8::Isolate * isolate, v8::Local <v8 :: External> data)
|
|
356
|
+
#line 4 "./src/objects/database.lzz"
|
|
357
|
+
{
|
|
358
|
+
v8::Local<v8::FunctionTemplate> t = NewConstructorTemplate(isolate, data, JS_new, "Database");
|
|
359
|
+
SetPrototypeMethod(isolate, data, t, "prepare", JS_prepare);
|
|
360
|
+
SetPrototypeMethod(isolate, data, t, "exec", JS_exec);
|
|
361
|
+
SetPrototypeMethod(isolate, data, t, "backup", JS_backup);
|
|
362
|
+
SetPrototypeMethod(isolate, data, t, "serialize", JS_serialize);
|
|
363
|
+
SetPrototypeMethod(isolate, data, t, "function", JS_function);
|
|
364
|
+
SetPrototypeMethod(isolate, data, t, "aggregate", JS_aggregate);
|
|
365
|
+
SetPrototypeMethod(isolate, data, t, "table", JS_table);
|
|
366
|
+
SetPrototypeMethod(isolate, data, t, "loadExtension", JS_loadExtension);
|
|
367
|
+
SetPrototypeMethod(isolate, data, t, "close", JS_close);
|
|
368
|
+
SetPrototypeMethod(isolate, data, t, "defaultSafeIntegers", JS_defaultSafeIntegers);
|
|
369
|
+
SetPrototypeMethod(isolate, data, t, "unsafeMode", JS_unsafeMode);
|
|
370
|
+
SetPrototypeGetter(isolate, data, t, "open", JS_open);
|
|
371
|
+
SetPrototypeGetter(isolate, data, t, "inTransaction", JS_inTransaction);
|
|
372
|
+
return t->GetFunction( isolate -> GetCurrentContext ( ) ).ToLocalChecked();
|
|
373
|
+
}
|
|
374
|
+
#line 24 "./src/objects/database.lzz"
|
|
375
|
+
bool Database::CompareDatabase::operator () (Database const * const a, Database const * const b) const
|
|
376
|
+
#line 24 "./src/objects/database.lzz"
|
|
377
|
+
{
|
|
378
|
+
return a < b;
|
|
379
|
+
}
|
|
380
|
+
#line 29 "./src/objects/database.lzz"
|
|
381
|
+
bool Database::CompareStatement::operator () (Statement const * const a, Statement const * const b) const
|
|
382
|
+
#line 29 "./src/objects/database.lzz"
|
|
383
|
+
{
|
|
384
|
+
return Statement::Compare(a, b);
|
|
385
|
+
}
|
|
386
|
+
#line 34 "./src/objects/database.lzz"
|
|
387
|
+
bool Database::CompareBackup::operator () (Backup const * const a, Backup const * const b) const
|
|
388
|
+
#line 34 "./src/objects/database.lzz"
|
|
389
|
+
{
|
|
390
|
+
return Backup::Compare(a, b);
|
|
391
|
+
}
|
|
392
|
+
#line 40 "./src/objects/database.lzz"
|
|
393
|
+
void Database::ThrowDatabaseError ()
|
|
394
|
+
#line 40 "./src/objects/database.lzz"
|
|
395
|
+
{
|
|
396
|
+
if (was_js_error) was_js_error = false;
|
|
397
|
+
else ThrowSqliteError(addon, db_handle);
|
|
398
|
+
}
|
|
399
|
+
#line 44 "./src/objects/database.lzz"
|
|
400
|
+
void Database::ThrowSqliteError (Addon * addon, sqlite3 * db_handle)
|
|
401
|
+
#line 44 "./src/objects/database.lzz"
|
|
402
|
+
{
|
|
403
|
+
assert(db_handle != NULL);
|
|
404
|
+
ThrowSqliteError(addon, sqlite3_errmsg(db_handle), sqlite3_extended_errcode(db_handle));
|
|
405
|
+
}
|
|
406
|
+
#line 48 "./src/objects/database.lzz"
|
|
407
|
+
void Database::ThrowSqliteError (Addon * addon, char const * message, int code)
|
|
408
|
+
#line 48 "./src/objects/database.lzz"
|
|
409
|
+
{
|
|
410
|
+
assert(message != NULL);
|
|
411
|
+
assert((code & 0xff) != SQLITE_OK);
|
|
412
|
+
assert((code & 0xff) != SQLITE_ROW);
|
|
413
|
+
assert((code & 0xff) != SQLITE_DONE);
|
|
414
|
+
v8 :: Isolate * isolate = v8 :: Isolate :: GetCurrent ( ) ;
|
|
415
|
+
v8::Local<v8::Value> args[2] = {
|
|
416
|
+
StringFromUtf8(isolate, message, -1),
|
|
417
|
+
addon->cs.Code(isolate, code)
|
|
418
|
+
};
|
|
419
|
+
isolate->ThrowException(addon->SqliteError.Get(isolate)
|
|
420
|
+
->NewInstance( isolate -> GetCurrentContext ( ) , 2, args)
|
|
421
|
+
.ToLocalChecked());
|
|
422
|
+
}
|
|
423
|
+
#line 64 "./src/objects/database.lzz"
|
|
424
|
+
bool Database::Log (v8::Isolate * isolate, sqlite3_stmt * handle)
|
|
425
|
+
#line 64 "./src/objects/database.lzz"
|
|
426
|
+
{
|
|
427
|
+
assert(was_js_error == false);
|
|
428
|
+
if (!has_logger) return false;
|
|
429
|
+
char* expanded = sqlite3_expanded_sql(handle);
|
|
430
|
+
v8::Local<v8::Value> arg = StringFromUtf8(isolate, expanded ? expanded : sqlite3_sql(handle), -1);
|
|
431
|
+
was_js_error = logger.Get(isolate).As<v8::Function>()
|
|
432
|
+
->Call( isolate -> GetCurrentContext ( ) , v8::Undefined(isolate), 1, &arg)
|
|
433
|
+
.IsEmpty();
|
|
434
|
+
if (expanded) sqlite3_free(expanded);
|
|
435
|
+
return was_js_error;
|
|
436
|
+
}
|
|
437
|
+
#line 107 "./src/objects/database.lzz"
|
|
438
|
+
void Database::CloseHandles ()
|
|
439
|
+
#line 107 "./src/objects/database.lzz"
|
|
440
|
+
{
|
|
441
|
+
if (open) {
|
|
442
|
+
open = false;
|
|
443
|
+
for (Statement* stmt : stmts) stmt->CloseHandles();
|
|
444
|
+
for (Backup* backup : backups) backup->CloseHandles();
|
|
445
|
+
stmts.clear();
|
|
446
|
+
backups.clear();
|
|
447
|
+
int status = sqlite3_close(db_handle);
|
|
448
|
+
assert(status == SQLITE_OK); ((void)status);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
#line 119 "./src/objects/database.lzz"
|
|
452
|
+
Database::~ Database ()
|
|
453
|
+
#line 119 "./src/objects/database.lzz"
|
|
454
|
+
{
|
|
455
|
+
if (open) addon->dbs.erase(this);
|
|
456
|
+
CloseHandles();
|
|
457
|
+
}
|
|
458
|
+
#line 126 "./src/objects/database.lzz"
|
|
459
|
+
Database::Database (v8::Isolate * isolate, Addon * addon, sqlite3 * db_handle, v8::Local <v8::Value> logger)
|
|
460
|
+
#line 131 "./src/objects/database.lzz"
|
|
461
|
+
: node::ObjectWrap (), db_handle (db_handle), open (true), busy (false), safe_ints (false), unsafe_mode (false), was_js_error (false), has_logger (logger->IsFunction()), iterators (0), addon (addon), logger (isolate, logger), stmts (), backups ()
|
|
462
|
+
#line 144 "./src/objects/database.lzz"
|
|
463
|
+
{
|
|
464
|
+
assert(db_handle != NULL);
|
|
465
|
+
addon->dbs.insert(this);
|
|
466
|
+
}
|
|
467
|
+
#line 149 "./src/objects/database.lzz"
|
|
468
|
+
void Database::JS_new (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
469
|
+
#line 149 "./src/objects/database.lzz"
|
|
470
|
+
{
|
|
471
|
+
assert(info.IsConstructCall());
|
|
472
|
+
if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsString ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a string" ) ; v8 :: Local < v8 :: String > filename = ( info [ 0 ] . As < v8 :: String > ( ) ) ;
|
|
473
|
+
if ( info . Length ( ) <= ( 1 ) || ! info [ 1 ] -> IsString ( ) ) return ThrowTypeError ( "Expected " "second" " argument to be " "a string" ) ; v8 :: Local < v8 :: String > filenameGiven = ( info [ 1 ] . As < v8 :: String > ( ) ) ;
|
|
474
|
+
if ( info . Length ( ) <= ( 2 ) || ! info [ 2 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "third" " argument to be " "a boolean" ) ; bool in_memory = ( info [ 2 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ;
|
|
475
|
+
if ( info . Length ( ) <= ( 3 ) || ! info [ 3 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "fourth" " argument to be " "a boolean" ) ; bool readonly = ( info [ 3 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ;
|
|
476
|
+
if ( info . Length ( ) <= ( 4 ) || ! info [ 4 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "fifth" " argument to be " "a boolean" ) ; bool must_exist = ( info [ 4 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ;
|
|
477
|
+
if ( info . Length ( ) <= ( 5 ) || ! info [ 5 ] -> IsInt32 ( ) ) return ThrowTypeError ( "Expected " "sixth" " argument to be " "a 32-bit signed integer" ) ; int timeout = ( info [ 5 ] . As < v8 :: Int32 > ( ) ) -> Value ( ) ;
|
|
478
|
+
if ( info . Length ( ) <= ( 6 ) ) return ThrowTypeError ( "Expected a " "seventh" " argument" ) ; v8 :: Local < v8 :: Value > logger = info [ 6 ] ;
|
|
479
|
+
if ( info . Length ( ) <= ( 7 ) ) return ThrowTypeError ( "Expected a " "eighth" " argument" ) ; v8 :: Local < v8 :: Value > buffer = info [ 7 ] ;
|
|
480
|
+
|
|
481
|
+
Addon * addon = static_cast < Addon * > ( info . Data ( ) . As < v8 :: External > ( ) -> Value ( ) ) ;
|
|
482
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
483
|
+
sqlite3* db_handle;
|
|
484
|
+
v8::String::Utf8Value utf8(isolate, filename);
|
|
485
|
+
int mask = readonly ? SQLITE_OPEN_READONLY
|
|
486
|
+
: must_exist ? SQLITE_OPEN_READWRITE
|
|
487
|
+
: (SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE);
|
|
488
|
+
|
|
489
|
+
if (sqlite3_open_v2(*utf8, &db_handle, mask, NULL) != SQLITE_OK) {
|
|
490
|
+
ThrowSqliteError(addon, db_handle);
|
|
491
|
+
int status = sqlite3_close(db_handle);
|
|
492
|
+
assert(status == SQLITE_OK); ((void)status);
|
|
493
|
+
return;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
assert(sqlite3_db_mutex(db_handle) == NULL);
|
|
497
|
+
sqlite3_extended_result_codes(db_handle, 1);
|
|
498
|
+
sqlite3_busy_timeout(db_handle, timeout);
|
|
499
|
+
sqlite3_limit(db_handle, SQLITE_LIMIT_LENGTH, MAX_BUFFER_SIZE < MAX_STRING_SIZE ? MAX_BUFFER_SIZE : MAX_STRING_SIZE);
|
|
500
|
+
sqlite3_limit(db_handle, SQLITE_LIMIT_SQL_LENGTH, MAX_STRING_SIZE);
|
|
501
|
+
int status = sqlite3_db_config(db_handle, SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION, 1, NULL);
|
|
502
|
+
assert(status == SQLITE_OK);
|
|
503
|
+
status = sqlite3_db_config(db_handle, SQLITE_DBCONFIG_DEFENSIVE, 1, NULL);
|
|
504
|
+
assert(status == SQLITE_OK);
|
|
505
|
+
|
|
506
|
+
if (node::Buffer::HasInstance(buffer) && !Deserialize(buffer.As<v8::Object>(), addon, db_handle, readonly)) {
|
|
507
|
+
int status = sqlite3_close(db_handle);
|
|
508
|
+
assert(status == SQLITE_OK); ((void)status);
|
|
509
|
+
return;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
v8 :: Local < v8 :: Context > ctx = isolate -> GetCurrentContext ( ) ;
|
|
513
|
+
Database* db = new Database(isolate, addon, db_handle, logger);
|
|
514
|
+
db->Wrap(info.This());
|
|
515
|
+
SetFrozen(isolate, ctx, info.This(), addon->cs.memory, v8::Boolean::New(isolate, in_memory));
|
|
516
|
+
SetFrozen(isolate, ctx, info.This(), addon->cs.readonly, v8::Boolean::New(isolate, readonly));
|
|
517
|
+
SetFrozen(isolate, ctx, info.This(), addon->cs.name, filenameGiven);
|
|
518
|
+
|
|
519
|
+
info.GetReturnValue().Set(info.This());
|
|
520
|
+
}
|
|
521
|
+
#line 201 "./src/objects/database.lzz"
|
|
522
|
+
void Database::JS_prepare (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
523
|
+
#line 201 "./src/objects/database.lzz"
|
|
524
|
+
{
|
|
525
|
+
if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsString ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a string" ) ; v8 :: Local < v8 :: String > source = ( info [ 0 ] . As < v8 :: String > ( ) ) ;
|
|
526
|
+
if ( info . Length ( ) <= ( 1 ) || ! info [ 1 ] -> IsObject ( ) ) return ThrowTypeError ( "Expected " "second" " argument to be " "an object" ) ; v8 :: Local < v8 :: Object > database = ( info [ 1 ] . As < v8 :: Object > ( ) ) ;
|
|
527
|
+
if ( info . Length ( ) <= ( 2 ) || ! info [ 2 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "third" " argument to be " "a boolean" ) ; bool pragmaMode = ( info [ 2 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ;
|
|
528
|
+
(void)source;
|
|
529
|
+
(void)database;
|
|
530
|
+
(void)pragmaMode;
|
|
531
|
+
Addon * addon = static_cast < Addon * > ( info . Data ( ) . As < v8 :: External > ( ) -> Value ( ) ) ;
|
|
532
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
533
|
+
v8::Local<v8::Function> c = addon->Statement.Get(isolate);
|
|
534
|
+
addon->privileged_info = &info;
|
|
535
|
+
v8::MaybeLocal<v8::Object> maybeStatement = c->NewInstance( isolate -> GetCurrentContext ( ) , 0, NULL);
|
|
536
|
+
addon->privileged_info = NULL;
|
|
537
|
+
if (!maybeStatement.IsEmpty()) info.GetReturnValue().Set(maybeStatement.ToLocalChecked());
|
|
538
|
+
}
|
|
539
|
+
#line 217 "./src/objects/database.lzz"
|
|
540
|
+
void Database::JS_exec (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
541
|
+
#line 217 "./src/objects/database.lzz"
|
|
542
|
+
{
|
|
543
|
+
Database* db = node :: ObjectWrap :: Unwrap <Database>(info.This());
|
|
544
|
+
if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsString ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a string" ) ; v8 :: Local < v8 :: String > source = ( info [ 0 ] . As < v8 :: String > ( ) ) ;
|
|
545
|
+
if ( ! db -> open ) return ThrowTypeError ( "The database connection is not open" ) ;
|
|
546
|
+
if ( db -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
547
|
+
if ( ! db -> unsafe_mode ) { if ( db -> iterators ) return ThrowTypeError ( "This database connection is busy executing a query" ) ; } ( ( void ) 0 ) ;
|
|
548
|
+
db->busy = true;
|
|
549
|
+
|
|
550
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
551
|
+
v8::String::Utf8Value utf8(isolate, source);
|
|
552
|
+
const char* sql = *utf8;
|
|
553
|
+
const char* tail;
|
|
554
|
+
|
|
555
|
+
int status;
|
|
556
|
+
const bool has_logger = db->has_logger;
|
|
557
|
+
sqlite3* const db_handle = db->db_handle;
|
|
558
|
+
sqlite3_stmt* handle;
|
|
559
|
+
|
|
560
|
+
for (;;) {
|
|
561
|
+
while (IS_SKIPPED(*sql)) ++sql;
|
|
562
|
+
status = sqlite3_prepare_v2(db_handle, sql, -1, &handle, &tail);
|
|
563
|
+
sql = tail;
|
|
564
|
+
if (!handle) break;
|
|
565
|
+
if (has_logger && db->Log(isolate, handle)) {
|
|
566
|
+
sqlite3_finalize(handle);
|
|
567
|
+
status = -1;
|
|
568
|
+
break;
|
|
569
|
+
}
|
|
570
|
+
do status = sqlite3_step(handle);
|
|
571
|
+
while (status == SQLITE_ROW);
|
|
572
|
+
status = sqlite3_finalize(handle);
|
|
573
|
+
if (status != SQLITE_OK) break;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
db->busy = false;
|
|
577
|
+
if (status != SQLITE_OK) {
|
|
578
|
+
db->ThrowDatabaseError();
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
#line 257 "./src/objects/database.lzz"
|
|
582
|
+
void Database::JS_backup (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
583
|
+
#line 257 "./src/objects/database.lzz"
|
|
584
|
+
{
|
|
585
|
+
if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsObject ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "an object" ) ; v8 :: Local < v8 :: Object > database = ( info [ 0 ] . As < v8 :: Object > ( ) ) ;
|
|
586
|
+
if ( info . Length ( ) <= ( 1 ) || ! info [ 1 ] -> IsString ( ) ) return ThrowTypeError ( "Expected " "second" " argument to be " "a string" ) ; v8 :: Local < v8 :: String > attachedName = ( info [ 1 ] . As < v8 :: String > ( ) ) ;
|
|
587
|
+
if ( info . Length ( ) <= ( 2 ) || ! info [ 2 ] -> IsString ( ) ) return ThrowTypeError ( "Expected " "third" " argument to be " "a string" ) ; v8 :: Local < v8 :: String > destFile = ( info [ 2 ] . As < v8 :: String > ( ) ) ;
|
|
588
|
+
if ( info . Length ( ) <= ( 3 ) || ! info [ 3 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "fourth" " argument to be " "a boolean" ) ; bool unlink = ( info [ 3 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ;
|
|
589
|
+
(void)database;
|
|
590
|
+
(void)attachedName;
|
|
591
|
+
(void)destFile;
|
|
592
|
+
(void)unlink;
|
|
593
|
+
Addon * addon = static_cast < Addon * > ( info . Data ( ) . As < v8 :: External > ( ) -> Value ( ) ) ;
|
|
594
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
595
|
+
v8::Local<v8::Function> c = addon->Backup.Get(isolate);
|
|
596
|
+
addon->privileged_info = &info;
|
|
597
|
+
v8::MaybeLocal<v8::Object> maybeBackup = c->NewInstance( isolate -> GetCurrentContext ( ) , 0, NULL);
|
|
598
|
+
addon->privileged_info = NULL;
|
|
599
|
+
if (!maybeBackup.IsEmpty()) info.GetReturnValue().Set(maybeBackup.ToLocalChecked());
|
|
600
|
+
}
|
|
601
|
+
#line 275 "./src/objects/database.lzz"
|
|
602
|
+
void Database::JS_serialize (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
603
|
+
#line 275 "./src/objects/database.lzz"
|
|
604
|
+
{
|
|
605
|
+
Database* db = node :: ObjectWrap :: Unwrap <Database>(info.This());
|
|
606
|
+
if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsString ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a string" ) ; v8 :: Local < v8 :: String > attachedName = ( info [ 0 ] . As < v8 :: String > ( ) ) ;
|
|
607
|
+
if ( ! db -> open ) return ThrowTypeError ( "The database connection is not open" ) ;
|
|
608
|
+
if ( db -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
609
|
+
if ( db -> iterators ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
610
|
+
|
|
611
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
612
|
+
v8::String::Utf8Value attached_name(isolate, attachedName);
|
|
613
|
+
sqlite3_int64 length = -1;
|
|
614
|
+
unsigned char* data = sqlite3_serialize(db->db_handle, *attached_name, &length, 0);
|
|
615
|
+
|
|
616
|
+
if (!data && length) {
|
|
617
|
+
ThrowError("Out of memory");
|
|
618
|
+
return;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
info.GetReturnValue().Set(
|
|
622
|
+
SAFE_NEW_BUFFER(isolate, reinterpret_cast<char*>(data), length, FreeSerialization, NULL).ToLocalChecked()
|
|
623
|
+
);
|
|
624
|
+
}
|
|
625
|
+
#line 297 "./src/objects/database.lzz"
|
|
626
|
+
void Database::JS_function (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
627
|
+
#line 297 "./src/objects/database.lzz"
|
|
628
|
+
{
|
|
629
|
+
Database* db = node :: ObjectWrap :: Unwrap <Database>(info.This());
|
|
630
|
+
if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsFunction ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a function" ) ; v8 :: Local < v8 :: Function > fn = ( info [ 0 ] . As < v8 :: Function > ( ) ) ;
|
|
631
|
+
if ( info . Length ( ) <= ( 1 ) || ! info [ 1 ] -> IsString ( ) ) return ThrowTypeError ( "Expected " "second" " argument to be " "a string" ) ; v8 :: Local < v8 :: String > nameString = ( info [ 1 ] . As < v8 :: String > ( ) ) ;
|
|
632
|
+
if ( info . Length ( ) <= ( 2 ) || ! info [ 2 ] -> IsInt32 ( ) ) return ThrowTypeError ( "Expected " "third" " argument to be " "a 32-bit signed integer" ) ; int argc = ( info [ 2 ] . As < v8 :: Int32 > ( ) ) -> Value ( ) ;
|
|
633
|
+
if ( info . Length ( ) <= ( 3 ) || ! info [ 3 ] -> IsInt32 ( ) ) return ThrowTypeError ( "Expected " "fourth" " argument to be " "a 32-bit signed integer" ) ; int safe_ints = ( info [ 3 ] . As < v8 :: Int32 > ( ) ) -> Value ( ) ;
|
|
634
|
+
if ( info . Length ( ) <= ( 4 ) || ! info [ 4 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "fifth" " argument to be " "a boolean" ) ; bool deterministic = ( info [ 4 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ;
|
|
635
|
+
if ( info . Length ( ) <= ( 5 ) || ! info [ 5 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "sixth" " argument to be " "a boolean" ) ; bool direct_only = ( info [ 5 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ;
|
|
636
|
+
if ( ! db -> open ) return ThrowTypeError ( "The database connection is not open" ) ;
|
|
637
|
+
if ( db -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
638
|
+
if ( db -> iterators ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
639
|
+
|
|
640
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
641
|
+
v8::String::Utf8Value name(isolate, nameString);
|
|
642
|
+
int mask = SQLITE_UTF8;
|
|
643
|
+
if (deterministic) mask |= SQLITE_DETERMINISTIC;
|
|
644
|
+
if (direct_only) mask |= SQLITE_DIRECTONLY;
|
|
645
|
+
safe_ints = safe_ints < 2 ? safe_ints : static_cast<int>(db->safe_ints);
|
|
646
|
+
|
|
647
|
+
if (sqlite3_create_function_v2(db->db_handle, *name, argc, mask, new CustomFunction(isolate, db, *name, fn, safe_ints), CustomFunction::xFunc, NULL, NULL, CustomFunction::xDestroy) != SQLITE_OK) {
|
|
648
|
+
db->ThrowDatabaseError();
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
#line 321 "./src/objects/database.lzz"
|
|
652
|
+
void Database::JS_aggregate (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
653
|
+
#line 321 "./src/objects/database.lzz"
|
|
654
|
+
{
|
|
655
|
+
Database* db = node :: ObjectWrap :: Unwrap <Database>(info.This());
|
|
656
|
+
if ( info . Length ( ) <= ( 0 ) ) return ThrowTypeError ( "Expected a " "first" " argument" ) ; v8 :: Local < v8 :: Value > start = info [ 0 ] ;
|
|
657
|
+
if ( info . Length ( ) <= ( 1 ) || ! info [ 1 ] -> IsFunction ( ) ) return ThrowTypeError ( "Expected " "second" " argument to be " "a function" ) ; v8 :: Local < v8 :: Function > step = ( info [ 1 ] . As < v8 :: Function > ( ) ) ;
|
|
658
|
+
if ( info . Length ( ) <= ( 2 ) ) return ThrowTypeError ( "Expected a " "third" " argument" ) ; v8 :: Local < v8 :: Value > inverse = info [ 2 ] ;
|
|
659
|
+
if ( info . Length ( ) <= ( 3 ) ) return ThrowTypeError ( "Expected a " "fourth" " argument" ) ; v8 :: Local < v8 :: Value > result = info [ 3 ] ;
|
|
660
|
+
if ( info . Length ( ) <= ( 4 ) || ! info [ 4 ] -> IsString ( ) ) return ThrowTypeError ( "Expected " "fifth" " argument to be " "a string" ) ; v8 :: Local < v8 :: String > nameString = ( info [ 4 ] . As < v8 :: String > ( ) ) ;
|
|
661
|
+
if ( info . Length ( ) <= ( 5 ) || ! info [ 5 ] -> IsInt32 ( ) ) return ThrowTypeError ( "Expected " "sixth" " argument to be " "a 32-bit signed integer" ) ; int argc = ( info [ 5 ] . As < v8 :: Int32 > ( ) ) -> Value ( ) ;
|
|
662
|
+
if ( info . Length ( ) <= ( 6 ) || ! info [ 6 ] -> IsInt32 ( ) ) return ThrowTypeError ( "Expected " "seventh" " argument to be " "a 32-bit signed integer" ) ; int safe_ints = ( info [ 6 ] . As < v8 :: Int32 > ( ) ) -> Value ( ) ;
|
|
663
|
+
if ( info . Length ( ) <= ( 7 ) || ! info [ 7 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "eighth" " argument to be " "a boolean" ) ; bool deterministic = ( info [ 7 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ;
|
|
664
|
+
if ( info . Length ( ) <= ( 8 ) || ! info [ 8 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "ninth" " argument to be " "a boolean" ) ; bool direct_only = ( info [ 8 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ;
|
|
665
|
+
if ( ! db -> open ) return ThrowTypeError ( "The database connection is not open" ) ;
|
|
666
|
+
if ( db -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
667
|
+
if ( db -> iterators ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
668
|
+
|
|
669
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
670
|
+
v8::String::Utf8Value name(isolate, nameString);
|
|
671
|
+
auto xInverse = inverse->IsFunction() ? CustomAggregate::xInverse : NULL;
|
|
672
|
+
auto xValue = xInverse ? CustomAggregate::xValue : NULL;
|
|
673
|
+
int mask = SQLITE_UTF8;
|
|
674
|
+
if (deterministic) mask |= SQLITE_DETERMINISTIC;
|
|
675
|
+
if (direct_only) mask |= SQLITE_DIRECTONLY;
|
|
676
|
+
safe_ints = safe_ints < 2 ? safe_ints : static_cast<int>(db->safe_ints);
|
|
677
|
+
|
|
678
|
+
if (sqlite3_create_window_function(db->db_handle, *name, argc, mask, new CustomAggregate(isolate, db, *name, start, step, inverse, result, safe_ints), CustomAggregate::xStep, CustomAggregate::xFinal, xValue, xInverse, CustomAggregate::xDestroy) != SQLITE_OK) {
|
|
679
|
+
db->ThrowDatabaseError();
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
#line 350 "./src/objects/database.lzz"
|
|
683
|
+
void Database::JS_table (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
684
|
+
#line 350 "./src/objects/database.lzz"
|
|
685
|
+
{
|
|
686
|
+
Database* db = node :: ObjectWrap :: Unwrap <Database>(info.This());
|
|
687
|
+
if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsFunction ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a function" ) ; v8 :: Local < v8 :: Function > factory = ( info [ 0 ] . As < v8 :: Function > ( ) ) ;
|
|
688
|
+
if ( info . Length ( ) <= ( 1 ) || ! info [ 1 ] -> IsString ( ) ) return ThrowTypeError ( "Expected " "second" " argument to be " "a string" ) ; v8 :: Local < v8 :: String > nameString = ( info [ 1 ] . As < v8 :: String > ( ) ) ;
|
|
689
|
+
if ( info . Length ( ) <= ( 2 ) || ! info [ 2 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "third" " argument to be " "a boolean" ) ; bool eponymous = ( info [ 2 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ;
|
|
690
|
+
if ( ! db -> open ) return ThrowTypeError ( "The database connection is not open" ) ;
|
|
691
|
+
if ( db -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
692
|
+
if ( db -> iterators ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
693
|
+
|
|
694
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
695
|
+
v8::String::Utf8Value name(isolate, nameString);
|
|
696
|
+
sqlite3_module* module = eponymous ? &CustomTable::EPONYMOUS_MODULE : &CustomTable::MODULE;
|
|
697
|
+
|
|
698
|
+
db->busy = true;
|
|
699
|
+
if (sqlite3_create_module_v2(db->db_handle, *name, module, new CustomTable(isolate, db, *name, factory), CustomTable::Destructor) != SQLITE_OK) {
|
|
700
|
+
db->ThrowDatabaseError();
|
|
701
|
+
}
|
|
702
|
+
db->busy = false;
|
|
703
|
+
}
|
|
704
|
+
#line 370 "./src/objects/database.lzz"
|
|
705
|
+
void Database::JS_loadExtension (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
706
|
+
#line 370 "./src/objects/database.lzz"
|
|
707
|
+
{
|
|
708
|
+
Database* db = node :: ObjectWrap :: Unwrap <Database>(info.This());
|
|
709
|
+
v8::Local<v8::String> entryPoint;
|
|
710
|
+
if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsString ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a string" ) ; v8 :: Local < v8 :: String > filename = ( info [ 0 ] . As < v8 :: String > ( ) ) ;
|
|
711
|
+
if (info.Length() > 1) { if ( info . Length ( ) <= ( 1 ) || ! info [ 1 ] -> IsString ( ) ) return ThrowTypeError ( "Expected " "second" " argument to be " "a string" ) ; entryPoint = ( info [ 1 ] . As < v8 :: String > ( ) ) ; }
|
|
712
|
+
if ( ! db -> open ) return ThrowTypeError ( "The database connection is not open" ) ;
|
|
713
|
+
if ( db -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
714
|
+
if ( db -> iterators ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
715
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
716
|
+
char* error;
|
|
717
|
+
int status = sqlite3_load_extension(
|
|
718
|
+
db->db_handle,
|
|
719
|
+
*v8::String::Utf8Value(isolate, filename),
|
|
720
|
+
entryPoint.IsEmpty() ? NULL : *v8::String::Utf8Value(isolate, entryPoint),
|
|
721
|
+
&error
|
|
722
|
+
);
|
|
723
|
+
if (status != SQLITE_OK) {
|
|
724
|
+
ThrowSqliteError(db->addon, error, status);
|
|
725
|
+
}
|
|
726
|
+
sqlite3_free(error);
|
|
727
|
+
}
|
|
728
|
+
#line 392 "./src/objects/database.lzz"
|
|
729
|
+
void Database::JS_close (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
730
|
+
#line 392 "./src/objects/database.lzz"
|
|
731
|
+
{
|
|
732
|
+
Database* db = node :: ObjectWrap :: Unwrap <Database>(info.This());
|
|
733
|
+
if (db->open) {
|
|
734
|
+
if ( db -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
735
|
+
if ( db -> iterators ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
736
|
+
db->addon->dbs.erase(db);
|
|
737
|
+
db->CloseHandles();
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
#line 402 "./src/objects/database.lzz"
|
|
741
|
+
void Database::JS_defaultSafeIntegers (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
742
|
+
#line 402 "./src/objects/database.lzz"
|
|
743
|
+
{
|
|
744
|
+
Database* db = node :: ObjectWrap :: Unwrap <Database>(info.This());
|
|
745
|
+
if (info.Length() == 0) db->safe_ints = true;
|
|
746
|
+
else { if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a boolean" ) ; db -> safe_ints = ( info [ 0 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ; }
|
|
747
|
+
}
|
|
748
|
+
#line 408 "./src/objects/database.lzz"
|
|
749
|
+
void Database::JS_unsafeMode (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
750
|
+
#line 408 "./src/objects/database.lzz"
|
|
751
|
+
{
|
|
752
|
+
Database* db = node :: ObjectWrap :: Unwrap <Database>(info.This());
|
|
753
|
+
if (info.Length() == 0) db->unsafe_mode = true;
|
|
754
|
+
else { if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a boolean" ) ; db -> unsafe_mode = ( info [ 0 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ; }
|
|
755
|
+
sqlite3_db_config(db->db_handle, SQLITE_DBCONFIG_DEFENSIVE, static_cast<int>(!db->unsafe_mode), NULL);
|
|
756
|
+
}
|
|
757
|
+
#line 415 "./src/objects/database.lzz"
|
|
758
|
+
void Database::JS_open (v8::Local <v8 :: Name> _, v8::PropertyCallbackInfo <v8 :: Value> const & info)
|
|
759
|
+
#line 415 "./src/objects/database.lzz"
|
|
760
|
+
{
|
|
761
|
+
info.GetReturnValue().Set( node :: ObjectWrap :: Unwrap <Database>(info.This())->open);
|
|
762
|
+
}
|
|
763
|
+
#line 419 "./src/objects/database.lzz"
|
|
764
|
+
void Database::JS_inTransaction (v8::Local <v8 :: Name> _, v8::PropertyCallbackInfo <v8 :: Value> const & info)
|
|
765
|
+
#line 419 "./src/objects/database.lzz"
|
|
766
|
+
{
|
|
767
|
+
Database* db = node :: ObjectWrap :: Unwrap <Database>(info.This());
|
|
768
|
+
info.GetReturnValue().Set(db->open && !static_cast<bool>(sqlite3_get_autocommit(db->db_handle)));
|
|
769
|
+
}
|
|
770
|
+
#line 424 "./src/objects/database.lzz"
|
|
771
|
+
bool Database::Deserialize (v8::Local <v8::Object> buffer, Addon * addon, sqlite3 * db_handle, bool readonly)
|
|
772
|
+
#line 424 "./src/objects/database.lzz"
|
|
773
|
+
{
|
|
774
|
+
size_t length = node::Buffer::Length(buffer);
|
|
775
|
+
unsigned char* data = (unsigned char*)sqlite3_malloc64(length);
|
|
776
|
+
unsigned int flags = SQLITE_DESERIALIZE_FREEONCLOSE | SQLITE_DESERIALIZE_RESIZEABLE;
|
|
777
|
+
|
|
778
|
+
if (readonly) {
|
|
779
|
+
flags |= SQLITE_DESERIALIZE_READONLY;
|
|
780
|
+
}
|
|
781
|
+
if (length) {
|
|
782
|
+
if (!data) {
|
|
783
|
+
ThrowError("Out of memory");
|
|
784
|
+
return false;
|
|
785
|
+
}
|
|
786
|
+
memcpy(data, node::Buffer::Data(buffer), length);
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
int status = sqlite3_deserialize(db_handle, "main", data, length, length, flags);
|
|
790
|
+
if (status != SQLITE_OK) {
|
|
791
|
+
ThrowSqliteError(addon, status == SQLITE_ERROR ? "unable to deserialize database" : sqlite3_errstr(status), status);
|
|
792
|
+
return false;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
return true;
|
|
796
|
+
}
|
|
797
|
+
#line 449 "./src/objects/database.lzz"
|
|
798
|
+
void Database::FreeSerialization (char * data, void * _)
|
|
799
|
+
#line 449 "./src/objects/database.lzz"
|
|
800
|
+
{
|
|
801
|
+
sqlite3_free(data);
|
|
802
|
+
}
|
|
803
|
+
#line 453 "./src/objects/database.lzz"
|
|
804
|
+
int const Database::MAX_BUFFER_SIZE;
|
|
805
|
+
#line 454 "./src/objects/database.lzz"
|
|
806
|
+
int const Database::MAX_STRING_SIZE;
|
|
807
|
+
#line 4 "./src/objects/statement.lzz"
|
|
808
|
+
v8::Local <v8 :: Function> Statement::Init (v8::Isolate * isolate, v8::Local <v8 :: External> data)
|
|
809
|
+
#line 4 "./src/objects/statement.lzz"
|
|
810
|
+
{
|
|
811
|
+
v8::Local<v8::FunctionTemplate> t = NewConstructorTemplate(isolate, data, JS_new, "Statement");
|
|
812
|
+
SetPrototypeMethod(isolate, data, t, "run", JS_run);
|
|
813
|
+
SetPrototypeMethod(isolate, data, t, "get", JS_get);
|
|
814
|
+
SetPrototypeMethod(isolate, data, t, "all", JS_all);
|
|
815
|
+
SetPrototypeMethod(isolate, data, t, "iterate", JS_iterate);
|
|
816
|
+
SetPrototypeMethod(isolate, data, t, "bind", JS_bind);
|
|
817
|
+
SetPrototypeMethod(isolate, data, t, "pluck", JS_pluck);
|
|
818
|
+
SetPrototypeMethod(isolate, data, t, "expand", JS_expand);
|
|
819
|
+
SetPrototypeMethod(isolate, data, t, "raw", JS_raw);
|
|
820
|
+
SetPrototypeMethod(isolate, data, t, "safeIntegers", JS_safeIntegers);
|
|
821
|
+
SetPrototypeMethod(isolate, data, t, "columns", JS_columns);
|
|
822
|
+
SetPrototypeGetter(isolate, data, t, "busy", JS_busy);
|
|
823
|
+
return t->GetFunction( isolate -> GetCurrentContext ( ) ).ToLocalChecked();
|
|
824
|
+
}
|
|
825
|
+
#line 26 "./src/objects/statement.lzz"
|
|
826
|
+
BindMap * Statement::GetBindMap (v8::Isolate * isolate)
|
|
827
|
+
#line 26 "./src/objects/statement.lzz"
|
|
828
|
+
{
|
|
829
|
+
if (has_bind_map) return &extras->bind_map;
|
|
830
|
+
BindMap* bind_map = &extras->bind_map;
|
|
831
|
+
int param_count = sqlite3_bind_parameter_count(handle);
|
|
832
|
+
for (int i = 1; i <= param_count; ++i) {
|
|
833
|
+
const char* name = sqlite3_bind_parameter_name(handle, i);
|
|
834
|
+
if (name != NULL) bind_map->Add(isolate, name + 1, i);
|
|
835
|
+
}
|
|
836
|
+
has_bind_map = true;
|
|
837
|
+
return bind_map;
|
|
838
|
+
}
|
|
839
|
+
#line 39 "./src/objects/statement.lzz"
|
|
840
|
+
void Statement::CloseHandles ()
|
|
841
|
+
#line 39 "./src/objects/statement.lzz"
|
|
842
|
+
{
|
|
843
|
+
if (alive) {
|
|
844
|
+
alive = false;
|
|
845
|
+
sqlite3_finalize(handle);
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
#line 46 "./src/objects/statement.lzz"
|
|
849
|
+
Statement::~ Statement ()
|
|
850
|
+
#line 46 "./src/objects/statement.lzz"
|
|
851
|
+
{
|
|
852
|
+
if (alive) db->RemoveStatement(this);
|
|
853
|
+
CloseHandles();
|
|
854
|
+
delete extras;
|
|
855
|
+
}
|
|
856
|
+
#line 56 "./src/objects/statement.lzz"
|
|
857
|
+
Statement::Extras::Extras (sqlite3_uint64 id)
|
|
858
|
+
#line 56 "./src/objects/statement.lzz"
|
|
859
|
+
: bind_map (0), id (id)
|
|
860
|
+
#line 56 "./src/objects/statement.lzz"
|
|
861
|
+
{}
|
|
862
|
+
#line 61 "./src/objects/statement.lzz"
|
|
863
|
+
Statement::Statement (Database * db, sqlite3_stmt * handle, sqlite3_uint64 id, bool returns_data)
|
|
864
|
+
#line 66 "./src/objects/statement.lzz"
|
|
865
|
+
: node::ObjectWrap (), db (db), handle (handle), extras (new Extras(id)), alive (true), locked (false), bound (false), has_bind_map (false), safe_ints (db->GetState()->safe_ints), mode (Data::FLAT), returns_data (returns_data)
|
|
866
|
+
#line 77 "./src/objects/statement.lzz"
|
|
867
|
+
{
|
|
868
|
+
assert(db != NULL);
|
|
869
|
+
assert(handle != NULL);
|
|
870
|
+
assert(db->GetState()->open);
|
|
871
|
+
assert(!db->GetState()->busy);
|
|
872
|
+
db->AddStatement(this);
|
|
873
|
+
}
|
|
874
|
+
#line 85 "./src/objects/statement.lzz"
|
|
875
|
+
void Statement::JS_new (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
876
|
+
#line 85 "./src/objects/statement.lzz"
|
|
877
|
+
{
|
|
878
|
+
Addon * addon = static_cast < Addon * > ( info . Data ( ) . As < v8 :: External > ( ) -> Value ( ) ) ;
|
|
879
|
+
if (!addon->privileged_info) {
|
|
880
|
+
return ThrowTypeError("Statements can only be constructed by the db.prepare() method");
|
|
881
|
+
}
|
|
882
|
+
assert(info.IsConstructCall());
|
|
883
|
+
Database* db = node :: ObjectWrap :: Unwrap <Database>(addon->privileged_info->This());
|
|
884
|
+
if ( ! db -> GetState ( ) -> open ) return ThrowTypeError ( "The database connection is not open" ) ;
|
|
885
|
+
if ( db -> GetState ( ) -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
886
|
+
|
|
887
|
+
v8::Local<v8::String> source = (*addon->privileged_info)[0].As<v8::String>();
|
|
888
|
+
v8::Local<v8::Object> database = (*addon->privileged_info)[1].As<v8::Object>();
|
|
889
|
+
bool pragmaMode = (*addon->privileged_info)[2].As<v8::Boolean>()->Value();
|
|
890
|
+
int flags = SQLITE_PREPARE_PERSISTENT;
|
|
891
|
+
|
|
892
|
+
if (pragmaMode) {
|
|
893
|
+
if ( ! db -> GetState ( ) -> unsafe_mode ) { if ( db -> GetState ( ) -> iterators ) return ThrowTypeError ( "This database connection is busy executing a query" ) ; } ( ( void ) 0 ) ;
|
|
894
|
+
flags = 0;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
898
|
+
v8::String::Utf8Value utf8(isolate, source);
|
|
899
|
+
sqlite3_stmt* handle;
|
|
900
|
+
const char* tail;
|
|
901
|
+
|
|
902
|
+
if (sqlite3_prepare_v3(db->GetHandle(), *utf8, utf8.length() + 1, flags, &handle, &tail) != SQLITE_OK) {
|
|
903
|
+
return db->ThrowDatabaseError();
|
|
904
|
+
}
|
|
905
|
+
if (handle == NULL) {
|
|
906
|
+
return ThrowRangeError("The supplied SQL string contains no statements");
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
for (char c; (c = *tail); ) {
|
|
910
|
+
if (IS_SKIPPED(c)) {
|
|
911
|
+
++tail;
|
|
912
|
+
continue;
|
|
913
|
+
}
|
|
914
|
+
if (c == '/' && tail[1] == '*') {
|
|
915
|
+
tail += 2;
|
|
916
|
+
for (char c; (c = *tail); ++tail) {
|
|
917
|
+
if (c == '*' && tail[1] == '/') {
|
|
918
|
+
tail += 2;
|
|
919
|
+
break;
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
} else if (c == '-' && tail[1] == '-') {
|
|
923
|
+
tail += 2;
|
|
924
|
+
for (char c; (c = *tail); ++tail) {
|
|
925
|
+
if (c == '\n') {
|
|
926
|
+
++tail;
|
|
927
|
+
break;
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
} else {
|
|
931
|
+
sqlite3_finalize(handle);
|
|
932
|
+
return ThrowRangeError("The supplied SQL string contains more than one statement");
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
v8 :: Local < v8 :: Context > ctx = isolate -> GetCurrentContext ( ) ;
|
|
937
|
+
bool returns_data = sqlite3_column_count(handle) >= 1 || pragmaMode;
|
|
938
|
+
Statement* stmt = new Statement(db, handle, addon->NextId(), returns_data);
|
|
939
|
+
stmt->Wrap(info.This());
|
|
940
|
+
SetFrozen(isolate, ctx, info.This(), addon->cs.reader, v8::Boolean::New(isolate, returns_data));
|
|
941
|
+
SetFrozen(isolate, ctx, info.This(), addon->cs.readonly, v8::Boolean::New(isolate, sqlite3_stmt_readonly(handle) != 0));
|
|
942
|
+
SetFrozen(isolate, ctx, info.This(), addon->cs.source, source);
|
|
943
|
+
SetFrozen(isolate, ctx, info.This(), addon->cs.database, database);
|
|
944
|
+
|
|
945
|
+
info.GetReturnValue().Set(info.This());
|
|
946
|
+
}
|
|
947
|
+
#line 156 "./src/objects/statement.lzz"
|
|
948
|
+
void Statement::JS_run (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
949
|
+
#line 156 "./src/objects/statement.lzz"
|
|
950
|
+
{
|
|
951
|
+
Statement * stmt = node :: ObjectWrap :: Unwrap < Statement > ( info . This ( ) ) ; ( ( void ) 0 ) ; sqlite3_stmt * handle = stmt -> handle ; Database * db = stmt -> db ; if ( ! db -> GetState ( ) -> open ) return ThrowTypeError ( "The database connection is not open" ) ; if ( db -> GetState ( ) -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ; if ( stmt -> locked ) return ThrowTypeError ( "This statement is busy executing a query" ) ; if ( ! db -> GetState ( ) -> unsafe_mode ) { if ( db -> GetState ( ) -> iterators ) return ThrowTypeError ( "This database connection is busy executing a query" ) ; } ( ( void ) 0 ) ; const bool bound = stmt -> bound ; if ( ! bound ) { Binder binder ( handle ) ; if ( ! binder . Bind ( info , info . Length ( ) , stmt ) ) { sqlite3_clear_bindings ( handle ) ; return ; } ( ( void ) 0 ) ; } else if ( info . Length ( ) > 0 ) { return ThrowTypeError ( "This statement already has bound parameters" ) ; } ( ( void ) 0 ) ; db -> GetState ( ) -> busy = true ; v8 :: Isolate * isolate = info . GetIsolate ( ) ; if ( db -> Log ( isolate , handle ) ) { db -> GetState ( ) -> busy = false ; db -> ThrowDatabaseError ( ) ; if ( ! bound ) { sqlite3_clear_bindings ( handle ) ; } return ; } ( ( void ) 0 ) ;
|
|
952
|
+
sqlite3* db_handle = db->GetHandle();
|
|
953
|
+
int total_changes_before = sqlite3_total_changes(db_handle);
|
|
954
|
+
|
|
955
|
+
sqlite3_step(handle);
|
|
956
|
+
if (sqlite3_reset(handle) == SQLITE_OK) {
|
|
957
|
+
int changes = sqlite3_total_changes(db_handle) == total_changes_before ? 0 : sqlite3_changes(db_handle);
|
|
958
|
+
sqlite3_int64 id = sqlite3_last_insert_rowid(db_handle);
|
|
959
|
+
Addon* addon = db->GetAddon();
|
|
960
|
+
v8 :: Local < v8 :: Context > ctx = isolate -> GetCurrentContext ( ) ;
|
|
961
|
+
v8::Local<v8::Object> result = v8::Object::New(isolate);
|
|
962
|
+
result->Set(ctx, addon->cs.changes.Get(isolate), v8::Int32::New(isolate, changes)).FromJust();
|
|
963
|
+
result->Set(ctx, addon->cs.lastInsertRowid.Get(isolate),
|
|
964
|
+
stmt->safe_ints
|
|
965
|
+
? v8::BigInt::New(isolate, id).As<v8::Value>()
|
|
966
|
+
: v8::Number::New(isolate, (double)id).As<v8::Value>()
|
|
967
|
+
).FromJust();
|
|
968
|
+
db -> GetState ( ) -> busy = false ; info . GetReturnValue ( ) . Set ( result ) ; if ( ! bound ) { sqlite3_clear_bindings ( handle ) ; } return ;
|
|
969
|
+
}
|
|
970
|
+
db -> GetState ( ) -> busy = false ; db -> ThrowDatabaseError ( ) ; if ( ! bound ) { sqlite3_clear_bindings ( handle ) ; } return ;
|
|
971
|
+
}
|
|
972
|
+
#line 179 "./src/objects/statement.lzz"
|
|
973
|
+
void Statement::JS_get (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
974
|
+
#line 179 "./src/objects/statement.lzz"
|
|
975
|
+
{
|
|
976
|
+
Statement * stmt = node :: ObjectWrap :: Unwrap < Statement > ( info . This ( ) ) ; if ( ! stmt -> returns_data ) return ThrowTypeError ( "This statement does not return data. Use run() instead" ) ; sqlite3_stmt * handle = stmt -> handle ; Database * db = stmt -> db ; if ( ! db -> GetState ( ) -> open ) return ThrowTypeError ( "The database connection is not open" ) ; if ( db -> GetState ( ) -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ; if ( stmt -> locked ) return ThrowTypeError ( "This statement is busy executing a query" ) ; const bool bound = stmt -> bound ; if ( ! bound ) { Binder binder ( handle ) ; if ( ! binder . Bind ( info , info . Length ( ) , stmt ) ) { sqlite3_clear_bindings ( handle ) ; return ; } ( ( void ) 0 ) ; } else if ( info . Length ( ) > 0 ) { return ThrowTypeError ( "This statement already has bound parameters" ) ; } ( ( void ) 0 ) ; db -> GetState ( ) -> busy = true ; v8 :: Isolate * isolate = info . GetIsolate ( ) ; if ( db -> Log ( isolate , handle ) ) { db -> GetState ( ) -> busy = false ; db -> ThrowDatabaseError ( ) ; if ( ! bound ) { sqlite3_clear_bindings ( handle ) ; } return ; } ( ( void ) 0 ) ;
|
|
977
|
+
int status = sqlite3_step(handle);
|
|
978
|
+
if (status == SQLITE_ROW) {
|
|
979
|
+
v8::Local<v8::Value> result = Data::GetRowJS(isolate, isolate -> GetCurrentContext ( ) , handle, stmt->safe_ints, stmt->mode);
|
|
980
|
+
sqlite3_reset(handle);
|
|
981
|
+
db -> GetState ( ) -> busy = false ; info . GetReturnValue ( ) . Set ( result ) ; if ( ! bound ) { sqlite3_clear_bindings ( handle ) ; } return ;
|
|
982
|
+
} else if (status == SQLITE_DONE) {
|
|
983
|
+
sqlite3_reset(handle);
|
|
984
|
+
db -> GetState ( ) -> busy = false ; info . GetReturnValue ( ) . Set ( v8 :: Undefined ( isolate ) ) ; if ( ! bound ) { sqlite3_clear_bindings ( handle ) ; } return ;
|
|
985
|
+
}
|
|
986
|
+
sqlite3_reset(handle);
|
|
987
|
+
db -> GetState ( ) -> busy = false ; db -> ThrowDatabaseError ( ) ; if ( ! bound ) { sqlite3_clear_bindings ( handle ) ; } return ;
|
|
988
|
+
}
|
|
989
|
+
#line 194 "./src/objects/statement.lzz"
|
|
990
|
+
void Statement::JS_all (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
991
|
+
#line 194 "./src/objects/statement.lzz"
|
|
992
|
+
{
|
|
993
|
+
Statement * stmt = node :: ObjectWrap :: Unwrap < Statement > ( info . This ( ) ) ; if ( ! stmt -> returns_data ) return ThrowTypeError ( "This statement does not return data. Use run() instead" ) ; sqlite3_stmt * handle = stmt -> handle ; Database * db = stmt -> db ; if ( ! db -> GetState ( ) -> open ) return ThrowTypeError ( "The database connection is not open" ) ; if ( db -> GetState ( ) -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ; if ( stmt -> locked ) return ThrowTypeError ( "This statement is busy executing a query" ) ; const bool bound = stmt -> bound ; if ( ! bound ) { Binder binder ( handle ) ; if ( ! binder . Bind ( info , info . Length ( ) , stmt ) ) { sqlite3_clear_bindings ( handle ) ; return ; } ( ( void ) 0 ) ; } else if ( info . Length ( ) > 0 ) { return ThrowTypeError ( "This statement already has bound parameters" ) ; } ( ( void ) 0 ) ; db -> GetState ( ) -> busy = true ; v8 :: Isolate * isolate = info . GetIsolate ( ) ; if ( db -> Log ( isolate , handle ) ) { db -> GetState ( ) -> busy = false ; db -> ThrowDatabaseError ( ) ; if ( ! bound ) { sqlite3_clear_bindings ( handle ) ; } return ; } ( ( void ) 0 ) ;
|
|
994
|
+
v8 :: Local < v8 :: Context > ctx = isolate -> GetCurrentContext ( ) ;
|
|
995
|
+
v8::Local<v8::Array> result = v8::Array::New(isolate, 0);
|
|
996
|
+
uint32_t row_count = 0;
|
|
997
|
+
const bool safe_ints = stmt->safe_ints;
|
|
998
|
+
const char mode = stmt->mode;
|
|
999
|
+
bool js_error = false;
|
|
1000
|
+
|
|
1001
|
+
while (sqlite3_step(handle) == SQLITE_ROW) {
|
|
1002
|
+
if (row_count == 0xffffffff) { ThrowRangeError("Array overflow (too many rows returned)"); js_error = true; break; }
|
|
1003
|
+
result->Set(ctx, row_count++, Data::GetRowJS(isolate, ctx, handle, safe_ints, mode)).FromJust();
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
if (sqlite3_reset(handle) == SQLITE_OK && !js_error) {
|
|
1007
|
+
db -> GetState ( ) -> busy = false ; info . GetReturnValue ( ) . Set ( result ) ; if ( ! bound ) { sqlite3_clear_bindings ( handle ) ; } return ;
|
|
1008
|
+
}
|
|
1009
|
+
if (js_error) db->GetState()->was_js_error = true;
|
|
1010
|
+
db -> GetState ( ) -> busy = false ; db -> ThrowDatabaseError ( ) ; if ( ! bound ) { sqlite3_clear_bindings ( handle ) ; } return ;
|
|
1011
|
+
}
|
|
1012
|
+
#line 215 "./src/objects/statement.lzz"
|
|
1013
|
+
void Statement::JS_iterate (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1014
|
+
#line 215 "./src/objects/statement.lzz"
|
|
1015
|
+
{
|
|
1016
|
+
Addon * addon = static_cast < Addon * > ( info . Data ( ) . As < v8 :: External > ( ) -> Value ( ) ) ;
|
|
1017
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
1018
|
+
v8::Local<v8::Function> c = addon->StatementIterator.Get(isolate);
|
|
1019
|
+
addon->privileged_info = &info;
|
|
1020
|
+
v8::MaybeLocal<v8::Object> maybeIterator = c->NewInstance( isolate -> GetCurrentContext ( ) , 0, NULL);
|
|
1021
|
+
addon->privileged_info = NULL;
|
|
1022
|
+
if (!maybeIterator.IsEmpty()) info.GetReturnValue().Set(maybeIterator.ToLocalChecked());
|
|
1023
|
+
}
|
|
1024
|
+
#line 225 "./src/objects/statement.lzz"
|
|
1025
|
+
void Statement::JS_bind (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1026
|
+
#line 225 "./src/objects/statement.lzz"
|
|
1027
|
+
{
|
|
1028
|
+
Statement* stmt = node :: ObjectWrap :: Unwrap <Statement>(info.This());
|
|
1029
|
+
if (stmt->bound) return ThrowTypeError("The bind() method can only be invoked once per statement object");
|
|
1030
|
+
if ( ! stmt -> db -> GetState ( ) -> open ) return ThrowTypeError ( "The database connection is not open" ) ;
|
|
1031
|
+
if ( stmt -> db -> GetState ( ) -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
1032
|
+
if ( stmt -> locked ) return ThrowTypeError ( "This statement is busy executing a query" ) ;
|
|
1033
|
+
Binder binder ( stmt -> handle ) ; if ( ! binder . Bind ( info , info . Length ( ) , stmt ) ) { sqlite3_clear_bindings ( stmt -> handle ) ; return ; } ( ( void ) 0 ) ;
|
|
1034
|
+
stmt->bound = true;
|
|
1035
|
+
info.GetReturnValue().Set(info.This());
|
|
1036
|
+
}
|
|
1037
|
+
#line 236 "./src/objects/statement.lzz"
|
|
1038
|
+
void Statement::JS_pluck (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1039
|
+
#line 236 "./src/objects/statement.lzz"
|
|
1040
|
+
{
|
|
1041
|
+
Statement* stmt = node :: ObjectWrap :: Unwrap <Statement>(info.This());
|
|
1042
|
+
if (!stmt->returns_data) return ThrowTypeError("The pluck() method is only for statements that return data");
|
|
1043
|
+
if ( stmt -> db -> GetState ( ) -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
1044
|
+
if ( stmt -> locked ) return ThrowTypeError ( "This statement is busy executing a query" ) ;
|
|
1045
|
+
bool use = true;
|
|
1046
|
+
if (info.Length() != 0) { if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a boolean" ) ; use = ( info [ 0 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ; }
|
|
1047
|
+
stmt->mode = use ? Data::PLUCK : stmt->mode == Data::PLUCK ? Data::FLAT : stmt->mode;
|
|
1048
|
+
info.GetReturnValue().Set(info.This());
|
|
1049
|
+
}
|
|
1050
|
+
#line 247 "./src/objects/statement.lzz"
|
|
1051
|
+
void Statement::JS_expand (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1052
|
+
#line 247 "./src/objects/statement.lzz"
|
|
1053
|
+
{
|
|
1054
|
+
Statement* stmt = node :: ObjectWrap :: Unwrap <Statement>(info.This());
|
|
1055
|
+
if (!stmt->returns_data) return ThrowTypeError("The expand() method is only for statements that return data");
|
|
1056
|
+
if ( stmt -> db -> GetState ( ) -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
1057
|
+
if ( stmt -> locked ) return ThrowTypeError ( "This statement is busy executing a query" ) ;
|
|
1058
|
+
bool use = true;
|
|
1059
|
+
if (info.Length() != 0) { if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a boolean" ) ; use = ( info [ 0 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ; }
|
|
1060
|
+
stmt->mode = use ? Data::EXPAND : stmt->mode == Data::EXPAND ? Data::FLAT : stmt->mode;
|
|
1061
|
+
info.GetReturnValue().Set(info.This());
|
|
1062
|
+
}
|
|
1063
|
+
#line 258 "./src/objects/statement.lzz"
|
|
1064
|
+
void Statement::JS_raw (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1065
|
+
#line 258 "./src/objects/statement.lzz"
|
|
1066
|
+
{
|
|
1067
|
+
Statement* stmt = node :: ObjectWrap :: Unwrap <Statement>(info.This());
|
|
1068
|
+
if (!stmt->returns_data) return ThrowTypeError("The raw() method is only for statements that return data");
|
|
1069
|
+
if ( stmt -> db -> GetState ( ) -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
1070
|
+
if ( stmt -> locked ) return ThrowTypeError ( "This statement is busy executing a query" ) ;
|
|
1071
|
+
bool use = true;
|
|
1072
|
+
if (info.Length() != 0) { if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a boolean" ) ; use = ( info [ 0 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ; }
|
|
1073
|
+
stmt->mode = use ? Data::RAW : stmt->mode == Data::RAW ? Data::FLAT : stmt->mode;
|
|
1074
|
+
info.GetReturnValue().Set(info.This());
|
|
1075
|
+
}
|
|
1076
|
+
#line 269 "./src/objects/statement.lzz"
|
|
1077
|
+
void Statement::JS_safeIntegers (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1078
|
+
#line 269 "./src/objects/statement.lzz"
|
|
1079
|
+
{
|
|
1080
|
+
Statement* stmt = node :: ObjectWrap :: Unwrap <Statement>(info.This());
|
|
1081
|
+
if ( stmt -> db -> GetState ( ) -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
1082
|
+
if ( stmt -> locked ) return ThrowTypeError ( "This statement is busy executing a query" ) ;
|
|
1083
|
+
if (info.Length() == 0) stmt->safe_ints = true;
|
|
1084
|
+
else { if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsBoolean ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a boolean" ) ; stmt -> safe_ints = ( info [ 0 ] . As < v8 :: Boolean > ( ) ) -> Value ( ) ; }
|
|
1085
|
+
info.GetReturnValue().Set(info.This());
|
|
1086
|
+
}
|
|
1087
|
+
#line 278 "./src/objects/statement.lzz"
|
|
1088
|
+
void Statement::JS_columns (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1089
|
+
#line 278 "./src/objects/statement.lzz"
|
|
1090
|
+
{
|
|
1091
|
+
Statement* stmt = node :: ObjectWrap :: Unwrap <Statement>(info.This());
|
|
1092
|
+
if (!stmt->returns_data) return ThrowTypeError("The columns() method is only for statements that return data");
|
|
1093
|
+
if ( ! stmt -> db -> GetState ( ) -> open ) return ThrowTypeError ( "The database connection is not open" ) ;
|
|
1094
|
+
if ( stmt -> db -> GetState ( ) -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
1095
|
+
Addon* addon = stmt->db->GetAddon();
|
|
1096
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
1097
|
+
v8 :: Local < v8 :: Context > ctx = isolate -> GetCurrentContext ( ) ;
|
|
1098
|
+
|
|
1099
|
+
int column_count = sqlite3_column_count(stmt->handle);
|
|
1100
|
+
v8::Local<v8::Array> columns = v8::Array::New(isolate);
|
|
1101
|
+
|
|
1102
|
+
v8::Local<v8::String> name = addon->cs.name.Get(isolate);
|
|
1103
|
+
v8::Local<v8::String> columnName = addon->cs.column.Get(isolate);
|
|
1104
|
+
v8::Local<v8::String> tableName = addon->cs.table.Get(isolate);
|
|
1105
|
+
v8::Local<v8::String> databaseName = addon->cs.database.Get(isolate);
|
|
1106
|
+
v8::Local<v8::String> typeName = addon->cs.type.Get(isolate);
|
|
1107
|
+
|
|
1108
|
+
for (int i = 0; i < column_count; ++i) {
|
|
1109
|
+
v8::Local<v8::Object> column = v8::Object::New(isolate);
|
|
1110
|
+
|
|
1111
|
+
column->Set(ctx, name,
|
|
1112
|
+
InternalizedFromUtf8OrNull(isolate, sqlite3_column_name(stmt->handle, i), -1)
|
|
1113
|
+
).FromJust();
|
|
1114
|
+
column->Set(ctx, columnName,
|
|
1115
|
+
InternalizedFromUtf8OrNull(isolate, sqlite3_column_origin_name(stmt->handle, i), -1)
|
|
1116
|
+
).FromJust();
|
|
1117
|
+
column->Set(ctx, tableName,
|
|
1118
|
+
InternalizedFromUtf8OrNull(isolate, sqlite3_column_table_name(stmt->handle, i), -1)
|
|
1119
|
+
).FromJust();
|
|
1120
|
+
column->Set(ctx, databaseName,
|
|
1121
|
+
InternalizedFromUtf8OrNull(isolate, sqlite3_column_database_name(stmt->handle, i), -1)
|
|
1122
|
+
).FromJust();
|
|
1123
|
+
column->Set(ctx, typeName,
|
|
1124
|
+
InternalizedFromUtf8OrNull(isolate, sqlite3_column_decltype(stmt->handle, i), -1)
|
|
1125
|
+
).FromJust();
|
|
1126
|
+
|
|
1127
|
+
columns->Set(ctx, i, column).FromJust();
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
info.GetReturnValue().Set(columns);
|
|
1131
|
+
}
|
|
1132
|
+
#line 321 "./src/objects/statement.lzz"
|
|
1133
|
+
void Statement::JS_busy (v8::Local <v8 :: Name> _, v8::PropertyCallbackInfo <v8 :: Value> const & info)
|
|
1134
|
+
#line 321 "./src/objects/statement.lzz"
|
|
1135
|
+
{
|
|
1136
|
+
Statement* stmt = node :: ObjectWrap :: Unwrap <Statement>(info.This());
|
|
1137
|
+
info.GetReturnValue().Set(stmt->alive && stmt->locked);
|
|
1138
|
+
}
|
|
1139
|
+
#line 4 "./src/objects/statement-iterator.lzz"
|
|
1140
|
+
v8::Local <v8 :: Function> StatementIterator::Init (v8::Isolate * isolate, v8::Local <v8 :: External> data)
|
|
1141
|
+
#line 4 "./src/objects/statement-iterator.lzz"
|
|
1142
|
+
{
|
|
1143
|
+
v8::Local<v8::FunctionTemplate> t = NewConstructorTemplate(isolate, data, JS_new, "StatementIterator");
|
|
1144
|
+
SetPrototypeMethod(isolate, data, t, "next", JS_next);
|
|
1145
|
+
SetPrototypeMethod(isolate, data, t, "return", JS_return);
|
|
1146
|
+
SetPrototypeSymbolMethod(isolate, data, t, v8::Symbol::GetIterator(isolate), JS_symbolIterator);
|
|
1147
|
+
return t->GetFunction( isolate -> GetCurrentContext ( ) ).ToLocalChecked();
|
|
1148
|
+
}
|
|
1149
|
+
#line 15 "./src/objects/statement-iterator.lzz"
|
|
1150
|
+
StatementIterator::~ StatementIterator ()
|
|
1151
|
+
#line 15 "./src/objects/statement-iterator.lzz"
|
|
1152
|
+
{}
|
|
1153
|
+
#line 19 "./src/objects/statement-iterator.lzz"
|
|
1154
|
+
StatementIterator::StatementIterator (Statement * stmt, bool bound)
|
|
1155
|
+
#line 19 "./src/objects/statement-iterator.lzz"
|
|
1156
|
+
: node::ObjectWrap (), stmt (stmt), handle (stmt->handle), db_state (stmt->db->GetState()), bound (bound), safe_ints (stmt->safe_ints), mode (stmt->mode), alive (true), logged (!db_state->has_logger)
|
|
1157
|
+
#line 27 "./src/objects/statement-iterator.lzz"
|
|
1158
|
+
{
|
|
1159
|
+
assert(stmt != NULL);
|
|
1160
|
+
assert(handle != NULL);
|
|
1161
|
+
assert(stmt->bound == bound);
|
|
1162
|
+
assert(stmt->alive == true);
|
|
1163
|
+
assert(stmt->locked == false);
|
|
1164
|
+
assert(db_state->iterators < USHRT_MAX);
|
|
1165
|
+
stmt->locked = true;
|
|
1166
|
+
db_state->iterators += 1;
|
|
1167
|
+
}
|
|
1168
|
+
#line 38 "./src/objects/statement-iterator.lzz"
|
|
1169
|
+
void StatementIterator::JS_new (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1170
|
+
#line 38 "./src/objects/statement-iterator.lzz"
|
|
1171
|
+
{
|
|
1172
|
+
Addon * addon = static_cast < Addon * > ( info . Data ( ) . As < v8 :: External > ( ) -> Value ( ) ) ;
|
|
1173
|
+
if (!addon->privileged_info) return ThrowTypeError("Disabled constructor");
|
|
1174
|
+
assert(info.IsConstructCall());
|
|
1175
|
+
|
|
1176
|
+
StatementIterator* iter;
|
|
1177
|
+
{
|
|
1178
|
+
const v8 :: FunctionCallbackInfo < v8 :: Value > & info = *addon->privileged_info;
|
|
1179
|
+
Statement * stmt = node :: ObjectWrap :: Unwrap < Statement > ( info . This ( ) ) ; if ( ! stmt -> returns_data ) return ThrowTypeError ( "This statement does not return data. Use run() instead" ) ; sqlite3_stmt * handle = stmt -> handle ; Database * db = stmt -> db ; if ( ! db -> GetState ( ) -> open ) return ThrowTypeError ( "The database connection is not open" ) ; if ( db -> GetState ( ) -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ; if ( stmt -> locked ) return ThrowTypeError ( "This statement is busy executing a query" ) ; if ( db -> GetState ( ) -> iterators == USHRT_MAX ) return ThrowRangeError ( "Too many active database iterators" ) ; const bool bound = stmt -> bound ; if ( ! bound ) { Binder binder ( handle ) ; if ( ! binder . Bind ( info , info . Length ( ) , stmt ) ) { sqlite3_clear_bindings ( handle ) ; return ; } ( ( void ) 0 ) ; } else if ( info . Length ( ) > 0 ) { return ThrowTypeError ( "This statement already has bound parameters" ) ; } ( ( void ) 0 ) ;
|
|
1180
|
+
iter = new StatementIterator(stmt, bound);
|
|
1181
|
+
}
|
|
1182
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
1183
|
+
v8 :: Local < v8 :: Context > ctx = isolate -> GetCurrentContext ( ) ;
|
|
1184
|
+
iter->Wrap(info.This());
|
|
1185
|
+
SetFrozen(isolate, ctx, info.This(), addon->cs.statement, addon->privileged_info->This());
|
|
1186
|
+
|
|
1187
|
+
info.GetReturnValue().Set(info.This());
|
|
1188
|
+
}
|
|
1189
|
+
#line 57 "./src/objects/statement-iterator.lzz"
|
|
1190
|
+
void StatementIterator::JS_next (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1191
|
+
#line 57 "./src/objects/statement-iterator.lzz"
|
|
1192
|
+
{
|
|
1193
|
+
StatementIterator* iter = node :: ObjectWrap :: Unwrap <StatementIterator>(info.This());
|
|
1194
|
+
if ( iter -> db_state -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
1195
|
+
if (iter->alive) iter->Next(info);
|
|
1196
|
+
else info.GetReturnValue().Set(DoneRecord( info . GetIsolate ( ) , iter->db_state->addon));
|
|
1197
|
+
}
|
|
1198
|
+
#line 64 "./src/objects/statement-iterator.lzz"
|
|
1199
|
+
void StatementIterator::JS_return (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1200
|
+
#line 64 "./src/objects/statement-iterator.lzz"
|
|
1201
|
+
{
|
|
1202
|
+
StatementIterator* iter = node :: ObjectWrap :: Unwrap <StatementIterator>(info.This());
|
|
1203
|
+
if ( iter -> db_state -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
1204
|
+
if (iter->alive) iter->Return(info);
|
|
1205
|
+
else info.GetReturnValue().Set(DoneRecord( info . GetIsolate ( ) , iter->db_state->addon));
|
|
1206
|
+
}
|
|
1207
|
+
#line 71 "./src/objects/statement-iterator.lzz"
|
|
1208
|
+
void StatementIterator::JS_symbolIterator (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1209
|
+
#line 71 "./src/objects/statement-iterator.lzz"
|
|
1210
|
+
{
|
|
1211
|
+
info.GetReturnValue().Set(info.This());
|
|
1212
|
+
}
|
|
1213
|
+
#line 75 "./src/objects/statement-iterator.lzz"
|
|
1214
|
+
void StatementIterator::Next (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1215
|
+
#line 75 "./src/objects/statement-iterator.lzz"
|
|
1216
|
+
{
|
|
1217
|
+
assert(alive == true);
|
|
1218
|
+
db_state->busy = true;
|
|
1219
|
+
if (!logged) {
|
|
1220
|
+
logged = true;
|
|
1221
|
+
if (stmt->db->Log( info . GetIsolate ( ) , handle)) {
|
|
1222
|
+
db_state->busy = false;
|
|
1223
|
+
Throw();
|
|
1224
|
+
return;
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
int status = sqlite3_step(handle);
|
|
1228
|
+
db_state->busy = false;
|
|
1229
|
+
if (status == SQLITE_ROW) {
|
|
1230
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
1231
|
+
v8 :: Local < v8 :: Context > ctx = isolate -> GetCurrentContext ( ) ;
|
|
1232
|
+
info.GetReturnValue().Set(
|
|
1233
|
+
NewRecord(isolate, ctx, Data::GetRowJS(isolate, ctx, handle, safe_ints, mode), db_state->addon, false)
|
|
1234
|
+
);
|
|
1235
|
+
} else {
|
|
1236
|
+
if (status == SQLITE_DONE) Return(info);
|
|
1237
|
+
else Throw();
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
#line 100 "./src/objects/statement-iterator.lzz"
|
|
1241
|
+
void StatementIterator::Return (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1242
|
+
#line 100 "./src/objects/statement-iterator.lzz"
|
|
1243
|
+
{
|
|
1244
|
+
Cleanup();
|
|
1245
|
+
info . GetReturnValue ( ) . Set ( DoneRecord ( info . GetIsolate ( ) , db_state -> addon ) ) ; if ( ! bound ) { sqlite3_clear_bindings ( handle ) ; } return ;
|
|
1246
|
+
}
|
|
1247
|
+
#line 105 "./src/objects/statement-iterator.lzz"
|
|
1248
|
+
void StatementIterator::Throw ()
|
|
1249
|
+
#line 105 "./src/objects/statement-iterator.lzz"
|
|
1250
|
+
{
|
|
1251
|
+
Cleanup();
|
|
1252
|
+
Database* db = stmt->db;
|
|
1253
|
+
db -> ThrowDatabaseError ( ) ; if ( ! bound ) { sqlite3_clear_bindings ( handle ) ; } return ;
|
|
1254
|
+
}
|
|
1255
|
+
#line 111 "./src/objects/statement-iterator.lzz"
|
|
1256
|
+
void StatementIterator::Cleanup ()
|
|
1257
|
+
#line 111 "./src/objects/statement-iterator.lzz"
|
|
1258
|
+
{
|
|
1259
|
+
assert(alive == true);
|
|
1260
|
+
alive = false;
|
|
1261
|
+
stmt->locked = false;
|
|
1262
|
+
db_state->iterators -= 1;
|
|
1263
|
+
sqlite3_reset(handle);
|
|
1264
|
+
}
|
|
1265
|
+
#line 4 "./src/objects/backup.lzz"
|
|
1266
|
+
v8::Local <v8 :: Function> Backup::Init (v8::Isolate * isolate, v8::Local <v8 :: External> data)
|
|
1267
|
+
#line 4 "./src/objects/backup.lzz"
|
|
1268
|
+
{
|
|
1269
|
+
v8::Local<v8::FunctionTemplate> t = NewConstructorTemplate(isolate, data, JS_new, "Backup");
|
|
1270
|
+
SetPrototypeMethod(isolate, data, t, "transfer", JS_transfer);
|
|
1271
|
+
SetPrototypeMethod(isolate, data, t, "close", JS_close);
|
|
1272
|
+
return t->GetFunction( isolate -> GetCurrentContext ( ) ).ToLocalChecked();
|
|
1273
|
+
}
|
|
1274
|
+
#line 17 "./src/objects/backup.lzz"
|
|
1275
|
+
void Backup::CloseHandles ()
|
|
1276
|
+
#line 17 "./src/objects/backup.lzz"
|
|
1277
|
+
{
|
|
1278
|
+
if (alive) {
|
|
1279
|
+
alive = false;
|
|
1280
|
+
std::string filename(sqlite3_db_filename(dest_handle, "main"));
|
|
1281
|
+
sqlite3_backup_finish(backup_handle);
|
|
1282
|
+
int status = sqlite3_close(dest_handle);
|
|
1283
|
+
assert(status == SQLITE_OK); ((void)status);
|
|
1284
|
+
if (unlink) remove(filename.c_str());
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
#line 28 "./src/objects/backup.lzz"
|
|
1288
|
+
Backup::~ Backup ()
|
|
1289
|
+
#line 28 "./src/objects/backup.lzz"
|
|
1290
|
+
{
|
|
1291
|
+
if (alive) db->RemoveBackup(this);
|
|
1292
|
+
CloseHandles();
|
|
1293
|
+
}
|
|
1294
|
+
#line 35 "./src/objects/backup.lzz"
|
|
1295
|
+
Backup::Backup (Database * db, sqlite3 * dest_handle, sqlite3_backup * backup_handle, sqlite3_uint64 id, bool unlink)
|
|
1296
|
+
#line 41 "./src/objects/backup.lzz"
|
|
1297
|
+
: node::ObjectWrap (), db (db), dest_handle (dest_handle), backup_handle (backup_handle), id (id), alive (true), unlink (unlink)
|
|
1298
|
+
#line 48 "./src/objects/backup.lzz"
|
|
1299
|
+
{
|
|
1300
|
+
assert(db != NULL);
|
|
1301
|
+
assert(dest_handle != NULL);
|
|
1302
|
+
assert(backup_handle != NULL);
|
|
1303
|
+
db->AddBackup(this);
|
|
1304
|
+
}
|
|
1305
|
+
#line 55 "./src/objects/backup.lzz"
|
|
1306
|
+
void Backup::JS_new (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1307
|
+
#line 55 "./src/objects/backup.lzz"
|
|
1308
|
+
{
|
|
1309
|
+
Addon * addon = static_cast < Addon * > ( info . Data ( ) . As < v8 :: External > ( ) -> Value ( ) ) ;
|
|
1310
|
+
if (!addon->privileged_info) return ThrowTypeError("Disabled constructor");
|
|
1311
|
+
assert(info.IsConstructCall());
|
|
1312
|
+
Database* db = node :: ObjectWrap :: Unwrap <Database>(addon->privileged_info->This());
|
|
1313
|
+
if ( ! db -> GetState ( ) -> open ) return ThrowTypeError ( "The database connection is not open" ) ;
|
|
1314
|
+
if ( db -> GetState ( ) -> busy ) return ThrowTypeError ( "This database connection is busy executing a query" ) ;
|
|
1315
|
+
|
|
1316
|
+
v8::Local<v8::Object> database = (*addon->privileged_info)[0].As<v8::Object>();
|
|
1317
|
+
v8::Local<v8::String> attachedName = (*addon->privileged_info)[1].As<v8::String>();
|
|
1318
|
+
v8::Local<v8::String> destFile = (*addon->privileged_info)[2].As<v8::String>();
|
|
1319
|
+
bool unlink = (*addon->privileged_info)[3].As<v8::Boolean>()->Value();
|
|
1320
|
+
|
|
1321
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
1322
|
+
sqlite3* dest_handle;
|
|
1323
|
+
v8::String::Utf8Value dest_file(isolate, destFile);
|
|
1324
|
+
v8::String::Utf8Value attached_name(isolate, attachedName);
|
|
1325
|
+
int mask = (SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE);
|
|
1326
|
+
|
|
1327
|
+
if (sqlite3_open_v2(*dest_file, &dest_handle, mask, NULL) != SQLITE_OK) {
|
|
1328
|
+
Database::ThrowSqliteError(addon, dest_handle);
|
|
1329
|
+
int status = sqlite3_close(dest_handle);
|
|
1330
|
+
assert(status == SQLITE_OK); ((void)status);
|
|
1331
|
+
return;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
sqlite3_extended_result_codes(dest_handle, 1);
|
|
1335
|
+
sqlite3_limit(dest_handle, SQLITE_LIMIT_LENGTH, INT_MAX);
|
|
1336
|
+
sqlite3_backup* backup_handle = sqlite3_backup_init(dest_handle, "main", db->GetHandle(), *attached_name);
|
|
1337
|
+
if (backup_handle == NULL) {
|
|
1338
|
+
Database::ThrowSqliteError(addon, dest_handle);
|
|
1339
|
+
int status = sqlite3_close(dest_handle);
|
|
1340
|
+
assert(status == SQLITE_OK); ((void)status);
|
|
1341
|
+
return;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
Backup* backup = new Backup(db, dest_handle, backup_handle, addon->NextId(), unlink);
|
|
1345
|
+
backup->Wrap(info.This());
|
|
1346
|
+
SetFrozen(isolate, isolate -> GetCurrentContext ( ) , info.This(), addon->cs.database, database);
|
|
1347
|
+
|
|
1348
|
+
info.GetReturnValue().Set(info.This());
|
|
1349
|
+
}
|
|
1350
|
+
#line 98 "./src/objects/backup.lzz"
|
|
1351
|
+
void Backup::JS_transfer (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1352
|
+
#line 98 "./src/objects/backup.lzz"
|
|
1353
|
+
{
|
|
1354
|
+
Backup* backup = node :: ObjectWrap :: Unwrap <Backup>(info.This());
|
|
1355
|
+
if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsInt32 ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a 32-bit signed integer" ) ; int pages = ( info [ 0 ] . As < v8 :: Int32 > ( ) ) -> Value ( ) ;
|
|
1356
|
+
if ( ! backup -> db -> GetState ( ) -> open ) return ThrowTypeError ( "The database connection is not open" ) ;
|
|
1357
|
+
assert(backup->db->GetState()->busy == false);
|
|
1358
|
+
assert(backup->alive == true);
|
|
1359
|
+
|
|
1360
|
+
sqlite3_backup* backup_handle = backup->backup_handle;
|
|
1361
|
+
int status = sqlite3_backup_step(backup_handle, pages) & 0xff;
|
|
1362
|
+
|
|
1363
|
+
Addon* addon = backup->db->GetAddon();
|
|
1364
|
+
if (status == SQLITE_OK || status == SQLITE_DONE || status == SQLITE_BUSY) {
|
|
1365
|
+
int total_pages = sqlite3_backup_pagecount(backup_handle);
|
|
1366
|
+
int remaining_pages = sqlite3_backup_remaining(backup_handle);
|
|
1367
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
1368
|
+
v8 :: Local < v8 :: Context > ctx = isolate -> GetCurrentContext ( ) ;
|
|
1369
|
+
v8::Local<v8::Object> result = v8::Object::New(isolate);
|
|
1370
|
+
result->Set(ctx, addon->cs.totalPages.Get(isolate), v8::Int32::New(isolate, total_pages)).FromJust();
|
|
1371
|
+
result->Set(ctx, addon->cs.remainingPages.Get(isolate), v8::Int32::New(isolate, remaining_pages)).FromJust();
|
|
1372
|
+
info.GetReturnValue().Set(result);
|
|
1373
|
+
if (status == SQLITE_DONE) backup->unlink = false;
|
|
1374
|
+
} else {
|
|
1375
|
+
Database::ThrowSqliteError(addon, sqlite3_errstr(status), status);
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
#line 124 "./src/objects/backup.lzz"
|
|
1379
|
+
void Backup::JS_close (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
1380
|
+
#line 124 "./src/objects/backup.lzz"
|
|
1381
|
+
{
|
|
1382
|
+
Backup* backup = node :: ObjectWrap :: Unwrap <Backup>(info.This());
|
|
1383
|
+
assert(backup->db->GetState()->busy == false);
|
|
1384
|
+
if (backup->alive) backup->db->RemoveBackup(backup);
|
|
1385
|
+
backup->CloseHandles();
|
|
1386
|
+
info.GetReturnValue().Set(info.This());
|
|
1387
|
+
}
|
|
1388
|
+
#line 4 "./src/util/data-converter.lzz"
|
|
1389
|
+
void DataConverter::ThrowDataConversionError (sqlite3_context * invocation, bool isBigInt)
|
|
1390
|
+
#line 4 "./src/util/data-converter.lzz"
|
|
1391
|
+
{
|
|
1392
|
+
if (isBigInt) {
|
|
1393
|
+
ThrowRangeError((GetDataErrorPrefix() + " a bigint that was too big").c_str());
|
|
1394
|
+
} else {
|
|
1395
|
+
ThrowTypeError((GetDataErrorPrefix() + " an invalid value").c_str());
|
|
1396
|
+
}
|
|
1397
|
+
PropagateJSError(invocation);
|
|
1398
|
+
}
|
|
1399
|
+
#line 4 "./src/util/custom-function.lzz"
|
|
1400
|
+
CustomFunction::CustomFunction (v8::Isolate * isolate, Database * db, char const * name, v8::Local <v8::Function> fn, bool safe_ints)
|
|
1401
|
+
#line 10 "./src/util/custom-function.lzz"
|
|
1402
|
+
: name (name), db (db), isolate (isolate), fn (isolate, fn), safe_ints (safe_ints)
|
|
1403
|
+
#line 15 "./src/util/custom-function.lzz"
|
|
1404
|
+
{}
|
|
1405
|
+
#line 17 "./src/util/custom-function.lzz"
|
|
1406
|
+
CustomFunction::~ CustomFunction ()
|
|
1407
|
+
#line 17 "./src/util/custom-function.lzz"
|
|
1408
|
+
{}
|
|
1409
|
+
#line 19 "./src/util/custom-function.lzz"
|
|
1410
|
+
void CustomFunction::xDestroy (void * self)
|
|
1411
|
+
#line 19 "./src/util/custom-function.lzz"
|
|
1412
|
+
{
|
|
1413
|
+
delete static_cast<CustomFunction*>(self);
|
|
1414
|
+
}
|
|
1415
|
+
#line 23 "./src/util/custom-function.lzz"
|
|
1416
|
+
void CustomFunction::xFunc (sqlite3_context * invocation, int argc, sqlite3_value * * argv)
|
|
1417
|
+
#line 23 "./src/util/custom-function.lzz"
|
|
1418
|
+
{
|
|
1419
|
+
CustomFunction * self = static_cast < CustomFunction * > ( sqlite3_user_data ( invocation ) ) ; v8 :: Isolate * isolate = self -> isolate ; v8 :: HandleScope scope ( isolate ) ;
|
|
1420
|
+
|
|
1421
|
+
v8::Local<v8::Value> args_fast[4];
|
|
1422
|
+
v8::Local<v8::Value>* args = NULL;
|
|
1423
|
+
if (argc != 0) {
|
|
1424
|
+
args = argc <= 4 ? args_fast : ALLOC_ARRAY<v8::Local<v8::Value>>(argc);
|
|
1425
|
+
Data::GetArgumentsJS(isolate, args, argv, argc, self->safe_ints);
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
v8::MaybeLocal<v8::Value> maybeReturnValue = self->fn.Get(isolate)->Call( isolate -> GetCurrentContext ( ) , v8::Undefined(isolate), argc, args);
|
|
1429
|
+
if (args != args_fast) delete[] args;
|
|
1430
|
+
|
|
1431
|
+
if (maybeReturnValue.IsEmpty()) self->PropagateJSError(invocation);
|
|
1432
|
+
else Data::ResultValueFromJS(isolate, invocation, maybeReturnValue.ToLocalChecked(), self);
|
|
1433
|
+
}
|
|
1434
|
+
#line 42 "./src/util/custom-function.lzz"
|
|
1435
|
+
void CustomFunction::PropagateJSError (sqlite3_context * invocation)
|
|
1436
|
+
#line 42 "./src/util/custom-function.lzz"
|
|
1437
|
+
{
|
|
1438
|
+
assert(db->GetState()->was_js_error == false);
|
|
1439
|
+
db->GetState()->was_js_error = true;
|
|
1440
|
+
sqlite3_result_error(invocation, "", 0);
|
|
1441
|
+
}
|
|
1442
|
+
#line 48 "./src/util/custom-function.lzz"
|
|
1443
|
+
std::string CustomFunction::GetDataErrorPrefix ()
|
|
1444
|
+
#line 48 "./src/util/custom-function.lzz"
|
|
1445
|
+
{
|
|
1446
|
+
return std::string("User-defined function ") + name + "() returned";
|
|
1447
|
+
}
|
|
1448
|
+
#line 4 "./src/util/custom-aggregate.lzz"
|
|
1449
|
+
CustomAggregate::CustomAggregate (v8::Isolate * isolate, Database * db, char const * name, v8::Local <v8::Value> start, v8::Local <v8::Function> step, v8::Local <v8::Value> inverse, v8::Local <v8::Value> result, bool safe_ints)
|
|
1450
|
+
#line 13 "./src/util/custom-aggregate.lzz"
|
|
1451
|
+
: CustomFunction (isolate, db, name, step, safe_ints), invoke_result (result->IsFunction()), invoke_start (start->IsFunction()), inverse (isolate, inverse->IsFunction() ? inverse.As<v8::Function>() : v8::Local<v8::Function>()), result (isolate, result->IsFunction() ? result.As<v8::Function>() : v8::Local<v8::Function>()), start (isolate, start)
|
|
1452
|
+
#line 19 "./src/util/custom-aggregate.lzz"
|
|
1453
|
+
{}
|
|
1454
|
+
#line 21 "./src/util/custom-aggregate.lzz"
|
|
1455
|
+
void CustomAggregate::xStep (sqlite3_context * invocation, int argc, sqlite3_value * * argv)
|
|
1456
|
+
#line 21 "./src/util/custom-aggregate.lzz"
|
|
1457
|
+
{
|
|
1458
|
+
xStepBase(invocation, argc, argv, &CustomAggregate::fn);
|
|
1459
|
+
}
|
|
1460
|
+
#line 25 "./src/util/custom-aggregate.lzz"
|
|
1461
|
+
void CustomAggregate::xInverse (sqlite3_context * invocation, int argc, sqlite3_value * * argv)
|
|
1462
|
+
#line 25 "./src/util/custom-aggregate.lzz"
|
|
1463
|
+
{
|
|
1464
|
+
xStepBase(invocation, argc, argv, &CustomAggregate::inverse);
|
|
1465
|
+
}
|
|
1466
|
+
#line 29 "./src/util/custom-aggregate.lzz"
|
|
1467
|
+
void CustomAggregate::xValue (sqlite3_context * invocation)
|
|
1468
|
+
#line 29 "./src/util/custom-aggregate.lzz"
|
|
1469
|
+
{
|
|
1470
|
+
xValueBase(invocation, false);
|
|
1471
|
+
}
|
|
1472
|
+
#line 33 "./src/util/custom-aggregate.lzz"
|
|
1473
|
+
void CustomAggregate::xFinal (sqlite3_context * invocation)
|
|
1474
|
+
#line 33 "./src/util/custom-aggregate.lzz"
|
|
1475
|
+
{
|
|
1476
|
+
xValueBase(invocation, true);
|
|
1477
|
+
}
|
|
1478
|
+
#line 88 "./src/util/custom-aggregate.lzz"
|
|
1479
|
+
CustomAggregate::Accumulator * CustomAggregate::GetAccumulator (sqlite3_context * invocation)
|
|
1480
|
+
#line 88 "./src/util/custom-aggregate.lzz"
|
|
1481
|
+
{
|
|
1482
|
+
Accumulator* acc = static_cast<Accumulator*>(sqlite3_aggregate_context(invocation, sizeof(Accumulator)));
|
|
1483
|
+
if (!acc->initialized) {
|
|
1484
|
+
assert(acc->value.IsEmpty());
|
|
1485
|
+
acc->initialized = true;
|
|
1486
|
+
if (invoke_start) {
|
|
1487
|
+
v8::MaybeLocal<v8::Value> maybeSeed = start.Get(isolate).As<v8::Function>()->Call( isolate -> GetCurrentContext ( ) , v8::Undefined(isolate), 0, NULL);
|
|
1488
|
+
if (maybeSeed.IsEmpty()) PropagateJSError(invocation);
|
|
1489
|
+
else acc->value.Reset(isolate, maybeSeed.ToLocalChecked());
|
|
1490
|
+
} else {
|
|
1491
|
+
assert(!start.IsEmpty());
|
|
1492
|
+
acc->value.Reset(isolate, start);
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
return acc;
|
|
1496
|
+
}
|
|
1497
|
+
#line 105 "./src/util/custom-aggregate.lzz"
|
|
1498
|
+
void CustomAggregate::DestroyAccumulator (sqlite3_context * invocation)
|
|
1499
|
+
#line 105 "./src/util/custom-aggregate.lzz"
|
|
1500
|
+
{
|
|
1501
|
+
Accumulator* acc = static_cast<Accumulator*>(sqlite3_aggregate_context(invocation, sizeof(Accumulator)));
|
|
1502
|
+
assert(acc->initialized);
|
|
1503
|
+
acc->value.Reset();
|
|
1504
|
+
}
|
|
1505
|
+
#line 111 "./src/util/custom-aggregate.lzz"
|
|
1506
|
+
void CustomAggregate::PropagateJSError (sqlite3_context * invocation)
|
|
1507
|
+
#line 111 "./src/util/custom-aggregate.lzz"
|
|
1508
|
+
{
|
|
1509
|
+
DestroyAccumulator(invocation);
|
|
1510
|
+
CustomFunction::PropagateJSError(invocation);
|
|
1511
|
+
}
|
|
1512
|
+
#line 4 "./src/util/custom-table.lzz"
|
|
1513
|
+
CustomTable::CustomTable (v8::Isolate * isolate, Database * db, char const * name, v8::Local <v8::Function> factory)
|
|
1514
|
+
#line 9 "./src/util/custom-table.lzz"
|
|
1515
|
+
: addon (db->GetAddon()), isolate (isolate), db (db), name (name), factory (isolate, factory)
|
|
1516
|
+
#line 14 "./src/util/custom-table.lzz"
|
|
1517
|
+
{}
|
|
1518
|
+
#line 16 "./src/util/custom-table.lzz"
|
|
1519
|
+
void CustomTable::Destructor (void * self)
|
|
1520
|
+
#line 16 "./src/util/custom-table.lzz"
|
|
1521
|
+
{
|
|
1522
|
+
delete static_cast<CustomTable*>(self);
|
|
1523
|
+
}
|
|
1524
|
+
#line 20 "./src/util/custom-table.lzz"
|
|
1525
|
+
sqlite3_module CustomTable::MODULE = {
|
|
1526
|
+
0,
|
|
1527
|
+
xCreate,
|
|
1528
|
+
xConnect,
|
|
1529
|
+
xBestIndex,
|
|
1530
|
+
xDisconnect,
|
|
1531
|
+
xDisconnect,
|
|
1532
|
+
xOpen,
|
|
1533
|
+
xClose,
|
|
1534
|
+
xFilter,
|
|
1535
|
+
xNext,
|
|
1536
|
+
xEof,
|
|
1537
|
+
xColumn,
|
|
1538
|
+
xRowid,
|
|
1539
|
+
NULL,
|
|
1540
|
+
NULL,
|
|
1541
|
+
NULL,
|
|
1542
|
+
NULL,
|
|
1543
|
+
NULL,
|
|
1544
|
+
NULL,
|
|
1545
|
+
NULL,
|
|
1546
|
+
NULL,
|
|
1547
|
+
NULL,
|
|
1548
|
+
NULL,
|
|
1549
|
+
NULL
|
|
1550
|
+
};
|
|
1551
|
+
#line 47 "./src/util/custom-table.lzz"
|
|
1552
|
+
sqlite3_module CustomTable::EPONYMOUS_MODULE = {
|
|
1553
|
+
0,
|
|
1554
|
+
NULL,
|
|
1555
|
+
xConnect,
|
|
1556
|
+
xBestIndex,
|
|
1557
|
+
xDisconnect,
|
|
1558
|
+
xDisconnect,
|
|
1559
|
+
xOpen,
|
|
1560
|
+
xClose,
|
|
1561
|
+
xFilter,
|
|
1562
|
+
xNext,
|
|
1563
|
+
xEof,
|
|
1564
|
+
xColumn,
|
|
1565
|
+
xRowid,
|
|
1566
|
+
NULL,
|
|
1567
|
+
NULL,
|
|
1568
|
+
NULL,
|
|
1569
|
+
NULL,
|
|
1570
|
+
NULL,
|
|
1571
|
+
NULL,
|
|
1572
|
+
NULL,
|
|
1573
|
+
NULL,
|
|
1574
|
+
NULL,
|
|
1575
|
+
NULL,
|
|
1576
|
+
NULL
|
|
1577
|
+
};
|
|
1578
|
+
#line 78 "./src/util/custom-table.lzz"
|
|
1579
|
+
CustomTable::VTab::VTab (CustomTable * parent, v8::Local <v8::Function> generator, std::vector <std::string> parameter_names, bool safe_ints)
|
|
1580
|
+
#line 83 "./src/util/custom-table.lzz"
|
|
1581
|
+
: parent (parent), parameter_count (parameter_names.size()), safe_ints (safe_ints), generator (parent->isolate, generator), parameter_names (parameter_names)
|
|
1582
|
+
#line 88 "./src/util/custom-table.lzz"
|
|
1583
|
+
{
|
|
1584
|
+
((void)base);
|
|
1585
|
+
}
|
|
1586
|
+
#line 132 "./src/util/custom-table.lzz"
|
|
1587
|
+
CustomTable::TempDataConverter::TempDataConverter (CustomTable * parent)
|
|
1588
|
+
#line 132 "./src/util/custom-table.lzz"
|
|
1589
|
+
: parent (parent), status (SQLITE_OK)
|
|
1590
|
+
#line 134 "./src/util/custom-table.lzz"
|
|
1591
|
+
{}
|
|
1592
|
+
#line 136 "./src/util/custom-table.lzz"
|
|
1593
|
+
void CustomTable::TempDataConverter::PropagateJSError (sqlite3_context * invocation)
|
|
1594
|
+
#line 136 "./src/util/custom-table.lzz"
|
|
1595
|
+
{
|
|
1596
|
+
status = SQLITE_ERROR;
|
|
1597
|
+
parent->PropagateJSError();
|
|
1598
|
+
}
|
|
1599
|
+
#line 141 "./src/util/custom-table.lzz"
|
|
1600
|
+
std::string CustomTable::TempDataConverter::GetDataErrorPrefix ()
|
|
1601
|
+
#line 141 "./src/util/custom-table.lzz"
|
|
1602
|
+
{
|
|
1603
|
+
return std::string("Virtual table module \"") + parent->name + "\" yielded";
|
|
1604
|
+
}
|
|
1605
|
+
#line 151 "./src/util/custom-table.lzz"
|
|
1606
|
+
int CustomTable::xCreate (sqlite3 * db_handle, void * _self, int argc, char const * const * argv, sqlite3_vtab * * output, char * * errOutput)
|
|
1607
|
+
#line 151 "./src/util/custom-table.lzz"
|
|
1608
|
+
{
|
|
1609
|
+
return xConnect(db_handle, _self, argc, argv, output, errOutput);
|
|
1610
|
+
}
|
|
1611
|
+
#line 156 "./src/util/custom-table.lzz"
|
|
1612
|
+
int CustomTable::xConnect (sqlite3 * db_handle, void * _self, int argc, char const * const * argv, sqlite3_vtab * * output, char * * errOutput)
|
|
1613
|
+
#line 156 "./src/util/custom-table.lzz"
|
|
1614
|
+
{
|
|
1615
|
+
CustomTable* self = static_cast<CustomTable*>(_self);
|
|
1616
|
+
v8::Isolate* isolate = self->isolate;
|
|
1617
|
+
v8::HandleScope scope(isolate);
|
|
1618
|
+
v8 :: Local < v8 :: Context > ctx = isolate -> GetCurrentContext ( ) ;
|
|
1619
|
+
|
|
1620
|
+
v8::Local<v8::Value>* args = ALLOC_ARRAY<v8::Local<v8::Value>>(argc);
|
|
1621
|
+
for (int i = 0; i < argc; ++i) {
|
|
1622
|
+
args[i] = StringFromUtf8(isolate, argv[i], -1);
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
|
|
1626
|
+
v8::MaybeLocal<v8::Value> maybeReturnValue = self->factory.Get(isolate)->Call(ctx, v8::Undefined(isolate), argc, args);
|
|
1627
|
+
delete[] args;
|
|
1628
|
+
|
|
1629
|
+
if (maybeReturnValue.IsEmpty()) {
|
|
1630
|
+
self->PropagateJSError();
|
|
1631
|
+
return SQLITE_ERROR;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
v8::Local<v8::Array> returnValue = maybeReturnValue.ToLocalChecked().As<v8::Array>();
|
|
1636
|
+
v8::Local<v8::String> sqlString = returnValue->Get(ctx, 0).ToLocalChecked().As<v8::String>();
|
|
1637
|
+
v8::Local<v8::Function> generator = returnValue->Get(ctx, 1).ToLocalChecked().As<v8::Function>();
|
|
1638
|
+
v8::Local<v8::Array> parameterNames = returnValue->Get(ctx, 2).ToLocalChecked().As<v8::Array>();
|
|
1639
|
+
int safe_ints = returnValue->Get(ctx, 3).ToLocalChecked().As<v8::Int32>()->Value();
|
|
1640
|
+
bool direct_only = returnValue->Get(ctx, 4).ToLocalChecked().As<v8::Boolean>()->Value();
|
|
1641
|
+
|
|
1642
|
+
v8::String::Utf8Value sql(isolate, sqlString);
|
|
1643
|
+
safe_ints = safe_ints < 2 ? safe_ints : static_cast<int>(self->db->GetState()->safe_ints);
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
std::vector<std::string> parameter_names;
|
|
1647
|
+
for (int i = 0, len = parameterNames->Length(); i < len; ++i) {
|
|
1648
|
+
v8::Local<v8::String> parameterName = parameterNames->Get(ctx, i).ToLocalChecked().As<v8::String>();
|
|
1649
|
+
v8::String::Utf8Value parameter_name(isolate, parameterName);
|
|
1650
|
+
parameter_names.emplace_back(*parameter_name);
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
|
|
1654
|
+
if (sqlite3_declare_vtab(db_handle, *sql) != SQLITE_OK) {
|
|
1655
|
+
*errOutput = sqlite3_mprintf("failed to declare virtual table \"%s\"", argv[2]);
|
|
1656
|
+
return SQLITE_ERROR;
|
|
1657
|
+
}
|
|
1658
|
+
if (direct_only && sqlite3_vtab_config(db_handle, SQLITE_VTAB_DIRECTONLY) != SQLITE_OK) {
|
|
1659
|
+
*errOutput = sqlite3_mprintf("failed to configure virtual table \"%s\"", argv[2]);
|
|
1660
|
+
return SQLITE_ERROR;
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
|
|
1664
|
+
*output = (new VTab(self, generator, parameter_names, safe_ints))->Downcast();
|
|
1665
|
+
return SQLITE_OK;
|
|
1666
|
+
}
|
|
1667
|
+
#line 210 "./src/util/custom-table.lzz"
|
|
1668
|
+
int CustomTable::xDisconnect (sqlite3_vtab * vtab)
|
|
1669
|
+
#line 210 "./src/util/custom-table.lzz"
|
|
1670
|
+
{
|
|
1671
|
+
delete VTab::Upcast(vtab);
|
|
1672
|
+
return SQLITE_OK;
|
|
1673
|
+
}
|
|
1674
|
+
#line 215 "./src/util/custom-table.lzz"
|
|
1675
|
+
int CustomTable::xOpen (sqlite3_vtab * vtab, sqlite3_vtab_cursor * * output)
|
|
1676
|
+
#line 215 "./src/util/custom-table.lzz"
|
|
1677
|
+
{
|
|
1678
|
+
*output = (new Cursor())->Downcast();
|
|
1679
|
+
return SQLITE_OK;
|
|
1680
|
+
}
|
|
1681
|
+
#line 220 "./src/util/custom-table.lzz"
|
|
1682
|
+
int CustomTable::xClose (sqlite3_vtab_cursor * cursor)
|
|
1683
|
+
#line 220 "./src/util/custom-table.lzz"
|
|
1684
|
+
{
|
|
1685
|
+
delete Cursor::Upcast(cursor);
|
|
1686
|
+
return SQLITE_OK;
|
|
1687
|
+
}
|
|
1688
|
+
#line 228 "./src/util/custom-table.lzz"
|
|
1689
|
+
int CustomTable::xFilter (sqlite3_vtab_cursor * _cursor, int idxNum, char const * idxStr, int argc, sqlite3_value * * argv)
|
|
1690
|
+
#line 228 "./src/util/custom-table.lzz"
|
|
1691
|
+
{
|
|
1692
|
+
Cursor* cursor = Cursor::Upcast(_cursor);
|
|
1693
|
+
VTab* vtab = cursor->GetVTab();
|
|
1694
|
+
CustomTable* self = vtab->parent;
|
|
1695
|
+
Addon* addon = self->addon;
|
|
1696
|
+
v8::Isolate* isolate = self->isolate;
|
|
1697
|
+
v8::HandleScope scope(isolate);
|
|
1698
|
+
v8 :: Local < v8 :: Context > ctx = isolate -> GetCurrentContext ( ) ;
|
|
1699
|
+
|
|
1700
|
+
|
|
1701
|
+
|
|
1702
|
+
v8::Local<v8::Value> args_fast[4];
|
|
1703
|
+
v8::Local<v8::Value>* args = NULL;
|
|
1704
|
+
int parameter_count = vtab->parameter_count;
|
|
1705
|
+
if (parameter_count != 0) {
|
|
1706
|
+
args = parameter_count <= 4 ? args_fast : ALLOC_ARRAY<v8::Local<v8::Value>>(parameter_count);
|
|
1707
|
+
int argn = 0;
|
|
1708
|
+
bool safe_ints = vtab->safe_ints;
|
|
1709
|
+
for (int i = 0; i < parameter_count; ++i) {
|
|
1710
|
+
if (idxNum & 1 << i) {
|
|
1711
|
+
args[i] = Data::GetValueJS(isolate, argv[argn++], safe_ints);
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
if (args[i]->IsNull()) {
|
|
1715
|
+
if (args != args_fast) delete[] args;
|
|
1716
|
+
cursor->done = true;
|
|
1717
|
+
return SQLITE_OK;
|
|
1718
|
+
}
|
|
1719
|
+
} else {
|
|
1720
|
+
args[i] = v8::Undefined(isolate);
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
v8::MaybeLocal<v8::Value> maybeIterator = vtab->generator.Get(isolate)->Call(ctx, v8::Undefined(isolate), parameter_count, args);
|
|
1727
|
+
if (args != args_fast) delete[] args;
|
|
1728
|
+
|
|
1729
|
+
if (maybeIterator.IsEmpty()) {
|
|
1730
|
+
self->PropagateJSError();
|
|
1731
|
+
return SQLITE_ERROR;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
v8::Local<v8::Object> iterator = maybeIterator.ToLocalChecked().As<v8::Object>();
|
|
1736
|
+
v8::Local<v8::Function> next = iterator->Get(ctx, addon->cs.next.Get(isolate)).ToLocalChecked().As<v8::Function>();
|
|
1737
|
+
cursor->iterator.Reset(isolate, iterator);
|
|
1738
|
+
cursor->next.Reset(isolate, next);
|
|
1739
|
+
cursor->rowid = 0;
|
|
1740
|
+
|
|
1741
|
+
|
|
1742
|
+
return xNext(cursor->Downcast());
|
|
1743
|
+
}
|
|
1744
|
+
#line 284 "./src/util/custom-table.lzz"
|
|
1745
|
+
int CustomTable::xNext (sqlite3_vtab_cursor * _cursor)
|
|
1746
|
+
#line 284 "./src/util/custom-table.lzz"
|
|
1747
|
+
{
|
|
1748
|
+
Cursor* cursor = Cursor::Upcast(_cursor);
|
|
1749
|
+
CustomTable* self = cursor->GetVTab()->parent;
|
|
1750
|
+
Addon* addon = self->addon;
|
|
1751
|
+
v8::Isolate* isolate = self->isolate;
|
|
1752
|
+
v8::HandleScope scope(isolate);
|
|
1753
|
+
v8 :: Local < v8 :: Context > ctx = isolate -> GetCurrentContext ( ) ;
|
|
1754
|
+
|
|
1755
|
+
v8::Local<v8::Object> iterator = cursor->iterator.Get(isolate);
|
|
1756
|
+
v8::Local<v8::Function> next = cursor->next.Get(isolate);
|
|
1757
|
+
|
|
1758
|
+
v8::MaybeLocal<v8::Value> maybeRecord = next->Call(ctx, iterator, 0, NULL);
|
|
1759
|
+
if (maybeRecord.IsEmpty()) {
|
|
1760
|
+
self->PropagateJSError();
|
|
1761
|
+
return SQLITE_ERROR;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
v8::Local<v8::Object> record = maybeRecord.ToLocalChecked().As<v8::Object>();
|
|
1765
|
+
bool done = record->Get(ctx, addon->cs.done.Get(isolate)).ToLocalChecked().As<v8::Boolean>()->Value();
|
|
1766
|
+
if (!done) {
|
|
1767
|
+
cursor->row.Reset(isolate, record->Get(ctx, addon->cs.value.Get(isolate)).ToLocalChecked().As<v8::Array>());
|
|
1768
|
+
}
|
|
1769
|
+
cursor->done = done;
|
|
1770
|
+
cursor->rowid += 1;
|
|
1771
|
+
|
|
1772
|
+
return SQLITE_OK;
|
|
1773
|
+
}
|
|
1774
|
+
#line 313 "./src/util/custom-table.lzz"
|
|
1775
|
+
int CustomTable::xEof (sqlite3_vtab_cursor * cursor)
|
|
1776
|
+
#line 313 "./src/util/custom-table.lzz"
|
|
1777
|
+
{
|
|
1778
|
+
return Cursor::Upcast(cursor)->done;
|
|
1779
|
+
}
|
|
1780
|
+
#line 318 "./src/util/custom-table.lzz"
|
|
1781
|
+
int CustomTable::xColumn (sqlite3_vtab_cursor * _cursor, sqlite3_context * invocation, int column)
|
|
1782
|
+
#line 318 "./src/util/custom-table.lzz"
|
|
1783
|
+
{
|
|
1784
|
+
Cursor* cursor = Cursor::Upcast(_cursor);
|
|
1785
|
+
CustomTable* self = cursor->GetVTab()->parent;
|
|
1786
|
+
TempDataConverter temp_data_converter(self);
|
|
1787
|
+
v8::Isolate* isolate = self->isolate;
|
|
1788
|
+
v8::HandleScope scope(isolate);
|
|
1789
|
+
|
|
1790
|
+
v8::Local<v8::Array> row = cursor->row.Get(isolate);
|
|
1791
|
+
v8::MaybeLocal<v8::Value> maybeColumnValue = row->Get( isolate -> GetCurrentContext ( ) , column);
|
|
1792
|
+
if (maybeColumnValue.IsEmpty()) {
|
|
1793
|
+
temp_data_converter.PropagateJSError(NULL);
|
|
1794
|
+
} else {
|
|
1795
|
+
Data::ResultValueFromJS(isolate, invocation, maybeColumnValue.ToLocalChecked(), &temp_data_converter);
|
|
1796
|
+
}
|
|
1797
|
+
return temp_data_converter.status;
|
|
1798
|
+
}
|
|
1799
|
+
#line 336 "./src/util/custom-table.lzz"
|
|
1800
|
+
int CustomTable::xRowid (sqlite3_vtab_cursor * cursor, sqlite_int64 * output)
|
|
1801
|
+
#line 336 "./src/util/custom-table.lzz"
|
|
1802
|
+
{
|
|
1803
|
+
*output = Cursor::Upcast(cursor)->rowid;
|
|
1804
|
+
return SQLITE_OK;
|
|
1805
|
+
}
|
|
1806
|
+
#line 343 "./src/util/custom-table.lzz"
|
|
1807
|
+
int CustomTable::xBestIndex (sqlite3_vtab * vtab, sqlite3_index_info * output)
|
|
1808
|
+
#line 343 "./src/util/custom-table.lzz"
|
|
1809
|
+
{
|
|
1810
|
+
int parameter_count = VTab::Upcast(vtab)->parameter_count;
|
|
1811
|
+
int argument_count = 0;
|
|
1812
|
+
std::vector<std::pair<int, int>> forwarded;
|
|
1813
|
+
|
|
1814
|
+
for (int i = 0, len = output->nConstraint; i < len; ++i) {
|
|
1815
|
+
auto item = output->aConstraint[i];
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
|
|
1819
|
+
|
|
1820
|
+
|
|
1821
|
+
if (item.op == SQLITE_INDEX_CONSTRAINT_LIMIT || item.op == SQLITE_INDEX_CONSTRAINT_OFFSET) {
|
|
1822
|
+
continue;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
if (item.iColumn >= 0 && item.iColumn < parameter_count) {
|
|
1826
|
+
if (item.op != SQLITE_INDEX_CONSTRAINT_EQ) {
|
|
1827
|
+
sqlite3_free(vtab->zErrMsg);
|
|
1828
|
+
vtab->zErrMsg = sqlite3_mprintf(
|
|
1829
|
+
"virtual table parameter \"%s\" can only be constrained by the '=' operator",
|
|
1830
|
+
VTab::Upcast(vtab)->parameter_names.at(item.iColumn).c_str());
|
|
1831
|
+
return SQLITE_ERROR;
|
|
1832
|
+
}
|
|
1833
|
+
if (!item.usable) {
|
|
1834
|
+
|
|
1835
|
+
|
|
1836
|
+
|
|
1837
|
+
return SQLITE_CONSTRAINT;
|
|
1838
|
+
}
|
|
1839
|
+
forwarded.emplace_back(item.iColumn, i);
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
std::sort(forwarded.begin(), forwarded.end());
|
|
1845
|
+
for (std::pair<int, int> pair : forwarded) {
|
|
1846
|
+
int bit = 1 << pair.first;
|
|
1847
|
+
if (!(output->idxNum & bit)) {
|
|
1848
|
+
output->idxNum |= bit;
|
|
1849
|
+
output->aConstraintUsage[pair.second].argvIndex = ++argument_count;
|
|
1850
|
+
output->aConstraintUsage[pair.second].omit = 1;
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
|
|
1856
|
+
output->estimatedCost = output->estimatedRows = 1000000000 / (argument_count + 1);
|
|
1857
|
+
return SQLITE_OK;
|
|
1858
|
+
}
|
|
1859
|
+
#line 394 "./src/util/custom-table.lzz"
|
|
1860
|
+
void CustomTable::PropagateJSError ()
|
|
1861
|
+
#line 394 "./src/util/custom-table.lzz"
|
|
1862
|
+
{
|
|
1863
|
+
assert(db->GetState()->was_js_error == false);
|
|
1864
|
+
db->GetState()->was_js_error = true;
|
|
1865
|
+
}
|
|
1866
|
+
#line 65 "./src/util/data.lzz"
|
|
1867
|
+
namespace Data
|
|
1868
|
+
{
|
|
1869
|
+
#line 72 "./src/util/data.lzz"
|
|
1870
|
+
v8::Local <v8::Value> GetValueJS (v8::Isolate * isolate, sqlite3_stmt * handle, int column, bool safe_ints)
|
|
1871
|
+
#line 72 "./src/util/data.lzz"
|
|
1872
|
+
{
|
|
1873
|
+
switch ( sqlite3_column_type ( handle , column ) ) { case SQLITE_INTEGER : if ( safe_ints ) { return v8 :: BigInt :: New ( isolate , sqlite3_column_int64 ( handle , column ) ) ; } case SQLITE_FLOAT : return v8 :: Number :: New ( isolate , sqlite3_column_double ( handle , column ) ) ; case SQLITE_TEXT : return StringFromUtf8 ( isolate , reinterpret_cast < const char * > ( sqlite3_column_text ( handle , column ) ) , sqlite3_column_bytes ( handle , column ) ) ; case SQLITE_BLOB : return node :: Buffer :: Copy ( isolate , static_cast < const char * > ( sqlite3_column_blob ( handle , column ) ) , sqlite3_column_bytes ( handle , column ) ) . ToLocalChecked ( ) ; default : assert ( sqlite3_column_type ( handle , column ) == SQLITE_NULL ) ; return v8 :: Null ( isolate ) ; } assert ( false ) ; ;
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1876
|
+
#line 65 "./src/util/data.lzz"
|
|
1877
|
+
namespace Data
|
|
1878
|
+
{
|
|
1879
|
+
#line 76 "./src/util/data.lzz"
|
|
1880
|
+
v8::Local <v8::Value> GetValueJS (v8::Isolate * isolate, sqlite3_value * value, bool safe_ints)
|
|
1881
|
+
#line 76 "./src/util/data.lzz"
|
|
1882
|
+
{
|
|
1883
|
+
switch ( sqlite3_value_type ( value ) ) { case SQLITE_INTEGER : if ( safe_ints ) { return v8 :: BigInt :: New ( isolate , sqlite3_value_int64 ( value ) ) ; } case SQLITE_FLOAT : return v8 :: Number :: New ( isolate , sqlite3_value_double ( value ) ) ; case SQLITE_TEXT : return StringFromUtf8 ( isolate , reinterpret_cast < const char * > ( sqlite3_value_text ( value ) ) , sqlite3_value_bytes ( value ) ) ; case SQLITE_BLOB : return node :: Buffer :: Copy ( isolate , static_cast < const char * > ( sqlite3_value_blob ( value ) ) , sqlite3_value_bytes ( value ) ) . ToLocalChecked ( ) ; default : assert ( sqlite3_value_type ( value ) == SQLITE_NULL ) ; return v8 :: Null ( isolate ) ; } assert ( false ) ; ;
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
#line 65 "./src/util/data.lzz"
|
|
1887
|
+
namespace Data
|
|
1888
|
+
{
|
|
1889
|
+
#line 80 "./src/util/data.lzz"
|
|
1890
|
+
v8::Local <v8::Value> GetFlatRowJS (v8::Isolate * isolate, v8::Local <v8::Context> ctx, sqlite3_stmt * handle, bool safe_ints)
|
|
1891
|
+
#line 80 "./src/util/data.lzz"
|
|
1892
|
+
{
|
|
1893
|
+
v8::Local<v8::Object> row = v8::Object::New(isolate);
|
|
1894
|
+
int column_count = sqlite3_column_count(handle);
|
|
1895
|
+
for (int i = 0; i < column_count; ++i) {
|
|
1896
|
+
row->Set(ctx,
|
|
1897
|
+
InternalizedFromUtf8(isolate, sqlite3_column_name(handle, i), -1),
|
|
1898
|
+
Data::GetValueJS(isolate, handle, i, safe_ints)).FromJust();
|
|
1899
|
+
}
|
|
1900
|
+
return row;
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
#line 65 "./src/util/data.lzz"
|
|
1904
|
+
namespace Data
|
|
1905
|
+
{
|
|
1906
|
+
#line 91 "./src/util/data.lzz"
|
|
1907
|
+
v8::Local <v8::Value> GetExpandedRowJS (v8::Isolate * isolate, v8::Local <v8::Context> ctx, sqlite3_stmt * handle, bool safe_ints)
|
|
1908
|
+
#line 91 "./src/util/data.lzz"
|
|
1909
|
+
{
|
|
1910
|
+
v8::Local<v8::Object> row = v8::Object::New(isolate);
|
|
1911
|
+
int column_count = sqlite3_column_count(handle);
|
|
1912
|
+
for (int i = 0; i < column_count; ++i) {
|
|
1913
|
+
const char* table_raw = sqlite3_column_table_name(handle, i);
|
|
1914
|
+
v8::Local<v8::String> table = InternalizedFromUtf8(isolate, table_raw == NULL ? "$" : table_raw, -1);
|
|
1915
|
+
v8::Local<v8::String> column = InternalizedFromUtf8(isolate, sqlite3_column_name(handle, i), -1);
|
|
1916
|
+
v8::Local<v8::Value> value = Data::GetValueJS(isolate, handle, i, safe_ints);
|
|
1917
|
+
if (row->HasOwnProperty(ctx, table).FromJust()) {
|
|
1918
|
+
row->Get(ctx, table).ToLocalChecked().As<v8::Object>()->Set(ctx, column, value).FromJust();
|
|
1919
|
+
} else {
|
|
1920
|
+
v8::Local<v8::Object> nested = v8::Object::New(isolate);
|
|
1921
|
+
row->Set(ctx, table, nested).FromJust();
|
|
1922
|
+
nested->Set(ctx, column, value).FromJust();
|
|
1923
|
+
}
|
|
1924
|
+
}
|
|
1925
|
+
return row;
|
|
1926
|
+
}
|
|
1927
|
+
}
|
|
1928
|
+
#line 65 "./src/util/data.lzz"
|
|
1929
|
+
namespace Data
|
|
1930
|
+
{
|
|
1931
|
+
#line 110 "./src/util/data.lzz"
|
|
1932
|
+
v8::Local <v8::Value> GetRawRowJS (v8::Isolate * isolate, v8::Local <v8::Context> ctx, sqlite3_stmt * handle, bool safe_ints)
|
|
1933
|
+
#line 110 "./src/util/data.lzz"
|
|
1934
|
+
{
|
|
1935
|
+
v8::Local<v8::Array> row = v8::Array::New(isolate);
|
|
1936
|
+
int column_count = sqlite3_column_count(handle);
|
|
1937
|
+
for (int i = 0; i < column_count; ++i) {
|
|
1938
|
+
row->Set(ctx, i, Data::GetValueJS(isolate, handle, i, safe_ints)).FromJust();
|
|
1939
|
+
}
|
|
1940
|
+
return row;
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
#line 65 "./src/util/data.lzz"
|
|
1944
|
+
namespace Data
|
|
1945
|
+
{
|
|
1946
|
+
#line 119 "./src/util/data.lzz"
|
|
1947
|
+
v8::Local <v8::Value> GetRowJS (v8::Isolate * isolate, v8::Local <v8::Context> ctx, sqlite3_stmt * handle, bool safe_ints, char mode)
|
|
1948
|
+
#line 119 "./src/util/data.lzz"
|
|
1949
|
+
{
|
|
1950
|
+
if (mode == FLAT) return GetFlatRowJS(isolate, ctx, handle, safe_ints);
|
|
1951
|
+
if (mode == PLUCK) return GetValueJS(isolate, handle, 0, safe_ints);
|
|
1952
|
+
if (mode == EXPAND) return GetExpandedRowJS(isolate, ctx, handle, safe_ints);
|
|
1953
|
+
if (mode == RAW) return GetRawRowJS(isolate, ctx, handle, safe_ints);
|
|
1954
|
+
assert(false);
|
|
1955
|
+
return v8::Local<v8::Value>();
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
#line 65 "./src/util/data.lzz"
|
|
1959
|
+
namespace Data
|
|
1960
|
+
{
|
|
1961
|
+
#line 128 "./src/util/data.lzz"
|
|
1962
|
+
void GetArgumentsJS (v8::Isolate * isolate, v8::Local <v8::Value> * out, sqlite3_value * * values, int argument_count, bool safe_ints)
|
|
1963
|
+
#line 128 "./src/util/data.lzz"
|
|
1964
|
+
{
|
|
1965
|
+
assert(argument_count > 0);
|
|
1966
|
+
for (int i = 0; i < argument_count; ++i) {
|
|
1967
|
+
out[i] = Data::GetValueJS(isolate, values[i], safe_ints);
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
1971
|
+
#line 65 "./src/util/data.lzz"
|
|
1972
|
+
namespace Data
|
|
1973
|
+
{
|
|
1974
|
+
#line 135 "./src/util/data.lzz"
|
|
1975
|
+
int BindValueFromJS (v8::Isolate * isolate, sqlite3_stmt * handle, int index, v8::Local <v8::Value> value)
|
|
1976
|
+
#line 135 "./src/util/data.lzz"
|
|
1977
|
+
{
|
|
1978
|
+
if ( value -> IsNumber ( ) ) { return sqlite3_bind_double ( handle , index , value . As < v8 :: Number > ( ) -> Value ( ) ) ; } else if ( value -> IsBigInt ( ) ) { bool lossless ; int64_t v = value . As < v8 :: BigInt > ( ) -> Int64Value ( & lossless ) ; if ( lossless ) { return sqlite3_bind_int64 ( handle , index , v ) ; } } else if ( value -> IsString ( ) ) { v8 :: String :: Utf8Value utf8 ( isolate , value . As < v8 :: String > ( ) ) ; return sqlite3_bind_text ( handle , index , * utf8 , utf8 . length ( ) , SQLITE_TRANSIENT ) ; } else if ( node :: Buffer :: HasInstance ( value ) ) { const char * data = node :: Buffer :: Data ( value ) ; return sqlite3_bind_blob ( handle , index , data ? data : "" , node :: Buffer :: Length ( value ) , SQLITE_TRANSIENT ) ; } else if ( value -> IsNull ( ) || value -> IsUndefined ( ) ) { return sqlite3_bind_null ( handle , index ) ; } ;
|
|
1979
|
+
return value->IsBigInt() ? SQLITE_TOOBIG : -1;
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1982
|
+
#line 65 "./src/util/data.lzz"
|
|
1983
|
+
namespace Data
|
|
1984
|
+
{
|
|
1985
|
+
#line 140 "./src/util/data.lzz"
|
|
1986
|
+
void ResultValueFromJS (v8::Isolate * isolate, sqlite3_context * invocation, v8::Local <v8::Value> value, DataConverter * converter)
|
|
1987
|
+
#line 140 "./src/util/data.lzz"
|
|
1988
|
+
{
|
|
1989
|
+
if ( value -> IsNumber ( ) ) { return sqlite3_result_double ( invocation , value . As < v8 :: Number > ( ) -> Value ( ) ) ; } else if ( value -> IsBigInt ( ) ) { bool lossless ; int64_t v = value . As < v8 :: BigInt > ( ) -> Int64Value ( & lossless ) ; if ( lossless ) { return sqlite3_result_int64 ( invocation , v ) ; } } else if ( value -> IsString ( ) ) { v8 :: String :: Utf8Value utf8 ( isolate , value . As < v8 :: String > ( ) ) ; return sqlite3_result_text ( invocation , * utf8 , utf8 . length ( ) , SQLITE_TRANSIENT ) ; } else if ( node :: Buffer :: HasInstance ( value ) ) { const char * data = node :: Buffer :: Data ( value ) ; return sqlite3_result_blob ( invocation , data ? data : "" , node :: Buffer :: Length ( value ) , SQLITE_TRANSIENT ) ; } else if ( value -> IsNull ( ) || value -> IsUndefined ( ) ) { return sqlite3_result_null ( invocation ) ; } ;
|
|
1990
|
+
converter->ThrowDataConversionError(invocation, value->IsBigInt());
|
|
1991
|
+
}
|
|
1992
|
+
}
|
|
1993
|
+
#line 4 "./src/util/binder.lzz"
|
|
1994
|
+
Binder::Binder (sqlite3_stmt * _handle)
|
|
1995
|
+
#line 4 "./src/util/binder.lzz"
|
|
1996
|
+
{
|
|
1997
|
+
handle = _handle;
|
|
1998
|
+
param_count = sqlite3_bind_parameter_count(_handle);
|
|
1999
|
+
anon_index = 0;
|
|
2000
|
+
success = true;
|
|
2001
|
+
}
|
|
2002
|
+
#line 11 "./src/util/binder.lzz"
|
|
2003
|
+
bool Binder::Bind (v8::FunctionCallbackInfo <v8 :: Value> const & info, int argc, Statement * stmt)
|
|
2004
|
+
#line 11 "./src/util/binder.lzz"
|
|
2005
|
+
{
|
|
2006
|
+
assert(anon_index == 0);
|
|
2007
|
+
Result result = BindArgs(info, argc, stmt);
|
|
2008
|
+
if (success && result.count != param_count) {
|
|
2009
|
+
if (result.count < param_count) {
|
|
2010
|
+
if (!result.bound_object && stmt->GetBindMap( info . GetIsolate ( ) )->GetSize()) {
|
|
2011
|
+
Fail(ThrowTypeError, "Missing named parameters");
|
|
2012
|
+
} else {
|
|
2013
|
+
Fail(ThrowRangeError, "Too few parameter values were provided");
|
|
2014
|
+
}
|
|
2015
|
+
} else {
|
|
2016
|
+
Fail(ThrowRangeError, "Too many parameter values were provided");
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
return success;
|
|
2020
|
+
}
|
|
2021
|
+
#line 55 "./src/util/binder.lzz"
|
|
2022
|
+
void Binder::Fail (void (* Throw) (char const *), char const * message)
|
|
2023
|
+
#line 55 "./src/util/binder.lzz"
|
|
2024
|
+
{
|
|
2025
|
+
assert(success == true);
|
|
2026
|
+
assert((Throw == NULL) == (message == NULL));
|
|
2027
|
+
assert(Throw == ThrowError || Throw == ThrowTypeError || Throw == ThrowRangeError || Throw == NULL);
|
|
2028
|
+
if (Throw) Throw(message);
|
|
2029
|
+
success = false;
|
|
2030
|
+
}
|
|
2031
|
+
#line 63 "./src/util/binder.lzz"
|
|
2032
|
+
int Binder::NextAnonIndex ()
|
|
2033
|
+
#line 63 "./src/util/binder.lzz"
|
|
2034
|
+
{
|
|
2035
|
+
while (sqlite3_bind_parameter_name(handle, ++anon_index) != NULL) {}
|
|
2036
|
+
return anon_index;
|
|
2037
|
+
}
|
|
2038
|
+
#line 69 "./src/util/binder.lzz"
|
|
2039
|
+
void Binder::BindValue (v8::Isolate * isolate, v8::Local <v8::Value> value, int index)
|
|
2040
|
+
#line 69 "./src/util/binder.lzz"
|
|
2041
|
+
{
|
|
2042
|
+
int status = Data::BindValueFromJS(isolate, handle, index, value);
|
|
2043
|
+
if (status != SQLITE_OK) {
|
|
2044
|
+
switch (status) {
|
|
2045
|
+
case -1:
|
|
2046
|
+
return Fail(ThrowTypeError, "SQLite3 can only bind numbers, strings, bigints, buffers, and null");
|
|
2047
|
+
case SQLITE_TOOBIG:
|
|
2048
|
+
return Fail(ThrowRangeError, "The bound string, buffer, or bigint is too big");
|
|
2049
|
+
case SQLITE_RANGE:
|
|
2050
|
+
return Fail(ThrowRangeError, "Too many parameter values were provided");
|
|
2051
|
+
case SQLITE_NOMEM:
|
|
2052
|
+
return Fail(ThrowError, "Out of memory");
|
|
2053
|
+
default:
|
|
2054
|
+
return Fail(ThrowError, "An unexpected error occured while trying to bind parameters");
|
|
2055
|
+
}
|
|
2056
|
+
assert(false);
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
#line 90 "./src/util/binder.lzz"
|
|
2060
|
+
int Binder::BindArray (v8::Isolate * isolate, v8::Local <v8::Array> arr)
|
|
2061
|
+
#line 90 "./src/util/binder.lzz"
|
|
2062
|
+
{
|
|
2063
|
+
v8 :: Local < v8 :: Context > ctx = isolate -> GetCurrentContext ( ) ;
|
|
2064
|
+
uint32_t length = arr->Length();
|
|
2065
|
+
if (length > INT_MAX) {
|
|
2066
|
+
Fail(ThrowRangeError, "Too many parameter values were provided");
|
|
2067
|
+
return 0;
|
|
2068
|
+
}
|
|
2069
|
+
int len = static_cast<int>(length);
|
|
2070
|
+
for (int i = 0; i < len; ++i) {
|
|
2071
|
+
v8::MaybeLocal<v8::Value> maybeValue = arr->Get(ctx, i);
|
|
2072
|
+
if (maybeValue.IsEmpty()) {
|
|
2073
|
+
Fail(NULL, NULL);
|
|
2074
|
+
return i;
|
|
2075
|
+
}
|
|
2076
|
+
BindValue(isolate, maybeValue.ToLocalChecked(), NextAnonIndex());
|
|
2077
|
+
if (!success) {
|
|
2078
|
+
return i;
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
return len;
|
|
2082
|
+
}
|
|
2083
|
+
#line 116 "./src/util/binder.lzz"
|
|
2084
|
+
int Binder::BindObject (v8::Isolate * isolate, v8::Local <v8::Object> obj, Statement * stmt)
|
|
2085
|
+
#line 116 "./src/util/binder.lzz"
|
|
2086
|
+
{
|
|
2087
|
+
v8 :: Local < v8 :: Context > ctx = isolate -> GetCurrentContext ( ) ;
|
|
2088
|
+
BindMap* bind_map = stmt->GetBindMap(isolate);
|
|
2089
|
+
BindMap::Pair* pairs = bind_map->GetPairs();
|
|
2090
|
+
int len = bind_map->GetSize();
|
|
2091
|
+
|
|
2092
|
+
for (int i = 0; i < len; ++i) {
|
|
2093
|
+
v8::Local<v8::String> key = pairs[i].GetName(isolate);
|
|
2094
|
+
|
|
2095
|
+
|
|
2096
|
+
v8::Maybe<bool> has_property = obj->HasOwnProperty(ctx, key);
|
|
2097
|
+
if (has_property.IsNothing()) {
|
|
2098
|
+
Fail(NULL, NULL);
|
|
2099
|
+
return i;
|
|
2100
|
+
}
|
|
2101
|
+
if (!has_property.FromJust()) {
|
|
2102
|
+
v8::String::Utf8Value param_name(isolate, key);
|
|
2103
|
+
Fail(ThrowRangeError, (std::string("Missing named parameter \"") + *param_name + "\"").c_str());
|
|
2104
|
+
return i;
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
v8::MaybeLocal<v8::Value> maybeValue = obj->Get(ctx, key);
|
|
2109
|
+
if (maybeValue.IsEmpty()) {
|
|
2110
|
+
Fail(NULL, NULL);
|
|
2111
|
+
return i;
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
BindValue(isolate, maybeValue.ToLocalChecked(), pairs[i].GetIndex());
|
|
2115
|
+
if (!success) {
|
|
2116
|
+
return i;
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
return len;
|
|
2121
|
+
}
|
|
2122
|
+
#line 160 "./src/util/binder.lzz"
|
|
2123
|
+
Binder::Result Binder::BindArgs (v8::FunctionCallbackInfo <v8 :: Value> const & info, int argc, Statement * stmt)
|
|
2124
|
+
#line 160 "./src/util/binder.lzz"
|
|
2125
|
+
{
|
|
2126
|
+
v8 :: Isolate * isolate = info . GetIsolate ( ) ;
|
|
2127
|
+
int count = 0;
|
|
2128
|
+
bool bound_object = false;
|
|
2129
|
+
|
|
2130
|
+
for (int i = 0; i < argc; ++i) {
|
|
2131
|
+
v8::Local<v8::Value> arg = info[i];
|
|
2132
|
+
|
|
2133
|
+
if (arg->IsArray()) {
|
|
2134
|
+
count += BindArray(isolate, arg.As<v8::Array>());
|
|
2135
|
+
if (!success) break;
|
|
2136
|
+
continue;
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2139
|
+
if (arg->IsObject() && !node::Buffer::HasInstance(arg)) {
|
|
2140
|
+
v8::Local<v8::Object> obj = arg.As<v8::Object>();
|
|
2141
|
+
if (IsPlainObject(isolate, obj)) {
|
|
2142
|
+
if (bound_object) {
|
|
2143
|
+
Fail(ThrowTypeError, "You cannot specify named parameters in two different objects");
|
|
2144
|
+
break;
|
|
2145
|
+
}
|
|
2146
|
+
bound_object = true;
|
|
2147
|
+
|
|
2148
|
+
count += BindObject(isolate, obj, stmt);
|
|
2149
|
+
if (!success) break;
|
|
2150
|
+
continue;
|
|
2151
|
+
} else if (stmt->GetBindMap(isolate)->GetSize()) {
|
|
2152
|
+
Fail(ThrowTypeError, "Named parameters can only be passed within plain objects");
|
|
2153
|
+
break;
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
BindValue(isolate, arg, NextAnonIndex());
|
|
2158
|
+
if (!success) break;
|
|
2159
|
+
count += 1;
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2162
|
+
return { count, bound_object };
|
|
2163
|
+
}
|
|
2164
|
+
#line 35 "./src/better_sqlite3.lzz"
|
|
2165
|
+
void Addon::JS_setErrorConstructor (v8::FunctionCallbackInfo <v8 :: Value> const & info)
|
|
2166
|
+
#line 35 "./src/better_sqlite3.lzz"
|
|
2167
|
+
{
|
|
2168
|
+
if ( info . Length ( ) <= ( 0 ) || ! info [ 0 ] -> IsFunction ( ) ) return ThrowTypeError ( "Expected " "first" " argument to be " "a function" ) ; v8 :: Local < v8 :: Function > SqliteError = ( info [ 0 ] . As < v8 :: Function > ( ) ) ;
|
|
2169
|
+
static_cast < Addon * > ( info . Data ( ) . As < v8 :: External > ( ) -> Value ( ) ) ->SqliteError.Reset( info . GetIsolate ( ) , SqliteError);
|
|
2170
|
+
}
|
|
2171
|
+
#line 40 "./src/better_sqlite3.lzz"
|
|
2172
|
+
void Addon::Cleanup (void * ptr)
|
|
2173
|
+
#line 40 "./src/better_sqlite3.lzz"
|
|
2174
|
+
{
|
|
2175
|
+
Addon* addon = static_cast<Addon*>(ptr);
|
|
2176
|
+
for (Database* db : addon->dbs) db->CloseHandles();
|
|
2177
|
+
addon->dbs.clear();
|
|
2178
|
+
delete addon;
|
|
2179
|
+
}
|
|
2180
|
+
#line 47 "./src/better_sqlite3.lzz"
|
|
2181
|
+
Addon::Addon (v8::Isolate * isolate)
|
|
2182
|
+
#line 47 "./src/better_sqlite3.lzz"
|
|
2183
|
+
: privileged_info (NULL), next_id (0), cs (isolate)
|
|
2184
|
+
#line 50 "./src/better_sqlite3.lzz"
|
|
2185
|
+
{}
|
|
2186
|
+
#undef LZZ_INLINE
|