Socket
Socket
Sign inDemoInstall

@ribajs/core

Package Overview
Dependencies
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ribajs/core - npm Package Compare versions

Comparing version 1.9.0-alpha.11 to 1.9.0-beta.0

10

package.json
{
"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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc