immutable 3.8.2 → 4.0.0-rc.12
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/README.md +350 -181
- package/contrib/cursor/README.md +12 -2
- package/contrib/cursor/__tests__/Cursor.ts.skip +9 -14
- package/contrib/cursor/index.d.ts +244 -247
- package/contrib/cursor/index.js +19 -0
- package/dist/immutable-nonambient.d.ts +4122 -1318
- package/dist/immutable.d.ts +4122 -1318
- package/dist/immutable.es.js +5818 -0
- package/dist/immutable.js +4293 -3406
- package/dist/immutable.js.flow +1396 -392
- package/dist/immutable.min.js +32 -28
- package/package.json +78 -60
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "immutable",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-rc.12",
|
|
4
4
|
"description": "Immutable Data Collections",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://facebook.github.com/immutable-js",
|
|
@@ -16,79 +16,96 @@
|
|
|
16
16
|
"url": "https://github.com/facebook/immutable-js/issues"
|
|
17
17
|
},
|
|
18
18
|
"main": "dist/immutable.js",
|
|
19
|
+
"module": "dist/immutable.es.js",
|
|
19
20
|
"typings": "dist/immutable-nonambient.d.ts",
|
|
20
21
|
"typescript": {
|
|
21
22
|
"definition": "dist/immutable.d.ts"
|
|
22
23
|
},
|
|
23
24
|
"scripts": {
|
|
24
|
-
"build": "
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
25
|
+
"build": "run-s build:*",
|
|
26
|
+
"build:dist": "run-s clean:dist bundle:dist bundle:es copy:dist stats:dist",
|
|
27
|
+
"build:pages": "gulp --gulpfile ./resources/gulpfile.js default",
|
|
28
|
+
"stats:dist": "node ./resources/dist-stats.js",
|
|
29
|
+
"clean:dist": "rimraf dist",
|
|
30
|
+
"bundle:dist": "rollup -c ./resources/rollup-config.js",
|
|
31
|
+
"bundle:es": "rollup -c ./resources/rollup-config-es.js",
|
|
32
|
+
"copy:dist": "node ./resources/copy-dist-typedefs.js",
|
|
33
|
+
"lint": "run-s lint:*",
|
|
34
|
+
"lint:ts": "tslint \"__tests__/**/*.ts\"",
|
|
35
|
+
"lint:js": "eslint \"{__tests__,src,pages/src,pages/lib}/**/*.js\"",
|
|
36
|
+
"format": "prettier --single-quote --trailing-comma=es5 --write \"{__tests__,src,pages/src,pages/lib,perf,resources}/**/*{\\.js,\\.ts}\"",
|
|
37
|
+
"testonly": "./resources/jest",
|
|
38
|
+
"test": "run-s format build lint testonly test:types:*",
|
|
39
|
+
"test:travis": "npm run test && ./resources/check-changes",
|
|
40
|
+
"test:types:ts": "tsc ./type-definitions/Immutable.d.ts --lib es2015 && dtslint type-definitions/ts-tests",
|
|
41
|
+
"test:types:flow": "flow check type-definitions/tests --include-warnings",
|
|
28
42
|
"perf": "node ./resources/bench.js",
|
|
29
|
-
"start": "
|
|
30
|
-
"deploy": "
|
|
43
|
+
"start": "gulp --gulpfile ./resources/gulpfile.js dev",
|
|
44
|
+
"deploy": "./resources/deploy-ghpages.sh",
|
|
45
|
+
"gitpublish": "./resources/gitpublish.sh"
|
|
31
46
|
},
|
|
32
47
|
"jest": {
|
|
33
|
-
"
|
|
34
|
-
"testFileExtensions": [
|
|
48
|
+
"moduleFileExtensions": [
|
|
35
49
|
"js",
|
|
36
50
|
"ts"
|
|
37
51
|
],
|
|
38
|
-
"
|
|
52
|
+
"transform": {
|
|
53
|
+
"^.+\\.ts$": "<rootDir>/resources/jestPreprocessor.js"
|
|
54
|
+
},
|
|
55
|
+
"testRegex": "/__tests__/.*\\.(ts|js)$",
|
|
56
|
+
"unmockedModulePathPatterns": [
|
|
57
|
+
"./node_modules/react"
|
|
58
|
+
]
|
|
39
59
|
},
|
|
40
60
|
"devDependencies": {
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"eslint": "
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"gulp": "3.
|
|
61
|
-
"gulp-
|
|
62
|
-
"gulp-
|
|
63
|
-
"gulp-
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"harmonize": "1.4.4",
|
|
72
|
-
"jasmine-check": "^0.1.2",
|
|
73
|
-
"jest-cli": "^0.5.10",
|
|
74
|
-
"jshint-stylish": "^0.4.0",
|
|
75
|
-
"magic-string": "0.10.2",
|
|
76
|
-
"marked": "0.3.5",
|
|
77
|
-
"microtime": "^2.0.0",
|
|
78
|
-
"node-jsx": "^0.12.4",
|
|
61
|
+
"benchmark": "2.1.4",
|
|
62
|
+
"browser-sync": "^2.26.3",
|
|
63
|
+
"browserify": "16.2.2",
|
|
64
|
+
"colors": "1.2.5",
|
|
65
|
+
"del": "3.0.0",
|
|
66
|
+
"dtslint": "0.1.2",
|
|
67
|
+
"eslint": "4.19.1",
|
|
68
|
+
"eslint-config-airbnb": "16.1.0",
|
|
69
|
+
"eslint-config-prettier": "2.9.0",
|
|
70
|
+
"eslint-plugin-import": "2.12.0",
|
|
71
|
+
"eslint-plugin-jsx-a11y": "6.0.3",
|
|
72
|
+
"eslint-plugin-prettier": "2.6.2",
|
|
73
|
+
"eslint-plugin-react": "7.8.2",
|
|
74
|
+
"flow-bin": "0.85.0",
|
|
75
|
+
"gulp": "3.9.1",
|
|
76
|
+
"gulp-concat": "2.6.1",
|
|
77
|
+
"gulp-filter": "5.1.0",
|
|
78
|
+
"gulp-header": "2.0.5",
|
|
79
|
+
"gulp-less": "3.5.0",
|
|
80
|
+
"gulp-size": "3.0.0",
|
|
81
|
+
"gulp-sourcemaps": "2.6.4",
|
|
82
|
+
"gulp-uglify": "2.1.0",
|
|
83
|
+
"gulp-util": "3.0.8",
|
|
84
|
+
"jasmine-check": "0.1.5",
|
|
85
|
+
"jest": "23.6.0",
|
|
86
|
+
"marked": "0.3.19",
|
|
87
|
+
"microtime": "2.1.8",
|
|
88
|
+
"mkdirp": "0.5.1",
|
|
89
|
+
"npm-run-all": "4.1.3",
|
|
90
|
+
"prettier": "1.14.2",
|
|
79
91
|
"react": "^0.12.0",
|
|
80
92
|
"react-router": "^0.11.2",
|
|
81
|
-
"react-tools": "
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"
|
|
93
|
+
"react-tools": "0.13.3",
|
|
94
|
+
"rimraf": "2.6.2",
|
|
95
|
+
"rollup": "0.59.1",
|
|
96
|
+
"rollup-plugin-buble": "0.19.2",
|
|
97
|
+
"rollup-plugin-commonjs": "9.1.3",
|
|
98
|
+
"rollup-plugin-json": "3.0.0",
|
|
99
|
+
"rollup-plugin-strip-banner": "0.2.0",
|
|
100
|
+
"run-sequence": "2.2.1",
|
|
101
|
+
"through2": "2.0.3",
|
|
102
|
+
"transducers-js": "^0.4.174",
|
|
103
|
+
"tslint": "5.7.0",
|
|
104
|
+
"typescript": "3.0.3",
|
|
105
|
+
"uglify-js": "2.8.11",
|
|
106
|
+
"uglify-save-license": "0.4.1",
|
|
107
|
+
"vinyl-buffer": "1.0.1",
|
|
108
|
+
"vinyl-source-stream": "2.0.0"
|
|
92
109
|
},
|
|
93
110
|
"files": [
|
|
94
111
|
"dist",
|
|
@@ -107,5 +124,6 @@
|
|
|
107
124
|
"stateless",
|
|
108
125
|
"sequence",
|
|
109
126
|
"iteration"
|
|
110
|
-
]
|
|
127
|
+
],
|
|
128
|
+
"dependencies": {}
|
|
111
129
|
}
|