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

did-resolver

Package Overview
Dependencies
Maintainers
6
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

did-resolver - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

lib/resolver.cjs

3

lib/resolver.modern.js
function _extends() {
_extends = Object.assign || function (target) {
_extends = Object.assign ? Object.assign.bind() : function (target) {
for (var i = 1; i < arguments.length; i++) {

@@ -15,3 +15,2 @@ var source = arguments[i];

};
return _extends.apply(this, arguments);

@@ -18,0 +17,0 @@ }

@@ -38,4 +38,6 @@ // Copyright 2018 Consensys AG

if (parsed.params && parsed.params['no-cache'] === 'true') {
_exit = 1;
return Promise.resolve(resolve());
return Promise.resolve(resolve()).then(function (_await$resolve) {
_exit = 1;
return _await$resolve;
});
}

@@ -42,0 +44,0 @@ }();

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.didResolver = {}));
}(this, (function (exports) {
})(this, (function (exports) {
// Copyright 2018 Consensys AG

@@ -44,4 +44,6 @@ function _catch(body, recover) {

if (parsed.params && parsed.params['no-cache'] === 'true') {
_exit = 1;
return Promise.resolve(resolve());
return Promise.resolve(resolve()).then(function (_await$resolve) {
_exit = 1;
return _await$resolve;
});
}

@@ -186,3 +188,3 @@ }();

})));
}));
//# sourceMappingURL=resolver.umd.js.map
{
"name": "did-resolver",
"version": "3.2.0",
"version": "3.2.1",
"description": "Resolve DID documents",
"type": "module",
"source": "src/resolver.ts",
"main": "lib/resolver.js",
"module": "lib/resolver.module.js",
"types": "lib/resolver.d.ts",
"main": "./lib/resolver.cjs",
"module": "./lib/resolver.module.js",
"unpkg": "./lib/resolver.umd.js",
"types": "./lib/resolver.d.ts",
"umd:main": "./lib/resolver.umd.js",
"files": [
"lib",
"dist",
"src",
"LICENSE"
],
"exports": {
".": {
"require": "./lib/index.cjs",
"import": "./lib/index.module.js"
}
},
"sideEffects": false,

@@ -14,7 +29,2 @@ "repository": {

},
"files": [
"lib",
"src",
"LICENSE"
],
"author": "Pelle Braendgaard",

@@ -27,8 +37,6 @@ "contributors": [

"test": "jest",
"test:ci": "jest --coverage && codecov",
"build:js": "microbundle --compress=false",
"build": "yarn lint && yarn build:js && yarn test",
"test:ci": "jest --coverage",
"build": "microbundle --compress=false",
"format": "prettier --write \"src/**/*.[jt]s\"",
"lint": "eslint --ignore-pattern \"src/**/*.test.[jt]s\" \"src/**/*.[jt]s\"",
"prepare": "yarn build",
"prepublishOnly": "yarn test:ci && yarn format && yarn lint",

@@ -51,25 +59,24 @@ "release": "semantic-release --debug"

"devDependencies": {
"@babel/core": "7.17.5",
"@babel/preset-env": "7.16.11",
"@babel/preset-typescript": "7.16.7",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.1",
"@types/jest": "27.4.1",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"babel-jest": "27.5.1",
"codecov": "3.8.2",
"eslint": "7.32.0",
"@babel/core": "7.18.2",
"@babel/preset-env": "7.17.12",
"@babel/preset-typescript": "7.17.12",
"@semantic-release/changelog": "6.0.1",
"@semantic-release/git": "10.0.1",
"@types/jest": "28.1.1",
"@typescript-eslint/eslint-plugin": "5.27.0",
"@typescript-eslint/parser": "5.27.0",
"babel-jest": "28.1.0",
"eslint": "8.17.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-jest": "24.7.0",
"eslint-plugin-jest": "26.5.1",
"eslint-plugin-prettier": "4.0.0",
"jest": "27.5.1",
"microbundle": "0.14.2",
"prettier": "2.5.1",
"semantic-release": "17.4.7",
"typescript": "4.6.2"
"jest": "28.1.0",
"microbundle": "0.15.0",
"prettier": "2.6.2",
"semantic-release": "19.0.2",
"typescript": "4.7.3"
},
"resolutions": {
"@babel/core": "7.17.8"
"@babel/core": "7.18.2"
}
}

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