@syncfusion/ej2-data
Advanced tools
| /*! | ||
| * filename: index.d.ts | ||
| * version : 33.1.44 | ||
| * version : 33.1.45 | ||
| * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
+2
-2
| { | ||
| "name": "@syncfusion/ej2-data", | ||
| "version": "33.1.44", | ||
| "version": "33.1.45", | ||
| "description": "Essential JS 2 DataManager", | ||
@@ -11,3 +11,3 @@ "author": "Syncfusion Inc.", | ||
| "dependencies": { | ||
| "@syncfusion/ej2-base": "~33.1.44" | ||
| "@syncfusion/ej2-base": "~33.1.45" | ||
| }, | ||
@@ -14,0 +14,0 @@ "devDependencies": {}, |
+22
-16
@@ -696,20 +696,26 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
| var deff_1 = new Deferred(); | ||
| var fetch_2 = new Fetch(req); | ||
| fetch_2.beforeSend = function () { | ||
| _this.beforeSend(fetch_2.fetchRequest, fetch_2); | ||
| }; | ||
| fetch_2.onSuccess = function (data, request) { | ||
| if (_this.isGraphQLAdaptor(_this.adaptor)) { | ||
| // tslint:disable-next-line:no-string-literal | ||
| if (!isNullOrUndefined(data['errors'])) { | ||
| var promise = this.useMiddleware(req); | ||
| var fetch_2; | ||
| promise.then(function (response) { | ||
| fetch_2 = new Fetch(req); | ||
| fetch_2.beforeSend = function () { | ||
| _this.beforeSend(fetch_2.fetchRequest, fetch_2, response); | ||
| }; | ||
| fetch_2.onSuccess = function (data, request) { | ||
| if (_this.isGraphQLAdaptor(_this.adaptor)) { | ||
| // tslint:disable-next-line:no-string-literal | ||
| fetch_2.onFailure(JSON.stringify(data['errors'])); | ||
| if (!isNullOrUndefined(data['errors'])) { | ||
| // tslint:disable-next-line:no-string-literal | ||
| fetch_2.onFailure(JSON.stringify(data['errors'])); | ||
| } | ||
| } | ||
| } | ||
| deff_1.resolve(_this.adaptor.processResponse(data, _this, null, request.fetchRequest, request, changes, args)); | ||
| }; | ||
| fetch_2.onFailure = function (e) { | ||
| deff_1.reject([{ error: e }]); | ||
| }; | ||
| fetch_2.send().catch(function (e) { return true; }); // to handle the failure requests. | ||
| _this.afterReponseRequest(data).then(function (responseData) { | ||
| deff_1.resolve(_this.adaptor.processResponse(responseData, _this, null, request.fetchRequest, request, changes, args)); | ||
| }).catch(function (e) { return _this.dataManagerFailure(e, deff_1, {}); }); | ||
| }; | ||
| fetch_2.onFailure = function (e) { | ||
| deff_1.reject([{ error: e }]); | ||
| }; | ||
| fetch_2.send().catch(function (e) { return true; }); // to handle the failure requests. | ||
| }).catch(function (e) { return _this.dataManagerFailure(e, deff_1, {}); }); | ||
| return deff_1.promise; | ||
@@ -716,0 +722,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2862154
0.19%23730
0.08%24
4.35%