Open greenkeeper[bot] opened 7 years ago
Update to this version instead 🚀
This patch release fixes a couple of issues related with the named AMD changes introduced in 1.5.7
Update to this version instead 🚀
This is a patch release that prevents forcing the stage-0 babel preset on users.
Update to this version instead 🚀
This is a bug fix releasing fixing a couple of parsing problems. One regarding AMD's detection of the CommonJS syntax, and other related to the steal.joinURIs API, used in places like steal-css. Big thanks to @James0x57 for his efforts fixing these bugs.
The new version differs by 16 commits.
e333bac
1.5.10
89f49c8
Merge pull request #1260 from stealjs/update-readme
518870e
Merge branch 'master' into update-readme
c210af1
Merge pull request #1259 from stealjs/rm-docs
2053e89
Merge pull request #1257 from stealjs/typo-fix-loadimport
5461dde
Merge pull request #1258 from stealjs/joinuris
ca395f6
Remove stealjs docs from this repo
5326099
Fix @ in url parsing problem. Tests from Matthew. Closes #1253
72e53d0
Fix typo "load import" in quick-start.md
78a5b4a
Merge pull request #1249 from stealjs/amdcjsregex
478b4d6
Merge branch 'master' into amdcjsregex
4d8111d
For stealjs/steal-tools#563 - requireAlias boundary check added
153de2b
For stealjs/steal-tools#563 - improve regex detection in more cases
1c92217
For stealjs/steal-tools#563 - added comments to describe the algorithm.
e08827c
Closes stealjs/steal-tools#563 - Parse for amd cjs deps in single loop through and fix dep detection after an inline regex containing a single quote of the same type used in the require param
There are 16 commits in total.
See the full diff
Update to this version instead 🚀
This is a bug fix release, fixing an issue with steal-css breaking in production. The issue was our new CommonJS dependency detection algorithm, which causes a false-positive detection of a dependency in steal-css.
Update to this version instead 🚀
This release is for docs only. It removes the Loading From CDN docs as those will not live in stealjs/stealjs.
Update to this version instead 🚀
This is a documentation release, removing the "Moving to Production" doc.
Update to this version instead 🚀
This patch release fixes the following issues:
map
is not being set properly #1208The new version differs by 14 commits.
fd74d20
1.5.14
de374a1
Merge pull request #1273 from stealjs/loads-twice-warning
9889943
Use Function::bind instead of console.warn.bind
e6dfcb2
Warn if a module is loaded at the same path twice
38d9835
Merge pull request #1271 from stealjs/map-right
d548dd8
Apply mappings when left-side is not a pkg but right-side is.
cc8ad7d
Merge pull request #1211 from stealjs/map-right
c61222b
Add missing import
4c7da96
Use Node 7 for tests
c0ff9eb
Restructure npm normalize tests
d0b771b
Merge pull request #1270 from stealjs/update-guide
e15e2e4
Show full package.json content with diff
4f35064
Add plugins configuration documentation
cd6cd0b
NPM -> npm
See the full diff
Update to this version instead 🚀
This patch release fixes false positives from occurring in a warning for when a module loads multiple times.
Update to this version instead 🚀
This is a patch release of steal, adding documentation about using development bundles configuration. The documentation will be available on stealjs.com under API -> steal -> devBundle/depsBundle.
The new version differs by 7 commits.
96c6003
1.5.16
6ce78c9
Merge pull request #1295 from stealjs/dbundle
ecf34ca
Document the deps-bundle and dev-bundles configuration values
7eddfbc
Merge pull request #1293 from eben-roux/patch-2
4ad5788
- fixed typo
c020e8b
Merge pull request #1283 from stealjs/node-promises
67cd99c
Use Node.js native promises
See the full diff
Update to this version instead 🚀
This is a patch release, fixing two issues with live-reload:
The new version differs by 5 commits.
8da837d
1.5.17
93952bc
Merge pull request #1301 from stealjs/warn-live-reload
3844f52
Override loader.delete to prevent live-reload loaded twice warnings
0e5714b
Merge pull request #1296 from stealjs/fix-live-reload-with-dynamic-import
5c45fea
Fix issue breaking live-reload when used with dynamic-import
See the full diff
Update to this version instead 🚀
This is a minor release, adding one new feature (the ability to define dependencies).
1.6.0 adds the ability to define dependencies on ES modules (modules using import/export) and CommonJS (using require). This is useful when a module has an implicit dependency (such as a css file) that it does not define as a dependency itself.
As an example, let's say you had a module:
counter.js
function makeCounter() {
let counter = document.createElement("div");
counter.className = "counter";
counter.textContent = 0;
let start = Date.now();
setInterval(() => {
let end = Date.now();
let diff = start - end;
let seconds = Math.floor(diff / 1000);
counter.textContent = seconds;
}, 500);
return counter;
}
export default makeCounter;
Which has an associated CSS for styling:
counter.css
.counter {
font-weight: bolder;
color: tomato;
}
If you wanted to use this component, previously you would have to remember to import both of these files in each place that needed them.
In 1.6.0 you can now add meta.deps
to any ES or CommonJS module, adding to globals which were previously supported.
To fix the above, edit your package.json:
{
"name": "my-app",
"version": "1.0.0",
"main": "main.js",
"steal": {
"meta": {
"my-app/counter": {
"deps": ["my-app/counter.css"]
}
}
}
}
And now you can simply import the counter.js module, and the styles will come with it.
Thanks to @DesignByOnyx for adding this feature.
The new version differs by 6 commits.
804c421
1.6.0
02258c5
Merge pull request #1302 from stealjs/meta-deps-config
a8a0d5e
1.5.19
a588b03
Merge pull request #1304 from stealjs/warn-false-positive2
6cba492
Prevent false positive 'loaded twice' warnings
e4506a2
Add ability to define implicit dependencies using meta deps
See the full diff
Update to this version instead 🚀
This is a patch release, fixing a cause when importing CommonJS modules from ES modules, that themselves import a common CommonJS module that happens to export the global
object (in the browser the self
property).
The new version differs by 6 commits.
a94e95d
1.6.1
a7a0e21
Merge pull request #1315 from stealjs/npmignore
e231b0c
Merge pull request #1313 from stealjs/cjs-module
d3333df
adds a npmignore file.
0cd50d7
Remove package-lock.json from source control
4b613ad
Allow the global to be exported as a CJS value, and then imported into a
See the full diff
Update to this version instead 🚀
This release fixes a mistake made in the 1.6.1 release, where some needed files were excluded from npm.
Update to this version instead 🚀
This is a patch release, fixing a bug where configuration in buildConfig
would override other configuration during a build. So any configuration needed during production wouldn't exist.
Update to this version instead 🚀
This fixes an issue where steal would try to load a module that had already failed to load. This prevents a variety of repetitive error messages.
The new version differs by 9 commits.
462b286
1.6.4
6e68bde
Merge pull request #1321 from stealjs/mod-twice-bug
29e7d1d
Prevent rerunning module loading on modules that have already failed
584469b
Merge pull request #1314 from stealjs/sec-vuln
d8b2e3e
Remove jquery-ui from npm tests
9429b6f
Saucelabs only supports FF 56
4d7c6ba
Increase the firefox version
61049f3
Remove jquery-ui from the copied scripts
c91540d
Remove jquery-ui
See the full diff
Update to this version instead 🚀
This is a minor release, adding improved error messaging for 404 errors.
When a 404 occurs because the module is not able to be found by Steal, we have improved the error messaging.
Before it looked like:
And now it is:
As you can see from the screenshot we have changed it so that:
While this improvement is now in steal, some plugins are still be updated to take advantage of it.
The new version differs by 10 commits.
6d59147
Build for 1.7.0
3efd871
1.7.0
dd1a473
Merge pull request #1341 from stealjs/file-missing
c141fc9
Improve 404 error message
30876e1
Merge pull request #1340 from stealjs/file-missing
a014707
Completely remove dependency on jquery in the live-reload test
3586e3d
Prevent 'Is this an npm module not saved' error
725490e
Merge pull request #1339 from stealjs/load-twice-dep
31aa362
Remove dependency on jquery
8737076
Remove 'loaded twice' false positive when there is a missing file
See the full diff
Update to this version instead 🚀
This is a minor release, featuring improved error messaging with malformed JSON in a package.json.
With #1347 we know get a clear indication of what is wrong with a package.json:
The new version differs by 5 commits.
53f54ea
1.8.0
ddc92e0
Merge pull request #1349 from stealjs/sd-lr
d841938
Prevent unhandled rejections caused by live-reload
58c7ecf
Merge pull request #1347 from stealjs/bad-json
fb05799
Improve the error message when there is a malformed package.json
See the full diff
Update to this version instead 🚀
This is a minor releasing adding error handling to the live-reload
module.
Now when an error occurs reloading a module, an Error is called as the first argument to the callback.
import reload from "live-reload";
reload(function(err){
if(err) {
displayErrorMessage(err);
} else {
// Do whatever is normal
}
});
Update to this version instead 🚀
This is a patch release, fixing a bug where modules in a failed loading state were not recoverable after a live-reload that fixes the underlying problem.
The new version differs by 6 commits.
36cfdcd
1.9.2
2093b92
Merge pull request #1358 from stealjs/lr-failed
fb22fcd
When a module is deleted, ensure any 'failed' records are removed
cdbf99f
1.9.1
4f4f34d
Merge pull request #1352 from stealjs/frame
e854828
Update code-frame so that it will run in Node
See the full diff
Update to this version instead 🚀
This is a minor releasing add a few improved error messages.
The new version differs by 15 commits.
983d081
1.10.0
e6d2afc
Merge pull request #1363 from stealjs/json-err
cb070dc
Parse out JSON syntax error for Edge
29bd738
Correctly parse line and column for firefox syntax errors
2299add
Improve error messaging on malformed JSON
031d368
Merge pull request #1362 from stealjs/vers-mis
29f0f00
Remove old version mismatch test
6761b4b
Do not mask the passed in pkg variable
0df89ef
Improve the error message on mismatched package versions
29e8c03
Merge pull request #1360 from stealjs/dev-bundle-err
e73f297
Provide a nice error message when dev bundle fails to load
39e83c8
Merge pull request #1359 from stealjs/append-error
b994fff
Move codeframe loading to its own function
f69ea99
Only remove the steal.js stack parts from errors
f519527
Implements loader.rejectWithCodeFrame
See the full diff
Update to this version instead 🚀
Improved error messaging on SyntaxErrors during parsing.
This is a minor release, improving the SyntaxErrors generated during parsing, both for ES and CommonJS modules. On the ES side this change removes the unhelpful Babel stack trace and puts instead a stack trace to where the error occurred.
Update to this version instead 🚀
This is a patch release, fixing an issue where errors lost their stack trace if a dependent module.
Update to this version instead 🚀
This is a patch release, fixing an issue where multiple packages with their own babelOptions could conflict with each other.
Update to this version instead 🚀
This is a patch release, fixing an issue where a syntax error in a child module could result in the wrong module showing up in a codeframe.
The new version differs by 6 commits.
368e802
1.11.5
6ef96ea
Merge pull request #1379 from stealjs/cjs-syntax
9c3fc8c
Skip this test in Edge, sigh
29c291b
Add in the codeframe for non SyntaxErrors
8c23764
Make syntaxerror message work in Firefox
0ea3618
Makes SyntaxErrors in child modules work
See the full diff
Update to this version instead 🚀
The new version differs by 7 commits.
7584d93
1.11.6
922fbde
1.11.6
b10422e
Merge pull request #1387 from stealjs/syntax-throw
682f659
Only use the rethrow method in Chrome, since it is the only browser that displays syntaxerrors with the line number in this way.
a145062
Implement custom logging for syntax errors
ad80d59
Merge pull request #1386 from stealjs/cf-build
551bbd1
use codeframe during the build
See the full diff
Update to this version instead 🚀
This is a patch release, fixing projects that use the folder/index
convention and dev bundles.
The new version differs by 5 commits.
4d20196
1.11.7
a031f37
Merge pull request #1411 from stealjs/db-index
d9d07e6
Make folder/index convention work in dev bundles / production mode
7dd7557
Merge pull request #1407 from stealjs/chasenlehara-patch-1
0cb4833
Add note about pnpm to the npmAlgorithm docs
See the full diff
Update to this version instead 🚀
Fixes an issue where an object like freeModule.require('util')
would inadvertently trigger CommonJS dependency detection.
Update to this version instead 🚀
This is a minor release, adding the ability to set load-bundles="false"
from the steal script tag.
You can now turn off loading of bundles while still in production mode.
This means that any code that checks for
steal.loader.isEnv("production")
will have a truthy value.
Update to this version instead 🚀
This is a patch release, fixing an issue with envs
map configuration not taking precedent over base-level map configuration.
Update to this version instead 🚀
Fixes a bug where Node builtins where not auto-configured to be loaded.
Update to this version instead 🚀
Resolves a bug when loading the steal package.json from multiple entry points.
Update to this version instead 🚀
This is a patch release, fixing a bug where a CommonJS module was detected as ES6 because of code inside of a comment.
Update to this version instead 🚀
This is the second major release of steal, but has minimal number of breaking changes.
Check out the migration guide and upgrade today.
In 1.0 the steal.js
script included a polyfill for Promises. To use native promises you would need to use steal-sans-promises.js
instead.
In 2.0 that relationship is flipped. steal.js
does not contain a polyfill and using steal-with-promises.js
will give you it.
Tree shaking is available in steal 2.0. Any time steal encounters a module that only exports from other modules it will follow that modules dependants and remove any unused imports. This will help when consuming a module that just imports from a lot of children. For builds (discussed in the steal-tools 2.0.0 release notes) this will reduce the size of bundles.
With native modules now available in browers, some people are starting to use the file extension .mjs
for modules using the import/export statement. In 2.0 this modules can be consumed from a steal app.
In addition to the polyfill change, there is one other breaking change.
Previously steal.js would always try to load the application's main. This was convenient when getting started but causes problems in larger apps with multiple pages, not all of them wanting the main to load.
So in 2.0, you have to add a main
in your script tag. You can either be explicit about what to load:
<script src="node_modules/steal/steal.js" main="~/app"></script>
Or you can use the boolean attribute and steal.js will load your package.json main
, as it would do in 1.x:
<script src="node_modules/steal/steal.js" main></script>
The new version differs by 79 commits.
0112ad6
2.0.0
13d0471
Merge pull request #1449 from stealjs/major
1633f93
Update travis version
2cd85e3
Merge branch 'master' into major
96fb45d
2.0.0-pre.16
c766683
Merge pull request #1448 from stealjs/no-ts
cb594d6
Only allow tree shaking to be disabled by root package
c1038a3
Provide a way to disable treeShaking
501d041
2.0.0-pre.15
ec53b51
Merge pull request #1447 from stealjs/spec
83a9969
Handle case where moduleSpecifierFromName is called
e59ff89
2.0.0-pre.14
49f5672
Merge pull request #1446 from stealjs/exp-star
ed72087
Tree-shake export * modules that are progressively loaded
e95e45d
Merge pull request #1442 from stealjs/main-warn
There are 79 commits in total.
See the full diff
Update to this version instead 🚀
This is a patch release, fixing a bug when attempting to use steal in an Electron environment with the npm plugin.
Update to this version instead 🚀
This is a patch release, removing a false position for the "missing main" warning.
Update to this version instead 🚀
This is a minor release, adding support for importing modules from http, https, and //
as specifiers.
The new version differs by 6 commits.
9f0d066
2.1.0
635645c
Merge pull request #1443 from stealjs/bundle-docs
6533b3d
docs for modlet workflow
051b6cc
add docs for stealjs/steal-tools#1036
fbb01a6
Merge pull request #1454 from stealjs/https
80e1242
Allow loading modules from http(s) specifiers
See the full diff
Update to this version instead 🚀
This is a minor release, adding support for importing modules from http, https, and //
as specifiers.
Update to this version instead 🚀
This is a patch release, fixing a fairly rare case where the specifier ../
is used and points to the package.json main
which happens to contain ./
Update to this version instead 🚀
This contains 2 bug fixes:
import "foo";
.git+ssh
type of version URLs in package.json dependencies.The new version differs by 8 commits.
4c66952
2.1.2
95d4408
Merge pull request #1459 from stealjs/gitssh
02d018f
Merge pull request #1457 from stealjs/client-shake-bare-import
7051cea
Merge branch 'master' into gitssh
a684771
Don't encode if a tilde version range
53f54b0
Use Firefox 61 in CI
541cc4c
Correctly encode git+ssh dependencies
6eedeea
allowing bare imports without breaking client-side tree-shaking
See the full diff
devDependency
steal was updated from 0.16.45
to 2.1.3
.Update to this version instead 🚀
This is a patch release, fixing stealjs/steal-tools#1071
devDependency
steal was updated from 0.16.45
to 2.1.4
.Update to this version instead 🚀
This is a patch release that fixes a bug with less setting display: none
by default in its more recent versions. This change prevents this from occurring (steal-less already uses async loading, so there is no breaking change here).
devDependency
steal was updated from 0.16.45
to 2.1.6
.Update to this version instead 🚀
This fixes a bug with using steal-clone in a tree-shaken context.
devDependency
steal was updated from 0.16.45
to 2.1.7
.Update to this version instead 🚀
Fixes a bug when treeshaking a large app with multiple bundles.
Version 1.5.7 of steal just got published.
The version 1.5.7 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of steal. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
1.5.7This patch release include fixes for the following issues:
package.json
is missing "name" and "version" fields #1233steal-module
script tag type #1185peerDependencies
that are listed asdevDependencies
as well #1228Not sure how things should work exactly?
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: