Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

exos-core

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exos-core - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

README.md

23

dist/baseService.js
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const axios_1 = __importDefault(require("axios"));
const tslib_1 = require("tslib");
const axios_1 = tslib_1.__importDefault(require("axios"));
/**

@@ -24,3 +13,3 @@ * Performs a GET operation against our backend

function get(url, config = {}) {
return __awaiter(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const requestConfig = Object.assign({}, config);

@@ -40,3 +29,3 @@ const response = yield axios_1.default.get(url, requestConfig);

function post(url, body = {}, config = {}) {
return __awaiter(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const requestConfig = Object.assign({}, config);

@@ -56,3 +45,3 @@ const response = yield axios_1.default.post(url, body, requestConfig);

function put(url, body = {}, config = {}) {
return __awaiter(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const requestConfig = Object.assign({}, config);

@@ -72,3 +61,3 @@ const response = yield axios_1.default.put(url, body, requestConfig);

function del(url, config = {}) {
return __awaiter(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const requestConfig = Object.assign({}, config);

@@ -75,0 +64,0 @@ const response = yield axios_1.default.delete(url, requestConfig);

"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const baseService = __importStar(require("./baseService"));
const tslib_1 = require("tslib");
const baseService = tslib_1.__importStar(require("./baseService"));
exports.baseService = baseService;
//# sourceMappingURL=index.js.map
{
"name": "exos-core",
"version": "0.0.4",
"description": "Core library for front end projects",
"version": "0.0.5",
"description": "Library with core scripts that helps you to develop your React + TypeScript application and micro frontends",
"main": "./dist/index.js",

@@ -37,3 +37,3 @@ "types": "./dist/types/index.d.ts",

},
"gitHead": "f8b77165502f0f4466e6691559ddd600a61efb43"
"gitHead": "b74807913fbcea918918d42548cdb49006a38bfb"
}

@@ -7,3 +7,2 @@ {

"module": "commonjs",
"esModuleInterop": true,
"moduleResolution": "node",

@@ -13,3 +12,7 @@ "target": "es2015",

"declaration": true,
"declarationDir": "dist/types"
"declarationDir": "dist/types",
"esModuleInterop": true,
"importHelpers": true,
"forceConsistentCasingInFileNames": true,
"strict": true
},

@@ -16,0 +19,0 @@ "include": ["src/**/*"],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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