Socket
Socket
Sign inDemoInstall

@neo-one/utils

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo-one/utils - npm Package Compare versions

Comparing version 1.0.0-alpha.52 to 1.0.0-alpha.53

CHANGELOG.md

73

package.json
{
"name": "@neo-one/utils",
"version": "1.0.0-alpha.52",
"version": "1.0.0-alpha.53",
"author": "Alex DiCarlo <alexdicarlo@gmail.com>",
"description": "NEO•ONE shared utils.",
"license": "MIT",
"homepage": "https://neo-one.io",
"repository": {
"type": "git",
"url": "git+https://github.com/neo-one-suite/neo-one.git"
},
"bugs": {
"url": "https://github.com/neo-one-suite/neo-one/issues"
},
"keywords": [
"neo",
"NEO",
"one",
"ONE",
"blockchain",
"neo-one",
"neo-one-suite",
"neo one",
"neo one suite",
"NEO ONE",
"NEO ONE suite",
"NEO•ONE",
"NEO•ONE suite",
"neo blockchain",
"NEO Blockchain",
"NEO blockchain",
"dapp",
"dapps"
"dapp"
],
"description": "NEO•ONE shared utils.",
"repository": "https://github.com/neo-one-suite/neo-one",
"bugs": "https://github.com/neo-one-suite/neo-one/issues",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.esm.js",
"types": "./src/index.ts",
"engines": {
"node": ">=10.6.0"
"esm": {
"await": false,
"cache": true,
"cjs": {
"cache": true,
"extensions": true,
"interop": true,
"mutableNamespace": true,
"namedExports": true,
"paths": true,
"topLevelReturn": false,
"vars": true
},
"mainFields": [
"main"
],
"mode": "auto"
},
"dependencies": {
"@neo-one/monitor": "^1.0.0-alpha.48",
"esm": "^3.0.69",
"lodash": "^4.17.10",
"rxjs": "^6.2.1",
"tslib": "^1.9.3"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@neo-one/monitor": "^1.0.0-alpha.47",
"lodash": "^4.17.10",
"rxjs": "^6.2.1"
}
}
"main": "src/index.common.js",
"module": "src/index.js",
"types": "src/index.ts",
"sideEffects": false
}

@@ -1,31 +0,11 @@

// tslint:disable
// @ts-ignore
function inherits(subClass, superClass) {
if (typeof superClass !== 'function' && superClass != null) {
throw new TypeError('Super expression must either be null or a function');
export class CustomError extends Error {
public readonly message: string;
public constructor(message?: string) {
super(message);
this.message = message === undefined ? '' : message;
// tslint:disable-next-line no-any
(this as any).__proto__ = CustomError.prototype;
}
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
enumerable: false,
writable: true,
configurable: true,
},
});
if (superClass) {
Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : (subClass.__proto__ = superClass);
}
}
export let CustomError: typeof Error = (function(_super) {
inherits(CustomError, _super);
function CustomError() {
// @ts-ignore
var _newTarget = this.constructor;
// @ts-ignore
var _this = _super.apply(this, arguments); // 'Error' breaks prototype chain here
_this.__proto__ = _newTarget.prototype; // restore prototype chain
return _this;
}
return CustomError;
})(Error) as any;
// tslint:disable readonly-keyword no-object-mutation
import { Observable, ObservableInput, OperatorFunction, Subscriber, Subscription, TeardownLogic } from 'rxjs';
import { Observable, Subscriber, Subscription } from 'rxjs';
import { Operator } from 'rxjs/internal/Operator';
import { OuterSubscriber } from 'rxjs/internal/OuterSubscriber';
import { ObservableInput, OperatorFunction, TeardownLogic } from 'rxjs/internal/types';
import { subscribeToResult } from 'rxjs/internal/util/subscribeToResult';

@@ -6,0 +7,0 @@

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

import * as _ from 'lodash';
import _ from 'lodash';

@@ -3,0 +3,0 @@ const nowSeconds = (): number => Math.round(Date.now() / 1000);

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