New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

alaska-field-mixed

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alaska-field-mixed - npm Package Compare versions

Comparing version 0.10.1 to 0.11.0

views/MixedFieldCell.jsx

34

index.js

@@ -1,28 +0,12 @@

/**
* @copyright Maichong Software Ltd. 2016 http://maichong.it
* @date 2016-03-22
* @author Liang <liang@maichong.it>
*/
// @flow
'use strict';
import { Field } from 'alaska';
import mongoose from 'mongoose';
const alaska = require('alaska');
const mongoose = require('mongoose');
class MixedField extends alaska.Field {
export default class MixedField extends Field {
static plain = mongoose.Schema.Types.Mixed;
static defaultOptions = {
cell: 'MixedFieldCell',
view: 'MixedFieldView',
};
}
MixedField.views = {
cell: {
name: 'MixedFieldCell',
path: __dirname + '/lib/cell.js'
},
view: {
name: 'MixedFieldView',
path: __dirname + '/lib/view.js'
}
};
MixedField.plain = mongoose.Schema.Types.Mixed;
module.exports = MixedField;
{
"name": "alaska-field-mixed",
"version": "0.10.1",
"version": "0.11.0",
"description": "Alaska mixed data field",

@@ -10,25 +10,5 @@ "keywords": [

"main": "index.js",
"scripts": {
"build": "babel ./src --out-dir ./lib",
"watch": "babel ./src --out-dir ./lib -w",
"prebuild": "rimraf lib",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/maichong/alaska-field-mixed.git"
},
"author": {
"email": "liang@maichong.it",
"name": "liang",
"url": "https://github.com/liangxingchen"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/maichong/alaska-field-mixed/issues"
},
"homepage": "https://github.com/maichong/alaska-field-mixed#readme",
"peerDependencies": {
"alaska": "*"
}
"repository": "https://github.com/maichong/alaska/tree/master/packages/alaska-field-mixed",
"author": "Liang <liang@maichong.it> (https://github.com/liangxingchen)",
"license": "MIT"
}
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