Commit Graph

18346 Commits

Author SHA1 Message Date
Ben Newman
696b8d4b3c Fix Buffer conversion logic in writeFile. 2017-02-09 10:21:21 -05:00
Ben Newman
f5ae115c10 Don't forget to write dynamic files without source maps. 2017-02-09 10:19:49 -05:00
Ben Newman
51c9f5e16c Use Meteor._localStorage only in production mode.
https://github.com/meteor/meteor/pull/8327#issuecomment-278660587
2017-02-09 10:19:24 -05:00
Ben Newman
1bbe7b6770 Bump package versions for 1.5-beta.3 release.
https://github.com/meteor/meteor/releases/tag/release%2FMETEOR%401.5-beta.3
2017-02-08 23:15:26 -05:00
Ben Newman
e469eeec05 Fix tests by adding //# sourceMappingURL= only to dynamic files.
Also, the regular expression for removing existing source map comments now
matches only if the comment starts at the beginning of a line, following
previous behavior more closely.

To get this exactly right, we would need to tokenize the source to avoid
matching comments in string literals, for example, but that's hard because
this logic needs to work for multiple file types, not just JavaScript.
2017-02-08 19:40:38 -05:00
Ben Newman
cf3744f624 Copy "main" and "browser" from non-dynamic package.json files.
Fixes the first problem reported by @klaussner in this comment:
https://github.com/meteor/meteor/pull/8327#issuecomment-278491257
2017-02-08 18:36:27 -05:00
Ben Newman
9b016bd28d Rename modules to real in modules-runtime/meteor-install.js.
I think `real` is a better antonym for `meta`, and I appreciate that
`real` and `meta` are both four letters long.
2017-02-08 18:36:26 -05:00
Ben Newman
fa23107642 Merge branch 'release-1.4.3' into release-1.5 2017-02-08 16:10:52 -05:00
Ben Newman
19a2606539 Merge branch 'devel' into release-1.4.3 2017-02-08 16:02:53 -05:00
Ben Newman
6a4d76ef8e Remove -beta.n suffix from less before republishing. 2017-02-08 15:55:28 -05:00
Ben Newman
6b6e5d8017 Remove -beta.n suffix from minifier-css before republishing. 2017-02-08 15:46:27 -05:00
Ben Newman
7e13201f12 Remove -beta.n suffix from minifier-js before republishing. 2017-02-08 15:45:56 -05:00
Ben Newman
3163085e1f Remove -beta.n suffix from standard-minifier-js before republishing. 2017-02-08 15:41:57 -05:00
Ben Newman
af100fdb60 Remove -beta.n suffix from standard-minifier-css before republishing. 2017-02-08 15:41:04 -05:00
Ben Newman
3868e83dee Remove -beta.n suffix from stylus package before republishing. 2017-02-08 15:38:28 -05:00
Ben Newman
3761fd4bf1 Bump package versions for 1.4.3-rc.2 release. release/METEOR@1.4.3-rc.2 2017-02-08 15:10:39 -05:00
Ben Newman
0e0ad9f629 Move deprecated packages into packages/non-core. 2017-02-08 15:09:55 -05:00
Ben Newman
2010e9d11a Merge branch 'devel' into release-1.4.3 2017-02-08 14:47:03 -05:00
Ben Newman
858dc64db4 Merge branch 'master' into devel 2017-02-08 14:43:26 -05:00
Ben Newman
fde9e0bbbd Merge pull request #8330 from meteor/release-1.4.2.6
Release 1.4.2.6
2017-02-08 14:41:09 -05:00
Ben Newman
351e05ddf4 Bump package versions for the official 1.4.2.6 release. release/METEOR@1.4.2.6 2017-02-08 13:25:04 -05:00
Ben Newman
f919dab834 Update History.md to reflect changes in 1.4.2.6. 2017-02-08 13:23:40 -05:00
Blake Bourque
6df240e65b Fix for 8309 (#8331)
Strip the trailing /
2017-02-08 10:18:58 -08:00
Ben Newman
79e5e7ef8d Bump package versions for 1.5-beta.2 release. release/METEOR@1.5-beta.2 2017-02-08 12:44:58 -05:00
Ben Newman
a301184a3f Bump package versions for 1.4.2.6-rc.0 release. release/METEOR@1.4.2.6-rc.0 2017-02-08 12:04:06 -05:00
Hugh Willson
21957e03c7 Added release dates beside release version numbers (to address #8193). (#8316) 2017-02-08 11:35:51 -05:00
Jesse Rosenberger
d62d935c77 Add other account package changes to History.md
Including:
 * `github`: https://github.com/meteor/meteor/pull/8303
 * `meteor-developer`: https://github.com/meteor/meteor/pull/8305
 * `meetup`: https://github.com/meteor/meteor/pull/8231
 * `weibo`: https://github.com/meteor/meteor/pull/8302
2017-02-08 11:30:55 -05:00
laosb
3dcba0d466 Accounts splitting History.md update. 2017-02-08 11:30:55 -05:00
Ben Newman
bdc987217c Merge pull request #8302 from meteor/accounts-weibo-reorg
Accounts-weibo reorganize
2017-02-08 11:29:09 -05:00
Ben Newman
1c0060f160 Merge pull request #8303 from hwillson/issue-7715
Wired up new github accounts changes to separate the UI from oauth calls
2017-02-08 11:27:27 -05:00
Ben Newman
6eafbee380 Merge pull request #8305 from hwillson/issue-7715-meteor-developer
Wired up new meteor-developer accounts changes to separate the UI from oauth calls
2017-02-08 11:17:21 -05:00
Ben Newman
2f0371afa1 Merge pull request #8321 from hwillson/issue-7715-meetup
Wired up new meetup accounts changes to separate the UI from oauth calls
2017-02-08 11:15:22 -05:00
Hugh Willson
c7e8706100 Adjusted the url package to encode nested objects and arrays (to help address #5065). (#8261)
* Adjusted the url package common code to encode nested objects and arrays properly (to help address #5065).

* Adjusted to make sure a 'hasOwnProperty' param name is handled.
2017-02-08 11:09:15 -05:00
Ben Newman
cafe4cc084 Fix bad npm package stripping logic introduced to fix #8136.
When `start + maxPartCount > parts.length`, this code was comparing
array holes to strings, leading to unpredictable results.

Blame: 2613582311
2017-02-08 11:04:20 -05:00
Jesse Rosenberger
63b8fba326 Change twitter-oauth => to weibo-oauth
Seemingly copy-paste residue in the PR, but this is the Weibo package
it should be Weibo, not Twitter.
2017-02-08 14:29:04 +02:00
Ben Newman
2537707cb3 Disable optimistic caching for meteor --get-ready on Circle CI.
We (@abernix and I) suspect the intermittent "died unexpectedly" failures
of `meteor --get-ready` on Circle CI are due to hitting their (low) limit
on the maximum number of open files.

Although optimistic caching speeds up rebuilds considerably, it doesn't do
much for initial builds, and it definitely keeps more files open.
Disabling it here seems worth a try.
2017-02-07 20:25:35 -05:00
Ben Newman
2f3aba96f3 Bump package versions for 1.5-beta.1 release. release/METEOR@1.5-beta.1 2017-02-07 20:07:36 -05:00
Ben Newman
4baa5a44dc Allow file.data to be a Buffer in Target#minifyJs. 2017-02-07 20:06:10 -05:00
Ben Newman
c3f9ec4032 Bump package versions for 1.5-beta.0 release. release/METEOR@1.5-beta.0 2017-02-07 19:34:23 -05:00
Ben Newman
5ff0f4f987 Fix test failures by re-anonymizing module wrapper functions. 2017-02-07 19:22:47 -05:00
Ben Newman
ff4b00c774 Mention release-based core package version constraints in History.md. 2017-02-07 17:55:31 -05:00
Ben Newman
d26c554bce Bump $BUNDLE_VERSION to 4.8.0 before rebuilding dev bundle. 2017-02-07 16:18:40 -05:00
Ben Newman
8e344a324a Bump LINKER_CACHE_SALT and compiler.BUILT_BY for good measure. 2017-02-07 16:18:40 -05:00
Ben Newman
7adac54224 Upgrade the meteor-babel npm package to version 0.15.1. 2017-02-07 16:18:40 -05:00
Ben Newman
0c5f6ae7b1 Upgrade reify npm package to version 0.4.7. 2017-02-07 16:17:45 -05:00
Ben Newman
7c5f8789ed Enable immutable caching for dynamic modules.
Even though localStorage is a synchronous API, I wrote this code in an
asynchronous style so that we can easily switch to an async API when/if
that becomes preferable.

While localStorage has stricter size limits than IndexedDB, retrieving
data from IndexedDB is unbelievably slow (~10ms for each cache.check
call). When developing locally, that delay pretty much destroys any
benefit from caching.
2017-02-07 16:17:44 -05:00
Ben Newman
c6e27dc447 Install dynamic modules with correct meteorInstall options. 2017-02-07 16:17:44 -05:00
Ben Newman
6095204bb3 Implement Module.prototype.dynamicImport with a package. 2017-02-07 16:17:44 -05:00
Ben Newman
158adc48e8 Expose manifest of dynamic modules to the dynamic-import package. 2017-02-07 16:17:44 -05:00
Ben Newman
22d1b3ddfe Make special arguments in boot.js more configurable.
Currently this functionality is only used for exposing npmRequire and
Profile to the packages/modules-runtime.js bundle, but I'm planning to use
it for packages/dynamic-import.js soon.
2017-02-07 16:17:43 -05:00