Socket
Socket
Sign inDemoInstall

ng2-datetime

Package Overview
Dependencies
5
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

0

ng2-datetime.d.ts
export * from './src/ng2-datetime/ng2-datetime';
export * from './src/ng2-datetime/ng2-datetime.module';
export { NKDatetime } from './src/ng2-datetime/ng2-datetime';
export { NKDatetimeModule } from './src/ng2-datetime/ng2-datetime.module';

32

package.json
{
"name": "ng2-datetime",
"version": "1.2.0",
"version": "1.2.1",
"description": "Bootstrap datetime picker for Angular2",

@@ -20,6 +20,4 @@ "main": "ng2-datetime.js",

"lite": "lite-server",
"postinstall": "typings install",
"tsc": "tsc",
"tsc:w": "tsc -w",
"typings": "typings"
"tsc:w": "tsc -w"
},

@@ -32,8 +30,15 @@ "license": "ISC",

"dependencies": {
"@angular/common": "2.0.0",
"@angular/compiler": "2.0.0",
"@angular/core": "2.0.0",
"@angular/forms": "2.0.0",
"@angular/platform-browser": "2.0.0",
"@angular/platform-browser-dynamic": "2.0.0",
"jquery": ">=2.2.1",
"bootstrap": ">=3.0.0",
"bootstrap-datepicker": "^1.6.0",
"bootstrap-timepicker": "^0.5.2"
},
"devDependencies": {
"@angular/common": "^2.0.0",
"@angular/compiler": "^2.0.0",
"@angular/core": "^2.0.0",
"@angular/forms": "^2.0.0",
"@angular/platform-browser": "^2.0.0",
"@angular/platform-browser-dynamic": "^2.0.0",
"zone.js": "^0.6.23",
"core-js": "^2.4.1",

@@ -43,9 +48,2 @@ "reflect-metadata": "^0.1.3",

"systemjs": "0.19.27",
"zone.js": "^0.6.23",
"jquery": "^2.2.1",
"bootstrap": "^3.3.6",
"bootstrap-datepicker": "^1.6.0",
"bootstrap-timepicker": "^0.5.2"
},
"devDependencies": {
"jasmine-core": "^2.4.1",

@@ -52,0 +50,0 @@ "karma": "^0.13.22",

@@ -6,3 +6,3 @@ # ng2-datetime

##### DEMO: https://nkalinov.github.io/ng2-datetime
##### Demo and docs: https://nkalinov.github.io/ng2-datetime

@@ -24,8 +24,8 @@ ## Dependencies

1. import some way or another the required dependencies
2. `import {NKDatetime} from 'ng2-datetime/ng2-datetime';`
3. Add to your component's directives property
2. `import { NKDatetimeModule } from 'ng2-datetime/ng2-datetime';`
3. Add it to your app module's `imports` property
```
@Component({
@NgModule({
...
directives: [NKDatetime],
imports: [NKDatetimeModule, ...],
...

@@ -36,3 +36,3 @@ })

See the [__DEMO__](https://nkalinov.github.io/ng2-datetime) and it [__source__](https://github.com/nkalinov/ng2-datetime/tree/master/demo) for more information.
See the [__DEMO__](https://nkalinov.github.io/ng2-datetime) and it [__source__](https://github.com/nkalinov/ng2-datetime/tree/master/demo) for more info and available options.

@@ -45,4 +45,1 @@ ## Contributing

- @eternicode for the [datepicker plugin](https://github.com/eternicode/bootstrap-datepicker)
### TODO:
- test ControlValueAccessor

@@ -185,7 +185,7 @@ "use strict";

core_1.Input('hasClearButton'),
__metadata('design:type', Object)
__metadata('design:type', Boolean)
], NKDatetime.prototype, "hasClearButton", void 0);
__decorate([
core_1.Input(),
__metadata('design:type', Object)
__metadata('design:type', Boolean)
], NKDatetime.prototype, "readonly", void 0);

@@ -192,0 +192,0 @@ __decorate([

@@ -0,0 +0,0 @@ import { NgModule } from '@angular/core';

@@ -45,6 +45,6 @@ import {

@Input('hasClearButton')
hasClearButton = false;
hasClearButton: boolean = false;
@Input()
readonly = null;
readonly: boolean = null;

@@ -51,0 +51,0 @@ date: Date; // ngModel

@@ -0,0 +0,0 @@ /*! bootstrap-timepicker v0.5.2

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

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc