Socket
Socket
Sign inDemoInstall

@nrfcloud/models

Package Overview
Dependencies
Maintainers
4
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrfcloud/models - npm Package Compare versions

Comparing version 2.1.5 to 3.0.0

1

dist/index.d.ts

@@ -7,3 +7,2 @@ export * from './value/URLValue';

export * from './model/ApiIndex';
export * from './model/Status';
export * from './model/HttpProblem';

@@ -10,0 +9,0 @@ export * from './model/JSONSerializeable';

@@ -12,3 +12,2 @@ "use strict";

__export(require("./model/ApiIndex"));
__export(require("./model/Status"));
__export(require("./model/HttpProblem"));

@@ -26,4 +25,3 @@ __export(require("./model/checkContext"));

require('./model/schema/List.json'),
require('./model/schema/Status.json'),
require('./model/schema/VersionedContext.json'),
];

2

dist/value/URLValue.d.ts

@@ -12,3 +12,3 @@ /**

};
static fromString: (str: string, path?: string[] | undefined) => URLValue;
static fromString(str: string, path?: Array<string>): URLValue;
/**

@@ -15,0 +15,0 @@ * @throws TypeError if the provided URI fromString invalid

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

class URLValue {
static fromString(str, path) {
return new URLValue(URLValueString(str, path));
}
/**

@@ -80,5 +83,4 @@ * @throws TypeError if the provided URI fromString invalid

}
URLValue.fromString = (str, path) => new URLValue(URLValueString(str, path));
exports.URLValue = URLValue;
exports.URLValueType = t.irreducible('URLValueType', URLValue.is);
exports.MaybeURLValueType = t.maybe(exports.URLValueType);
{
"name": "@nrfcloud/models",
"version": "2.1.5",
"version": "3.0.0",
"description": "Contains model definitions for the REST API",

@@ -11,7 +11,8 @@ "main": "dist/index.js",

"test:coverage": "npm run test -- --coverage && codeclimate-test-reporter < ./coverage/lcov.info",
"lint": "tslint --project ./tsconfig.json",
"lint": "npm run tslint && npm run prettier:lint",
"tslint": "tslint --project ./tsconfig.json",
"precommit": "npm run lint && npm test",
"commitmsg": "commitlint -e",
"semantic-release": "semantic-release",
"prettier": "prettier --write \"./src/*.ts\" \"./src/**/*.ts\" \"./__tests__/*.ts\" \"./__tests__/**/*.ts\""
"prettier": "prettier --write \"./src/*.ts\" \"./src/**/*.ts\" \"./__tests__/*.ts\" \"./__tests__/**/*.ts\"",
"prettier:lint": "prettier --list-different \"./src/*.ts\" \"./src/**/*.ts\" \"./__tests__/*.ts\" \"./__tests__/**/*.ts\""
},

@@ -37,14 +38,13 @@ "repository": {

"devDependencies": {
"@commitlint/cli": "^6.1.3",
"@commitlint/config-angular": "^6.1.3",
"@nrfcloud/tslint-config": "^2.0.2",
"@types/jest": "^22.2.3",
"@types/node": "^9.6.5",
"@commitlint/cli": "^7.0.0",
"@commitlint/config-angular": "^7.0.1",
"@nrfcloud/tslint-config": "^3.1.0",
"@types/jest": "^23.0.0",
"@types/node": "^10.0.3",
"codeclimate-test-reporter": "^0.5.0",
"husky": "^0.14.3",
"jest": "^22.4.3",
"json-schema-to-typescript": "^5.4.0",
"json-schema-to-typescript": "^6.0.0",
"prettier": "^1.12.0",
"semantic-release": "^15.1.7",
"ts-jest": "^22.4.3",
"ts-jest": "^23.0.0",
"tslint": "^5.9.1",

@@ -51,0 +51,0 @@ "typescript": "^2.8.1"

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