Update dependencies; disable some babel-minify transforms to work around https://github.com/babel/minify/issues/893 (#5095)
This commit is contained in:
parent
7f8b36a8bd
commit
98b2a69416
2
Cakefile
2
Cakefile
|
@ -72,7 +72,7 @@ transpile = (code) ->
|
||||||
# Exclude the `modules` plugin in order to not break the `}(this));`
|
# Exclude the `modules` plugin in order to not break the `}(this));`
|
||||||
# at the end of the `build:browser` code block.
|
# at the end of the `build:browser` code block.
|
||||||
presets.push ['env', {modules: no}] unless process.env.TRANSFORM is 'false'
|
presets.push ['env', {modules: no}] unless process.env.TRANSFORM is 'false'
|
||||||
presets.push ['minify', {mangle: no}] unless process.env.MINIFY is 'false'
|
presets.push ['minify', {mangle: no, evaluate: no, removeUndefined: no}] unless process.env.MINIFY is 'false'
|
||||||
babelOptions =
|
babelOptions =
|
||||||
compact: process.env.MINIFY isnt 'false'
|
compact: process.env.MINIFY isnt 'false'
|
||||||
presets: presets
|
presets: presets
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1540,7 +1540,7 @@ inner = changeNumbers();
|
||||||
<span class="cm-keyword">return</span> <span class="cm-variable">outer</span> <span class="cm-operator">=</span> <span class="cm-number">10</span>;
|
<span class="cm-keyword">return</span> <span class="cm-variable">outer</span> <span class="cm-operator">=</span> <span class="cm-number">10</span>;
|
||||||
};
|
};
|
||||||
|
|
||||||
<span class="cm-variable">inner</span> <span class="cm-operator">=</span> <span class="cm-variable">changeNumbers</span>();
|
<span class="cm-variable-2">inner</span> <span class="cm-operator">=</span> <span class="cm-variable">changeNumbers</span>();
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
|
@ -39,16 +39,16 @@
|
||||||
"url": "git://github.com/jashkenas/coffeescript.git"
|
"url": "git://github.com/jashkenas/coffeescript.git"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-core": "6.26.3",
|
"babel-core": "^6.26.3",
|
||||||
"babel-preset-env": "1.6.1",
|
"babel-preset-env": "1.7.0",
|
||||||
"babel-preset-minify": "0.4.0",
|
"babel-preset-minify": "^0.4.3",
|
||||||
"codemirror": "^5.37.0",
|
"codemirror": "^5.39.2",
|
||||||
"docco": "~0.8.0",
|
"docco": "~0.8.0",
|
||||||
"highlight.js": "~9.12.0",
|
"highlight.js": "~9.12.0",
|
||||||
"jison": ">=0.4.18",
|
"jison": ">=0.4.18",
|
||||||
"markdown-it": "~8.4.1",
|
"markdown-it": "~8.4.2",
|
||||||
"underscore": "~1.9.0",
|
"underscore": "~1.9.1",
|
||||||
"webpack": "~4.6.0"
|
"webpack": "~4.16.5"
|
||||||
},
|
},
|
||||||
"dependencies": {}
|
"dependencies": {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue