File tree 7 files changed +340
-1100
lines changed
7 files changed +340
-1100
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"presets" : [" @babel/env" ],
3
- "plugins" : [
4
- [" @babel/plugin-proposal-decorators" , { "legacy" : true }],
5
- " @babel/plugin-proposal-function-sent" ,
6
- " @babel/plugin-proposal-export-namespace-from" ,
7
- " @babel/plugin-proposal-numeric-separator" ,
8
- " @babel/plugin-proposal-throw-expressions" ,
9
- " @babel/plugin-syntax-dynamic-import" ,
10
- " @babel/plugin-syntax-import-meta" ,
11
- [" @babel/plugin-proposal-class-properties" , { "loose" : false }],
12
- " @babel/plugin-proposal-json-strings" ,
13
- " @babel/plugin-transform-modules-umd"
14
- ]
3
+ "plugins" : [" @babel/plugin-transform-modules-umd" ]
15
4
}
Original file line number Diff line number Diff line change 4
4
name : Build
5
5
6
6
on :
7
- push :
8
- branches : [ master ]
9
- pull_request :
10
- branches : [ master ]
7
+ push :
8
+ branches : [master]
9
+ pull_request :
10
+ branches : [master]
11
11
12
12
jobs :
13
- build :
13
+ build :
14
+ runs-on : ubuntu-latest
14
15
15
- runs-on : ubuntu-latest
16
+ strategy :
17
+ matrix :
18
+ node-version : [12.x, 14.x, 16.x]
16
19
17
- strategy :
18
- matrix :
19
- node-version : [10.x, 12.x, 14.x]
20
-
21
- steps :
22
- - uses : actions/checkout@v2
23
- - name : Use Node.js ${{ matrix.node-version }}
24
- uses : actions/setup-node@v2
25
- with :
26
- node-version : ${{ matrix.node-version }}
27
- - run : yarn
28
- - run : yarn build
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+ - name : Use Node.js ${{ matrix.node-version }}
23
+ uses : actions/setup-node@v2
24
+ with :
25
+ node-version : ${{ matrix.node-version }}
26
+ - run : yarn
27
+ - run : yarn build
Original file line number Diff line number Diff line change @@ -36,5 +36,7 @@ yarn.lock
36
36
37
37
# Config files
38
38
.babelrc
39
+ .github
40
+ .whitesource
39
41
renovate.json
40
42
webpack.config.js
Original file line number Diff line number Diff line change 10
10
factory ( mod . exports ) ;
11
11
global . extractQueryArg = mod . exports ;
12
12
}
13
- } ) ( this , function ( _exports ) {
13
+ } ) ( typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this , function ( _exports ) {
14
14
"use strict" ;
15
15
16
16
Object . defineProperty ( _exports , "__esModule" , {
17
17
value : true
18
18
} ) ;
19
- _exports . default = void 0 ;
19
+ _exports [ " default" ] = void 0 ;
20
20
21
21
var extractQueryArg = function extractQueryArg ( queryArg ) {
22
22
var url = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : window . location . href ;
35
35
} ;
36
36
37
37
var _default = extractQueryArg ;
38
- _exports . default = _default ;
38
+ _exports [ " default" ] = _default ;
39
39
} ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @three11/extract-query-arg" ,
3
- "version" : " 0.4 .0" ,
3
+ "version" : " 1.0 .0" ,
4
4
"description" : " Extract query argument from url" ,
5
5
"main" : " dist/extract-query-arg.min.js" ,
6
6
"scripts" : {
43
43
"devDependencies" : {
44
44
"@babel/cli" : " 7.14.3" ,
45
45
"@babel/core" : " 7.14.3" ,
46
- "@babel/plugin-proposal-class-properties" : " 7.13.0" ,
47
- "@babel/plugin-proposal-decorators" : " 7.14.2" ,
48
- "@babel/plugin-proposal-export-namespace-from" : " 7.14.2" ,
49
- "@babel/plugin-proposal-function-sent" : " 7.12.13" ,
50
- "@babel/plugin-proposal-json-strings" : " 7.14.2" ,
51
- "@babel/plugin-proposal-numeric-separator" : " 7.14.2" ,
52
- "@babel/plugin-proposal-throw-expressions" : " 7.12.13" ,
53
- "@babel/plugin-syntax-dynamic-import" : " 7.8.3" ,
54
- "@babel/plugin-syntax-import-meta" : " 7.10.4" ,
46
+ "@babel/plugin-transform-modules-umd" : " 7.14.0" ,
55
47
"@babel/preset-env" : " 7.14.2" ,
56
- "babel-loader" : " 8.2.2" ,
57
48
"babel-minify" : " 0.5.1"
58
49
}
59
50
}
You can’t perform that action at this time.
0 commit comments