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

printf

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

printf - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

lib/printf.d.ts

11

CHANGELOG.md
# Changelog
## Version 0.5.2
* package: use MIT license
* ts: move types to lib
* package: remove directories and use files
* package: update homepage
## Version 0.5.1
package: revert es5, it doesn't make any sense
* package: revert es5, it doesn't make any sense
## Version 0.5.0
package: generate es5 version
* package: generate es5 version

@@ -12,0 +19,0 @@ ## Version 0.4.0

@@ -407,3 +407,11 @@

var precision = (token.period === '.') ? token.precision : null;
token.arg = util.inspect(token.arg, !token.alternative, precision, token.sign);
// Historically, inspect was called with 3 options
// token.arg = util.inspect(token.arg, !token.alternative, precision, token.sign);
// Now using an object but not sure colors make any sense here
token.arg = util.inspect(token.arg, {
showHidden: !token.alternative,
depth: precision,
colors: token.sign,
compact: true
});
};

@@ -410,0 +418,0 @@ Formatter.prototype.zeroPad = function(token, /*Int*/ length) {

16

package.json
{
"name": "printf",
"version": "0.5.1",
"version": "0.5.2",
"description": "Full implementation of the `printf` family in pure JS.",

@@ -13,4 +13,4 @@ "keywords": [

],
"homepage": "http://www.adaltas.com/projects/node-printf",
"license": "BSD-3-Clause",
"homepage": "https://github.com/adaltas/node-printf",
"license": "MIT",
"author": "David Worms <david@adaltas.com>",

@@ -28,11 +28,9 @@ "maintainers": [

"main": "./lib/printf",
"types": "./typings/printf.d.ts",
"types": "./lib/printf.d.ts",
"engines": {
"node": ">= 0.9.0"
},
"directories": {
"lib": "./lib",
"test": "./test",
"doc": "./doc"
},
"files": [
"/lib"
],
"scripts": {

@@ -39,0 +37,0 @@ "preversion": "grep '## Trunk' CHANGELOG.md && npm test",

@@ -1,2 +0,2 @@

[![Build Status](https://secure.travis-ci.org/adaltas/node-printf.png)](http://travis-ci.org/adaltas/node-printf)
[![Build Status](https://secure.travis-ci.org/adaltas/node-printf.svg)](http://travis-ci.org/adaltas/node-printf)

@@ -9,4 +9,2 @@ A complete implementation of the **`printf` C functions family**

[![NPM](https://nodei.co/npm/printf.png?stars&downloads)](https://nodei.co/npm/printf/) [![NPM](https://nodei.co/npm-dl/printf.png)](https://nodei.co/npm/printf/)
## Installing

@@ -162,4 +160,3 @@

Tests are written in [CoffeeScript][coffee] executed with [Mocha][mocha]. To use it, simple run `npm install`, it will install
Mocha and its dependencies in your project's `node_modules` directory followed by `npm test`.
Tests are written in [CoffeeScript][coffee] and are executed with [Mocha][mocha]. To use it, simple run `npm install`, it will install Mocha and its dependencies in your project's `node_modules` directory followed by `npm test`.

@@ -173,4 +170,3 @@ To run the tests:

The test suite is run online with [Travis][travis] against the versions 6, 7, 8 and 9 of
Node.js.
The test suite is run online with [Travis][travis] against the versions 6, 7, 8 and 9 of Node.js.

@@ -187,10 +183,7 @@ ## Contributors

[dojo]: http://www.dojotoolkit.org "The Dojo Toolkit"
[node]: http://nodejs.org "The Node.JS platform"
[npm]: https://github.com/isaacs/npm "The Node Package Manager"
[util_inspect]: http://nodejs.org/api/util.html#util_util_inspect_object_showhidden_depth_colors "util.inspect() documentation"
[expresso]: http://visionmedia.github.com/expresso "The Expresso TDD"
[travis]: https://travis-ci.org "Continuous Integration system"
[mocha]: http://mochajs.org/ "The Mocha test framework"
[coffee]: http://coffeescript.org/

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