You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@spinajs/intl-orm

Package Overview
Dependencies
Maintainers
0
Versions
364
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spinajs/intl-orm - npm Package Compare versions

Comparing version

to
2.0.294

4

lib/cjs/decorators.js

@@ -6,3 +6,3 @@ "use strict";

function Translate() {
return (0, orm_1.extractDecoratorDescriptor)((model, _target, propertyKey) => {
return (0, orm_1.extractDecoratorPropertyDescriptor)((model, _target, propertyKey) => {
const columnDesc = model.Columns.find((c) => c.Name === propertyKey);

@@ -17,5 +17,5 @@ if (!columnDesc) {

model.Translatable = true;
}, true);
});
}
exports.Translate = Translate;
//# sourceMappingURL=decorators.js.map

@@ -1,4 +0,4 @@

import { extractDecoratorDescriptor } from '@spinajs/orm';
import { extractDecoratorPropertyDescriptor } from '@spinajs/orm';
export function Translate() {
return extractDecoratorDescriptor((model, _target, propertyKey) => {
return extractDecoratorPropertyDescriptor((model, _target, propertyKey) => {
const columnDesc = model.Columns.find((c) => c.Name === propertyKey);

@@ -13,4 +13,4 @@ if (!columnDesc) {

model.Translatable = true;
}, true);
});
}
//# sourceMappingURL=decorators.js.map
{
"name": "@spinajs/intl-orm",
"version": "2.0.293",
"version": "2.0.294",
"description": "Internationalization support for ORM module",

@@ -53,9 +53,9 @@

"dependencies": {
"@spinajs/configuration": "^2.0.293",
"@spinajs/di": "^2.0.293",
"@spinajs/exceptions": "^2.0.293",
"@spinajs/intl": "^2.0.293",
"@spinajs/log-common": "^2.0.293",
"@spinajs/orm": "^2.0.293",
"@spinajs/reflection": "^2.0.293",
"@spinajs/configuration": "^2.0.294",
"@spinajs/di": "^2.0.294",
"@spinajs/exceptions": "^2.0.294",
"@spinajs/intl": "^2.0.294",
"@spinajs/log-common": "^2.0.294",
"@spinajs/orm": "^2.0.294",
"@spinajs/reflection": "^2.0.294",
"luxon": "^3.2.1",

@@ -65,5 +65,5 @@ "typescript-mix": "^3.1.3"

"devDependencies": {
"@spinajs/orm-sqlite": "^2.0.293"
"@spinajs/orm-sqlite": "^2.0.294"
},
"gitHead": "002dc553b0ffffd72193d0121ac425a4083bc9ee"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet