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

zcap-context

Package Overview
Dependencies
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zcap-context - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

5

CHANGELOG.md
# zcap-context ChangeLog
## 1.2.1 - 2021-04-27
### Fix
- Fix `@id` for `expires`.
## 1.2.0 - 2021-04-27

@@ -4,0 +9,0 @@

4

dist/context.js
!function(t,e){for(var i in e)t[i]=e[i]}(exports,function(t){var e={};function i(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=t,i.c=e,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(r,o,function(e){return t[e]}.bind(null,o));return r},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,i){"use strict";
/*!
* Copyright (c) 2021 Digital Bazaar, Inc. All rights reserved.
*/const r=i(1),o=i(2),{CONTEXT_URL:n,CBORLD_VALUE:c}=o,p=new Map;p.set(n,r);const a=new Map;a.set(n,c),t.exports={constants:o,contexts:p,appContextMap:a,CONTEXT_URL:n,CONTEXT:r}},function(t,e,i){"use strict";
*/const r=i(1),o=i(2),{CONTEXT_URL:n,CBORLD_VALUE:c}=o,a=new Map;a.set(n,r);const p=new Map;p.set(n,c),t.exports={constants:o,contexts:a,appContextMap:p,CONTEXT_URL:n,CONTEXT:r}},function(t,e,i){"use strict";
/*!
* Copyright (c) 2021 Digital Bazaar, Inc. All rights reserved.
*/t.exports={"@context":{id:"@id",type:"@type","@protected":!0,allowedAction:"https://w3id.org/security#allowedAction",publicAlias:{"@id":"https://w3id.org/security#publicAlias","@type":"@id"},capability:{"@id":"https://w3id.org/security#capability","@type":"@id"},capabilityAction:"https://w3id.org/security#capabilityAction",capabilityChain:{"@id":"https://w3id.org/security#capabilityChain","@type":"@id","@container":"@list"},capabilityDelegation:{"@id":"https://w3id.org/security#capabilityDelegationMethod","@type":"@id","@container":"@set"},capabilityInvocation:{"@id":"https://w3id.org/security#capabilityInvocationMethod","@type":"@id","@container":"@set"},caveat:{"@id":"https://w3id.org/security#caveat","@type":"@id","@container":"@set"},controller:{"@id":"https://w3id.org/security#controller","@type":"@id"},delegator:{"@id":"https://w3id.org/security#delegator","@type":"@id"},expires:{"@id":"https://w3id.org/security#expires","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},invocationTarget:{"@id":"https://w3id.org/security#invocationTarget","@type":"@id"},invoker:{"@id":"https://w3id.org/security#invoker","@type":"@id"},parentCapability:{"@id":"https://w3id.org/security#parentCapability","@type":"@id"},proof:{"@id":"https://w3id.org/security#proof","@type":"@id","@container":"@graph"},referenceId:"https://w3id.org/security#referenceId"}}},function(t,e,i){"use strict";
*/t.exports={"@context":{id:"@id",type:"@type","@protected":!0,allowedAction:"https://w3id.org/security#allowedAction",publicAlias:{"@id":"https://w3id.org/security#publicAlias","@type":"@id"},capability:{"@id":"https://w3id.org/security#capability","@type":"@id"},capabilityAction:"https://w3id.org/security#capabilityAction",capabilityChain:{"@id":"https://w3id.org/security#capabilityChain","@type":"@id","@container":"@list"},capabilityDelegation:{"@id":"https://w3id.org/security#capabilityDelegationMethod","@type":"@id","@container":"@set"},capabilityInvocation:{"@id":"https://w3id.org/security#capabilityInvocationMethod","@type":"@id","@container":"@set"},caveat:{"@id":"https://w3id.org/security#caveat","@type":"@id","@container":"@set"},controller:{"@id":"https://w3id.org/security#controller","@type":"@id"},delegator:{"@id":"https://w3id.org/security#delegator","@type":"@id"},expires:{"@id":"https://w3id.org/security#expiration","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},invocationTarget:{"@id":"https://w3id.org/security#invocationTarget","@type":"@id"},invoker:{"@id":"https://w3id.org/security#invoker","@type":"@id"},parentCapability:{"@id":"https://w3id.org/security#parentCapability","@type":"@id"},proof:{"@id":"https://w3id.org/security#proof","@type":"@id","@container":"@graph"},referenceId:"https://w3id.org/security#referenceId"}}},function(t,e,i){"use strict";
/*!
* Copyright (c) 2021 Digital Bazaar, Inc. All rights reserved.
*/t.exports={CONTEXT_FILENAME:"zcap-v1.jsonld",CONTEXT_URL:"https://w3id.org/zcap/v1",CBORLD_VALUE:26}}]));

@@ -50,3 +50,3 @@ /*!

expires: {
'@id': 'https://w3id.org/security#expires',
'@id': 'https://w3id.org/security#expiration',
'@type': 'http://www.w3.org/2001/XMLSchema#dateTime'

@@ -53,0 +53,0 @@ },

{
"name": "zcap-context",
"version": "1.2.0",
"version": "1.2.1",
"description": "An Authorization Capability (zCap) JSON-LD context for JavaScript.",

@@ -5,0 +5,0 @@ "main": "js/index.js",

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