New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@politie/informant

Package Overview
Dependencies
Maintainers
7
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@politie/informant - npm Package Compare versions

Comparing version

to
1.0.5

6

dist/index.d.ts

@@ -8,7 +8,3 @@ export { deprecated, trace } from './decorators';

declare global {
namespace NodeJS {
interface Global {
_politie_informant_loaded_: boolean;
}
}
var _politie_informant_loaded_: boolean;
}

6

dist/informant.cjs.js

@@ -70,3 +70,3 @@ 'use strict';

if (!(_this instanceof BaseError)) {
return new ((_a = BaseError).bind.apply(_a, tslib.__spreadArrays([void 0], args)))();
return new ((_a = BaseError).bind.apply(_a, tslib.__spreadArray([void 0], args, false)))();
}

@@ -172,3 +172,3 @@ for (var _b = 0, args_1 = args; _b < args_1.length; _b++) {

function MultiError(_errors) {
var _this = _super.call(this, _errors[0], Object.assign.apply(Object, tslib.__spreadArrays([{}], _errors.map(errorInfo))), "first of " + _errors.length + " error" + (_errors.length === 1 ? '' : 's')) || this;
var _this = _super.call(this, _errors[0], Object.assign.apply(Object, tslib.__spreadArray([{}], _errors.map(errorInfo), false)), "first of " + _errors.length + " error" + (_errors.length === 1 ? '' : 's')) || this;
_this._errors = _errors;

@@ -327,3 +327,3 @@ return _this;

else {
return tslib.__spreadArrays(array.slice(next), array.slice(0, next));
return tslib.__spreadArray(tslib.__spreadArray([], array.slice(next), true), array.slice(0, next), true);
}

@@ -330,0 +330,0 @@ }

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

import { __extends, __spreadArrays, __assign } from 'tslib';
import { __extends, __spreadArray, __assign } from 'tslib';

@@ -66,3 +66,3 @@ /**

if (!(_this instanceof BaseError)) {
return new ((_a = BaseError).bind.apply(_a, __spreadArrays([void 0], args)))();
return new ((_a = BaseError).bind.apply(_a, __spreadArray([void 0], args, false)))();
}

@@ -168,3 +168,3 @@ for (var _b = 0, args_1 = args; _b < args_1.length; _b++) {

function MultiError(_errors) {
var _this = _super.call(this, _errors[0], Object.assign.apply(Object, __spreadArrays([{}], _errors.map(errorInfo))), "first of " + _errors.length + " error" + (_errors.length === 1 ? '' : 's')) || this;
var _this = _super.call(this, _errors[0], Object.assign.apply(Object, __spreadArray([{}], _errors.map(errorInfo), false)), "first of " + _errors.length + " error" + (_errors.length === 1 ? '' : 's')) || this;
_this._errors = _errors;

@@ -323,3 +323,3 @@ return _this;

else {
return __spreadArrays(array.slice(next), array.slice(0, next));
return __spreadArray(__spreadArray([], array.slice(next), true), array.slice(0, next), true);
}

@@ -326,0 +326,0 @@ }

{
"name": "@politie/informant",
"version": "1.0.4",
"version": "1.0.5",
"description": "Informant is a simple and fast logging library for Node.js and browser JavaScript applications.",

@@ -40,24 +40,24 @@ "main": "dist/informant.cjs.js",

"dependencies": {
"tslib": "^2.2.0"
"tslib": "^2.3.1"
},
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/mocha": "^8.2.2",
"@types/node": "^15.6.2",
"@types/sinon": "^10.0.2",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/node": "^16.10.2",
"@types/sinon": "^10.0.4",
"@types/sinon-chai": "^3.2.2",
"chai": "^4.2.0",
"mocha": "^8.4.0",
"nodemon": "^2.0.7",
"mocha": "^9.1.2",
"nodemon": "^2.0.13",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.50.5",
"rollup": "^2.58.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-visualizer": "^5.5.0",
"sinon": "^11.1.1",
"rollup-plugin-visualizer": "^5.5.2",
"sinon": "^11.1.2",
"sinon-chai": "^3.3.0",
"ts-node": "^10.0.0",
"ts-node": "^10.2.1",
"tslint": "^6.1.3",
"typescript": "^3.4.3"
"typescript": "^4.4.3"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet