@ribajs/core
Advanced tools
Comparing version 1.9.0-alpha.11 to 1.9.0-beta.0
{ | ||
"name": "@ribajs/core", | ||
"description": "Core module of Riba.js", | ||
"version": "1.9.0-alpha.11", | ||
"version": "1.9.0-beta.0", | ||
"author": "Pascal Garber <pascal@artandcode.studio>", | ||
@@ -52,5 +52,5 @@ "contributors": [ | ||
"@babel/runtime-corejs3": "^7.11.2", | ||
"@ribajs/eslint-config": "1.9.0-alpha.11", | ||
"@ribajs/tsconfig": "1.9.0-alpha.11", | ||
"@ribajs/types": "1.9.0-alpha.11", | ||
"@ribajs/eslint-config": "1.9.0-beta.0", | ||
"@ribajs/tsconfig": "1.9.0-beta.0", | ||
"@ribajs/types": "1.9.0-beta.0", | ||
"@types/core-js": "^2.5.3", | ||
@@ -86,4 +86,4 @@ "@types/jest": "^26.0.13", | ||
"dependencies": { | ||
"@ribajs/utils": "1.9.0-alpha.11" | ||
"@ribajs/utils": "1.9.0-beta.0" | ||
} | ||
} |
@@ -75,3 +75,6 @@ type EventCallback = (...args: any[]) => any; | ||
this.events[e].splice(this.events[e].indexOf(f), 1); | ||
const idx = this.events[e].indexOf(f); | ||
if (idx !== -1) { | ||
this.events[e].splice(idx, 1); | ||
} | ||
} | ||
@@ -78,0 +81,0 @@ |
@@ -16,2 +16,8 @@ import { concat } from "@ribajs/utils/src/type"; | ||
}); | ||
// console.debug( | ||
// "[HttpService] setRequestHeaderEachRequest", | ||
// name, | ||
// value, | ||
// this._requestHeadersEachRequest | ||
// ); | ||
} | ||
@@ -201,4 +207,5 @@ | ||
} | ||
if (dataType) { | ||
headers = concat(headers, this.parseDataType(dataType)); | ||
headers = concat(false, headers, this.parseDataType(dataType)); | ||
} | ||
@@ -224,3 +231,7 @@ | ||
// console.debug("[HttpService] body", body); | ||
// console.debug("[HttpService] headers", headers); | ||
// console.debug( | ||
// "[HttpService] headers", | ||
// headers, | ||
// this._requestHeadersEachRequest | ||
// ); | ||
return fetch(url, { | ||
@@ -227,0 +238,0 @@ credentials: "same-origin", |
@@ -40,2 +40,3 @@ import { | ||
if (!module) { | ||
console.error(module); | ||
throw new Error("The Riba module is falsy!"); | ||
@@ -42,0 +43,0 @@ } |
/** Type definition for html-loader */ | ||
declare module "*.html" { | ||
const content: string; | ||
const htmlContent: string; | ||
export default htmlContent; | ||
@@ -5,0 +5,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
274040
8472
+ Added@ribajs/utils@1.9.0-beta.0(transitive)
- Removed@ribajs/utils@1.9.0-alpha.11(transitive)
Updated@ribajs/utils@1.9.0-beta.0