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

mini-tools

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-tools - npm Package Compare versions

Comparing version 1.11.0 to 1.11.1

2

lib/mini-tools.js

@@ -209,3 +209,3 @@ "use strict";

function serveYaml(object) {
return serveText(jsYaml.safeDump(object), 'application/x-yaml');
return serveText(jsYaml.dump(object), 'application/x-yaml');
}

@@ -212,0 +212,0 @@ exports.serveYaml = serveYaml;

{
"name": "mini-tools",
"description": "mini tools for express and others",
"version": "1.11.0",
"version": "1.11.1",
"author": "Codenautas <codenautas@googlegroups.com>",

@@ -18,5 +18,5 @@ "license": "MIT",

"dependencies": {
"fs-extra": "^9.0.1",
"js-yaml": "^3.14.0",
"pug": "^3.0.0",
"fs-extra": "^9.1.0",
"js-yaml": "^4.0.0",
"pug": "^3.0.2",
"read-yaml-promise": "^1.0.2",

@@ -28,18 +28,18 @@ "send": "~0.17.1",

"devDependencies": {
"@types/express": "^4.17.9",
"@types/fs-extra": "^9.0.4",
"@types/js-yaml": "^3.12.5",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.10",
"@types/send": "~0.14.5",
"@types/express": "^4.17.11",
"@types/fs-extra": "^9.0.9",
"@types/js-yaml": "^4.0.0",
"@types/mocha": "^8.2.2",
"@types/node": "^14.14.37",
"@types/send": "~0.14.7",
"colors": "^1.4.0",
"expect.js": "~0.3.1",
"express": "^4.17.1",
"mocha": "^8.2.1",
"mocha": "^8.3.2",
"nyc": "^15.1.0",
"sinon": "^9.2.1",
"sinon": "^10.0.0",
"source-map-support": "~0.5.19",
"supertest": "^6.0.1",
"ts-node": "^9.1.0",
"typescript": "~4.1.2"
"supertest": "^6.1.3",
"ts-node": "^9.1.1",
"typescript": "~4.2.3"
},

@@ -49,3 +49,3 @@ "main": "lib/mini-tools.js",

"engines": {
"node": ">= 8"
"node": ">= 12"
},

@@ -56,3 +56,3 @@ "scripts": {

"test-ci": "node node_modules/nyc/bin/nyc --reporter=lcov --reporter=text-lcov node_modules/mocha/bin/_mocha --exit --check-leaks test/",
"test-cov": "node node_modules/nyc/bin/nyc mocha --exit",
"test-cov": "nyc mocha --exit test/",
"start": "node example/server.js"

@@ -66,6 +66,9 @@ },

"exclude": [
"**/*.d.ts"
"**/*.d.ts",
"coverage",
"example",
"test"
],
"include": [
"lib"
"**"
],

@@ -72,0 +75,0 @@ "reporter": [

@@ -8,3 +8,3 @@ # mini-tools

[![downloads](https://img.shields.io/npm/dm/mini-tools.svg)](https://npmjs.org/package/mini-tools)
[![linux](https://img.shields.io/travis/codenautas/mini-tools/master.svg)](https://travis-ci.org/codenautas/mini-tools)
[![Node.js CI](https://github.com/codenautas/mini-tools/workflows/Node.js%20CI/badge.svg)](https://github.com/codenautas/mini-tools/actions?query=workflow%3A%22Node.js+CI%22)
[![windows](https://ci.appveyor.com/api/projects/status/github/codenautas/mini-tools?svg=true)](https://ci.appveyor.com/project/codenautas/mini-tools)

@@ -11,0 +11,0 @@ [![coverage](https://img.shields.io/coveralls/codenautas/mini-tools/master.svg)](https://coveralls.io/r/codenautas/mini-tools)

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