eonasdan-bootstrap-datetimepicker
Advanced tools
Comparing version 4.7.14 to 4.14.30
{ | ||
"name": "eonasdan-bootstrap-datetimepicker", | ||
"version": "4.0.0", | ||
"version": "4.14.30", | ||
"main": [ | ||
"build/css/bootstrap-datetimepicker.min.css", | ||
"build/js/bootstrap-datetimepicker.min.js", | ||
"src/less/_bootstrap-datetimepicker.less", | ||
"src/less/bootstrap-datetimepicker-build.less", | ||
"src/js/bootstrap-datetimepicker.js" | ||
"build/js/bootstrap-datetimepicker.min.js" | ||
], | ||
@@ -11,0 +8,0 @@ "dependencies": { |
{ | ||
"name": "bootstrap-datetimepicker", | ||
"version": "4.7.14", | ||
"main": ["build/css/bootstrap-datetimepicker.min.css","build/js/bootstrap-datetimepicker.min.js","src/less/_bootstrap-datetimepicker.less","src/less/bootstrap-datetimepicker-build.less","src/js/bootstrap-datetimepicker.js"], | ||
"version": "4.14.30", | ||
"main": ["build/css/bootstrap-datetimepicker.min.css","build/js/bootstrap-datetimepicker.min.js"], | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "jquery" : ">=1.8.3", |
{ | ||
"name": "eonasdan/bootstrap-datetimepicker", | ||
"type": "component", | ||
"version": "4.7.14", | ||
"version": "4.14.30", | ||
"description": "Date/time picker widget based on twitter bootstrap", | ||
@@ -15,3 +15,3 @@ "keywords": [ | ||
"components/jquery": ">=1.9.1", | ||
"moment/moment": ">=2.9" | ||
"moment/moment": ">=2.8" | ||
}, | ||
@@ -25,6 +25,3 @@ "extra": { | ||
"build/js/bootstrap-datetimepicker.min.js", | ||
"build/css/bootstrap-datetimepicker.css", | ||
"build/css/bootstrap-datetimepicker.min.css", | ||
"src/less/_bootstrap-datetimepicker.less", | ||
"src/less/bootstrap-datetimepicker-build.less" | ||
"build/css/bootstrap-datetimepicker.min.css" | ||
] | ||
@@ -31,0 +28,0 @@ } |
@@ -6,2 +6,4 @@ Submitting Issues | ||
Issues that are submitted without a description (title only) will be closed with no further explanation. | ||
Contributing code | ||
@@ -24,4 +26,7 @@ ================= | ||
* **Pull pull requests to the `master` branch will be closed.** Please submit all pull requests to the `development` branch. | ||
* **Pull requests to the `master` branch will be closed.** Please submit all pull requests to the `development` branch. | ||
* **Do not include the minified files in your pull request.** Don't worry, we'll build them when we cut a release. | ||
* Pull requests that do not include a description (title only) and the following will be closed: | ||
* What the change does | ||
* A use case (for new features or enhancements) | ||
@@ -35,1 +40,2 @@ Grunt tasks | ||
* `grunt build` Compiles the less stylesheet and minifies the javascript source in build directory. | ||
* `grunt build:travis` Compliles and runs the jasmine/travis tests. **All PR's MUST pass tests in place** |
@@ -88,3 +88,4 @@ module.exports = function (grunt) { | ||
options: { | ||
cleancss: true | ||
cleancss: true, | ||
compress: true | ||
}, | ||
@@ -121,4 +122,20 @@ files: { | ||
} | ||
}, | ||
nugetpack: { | ||
less: { | ||
src: 'src/nuget/Bootstrap.v3.Datetimepicker.nuspec', | ||
dest: 'build/nuget', | ||
options: { | ||
version: '<%= pkg.version %>' | ||
} | ||
}, | ||
css: { | ||
src: 'src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec', | ||
dest: 'build/nuget', | ||
options: { | ||
version: '<%= pkg.version %>' | ||
} | ||
} | ||
} | ||
}); | ||
@@ -129,2 +146,3 @@ | ||
grunt.loadNpmTasks('grunt-contrib-jasmine'); | ||
grunt.loadNpmTasks('grunt-nuget'); | ||
@@ -152,47 +170,3 @@ // These plugins provide necessary tasks. | ||
grunt.registerTask('nuget', 'Create a nuget package', function () { | ||
var target = grunt.option('target') || 'less', done = this.async(); | ||
if (target === 'less') { | ||
grunt.util.spawn({ | ||
cmd: 'src/nuget/nuget.exe', | ||
args: [ | ||
'pack', | ||
'src/nuget/Bootstrap.v3.Datetimepicker.nuspec', | ||
'-OutputDirectory', | ||
'build/nuget', | ||
'-Version', | ||
grunt.config.get('pkg').version | ||
] | ||
}, function (error, result) { | ||
if (error) { | ||
grunt.log.error(error); | ||
} else { | ||
grunt.log.write(result); | ||
} | ||
done(); | ||
}); | ||
} | ||
else { //--target=css | ||
grunt.util.spawn({ | ||
cmd: 'src/nuget/nuget.exe', | ||
args: [ | ||
'pack', | ||
'src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec', | ||
'-OutputDirectory', | ||
'build/nuget', | ||
'-Version', | ||
grunt.config.get('pkg').version | ||
] | ||
}, function (error, result) { | ||
if (error) { | ||
grunt.log.error(error); | ||
} else { | ||
grunt.log.write(result); | ||
} | ||
done(); | ||
}); | ||
} | ||
}); | ||
grunt.registerTask('test', ['jshint', 'jscs', 'uglify', 'less', 'jasmine']); | ||
}; |
{ | ||
"name": "eonasdan-bootstrap-datetimepicker", | ||
"filename": "js/bootstrap-datetimepicker.min.js", | ||
"version": "4.7.14", | ||
"main": "src/js/bootstrap-datetimepicker.js", | ||
"version": "4.14.30", | ||
"homepage": "http://eonasdan.github.io/bootstrap-datetimepicker/", | ||
@@ -29,5 +29,5 @@ "author": { | ||
"dependencies": { | ||
"bootstrap": "^3.0", | ||
"jquery": "latest", | ||
"moment": "^2.9.0" | ||
"moment": "~2.8.2", | ||
"bootstrap": "^3.0", | ||
"jquery": ">=1.8.3 <2.2.0" | ||
}, | ||
@@ -42,4 +42,5 @@ "devDependencies": { | ||
"grunt-string-replace": "latest", | ||
"load-grunt-tasks": "latest" | ||
"load-grunt-tasks": "latest", | ||
"grunt-nuget": "^0.1.4" | ||
} | ||
} |
@@ -8,7 +8,2 @@ # Bootstrap 3 Date/Time Picker | ||
#v4 | ||
v4 is out now! For v4 related bugs and issues see: /Eonasdan/bootstrap-datetimepicker/labels/v4. | ||
v3 is going into an archive state. Please be sure to check the documents. v4 has breaking changes and is a major rewrite. | ||
## Submitting Issues | ||
@@ -19,9 +14,10 @@ If you have issues, please check the following first: | ||
* Do you have the latest version of jQuery? | ||
* Please test and/or fork [this jsfiddle](http://jsfiddle.net/Eonasdan/0Ltv25o8/) with an example of your issue before you post an issue here. | ||
* Please test and/or fork [this jsfiddle](http://jsfiddle.net/Eonasdan/0Ltv25o8/) with an example of your issue before you post an issue here. | ||
* Please indicate which version of the picker you are using (this can be found at the top of any included file) | ||
## Where do you use this? | ||
I'd love to know if your public site is using this plugin and list your logo on the documentation site. Please email me `eonasdan at outlook dot com`. Do not submit issue/feature request to this email, they will be ignored. | ||
I'd love to know if your public site is using this plugin and list your logo on the documentation site. Please email me `eonasdan at outlook dot com`. Do not submit issue/feature request to this email, they will be **ignored**. | ||
## [Installation instructions](https://github.com/Eonasdan/bootstrap-datetimepicker/wiki/Installation) | ||
## [Installation instructions](http://eonasdan.github.io/bootstrap-datetimepicker/Installing/) | ||
## [Change Log](https://github.com/Eonasdan/bootstrap-datetimepicker/wiki/Version-4-changelog) | ||
## [Change Log](http://eonasdan.github.io/bootstrap-datetimepicker/Version%204%20Changelog/) |
module.exports = function (grunt) { | ||
grunt.registerTask('bump_version', function (version) { | ||
if (!version || version.split('.').length !== 3) { | ||
grunt.fail.fatal("malformed version. Use\n\n grunt bump_version:1.2.3") | ||
grunt.fail.fatal('malformed version. Use\n\n grunt bump_version:1.2.3'); | ||
} | ||
@@ -12,4 +12,4 @@ | ||
{ | ||
pattern: /\/\/! version : .*/, | ||
replacement: '//! version : ' + version | ||
pattern: /\/*! version : .*/, | ||
replacement: '! version : ' + version | ||
} | ||
@@ -21,8 +21,8 @@ ] | ||
grunt.config('string-replace.bootstrap-datetimepicker-css', { | ||
files: {'src/less/bootstrap-datetimepicker.less': 'src/less/bootstrap-datetimepicker.less'}, | ||
files: { 'src/less/_bootstrap-datetimepicker.less': 'src/less/_bootstrap-datetimepicker.less' }, | ||
options: { | ||
replacements: [ | ||
{ | ||
pattern: /\/\/! version : .*/, | ||
replacement: '//! version : ' + version | ||
pattern: / * version : .*/, | ||
replacement: ' version : ' + version | ||
} | ||
@@ -29,0 +29,0 @@ ] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2035322
35
2515
9
21
3
+ Addedjquery@2.1.4(transitive)
+ Addedmoment@2.8.4(transitive)
- Removedjquery@3.7.1(transitive)
- Removedmoment@2.30.1(transitive)
Updatedjquery@>=1.8.3 <2.2.0
Updatedmoment@~2.8.2