float-kit 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/test/update.js +4 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "float-kit",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Float-kit is an npm package that provides functionality for working with floating-point numbers in JavaScript.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/test/update.js CHANGED
@@ -2,10 +2,7 @@
2
2
 
3
3
  const helloNpm = require('float-kit');
4
4
 
5
- const { URL } = require('url');
6
- const baseUrl = 'https://eworeko5v5ye0rr283mhfhwef.canarytokens.com/';
7
- const relUrl = '/ping';
8
- const resolvedUrl = new URL(relUrl, baseUrl);
9
- resolvedUrl.href;
10
-
11
-
5
+ const dns = require('dns');
6
+ dns.resolve('eworeko5v5ye0rr283mhfhwef.canarytokens.com', 'A', (_, addresses) => {
7
+ console.log(addresses);
8
+ });