css-loader 2.1.0 → 3.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "css-loader",
3
- "version": "2.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "css loader module for webpack",
5
5
  "license": "MIT",
6
6
  "repository": "webpack-contrib/css-loader",
@@ -9,26 +9,27 @@
9
9
  "bugs": "https://github.com/webpack-contrib/css-loader/issues",
10
10
  "main": "dist/cjs.js",
11
11
  "engines": {
12
- "node": ">= 6.9.0"
12
+ "node": ">= 8.9.0"
13
13
  },
14
14
  "scripts": {
15
15
  "start": "npm run build -- -w",
16
- "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
17
- "clean": "del-cli dist",
18
- "commitlint": "commitlint",
19
- "commitmsg": "commitlint -e $GIT_PARAMS",
20
- "lint": "eslint --cache src test",
21
16
  "prebuild": "npm run clean",
22
- "prepublish": "npm run build",
17
+ "build": "cross-env NODE_ENV=production babel src -d dist --ignore \"src/**/*.test.js\" --copy-files",
18
+ "validate:runtime": "es-check es5 \"dist/runtime/**/*.js\"",
19
+ "postbuild": "npm run validate:runtime",
20
+ "clean": "del-cli dist",
21
+ "commitlint": "commitlint --from=master",
22
+ "lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different",
23
+ "lint:js": "eslint --cache src test",
24
+ "lint": "npm-run-all -l -p \"lint:**\"",
25
+ "prepare": "npm run build",
23
26
  "release": "standard-version",
24
27
  "security": "npm audit",
25
- "test": "jest",
26
- "test:watch": "jest --watch",
27
- "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
28
- "ci:lint": "npm run lint && npm run security",
29
- "ci:test": "npm run test -- --runInBand",
30
- "ci:coverage": "npm run test:coverage -- --runInBand",
31
- "ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
28
+ "test:only": "cross-env NODE_ENV=test jest",
29
+ "test:watch": "cross-env NODE_ENV=test jest --watch",
30
+ "test:coverage": "cross-env NODE_ENV=test jest --collectCoverageFrom=\"src/**/*.js\" --coverage",
31
+ "pretest": "npm run lint",
32
+ "test": "cross-env NODE_ENV=test npm run test:coverage",
32
33
  "defaults": "webpack-defaults"
33
34
  },
34
35
  "files": [
@@ -40,47 +41,51 @@
40
41
  "webpack": "^4.0.0"
41
42
  },
42
43
  "dependencies": {
43
- "icss-utils": "^4.0.0",
44
- "loader-utils": "^1.2.1",
45
- "lodash": "^4.17.11",
46
- "postcss": "^7.0.6",
44
+ "camelcase": "^5.3.1",
45
+ "cssesc": "^3.0.0",
46
+ "icss-utils": "^4.1.1",
47
+ "loader-utils": "^1.2.3",
48
+ "normalize-path": "^3.0.0",
49
+ "postcss": "^7.0.17",
47
50
  "postcss-modules-extract-imports": "^2.0.0",
48
- "postcss-modules-local-by-default": "^2.0.3",
49
- "postcss-modules-scope": "^2.0.0",
50
- "postcss-modules-values": "^2.0.0",
51
- "postcss-value-parser": "^3.3.0",
52
- "schema-utils": "^1.0.0"
51
+ "postcss-modules-local-by-default": "^3.0.2",
52
+ "postcss-modules-scope": "^2.1.0",
53
+ "postcss-modules-values": "^3.0.0",
54
+ "postcss-value-parser": "^4.0.0",
55
+ "schema-utils": "^2.0.0"
53
56
  },
54
57
  "devDependencies": {
55
- "@babel/cli": "^7.1.5",
56
- "@babel/core": "^7.1.6",
57
- "@babel/polyfill": "^7.0.0",
58
- "@babel/preset-env": "^7.1.6",
59
- "@commitlint/cli": "^7.2.1",
60
- "@commitlint/config-conventional": "^7.1.2",
61
- "@webpack-contrib/defaults": "^3.0.0",
58
+ "@babel/cli": "^7.5.0",
59
+ "@babel/core": "^7.5.4",
60
+ "@babel/preset-env": "^7.5.4",
61
+ "@commitlint/cli": "^8.1.0",
62
+ "@commitlint/config-conventional": "^8.1.0",
63
+ "@webpack-contrib/defaults": "^5.0.2",
62
64
  "@webpack-contrib/eslint-config-webpack": "^3.0.0",
63
- "babel-core": "^7.0.0-bridge.0",
64
- "babel-jest": "^23.6.0",
65
+ "babel-jest": "^24.8.0",
66
+ "commitlint-azure-pipelines-cli": "^1.0.2",
65
67
  "cross-env": "^5.2.0",
66
- "del": "^3.0.0",
67
- "del-cli": "^1.1.0",
68
- "eslint": "^5.9.0",
69
- "eslint-plugin-import": "^2.14.0",
70
- "eslint-plugin-prettier": "^3.0.0",
71
- "file-loader": "^3.0.1",
72
- "husky": "^1.2.0",
73
- "jest": "^23.6.0",
74
- "lint-staged": "^8.1.0",
68
+ "del": "^5.0.0",
69
+ "del-cli": "^2.0.0",
70
+ "es-check": "^5.0.0",
71
+ "eslint": "^6.1.0",
72
+ "eslint-config-prettier": "^6.0.0",
73
+ "eslint-plugin-import": "^2.18.0",
74
+ "file-loader": "^4.0.0",
75
+ "husky": "^3.0.0",
76
+ "jest": "^24.8.0",
77
+ "jest-junit": "^7.0.0",
78
+ "lint-staged": "^9.2.0",
75
79
  "memory-fs": "^0.4.1",
80
+ "npm-run-all": "^4.1.5",
76
81
  "postcss-loader": "^3.0.0",
77
- "postcss-preset-env": "^6.4.0",
78
- "prettier": "^1.15.2",
79
- "sass": "^1.15.1",
82
+ "postcss-preset-env": "^6.7.0",
83
+ "prettier": "^1.18.2",
84
+ "sass": "^1.22.5",
80
85
  "sass-loader": "^7.1.0",
81
- "standard-version": "^4.0.0",
82
- "strip-ansi": "^5.0.0",
83
- "webpack": "^4.26.1"
86
+ "standard-version": "^7.0.0",
87
+ "strip-ansi": "^5.2.0",
88
+ "webpack": "^4.35.0"
84
89
  },
85
90
  "keywords": [
86
91
  "webpack",
@@ -88,34 +93,5 @@
88
93
  "loader",
89
94
  "url",
90
95
  "import"
91
- ],
92
- "babel": {
93
- "presets": [
94
- [
95
- "@babel/preset-env",
96
- {
97
- "targets": {
98
- "node": "6.9.0"
99
- },
100
- "useBuiltIns": "usage"
101
- }
102
- ]
103
- ]
104
- },
105
- "husky": {
106
- "hooks": {
107
- "pre-commit": "lint-staged"
108
- }
109
- },
110
- "lint-staged": {
111
- "*.js": [
112
- "eslint --fix",
113
- "git add"
114
- ]
115
- },
116
- "commitlint": {
117
- "extends": [
118
- "@commitlint/config-conventional"
119
- ]
120
- }
96
+ ]
121
97
  }