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

@ausgaben/models

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ausgaben/models - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

12

dist/index.js

@@ -7,14 +7,2 @@ 'use strict';

var _category = require('./category');
Object.keys(_category).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function get() {
return _category[key];
}
});
});
var _checkingAccount = require('./checking-account');

@@ -21,0 +9,0 @@

11

dist/title.js

@@ -33,3 +33,2 @@ 'use strict';

* @param {string} title
* @param {string} category
* @constructor

@@ -41,3 +40,3 @@ */

function Title(title, category) {
function Title(title) {
_classCallCheck(this, Title);

@@ -48,3 +47,2 @@

_this.title = NonEmptyStringType(title, ['Title', 'title:String']);
_this.category = NonEmptyStringType(category, ['Title', 'category:String']);
return _this;

@@ -57,4 +55,3 @@ }

return _extends(_get(Title.prototype.__proto__ || Object.getPrototypeOf(Title.prototype), 'toJSON', this).call(this), {
title: this.title,
category: this.category
title: this.title
});

@@ -67,3 +64,2 @@ }

return new Title(_extends(_get(Title.__proto__ || Object.getPrototypeOf(Title), 'fromJSON', this).call(this, data), {
category: data.category,
title: data.title

@@ -96,5 +92,4 @@ }));

var TitleJSONType = exports.TitleJSONType = (0, _tcomb.struct)({
title: NonEmptyStringType,
category: NonEmptyStringType
title: NonEmptyStringType
}, 'TitleJSONType');
var TitleType = exports.TitleType = (0, _tcomb.irreducible)('TitleType', Title.is);

@@ -1,59 +0,1 @@

{
"name": "@ausgaben/models",
"description": "A collection of models",
"version": "1.1.0",
"main": "dist/index.js",
"scripts": {
"test": "NODE_ENV=testing mocha --compilers js:babel-register --reporter=dot --timeout=1350 test/\\*\\*/\\*.js",
"test:coverage": "NODE_ENV=nyc babel src --out-dir instrumented-src > /dev/null && nyc --reporter=text-summary --reporter=lcov npm run test",
"test:coverage-travis": "npm run test:coverage && codeclimate-test-reporter < ./coverage/lcov.info && rm -rf ./coverage",
"lint": "standard",
"precommit": "npm run lint && npm test",
"commitmsg": "validate-commit-msg",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/ausgaben/models.git"
},
"author": "Markus Tacker <m@coderbyheart.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ausgaben/models/issues"
},
"homepage": "https://github.com/ausgaben/models#readme",
"dependencies": {
"@rheactorjs/errors": "1.x",
"@rheactorjs/models": "1.x",
"@rheactorjs/value-objects": "1.x",
"tcomb": "^3.2.16"
},
"devDependencies": {
"babel-cli": "^6.23.0",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-preset-env": "^1.2.1",
"babel-preset-es2015": "^6.22.0",
"babel-register": "^6.23.0",
"chai": "^3.5.0",
"codeclimate-test-reporter": "^0.4.1",
"husky": "^0.13.2",
"istanbul": "^0.4.4",
"jsonwebtoken": "^7.3.0",
"mocha": "^3.1.2",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^10.1.2",
"semantic-release": "^6.3.6",
"standard": "^10.0.2",
"validate-commit-msg": "^2.11.2"
},
"files": [
"dist",
"README.md"
],
"engines": {
"node": ">=6.10.2"
}
}
{"name":"@ausgaben/models","description":"A collection of models","version":"2.0.0","main":"dist/index.js","scripts":{"lint":"standard","precommit":"npm run lint && npm test","commitmsg":"validate-commit-msg","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/ausgaben/models.git"},"author":"Markus Tacker <m@coderbyheart.com>","license":"MIT","bugs":{"url":"https://github.com/ausgaben/models/issues"},"homepage":"https://github.com/ausgaben/models#readme","dependencies":{"@rheactorjs/errors":"1.x","@rheactorjs/models":"^2.0.1","@rheactorjs/value-objects":"1.x","tcomb":"^3.2.16"},"devDependencies":{"babel-cli":"^6.23.0","babel-plugin-transform-object-assign":"^6.22.0","babel-preset-env":"^1.2.1","babel-preset-es2015":"^6.22.0","babel-register":"^6.23.0","husky":"^0.14.1","semantic-release":"^8.0.3","standard":"^10.0.2","validate-commit-msg":"^2.11.2"},"files":["dist","README.md"],"engines":{"node":">=6.10.2"}}

@@ -5,3 +5,3 @@ # models

[![Build Status](https://travis-ci.org/ausgaben/models.svg?branch=master)](https://travis-ci.org/ausgaben/models)
[![monitored by greenkeeper.io](https://img.shields.io/badge/greenkeeper.io-monitored-brightgreen.svg)](http://greenkeeper.io/)
[![Greenkeeper badge](https://badges.greenkeeper.io/ausgaben/models.svg)](https://greenkeeper.io/)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)

@@ -8,0 +8,0 @@ [![semantic-release](https://img.shields.io/badge/semver-semantic%20release-e10079.svg)](https://github.com/semantic-release/semantic-release)

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