Skip to content

Commit

Permalink
fix: remove nodejs import (#334)
Browse files Browse the repository at this point in the history
fixes #333, #331
  • Loading branch information
anjmao committed Mar 9, 2018
1 parent 1fa84f4 commit 2f633f0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/ng-select/items-list.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NgOption } from './ng-select.types';
import * as searchHelper from './search-helper';
import { NgSelectComponent } from './ng-select.component';
import { isObject, isDefined } from './utils';
import { isObject, isDefined } from './value-utils';

export class ItemsList {

Expand Down
3 changes: 1 addition & 2 deletions src/ng-select/ng-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ import { NgOption, KeyCode, NgSelectConfig } from './ng-select.types';
import { ItemsList } from './items-list';
import { NgOptionComponent } from './ng-option.component';
import { NgDropdownPanelComponent } from './ng-dropdown-panel.component';
import { isDefined, isFunction, isPromise } from './utils';
import { isObject } from 'util';
import { isDefined, isFunction, isPromise, isObject } from './value-utils';

export const NG_SELECT_DEFAULT_CONFIG = new InjectionToken<NgSelectConfig>('ng-select-default-options');
export type DropdownPosition = 'bottom' | 'top' | 'auto';
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"angular4"
],
"peerDependencies": {
"@angular/common": ">=4.0.0 <6.0.0",
"@angular/core": ">=4.0.0 <6.0.0",
"@angular/forms": ">=4.0.0 <6.0.0"
"@angular/common": ">=5.0.0 <6.0.0",
"@angular/core": ">=5.0.0 <6.0.0",
"@angular/forms": ">=5.0.0 <6.0.0"
},
"ngPackage": {
"lib": {
Expand Down

0 comments on commit 2f633f0

Please sign in to comment.