Socket
Socket
Sign inDemoInstall

@appsignal/core

Package Overview
Dependencies
Maintainers
6
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appsignal/core - npm Package Compare versions

Comparing version 1.1.0-alpha.336 to 1.1.0

3

dist/cjs/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Serializable = void 0;
var tslib_1 = require("tslib");

@@ -11,3 +12,3 @@ tslib_1.__exportStar(require("./utils/functional"), exports);

var serializable_1 = require("./serializable");
exports.Serializable = serializable_1.Serializable;
Object.defineProperty(exports, "Serializable", { enumerable: true, get: function () { return serializable_1.Serializable; } });
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

export declare class Serializable<T> {
export declare class Serializable<T = [] | {}> {
protected _data: T;

@@ -3,0 +3,0 @@ constructor(data: T);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Serializable = void 0;
var Serializable = (function () {

@@ -4,0 +5,0 @@ function Serializable(data) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isAsync = void 0;
exports.isAsync = function (fn) { return fn.constructor.name === "AsyncFunction"; };
//# sourceMappingURL=async.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getGlobalObject = exports.isNodeEnv = void 0;
function isNodeEnv() {

@@ -4,0 +5,0 @@ return (Object.prototype.toString.call(typeof process !== "undefined" ? process : 0) === "[object process]");

@@ -1,2 +0,10 @@

export declare function compose<T>(...funcs: ((arg: T) => T)[]): (arg: T) => T;
declare type Func<T extends any[], R> = (...a: T) => R;
export declare function compose(): <R>(a: R) => R;
export declare function compose<F extends Function>(f: F): F;
export declare function compose<A, T extends any[], R>(f1: (a: A) => R, f2: Func<T, A>): Func<T, R>;
export declare function compose<A, B, T extends any[], R>(f1: (b: B) => R, f2: (a: A) => B, f3: Func<T, A>): Func<T, R>;
export declare function compose<A, B, C, T extends any[], R>(f1: (c: C) => R, f2: (b: B) => C, f3: (a: A) => B, f4: Func<T, A>): Func<T, R>;
export declare function compose<R>(f1: (a: any) => R, ...funcs: Function[]): (...args: any[]) => R;
export declare function compose<R>(...funcs: Function[]): (...args: any[]) => R;
export {};
//# sourceMappingURL=functional.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.compose = void 0;
var tslib_1 = require("tslib");

@@ -9,2 +10,5 @@ function compose() {

}
if (funcs.length === 0) {
return function (arg) { return arg; };
}
if (funcs.length === 1) {

@@ -11,0 +15,0 @@ return funcs[0];

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toHashMap = exports.toHashMapString = void 0;
function toHashMapString(obj) {

@@ -4,0 +5,0 @@ if (!obj)

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStacktrace = void 0;
function getStacktrace(error) {

@@ -4,0 +5,0 @@ if (typeof error.stacktrace !== "undefined" ||

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.urlEncode = void 0;
function urlEncode(object) {

@@ -4,0 +5,0 @@ return Object.keys(object)

@@ -1,2 +0,2 @@

export declare class Serializable<T> {
export declare class Serializable<T = [] | {}> {
protected _data: T;

@@ -3,0 +3,0 @@ constructor(data: T);

@@ -1,2 +0,10 @@

export declare function compose<T>(...funcs: ((arg: T) => T)[]): (arg: T) => T;
declare type Func<T extends any[], R> = (...a: T) => R;
export declare function compose(): <R>(a: R) => R;
export declare function compose<F extends Function>(f: F): F;
export declare function compose<A, T extends any[], R>(f1: (a: A) => R, f2: Func<T, A>): Func<T, R>;
export declare function compose<A, B, T extends any[], R>(f1: (b: B) => R, f2: (a: A) => B, f3: Func<T, A>): Func<T, R>;
export declare function compose<A, B, C, T extends any[], R>(f1: (c: C) => R, f2: (b: B) => C, f3: (a: A) => B, f4: Func<T, A>): Func<T, R>;
export declare function compose<R>(f1: (a: any) => R, ...funcs: Function[]): (...args: any[]) => R;
export declare function compose<R>(...funcs: Function[]): (...args: any[]) => R;
export {};
//# sourceMappingURL=functional.d.ts.map

@@ -7,2 +7,5 @@ import { __read, __spread } from "tslib";

}
if (funcs.length === 0) {
return function (arg) { return arg; };
}
if (funcs.length === 1) {

@@ -9,0 +12,0 @@ return funcs[0];

{
"name": "@appsignal/core",
"version": "1.1.0-alpha.336+c098fe7",
"version": "1.1.0",
"main": "dist/cjs/index.js",

@@ -18,3 +18,3 @@ "module": "dist/esm/index.js",

"link:yarn": "yarn link",
"test": "jest --passWithNoTests",
"test": "jest",
"test:watch": "jest --watch"

@@ -26,8 +26,6 @@ },

"dependencies": {
"tslib": "^1.11.1"
"@appsignal/types": "^1.0.0",
"tslib": "^2.0.1"
},
"devDependencies": {
"@appsignal/types": "^1.0.0"
},
"gitHead": "c098fe7601e86374dcc76e5b4474ec2f5405ca15"
"gitHead": "56ad1ce0bf2c30c6d9d8aaad7f98e1a8eccc0ec4"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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