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

terraform

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terraform - npm Package Compare versions

Comparing version 0.5.6 to 0.6.0

24

lib/helpers/raw.js

@@ -195,8 +195,8 @@

* {
* "data": {...},
* "_data": {...},
* "articles": {
* "data": {...}
* "_data": {...}
* },
* "people": {
* "data": {...}
* "_data": {...}
* }

@@ -221,3 +221,3 @@ * }

var obj = {}
obj.contents = []
obj._contents = []

@@ -227,3 +227,3 @@ try{

var fileData = fs.readFileSync(dataPath)
obj.data = JSON.parse(fileData)
obj._data = JSON.parse(fileData)
}catch(e){

@@ -255,8 +255,8 @@ if(e.code && e.code === "ENOENT"){

}else{
if(["_", "."].indexOf(file[0]) === -1 ) obj.contents.push(outputPath(file))
if(["_", "."].indexOf(file[0]) === -1 ) obj._contents.push(outputPath(file))
}
})
if(obj.contents.length == 0)
delete obj.contents
if(obj._contents.length == 0)
delete obj._contents

@@ -322,3 +322,3 @@ return obj

* "articles": {
* "data": {
* "_data": {
* "hello-world": "You Found Me!"

@@ -339,5 +339,5 @@ * }

return walkData(tail, obj[head])
}else if(obj.hasOwnProperty("data")){
return obj["data"][head]
? obj["data"][head]
}else if(obj.hasOwnProperty("_data")){
return obj["_data"][head]
? obj["_data"][head]
: null

@@ -344,0 +344,0 @@

{
"name": "terraform",
"version": "0.5.6",
"version": "0.6.0",
"description": "pre-processor engine that powers the harp web server",

@@ -14,3 +14,4 @@ "repository" : { "type" : "git", "url" : "https://github.com/sintaxi/terraform.git" },

{ "name": "Brian Donovan", "email": "donovan@squareup.com" },
{ "name": "Kenneth Ormandy", "email": "kenneth@chloi.io" }
{ "name": "Kenneth Ormandy", "email": "kenneth@chloi.io" },
{ "name": "Zhang Yichao", "email": "echaozh@gmail.com" }
],

@@ -24,4 +25,4 @@ "license": "MIT",

"marked": "0.2.9",
"less" : "1.4.2",
"stylus": "0.38.0"
"less" : "1.5.0",
"stylus": "0.40.0"
},

@@ -28,0 +29,0 @@ "devDependencies": {

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