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

@slynova/fence

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slynova/fence - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

10

CHANGELOG.md

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

<a name="1.0.6"></a>
## [1.0.6](https://github.com/Slynova-Org/fence/compare/1.0.5...1.0.6) (2018-09-07)
### Features
* **guard:** avoid error when patching formatResourceName ([90c0434](https://github.com/Slynova-Org/fence/commit/90c0434))
<a name="1.0.5"></a>

@@ -2,0 +12,0 @@ ## [1.0.5](https://github.com/Slynova-Org/fence/compare/1.0.4...1.0.5) (2018-07-21)

13

dist/Guard/index.js

@@ -81,8 +81,13 @@ "use strict";

$correspondsToPolicy(resource) {
const resourceName = Helpers_1.formatResourceName(resource);
return (storage.retrievePolicy(resourceName) !== undefined)
? true
: false;
try {
const resourceName = Helpers_1.formatResourceName(resource);
return (storage.retrievePolicy(resourceName) !== undefined)
? true
: false;
}
catch (e) {
return false;
}
}
}
exports.Guard = Guard;
{
"name": "@slynova/fence",
"version": "1.0.5",
"version": "1.0.6",
"description": "Flexible and Fluent way to manage ACL in Node.js.",

@@ -5,0 +5,0 @@ "keywords": [

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