Socket
Socket
Sign inDemoInstall

pwoli

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pwoli - npm Package Compare versions

Comparing version 1.1.0-beta to 1.1.0-beta2

CHANGELOG

2

lib/base/Application.js

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

try {
let model = require('../../../../orm-model-config.js'); // require('../pkgtest/orm-model-config.js');
let model = require('../pkgtest/orm-model-config.js'); //require('../../../../orm-model-config.js');
return model;

@@ -183,0 +183,0 @@ }

@@ -113,3 +113,3 @@ import { ActiveDataProvider } from '..';

*/
getAttributeLabels: () => {
getAttributeLabels(): {
[key: string]: string;

@@ -116,0 +116,0 @@ };

@@ -113,18 +113,2 @@ "use strict";

/**
* Attribute labels are mainly used for display purpose. For example, given an attribute
* `firstName`, we can declare a label `First Name` which is more user-friendly and can
* be displayed to end users.
* Eg:-
* ```js
* export class Event extends Model {
* getAttributeLabels() {
* return {
* firstName: 'First Name',
* ...
* }
* };
* ```
*/
this.getAttributeLabels = () => ({});
/**
* Attribute hints are mainly used for display purpose. For example, given an attribute

@@ -148,2 +132,21 @@ * `isPublic`, we can declare a hint `Whether the post should be visible for not logged in users`,

/**
* Attribute labels are mainly used for display purpose. For example, given an attribute
* `firstName`, we can declare a label `First Name` which is more user-friendly and can
* be displayed to end users.
* Eg:-
* ```js
* export class Event extends Model {
* getAttributeLabels() {
* return {
* firstName: 'First Name',
* ...
* }
* };
* ```
*/
getAttributeLabels() {
return {};
}
;
/**
* Returns the text label for the specified attribute.

@@ -150,0 +153,0 @@ * If the attribute looks like `relatedModel.attribute`, then the attribute will be received from the related model.

{
"name": "pwoli",
"version": "1.1.0-beta",
"version": "1.1.0-beta2",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/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