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

mako-tree

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mako-tree - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

coverage/coverage.json

2

lib/tree.js

@@ -454,3 +454,3 @@ 'use strict'

if (value && value.type === 'Buffer') {
return new Buffer(value.data)
return Buffer.from(value.data)
}

@@ -457,0 +457,0 @@

{
"name": "mako-tree",
"version": "1.6.0",
"version": "1.6.1",
"main": "./lib/tree",

@@ -11,2 +11,3 @@ "description": "The build tree structure used internally by mako",

"repository": "makojs/tree",
"license": "MIT",
"dependencies": {

@@ -19,28 +20,15 @@ "babel-polyfill-safer": "^6.6.1",

"graph.js": "^1.20.12",
"mako-utils": "^1.0.0",
"mako-utils": "^1.0.1",
"pretty-time": "^0.2.0",
"regex-iso-date": "^1.0.0",
"uuid": "^2.0.2",
"uuid": "^3.0.0",
"vinyl": "^2.0.0"
},
"devDependencies": {
"buffer-equal": "^1.0.0",
"chai": "^3.2.0",
"istanbul": "^0.4.3",
"istanbul-coveralls": "^1.0.3",
"mocha": "^3.0.0",
"standard": "^8.0.0"
"buffer-equal": "^1.0.0"
},
"scripts": {
"lint": "standard",
"pretest": "npm run lint",
"test": "istanbul cover _mocha",
"coveralls": "istanbul-coveralls",
"preversion": "npm test",
"version": "git-changelog -t $npm_package_version && git add HISTORY.md",
"postversion": "git push && git push --tags"
},
"greenkeeper": {
"label": "chore"
"coveralls": "istanbul-coveralls"
}
}
# mako-tree
> The build tree structure used internally by [mako][mako]
> The build tree structure used internally by mako
[![npm version][npm-badge]][npm]
[![build status][travis-badge]][travis]
[![coverage][coveralls-badge]][coveralls]
[![npm dependencies][david-badge]][david]
[![npm dev dependencies][david-dev-badge]][david-dev]
[![nsp status][nsp-badge]][nsp]
[![code style][standard-badge]][standard]
## API

@@ -255,4 +250,2 @@

[coveralls-badge]: https://img.shields.io/coveralls/makojs/tree.svg
[coveralls]: https://coveralls.io/github/makojs/tree
[david-badge]: https://img.shields.io/david/makojs/tree.svg

@@ -262,10 +255,3 @@ [david-dev-badge]: https://img.shields.io/david/dev/makojs/tree.svg

[david]: https://david-dm.org/makojs/tree
[mako]: https://github.com/makojs/core
[npm-badge]: https://img.shields.io/npm/v/mako-tree.svg
[npm]: https://www.npmjs.com/package/mako-tree
[nsp-badge]: https://nodesecurity.io/orgs/mako/projects/a77a3cfc-85a9-48d0-997a-4057eebb8bea/badge
[nsp]: https://nodesecurity.io/orgs/mako/projects/a77a3cfc-85a9-48d0-997a-4057eebb8bea
[standard-badge]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg
[standard]: http://standardjs.com/
[travis-badge]: https://img.shields.io/travis/makojs/tree.svg
[travis]: https://travis-ci.org/makojs/tree

@@ -29,3 +29,3 @@ /* eslint-env mocha */

let base = '/path/to'
let contents = new Buffer('hello world')
let contents = Buffer.from('hello world')
let file = new File({ path, base, contents })

@@ -206,3 +206,3 @@ assert.strictEqual(file.base, base)

let file = new File('index.jade')
file.contents = new Buffer('hello world')
file.contents = Buffer.from('hello world')
file.reset()

@@ -312,3 +312,3 @@ assert.isNull(file.contents)

path: 'a',
contents: new Buffer('hello world')
contents: Buffer.from('hello world')
})

@@ -444,3 +444,3 @@ let clone = a.clone()

let file = new File('a.txt', null, true)
file.contents = new Buffer('hello world')
file.contents = Buffer.from('hello world')

@@ -447,0 +447,0 @@ let actual = File.fromObject(file.toJSON())

@@ -799,6 +799,6 @@ /* eslint-env mocha */

let a = tree.addFile('a.js')
a.contents = new Buffer('a')
a.contents = Buffer.from('a')
a.modified = new Date()
let b = tree.addFile('b.js')
b.contents = new Buffer('b')
b.contents = Buffer.from('b')
b.modified = new Date()

@@ -805,0 +805,0 @@ tree.addDependency(a, b)

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