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

law

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

law - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name":"law",
"description":"Tools to create policy and validations for services.",
"version":"0.2.0",
"version":"0.2.1",
"homepage":"http://github.com/TorchlightSoftware/law",

@@ -6,0 +6,0 @@ "repository":"git://github.com/TorchlightSoftware/law.git",

@@ -119,3 +119,3 @@ # Law

law.create services, jargon, policy, resolvers
law.create {services, jargon, policy, resolvers}
```

@@ -135,3 +135,3 @@

```coffee-script
#> console.log law.print services
#> console.log law.printFilters services

@@ -163,3 +163,3 @@ { dashboard: [ 'filters/isLoggedIn', 'filters/setIsOnline', 'dashboard' ],

connect = require 'connect'
{create, print} = require 'law'
{load, create, printFilters} = require 'law'

@@ -171,4 +171,5 @@ # files from the sample app

services = create serviceLocation, argTypes, policy
console.log "I am the law:", print services
services = load serviceLocation
services = create {services, jargon, policy}
console.log "I am the law:", printFilters services
```

@@ -175,0 +176,0 @@

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