@kno2/bluebutton 0.6.7 → 0.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/jira-dependabot-integration.yml +16 -16
- package/.github/workflows/npm-publish.yml +31 -29
- package/.jshintrc +35 -35
- package/.nvmrc +1 -1
- package/.travis.yml +5 -5
- package/LICENSE.md +11 -11
- package/README.md +47 -47
- package/build/bluebutton.js +4001 -4312
- package/build/bluebutton.js.map +1 -1
- package/karma.conf.js +69 -69
- package/package.json +29 -32
- package/webpack.config.js +37 -37
- package/.idea/.name +0 -1
- package/.idea/bluebutton.js.iml +0 -9
- package/.idea/jsLibraryMappings.xml +0 -6
- package/.idea/libraries/bluebutton_js_node_modules.xml +0 -14
- package/.idea/misc.xml +0 -14
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
- package/.idea/workspace.xml +0 -852
package/karma.conf.js
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
// Karma configuration
|
|
2
|
-
// Generated on Thu May 19 2016 15:19:05 GMT-0600 (Mountain Daylight Time)
|
|
3
|
-
|
|
4
|
-
module.exports = function(config) {
|
|
5
|
-
config.set({
|
|
6
|
-
|
|
7
|
-
// base path that will be used to resolve all patterns (eg. files, exclude)
|
|
8
|
-
basePath: '',
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
// frameworks to use
|
|
12
|
-
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
|
|
13
|
-
frameworks: ['jasmine'],
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// list of files / patterns to load in the browser
|
|
17
|
-
files: [
|
|
18
|
-
'spec/javascripts/browser_specs/*_spec.js'
|
|
19
|
-
],
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
// list of files to exclude
|
|
23
|
-
exclude: [
|
|
24
|
-
],
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
// preprocess matching files before serving them to the browser
|
|
28
|
-
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
|
29
|
-
preprocessors: {
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
// test results reporter to use
|
|
34
|
-
// possible values: 'dots', 'progress'
|
|
35
|
-
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
|
|
36
|
-
reporters: ['progress'],
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
// web server port
|
|
40
|
-
port: 9876,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
// enable / disable colors in the output (reporters and logs)
|
|
44
|
-
colors: true,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
// level of logging
|
|
48
|
-
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
|
|
49
|
-
logLevel: config.LOG_INFO,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
// enable / disable watching file and executing tests whenever any file changes
|
|
53
|
-
autoWatch: true,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
// start these browsers
|
|
57
|
-
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
|
58
|
-
browsers: ['ChromeCanary'],
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
// Continuous Integration mode
|
|
62
|
-
// if true, Karma captures browsers, runs the tests and exits
|
|
63
|
-
singleRun: false,
|
|
64
|
-
|
|
65
|
-
// Concurrency level
|
|
66
|
-
// how many browser should be started simultaneous
|
|
67
|
-
concurrency: Infinity
|
|
68
|
-
})
|
|
69
|
-
}
|
|
1
|
+
// Karma configuration
|
|
2
|
+
// Generated on Thu May 19 2016 15:19:05 GMT-0600 (Mountain Daylight Time)
|
|
3
|
+
|
|
4
|
+
module.exports = function(config) {
|
|
5
|
+
config.set({
|
|
6
|
+
|
|
7
|
+
// base path that will be used to resolve all patterns (eg. files, exclude)
|
|
8
|
+
basePath: '',
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
// frameworks to use
|
|
12
|
+
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
|
|
13
|
+
frameworks: ['jasmine'],
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// list of files / patterns to load in the browser
|
|
17
|
+
files: [
|
|
18
|
+
'spec/javascripts/browser_specs/*_spec.js'
|
|
19
|
+
],
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
// list of files to exclude
|
|
23
|
+
exclude: [
|
|
24
|
+
],
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
// preprocess matching files before serving them to the browser
|
|
28
|
+
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
|
29
|
+
preprocessors: {
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
// test results reporter to use
|
|
34
|
+
// possible values: 'dots', 'progress'
|
|
35
|
+
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
|
|
36
|
+
reporters: ['progress'],
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
// web server port
|
|
40
|
+
port: 9876,
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
// enable / disable colors in the output (reporters and logs)
|
|
44
|
+
colors: true,
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
// level of logging
|
|
48
|
+
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
|
|
49
|
+
logLevel: config.LOG_INFO,
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
// enable / disable watching file and executing tests whenever any file changes
|
|
53
|
+
autoWatch: true,
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
// start these browsers
|
|
57
|
+
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
|
58
|
+
browsers: ['ChromeCanary'],
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
// Continuous Integration mode
|
|
62
|
+
// if true, Karma captures browsers, runs the tests and exits
|
|
63
|
+
singleRun: false,
|
|
64
|
+
|
|
65
|
+
// Concurrency level
|
|
66
|
+
// how many browser should be started simultaneous
|
|
67
|
+
concurrency: Infinity
|
|
68
|
+
})
|
|
69
|
+
}
|
package/package.json
CHANGED
|
@@ -1,32 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@kno2/bluebutton",
|
|
3
|
-
"version": "0.6.
|
|
4
|
-
"description": "BlueButton.js helps developers navigate complex health data with ease.",
|
|
5
|
-
"author": "Kno2, LLC",
|
|
6
|
-
"main": "build/bluebutton.js",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git://github.com/Kno2/bluebutton.js.git"
|
|
10
|
-
},
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "webpack",
|
|
13
|
-
"test": "grunt test"
|
|
14
|
-
},
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"@babel/core": "^7.
|
|
21
|
-
"@babel/preset-env": "^7.
|
|
22
|
-
"babel-loader": "^
|
|
23
|
-
"webpack": "^5.
|
|
24
|
-
"webpack-cli": "^
|
|
25
|
-
"webpack-fix-default-import-plugin": "^1.0.3",
|
|
26
|
-
"webpack-node-externals": "^
|
|
27
|
-
},
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
"license": "MIT"
|
|
32
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@kno2/bluebutton",
|
|
3
|
+
"version": "0.6.10",
|
|
4
|
+
"description": "BlueButton.js helps developers navigate complex health data with ease.",
|
|
5
|
+
"author": "Kno2, LLC",
|
|
6
|
+
"main": "build/bluebutton.js",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git://github.com/Kno2/bluebutton.js.git"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "webpack",
|
|
13
|
+
"test": "grunt test"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@xmldom/xmldom": "^0.8.10",
|
|
17
|
+
"lodash": "^4.17.21"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@babel/core": "^7.28.5",
|
|
21
|
+
"@babel/preset-env": "^7.28.5",
|
|
22
|
+
"babel-loader": "^10.0.0",
|
|
23
|
+
"webpack": "^5.104.0",
|
|
24
|
+
"webpack-cli": "^6.0.1",
|
|
25
|
+
"webpack-fix-default-import-plugin": "^1.0.3",
|
|
26
|
+
"webpack-node-externals": "^3.0.0"
|
|
27
|
+
},
|
|
28
|
+
"license": "MIT"
|
|
29
|
+
}
|
package/webpack.config.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
var path = require('path');
|
|
2
|
-
var nodeExternals = require('webpack-node-externals');
|
|
3
|
-
|
|
4
|
-
module.exports = {
|
|
5
|
-
mode: 'production',
|
|
6
|
-
entry: {
|
|
7
|
-
'bluebutton': "./lib/bluebutton.js"
|
|
8
|
-
},
|
|
9
|
-
devtool: 'source-map',
|
|
10
|
-
externals: [nodeExternals()],
|
|
11
|
-
output: {
|
|
12
|
-
path: path.resolve(__dirname, "build"),
|
|
13
|
-
filename: "[name].js",
|
|
14
|
-
library: "bluebutton",
|
|
15
|
-
libraryTarget: "umd"
|
|
16
|
-
},
|
|
17
|
-
optimization: {
|
|
18
|
-
minimize: false
|
|
19
|
-
},
|
|
20
|
-
resolve: {
|
|
21
|
-
extensions: ['.js']
|
|
22
|
-
},
|
|
23
|
-
module: {
|
|
24
|
-
rules: [
|
|
25
|
-
{
|
|
26
|
-
test: /\.js$/,
|
|
27
|
-
exclude: /node_modules/,
|
|
28
|
-
loader: 'babel-loader',
|
|
29
|
-
options: {
|
|
30
|
-
presets: [
|
|
31
|
-
['@babel/preset-env', { "modules": false }]
|
|
32
|
-
]
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
var path = require('path');
|
|
2
|
+
var nodeExternals = require('webpack-node-externals');
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
mode: 'production',
|
|
6
|
+
entry: {
|
|
7
|
+
'bluebutton': "./lib/bluebutton.js"
|
|
8
|
+
},
|
|
9
|
+
devtool: 'source-map',
|
|
10
|
+
externals: [nodeExternals()],
|
|
11
|
+
output: {
|
|
12
|
+
path: path.resolve(__dirname, "build"),
|
|
13
|
+
filename: "[name].js",
|
|
14
|
+
library: "bluebutton",
|
|
15
|
+
libraryTarget: "umd"
|
|
16
|
+
},
|
|
17
|
+
optimization: {
|
|
18
|
+
minimize: false
|
|
19
|
+
},
|
|
20
|
+
resolve: {
|
|
21
|
+
extensions: ['.js']
|
|
22
|
+
},
|
|
23
|
+
module: {
|
|
24
|
+
rules: [
|
|
25
|
+
{
|
|
26
|
+
test: /\.js$/,
|
|
27
|
+
exclude: /node_modules/,
|
|
28
|
+
loader: 'babel-loader',
|
|
29
|
+
options: {
|
|
30
|
+
presets: [
|
|
31
|
+
['@babel/preset-env', { "modules": false }]
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
}
|
package/.idea/.name
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
bluebutton.js
|
package/.idea/bluebutton.js.iml
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="WEB_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager">
|
|
4
|
-
<content url="file://$MODULE_DIR$" />
|
|
5
|
-
<orderEntry type="inheritedJdk" />
|
|
6
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
-
<orderEntry type="library" name="bluebutton.js node_modules" level="project" />
|
|
8
|
-
</component>
|
|
9
|
-
</module>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<component name="libraryTable">
|
|
2
|
-
<library name="bluebutton.js node_modules" type="javaScript">
|
|
3
|
-
<properties>
|
|
4
|
-
<option name="frameworkName" value="node_modules" />
|
|
5
|
-
<sourceFilesUrls>
|
|
6
|
-
<item url="file://$PROJECT_DIR$/node_modules" />
|
|
7
|
-
</sourceFilesUrls>
|
|
8
|
-
</properties>
|
|
9
|
-
<CLASSES>
|
|
10
|
-
<root url="file://$PROJECT_DIR$/node_modules" />
|
|
11
|
-
</CLASSES>
|
|
12
|
-
<SOURCES />
|
|
13
|
-
</library>
|
|
14
|
-
</component>
|
package/.idea/misc.xml
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
4
|
-
<OptionsSetting value="true" id="Add" />
|
|
5
|
-
<OptionsSetting value="true" id="Remove" />
|
|
6
|
-
<OptionsSetting value="true" id="Checkout" />
|
|
7
|
-
<OptionsSetting value="true" id="Update" />
|
|
8
|
-
<OptionsSetting value="true" id="Status" />
|
|
9
|
-
<OptionsSetting value="true" id="Edit" />
|
|
10
|
-
<ConfirmationsSetting value="0" id="Add" />
|
|
11
|
-
<ConfirmationsSetting value="0" id="Remove" />
|
|
12
|
-
</component>
|
|
13
|
-
<component name="ProjectRootManager" version="2" />
|
|
14
|
-
</project>
|
package/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/bluebutton.js.iml" filepath="$PROJECT_DIR$/.idea/bluebutton.js.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|