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

@microsoft/paris

Package Overview
Dependencies
Maintainers
9
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/paris - npm Package Compare versions

Comparing version 1.11.0 to 1.11.1

17

dist/lib/api/repository/readonly-repository.js

@@ -1,11 +0,8 @@

var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};

@@ -12,0 +9,0 @@ import { cloneDeep } from "lodash-es";

var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
}
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {

@@ -9,0 +6,0 @@ extendStatics(d, b);

var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
}
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {

@@ -9,0 +6,0 @@ extendStatics(d, b);

@@ -16,5 +16,5 @@ import { entityFieldsService } from "../services/entity-fields.service";

field.type = fieldConfig.arrayOf || propertyConstructor;
field.isArray = propertyConstructor === Array;
field.isArray = propertyConstructor === Array || Boolean(fieldConfig.arrayOf);
entityFieldsService.addField(entityPrototype, field);
};
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
}
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {

@@ -30,5 +27,6 @@ extendStatics(d, b);

}
var _a;
__decorate([
EntityField(),
__metadata("design:type", Object)
__metadata("design:type", typeof (_a = typeof TId !== "undefined" && TId) === "function" && _a || Object)
], EntityModelBase.prototype, "id", void 0);

@@ -35,0 +33,0 @@ return EntityModelBase;

var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
}
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {

@@ -9,0 +6,0 @@ extendStatics(d, b);

@@ -0,0 +0,0 @@ import { ParisConfig } from "./paris-config";

var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
}
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {

@@ -9,0 +6,0 @@ extendStatics(d, b);

var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
}
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {

@@ -9,0 +6,0 @@ extendStatics(d, b);

@@ -1,11 +0,8 @@

var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};

@@ -12,0 +9,0 @@ import { of } from "rxjs";

@@ -39,2 +39,4 @@ import { ModelBase } from "../config/model.base";

}
if (entity instanceof ModelEntity)
modelData.id = rawData[entityIdProperty];
var getModelDataError = new Error("Failed to create " + entity.singularName + ".");

@@ -87,4 +89,2 @@ if (typeof entity.modelWith === 'function') {

});
if (entity instanceof ModelEntity)
modelData.id = rawData[entityIdProperty];
var model$;

@@ -91,0 +91,0 @@ if (subModels.length) {

@@ -1,11 +0,8 @@

var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};

@@ -12,0 +9,0 @@ import * as jsonStringify from 'json-stringify-safe';

{
"name": "json-stringify-safe",
"version": "5.0.1",
"_args": [
[
"json-stringify-safe@5.0.1",
"C:\\Users\\aagreenw\\code\\paris"
]
],
"_development": true,
"_from": "json-stringify-safe@5.0.1",
"_id": "json-stringify-safe@5.0.1",
"_inBundle": false,
"_integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
"_location": "/json-stringify-safe",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "json-stringify-safe@5.0.1",
"name": "json-stringify-safe",
"escapedName": "json-stringify-safe",
"rawSpec": "5.0.1",
"saveSpec": null,
"fetchSpec": "5.0.1"
},
"_requiredBy": [
"/",
"/conventional-changelog-writer",
"/request"
],
"_resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
"_spec": "5.0.1",
"_where": "C:\\Users\\aagreenw\\code\\paris",
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
"url": "http://blog.izs.me"
},
"bugs": {
"url": "https://github.com/isaacs/json-stringify-safe/issues"
},
"contributors": [
{
"name": "Andri Möll",
"email": "andri@dot.ee",
"url": "http://themoll.com"
}
],
"description": "Like JSON.stringify, but doesn't blow up on circular refs.",
"devDependencies": {
"mocha": ">= 2.1.0 < 3",
"must": ">= 0.12 < 0.13",
"sinon": ">= 1.12.2 < 2"
},
"homepage": "https://github.com/isaacs/json-stringify-safe",
"keywords": [

@@ -11,22 +61,13 @@ "json",

],
"homepage": "https://github.com/isaacs/json-stringify-safe",
"bugs": "https://github.com/isaacs/json-stringify-safe/issues",
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
"contributors": [
"Andri Möll <andri@dot.ee> (http://themoll.com)"
],
"license": "ISC",
"main": "stringify.js",
"name": "json-stringify-safe",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/json-stringify-safe"
"url": "git://github.com/isaacs/json-stringify-safe.git"
},
"main": "stringify.js",
"scripts": {
"test": "node test.js"
},
"devDependencies": {
"mocha": ">= 2.1.0 < 3",
"must": ">= 0.12 < 0.13",
"sinon": ">= 1.12.2 < 2"
}
"version": "5.0.1"
}
{
"name": "@microsoft/paris",
"version": "1.11.0",
"version": "1.11.1",
"description": "Library for the implementation of Domain Driven Design with TypeScript + RxJS",

@@ -5,0 +5,0 @@ "repository": {

@@ -0,0 +0,0 @@

@@ -0,0 +0,0 @@ import {Entity} from "../../lib/config/decorators/entity.decorator";

@@ -11,4 +11,3 @@ import {Entity} from "../../lib/config/decorators/entity.decorator";

pluralName: 'Comments',
endpoint: 'comments',
idProperty: 'commentID',
endpoint: 'comments'
})

@@ -15,0 +14,0 @@ export class Comment extends EntityModelBase {

@@ -0,0 +0,0 @@ import {Entity} from '../../lib/config/decorators/entity.decorator';

@@ -0,0 +0,0 @@ import {EntityField} from '../../lib/config/decorators/entity-field.decorator';

@@ -0,0 +0,0 @@ import {Entity} from "../../lib/config/decorators/entity.decorator";

@@ -172,3 +172,3 @@ import {forkJoin, Observable, of} from 'rxjs';

const commentRawData = {
CommentId: 'comment1',
id: 'comment1',
COMMENT: 'Hello world!',

@@ -221,3 +221,3 @@ StatuS: 2,

commentItem$.subscribe((comment: Comment) => {
expect(comment.id).toEqual(commentRawData.CommentId);
expect(comment.id).toEqual(commentRawData.id);
expect(comment.comment).toEqual(commentRawData.COMMENT);

@@ -224,0 +224,0 @@ expect(comment.status).toEqual(commentStatusValues[commentRawData.StatuS]);

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