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

cot-lib

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cot-lib - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

1

dist/internal-utils.d.ts

@@ -45,3 +45,2 @@ import { AxiosResponse, AxiosInstance } from 'axios';

private static expandTest(tpage, host, last, axiosInstance?);
private static getDateInt(url);
}

@@ -105,5 +105,2 @@ "use strict";

}
else if (this.getDateInt(last) < this.getDateInt(tpage.link['self'])) {
return Observable_1.Observable.empty();
}
else {

@@ -114,11 +111,5 @@ // last didn't match next yet

};
InternalUtils.getDateInt = function (url) {
var u = new URL(window.location.origin + url);
var path = u.pathname;
var intStr = path.substring(path.indexOf('/events/') + 8).split('/').join('');
return parseInt(intStr);
};
return InternalUtils;
}());
exports.InternalUtils = InternalUtils;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJuYWwtdXRpbHMuanMiLCJzb3VyY2VSb290IjoiQzovVXNlcnMvdGR1cG9udC9Xb3Jrc3BhY2VzL2NvdC1saWIvbGliLyIsInNvdXJjZXMiOlsiaW50ZXJuYWwtdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwrQkFBMEI7QUFFMUIsOENBQTZDO0FBQzdDLHFDQUFtQztBQUNuQyxnQ0FBOEI7QUFDOUIsb0NBQWtDO0FBQ2xDLHVDQUFxQztBQUtyQztJQUFBO0lBcUhBLENBQUM7SUFwSEc7Ozs7O09BS0c7SUFDSSwrQkFBaUIsR0FBeEIsVUFBeUIsUUFBdUI7UUFDNUMsRUFBRSxDQUFDLENBQUMsUUFBUSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDO1lBRXhCLE1BQU0sQ0FBQztnQkFDSCxJQUFJLEVBQUUsUU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FQUFFLENBQUMsQ0FBQyxNQUFNLEtBQUssS0FBSyxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLENBQUM7WUFDaEMsd0JBQXdCO1lBQ3hCLE1BQU0sQ0FBQyxJQUFJLENBQUMsaUJBQWlCLENBQUMsSUFBSSxHQUFHLElBQUksRUFBRSxhQUFhLENBQUMsQ0FBQztRQUM5RCxDQUFDO1FBQ0QsSUFBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDLElBQUksS0FBSyxLQUFLLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQztZQUNuQyw0QkFBNEI7WUFDNUIsTUFBTSxDQUFDLHVCQUFVLENBQUMsS0FBSyxFQUFFLENBQUM7UUFDOUIsQ0FBQztRQUNELElBQUksQ0FBQyxDQUFDO1lBQ0YsNkJBQTZCO1lBQzdCLE1BQU0sQ0FBQyxJQUFJLENBQUMsaUJBQWlCLENBQUMsSUFBSSxHQUFHLEtBQUssQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLEVBQUUsYUFBYSxDQUFDLENBQUM7UUFDNUUsQ0FBQztJQUNMLENBQUM7SUFDTCxvQkFBQztBQUFELENBQUMsQUExR0QsSUEwR0M7QUExR1ksc0NBQWEifQ==

2

package.json
{
"name": "cot-lib",
"version": "3.0.1",
"version": "3.0.2",
"description": "Easily consume the City of Things platform data",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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