ip-address
Advanced tools
Comparing version 5.8.8 to 5.8.9
@@ -8,3 +8,2 @@ 'use strict'; | ||
var sprintf = require('sprintf-js').sprintf; | ||
var deprecate = require('util-deprecate'); | ||
@@ -172,6 +171,2 @@ var constants = require('./v4/constants.js'); | ||
Address4.prototype.toV6Group = | ||
deprecate(Address4.prototype.toGroup6, | ||
'deprecated: `toV6Group` has been renamed to `toGroup6`'); | ||
/** | ||
@@ -178,0 +173,0 @@ * Returns the address as a BigInteger |
@@ -10,3 +10,2 @@ 'use strict'; | ||
var sprintf = require('sprintf-js').sprintf; | ||
var deprecate = require('util-deprecate'); | ||
@@ -739,6 +738,2 @@ var constants4 = require('./v4/constants.js'); | ||
Address6.prototype.tov4 = | ||
deprecate(Address6.prototype.to4, | ||
'deprecated: `tov4` has been renamed to `to4`'); | ||
/** | ||
@@ -765,6 +760,2 @@ * Return the v4-in-v6 form of the address | ||
Address6.prototype.v4inv6 = | ||
deprecate(Address6.prototype.to4in6, | ||
'deprecated: `v4inv6` has been renamed to `to4in6`'); | ||
/** | ||
@@ -832,6 +823,2 @@ * Return an object containing the Teredo properties of the address | ||
Address6.prototype.teredo = | ||
deprecate(Address6.prototype.inspectTeredo, | ||
'deprecated: `teredo` has been renamed to `inspectTeredo`'); | ||
/** | ||
@@ -859,6 +846,2 @@ * Return an object containing the 6to4 properties of the address | ||
Address6.prototype.six2four = | ||
deprecate(Address6.prototype.inspect6to4, | ||
'deprecated: `six2four` has been renamed to `inspect6to4`'); | ||
/** | ||
@@ -886,6 +869,2 @@ * Return a v6 6to4 address from a v6 v4inv6 address | ||
Address6.prototype.get6to4 = | ||
deprecate(Address6.prototype.to6to4, | ||
'deprecated: `get6to4` has been renamed to `to6to4`'); | ||
/** | ||
@@ -892,0 +871,0 @@ * Return a byte array |
@@ -16,4 +16,4 @@ exports.BITS = 128; | ||
8: 'Organization local', | ||
15: 'Global', | ||
16: 'Reserved' | ||
14: 'Global', | ||
15: 'Reserved' | ||
}; | ||
@@ -20,0 +20,0 @@ |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "5.8.8", | ||
"version": "5.8.9", | ||
"author": "Beau Gunderson <beau@beaugunderson.com> (https://beaugunderson.com/)", | ||
@@ -18,3 +18,3 @@ "license": "MIT", | ||
"docs": "documentation --github --output docs --format html ./ip-address.js", | ||
"prepublish": "browserify ./ip-address-globals.js > ./dist/ip-address-globals.js" | ||
"prepublishOnly": "browserify ./ip-address-globals.js > ./dist/ip-address-globals.js" | ||
}, | ||
@@ -29,3 +29,3 @@ "engines": { | ||
"dependencies": { | ||
"jsbn": "0.1.0", | ||
"jsbn": "1.1.0", | ||
"lodash.find": "^4.6.0", | ||
@@ -36,14 +36,13 @@ "lodash.max": "^4.0.1", | ||
"lodash.repeat": "^4.1.0", | ||
"sprintf-js": "^1.0.3", | ||
"util-deprecate": "^1.0.2" | ||
"sprintf-js": "1.1.0" | ||
}, | ||
"devDependencies": { | ||
"browserify": "^13.1.1", | ||
"chai": "^3.5.0", | ||
"browserify": "^14.5.0", | ||
"chai": "^4.1.2", | ||
"codecov.io": "^0.1.6", | ||
"documentation": "^4.0.0-beta9", | ||
"documentation": "^4.0.0", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^3.2.0", | ||
"mochify": "^2.18.1" | ||
"mocha": "^3.5.3", | ||
"mochify": "^3.3.0" | ||
} | ||
} |
[![travis]](http://travis-ci.org/beaugunderson/ip-address) | ||
[![codecov.io](https://codecov.io/github/beaugunderson/ip-address/coverage.svg?branch=master)](https://codecov.io/github/beaugunderson/ip-address?branch=master) | ||
[![codecov]](https://codecov.io/github/beaugunderson/ip-address?branch=master) | ||
[![downloads]](https://www.npmjs.com/package/ip-address) | ||
[![version]](https://www.npmjs.com/package/ip-address) | ||
[![npm]](https://www.npmjs.com/package/ip-address) | ||
[![greenkeeper]](https://greenkeeper.io/) | ||
[codecov]: https://codecov.io/github/beaugunderson/ip-address/coverage.svg?branch=master | ||
[downloads]: https://img.shields.io/npm/dm/ip-address.svg | ||
[greenkeeper]: https://badges.greenkeeper.io/beaugunderson/ip-address.svg | ||
[npm]: https://img.shields.io/npm/v/ip-address.svg | ||
[travis]: https://img.shields.io/travis/beaugunderson/ip-address.svg | ||
[coverage]: https://img.shields.io/coveralls/beaugunderson/ip-address.svg | ||
[downloads]: https://img.shields.io/npm/dm/ip-address.svg | ||
[version]: https://img.shields.io/npm/v/ip-address.svg | ||
@@ -16,14 +18,2 @@ ## ip-address | ||
### Upgrading to 5.0 | ||
- `v4.Address` and `v6.Address` have been renamed `Address4` and `Address6` | ||
- `Address4#toV6Group` has been renamed `Address4#toGroup6` | ||
- `Address6#get6to4` has been renamed `Address6#to6to4` | ||
- `Address6#six2four` has been renamed `Address6#inspect6to4` | ||
- `Address6#teredo` has been renamed `Address6#inspectTeredo` | ||
- `Address6#tov4` has been renamed `Address6#to4` | ||
- `Address6#v4inv6` has been renamed `Address6#to4in6` | ||
Deprecation warnings are in place for all of these methods. | ||
### Documentation | ||
@@ -30,0 +20,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
307545
7
9835
97
+ Addedjsbn@1.1.0(transitive)
+ Addedsprintf-js@1.1.0(transitive)
- Removedutil-deprecate@^1.0.2
- Removedjsbn@0.1.0(transitive)
- Removedsprintf-js@1.1.3(transitive)
- Removedutil-deprecate@1.0.2(transitive)
Updatedjsbn@1.1.0
Updatedsprintf-js@1.1.0