Skip to content

Commit b9a28e3

Browse files
committed
update deps
1 parent b79d7e9 commit b9a28e3

File tree

4 files changed

+21
-179
lines changed

4 files changed

+21
-179
lines changed

.eslintrc

+2-160
Original file line numberDiff line numberDiff line change
@@ -1,162 +1,4 @@
11
{
2-
"env": {
3-
"browser": true,
4-
"node": true
5-
},
6-
7-
"rules": {
8-
"accessor-pairs": 2,
9-
"array-bracket-spacing": 0,
10-
"block-scoped-var": 0,
11-
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
12-
"camelcase": 0,
13-
"comma-dangle": [2, "never"],
14-
"comma-spacing": [2, { "before": false, "after": true }],
15-
"comma-style": [2, "last"],
16-
"complexity": 0,
17-
"computed-property-spacing": 0,
18-
"consistent-return": 0,
19-
"consistent-this": 0,
20-
"constructor-super": 2,
21-
"curly": [2, "multi-line"],
22-
"default-case": 0,
23-
"dot-location": [2, "property"],
24-
"dot-notation": 0,
25-
"eol-last": 2,
26-
"eqeqeq": [2, "allow-null"],
27-
"func-names": 0,
28-
"func-style": 0,
29-
"generator-star-spacing": [2, { "before": true, "after": true }],
30-
"guard-for-in": 0,
31-
"handle-callback-err": [2, "^(err|error)$" ],
32-
"indent": [2, 2, { "SwitchCase": 1 }],
33-
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
34-
"linebreak-style": 0,
35-
"lines-around-comment": 0,
36-
"max-nested-callbacks": 0,
37-
"new-cap": [2, { "newIsCap": true, "capIsNew": false }],
38-
"new-parens": 2,
39-
"newline-after-var": 0,
40-
"no-alert": 0,
41-
"no-array-constructor": 2,
42-
"no-caller": 2,
43-
"no-catch-shadow": 0,
44-
"no-cond-assign": 2,
45-
"no-console": 0,
46-
"no-constant-condition": 0,
47-
"no-continue": 0,
48-
"no-control-regex": 2,
49-
"no-debugger": 2,
50-
"no-delete-var": 2,
51-
"no-div-regex": 0,
52-
"no-dupe-args": 2,
53-
"no-dupe-keys": 2,
54-
"no-duplicate-case": 2,
55-
"no-else-return": 0,
56-
"no-empty": 0,
57-
"no-empty-character-class": 2,
58-
"no-empty-label": 2,
59-
"no-eq-null": 0,
60-
"no-eval": 2,
61-
"no-ex-assign": 2,
62-
"no-extend-native": 2,
63-
"no-extra-bind": 2,
64-
"no-extra-boolean-cast": 2,
65-
"no-extra-parens": 0,
66-
"no-extra-semi": 0,
67-
"no-fallthrough": 2,
68-
"no-floating-decimal": 2,
69-
"no-func-assign": 2,
70-
"no-implied-eval": 2,
71-
"no-inline-comments": 0,
72-
"no-inner-declarations": [2, "functions"],
73-
"no-invalid-regexp": 2,
74-
"no-irregular-whitespace": 2,
75-
"no-iterator": 2,
76-
"no-label-var": 2,
77-
"no-labels": 2,
78-
"no-lone-blocks": 2,
79-
"no-lonely-if": 0,
80-
"no-loop-func": 0,
81-
"no-mixed-requires": 0,
82-
"no-mixed-spaces-and-tabs": 2,
83-
"no-multi-spaces": 2,
84-
"no-multi-str": 2,
85-
"no-multiple-empty-lines": [2, { "max": 1 }],
86-
"no-native-reassign": 2,
87-
"no-negated-in-lhs": 2,
88-
"no-nested-ternary": 0,
89-
"no-new": 2,
90-
"no-new-func": 0,
91-
"no-new-object": 2,
92-
"no-new-require": 2,
93-
"no-new-wrappers": 2,
94-
"no-obj-calls": 2,
95-
"no-octal": 2,
96-
"no-octal-escape": 2,
97-
"no-param-reassign": 0,
98-
"no-path-concat": 0,
99-
"no-process-env": 0,
100-
"no-process-exit": 0,
101-
"no-proto": 0,
102-
"no-redeclare": 2,
103-
"no-regex-spaces": 2,
104-
"no-restricted-modules": 0,
105-
"no-return-assign": 2,
106-
"no-script-url": 0,
107-
"no-self-compare": 2,
108-
"no-sequences": 2,
109-
"no-shadow": 0,
110-
"no-shadow-restricted-names": 2,
111-
"no-spaced-func": 2,
112-
"no-sparse-arrays": 2,
113-
"no-sync": 0,
114-
"no-ternary": 0,
115-
"no-this-before-super": 2,
116-
"no-throw-literal": 2,
117-
"no-trailing-spaces": 2,
118-
"no-undef": 2,
119-
"no-undef-init": 2,
120-
"no-undefined": 0,
121-
"no-underscore-dangle": 0,
122-
"no-unexpected-multiline": 2,
123-
"no-unneeded-ternary": 2,
124-
"no-unreachable": 2,
125-
"no-unused-expressions": 0,
126-
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
127-
"no-use-before-define": 0,
128-
"no-var": 0,
129-
"no-void": 0,
130-
"no-warning-comments": 0,
131-
"no-with": 2,
132-
"object-curly-spacing": 0,
133-
"object-shorthand": 0,
134-
"one-var": [2, { "initialized": "never" }],
135-
"operator-assignment": 0,
136-
"operator-linebreak": [2, "after", { "overrides": { "?": "before", ":": "before" } }],
137-
"padded-blocks": 0,
138-
"prefer-const": 0,
139-
"quote-props": 0,
140-
"quotes": [2, "single", "avoid-escape"],
141-
"radix": 2,
142-
"semi": [2, "never"],
143-
"semi-spacing": 0,
144-
"sort-vars": 0,
145-
"space-after-keywords": [2, "always"],
146-
"space-before-blocks": [2, "always"],
147-
"space-before-function-paren": [2, "always"],
148-
"space-in-parens": [2, "never"],
149-
"space-infix-ops": 2,
150-
"space-return-throw-case": 2,
151-
"space-unary-ops": [2, { "words": true, "nonwords": false }],
152-
"spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!"] }],
153-
"strict": 0,
154-
"use-isnan": 2,
155-
"valid-jsdoc": 0,
156-
"valid-typeof": 2,
157-
"vars-on-top": 0,
158-
"wrap-iife": [2, "any"],
159-
"wrap-regex": 0,
160-
"yoda": [2, "never"]
161-
}
2+
"root": true,
3+
"extends": "vue"
1624
}

lib/loader.js

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ var rewriters = {
2020
var templateLoader = require.resolve('./template-loader')
2121

2222
module.exports = function (content) {
23-
2423
var defaultLoaders = {
2524
html: 'vue-html-loader',
2625
css: 'vue-style-loader!css-loader',

lib/parser.js

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ var commentSymbols = {
1818
}
1919

2020
module.exports = function (content, filename, needMap) {
21-
2221
var cacheKey = hash(filename + content)
2322
// source-map cache busting for hot-reloadded modules
2423
var filenameWithHash = filename + '?' + cacheKey

package.json

+19-17
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-loader",
3-
"version": "8.2.3",
3+
"version": "8.3.0",
44
"description": "Vue.js component loader for Webpack",
55
"main": "index.js",
66
"repository": {
@@ -43,36 +43,38 @@
4343
"vue-template-validator": "^1.0.0"
4444
},
4545
"peerDependencies": {
46-
"vue-html-loader": "^1.0.0",
46+
"babel-loader": "^6.2.4",
47+
"babel-core": "^6.8.0",
48+
"babel-plugin-transform-runtime": "^6.8.0",
49+
"babel-runtime": "^6.8.0",
50+
"babel-preset-es2015": "^6.6.0",
4751
"css-loader": "*",
52+
"vue-html-loader": "^1.0.0",
4853
"vue-style-loader": "^1.0.0",
49-
"babel-loader": "^6.1.0",
50-
"babel-core": "^6.1.2",
51-
"babel-plugin-transform-runtime": "^6.1.2",
52-
"babel-runtime": "^5.8.0",
53-
"babel-preset-es2015": "^6.1.2",
5454
"vue-hot-reload-api": "^1.2.0"
5555
},
5656
"devDependencies": {
57-
"babel-core": "^6.1.2",
58-
"babel-loader": "^6.1.0",
59-
"babel-plugin-transform-runtime": "^6.1.2",
60-
"babel-preset-es2015": "^6.1.2",
57+
"babel-core": "^6.8.0",
58+
"babel-loader": "^6.2.4",
59+
"babel-plugin-transform-runtime": "^6.8.0",
60+
"babel-preset-es2015": "^6.6.0",
6161
"chai": "^3.0.0",
6262
"coffee-loader": "^0.7.2",
6363
"coffee-script": "^1.10.0",
64-
"css-loader": "^0.21.0",
65-
"eslint": "^1.6.0",
66-
"extract-text-webpack-plugin": "^0.8.2",
64+
"css-loader": "^0.23.1",
65+
"eslint": "^2.9.0",
66+
"eslint-config-vue": "^1.0.0",
67+
"extract-text-webpack-plugin": "^1.0.1",
6768
"file-loader": "^0.8.5",
6869
"inject-loader": "^2.0.1",
6970
"jade": "^1.11.0",
70-
"jsdom": "^7.2.2",
71+
"jsdom": "^8.5.0",
7172
"mkdirp": "^0.5.1",
7273
"mocha": "^2.2.5",
73-
"node-libs-browser": "^0.5.3",
74+
"node-libs-browser": "^1.0.0",
7475
"rimraf": "^2.4.0",
75-
"stylus-loader": "^1.4.0",
76+
"stylus": "^0.54.5",
77+
"stylus-loader": "^2.0.0",
7678
"vue-hot-reload-api": "^1.2.0",
7779
"vue-html-loader": "^1.0.0",
7880
"vue-style-loader": "^1.0.0",

0 commit comments

Comments
 (0)