Compare commits

...

12 Commits

Author SHA1 Message Date
Sebastian McKenzie
4379441277 v3.0.3 2015-01-28 14:17:26 +11:00
Sebastian McKenzie
a955af06e0 remove opts from transform output 2015-01-28 14:14:55 +11:00
Sebastian McKenzie
8f69e59f29 ignore underscored options - fixes #29 2015-01-28 14:14:33 +11:00
Sebastian McKenzie
efda5ca897 3.0.2 2015-01-28 13:59:29 +11:00
Sebastian McKenzie
8a99fd3c8d v3.0.2 2015-01-28 13:53:19 +11:00
Sebastian McKenzie
614ce4de0a add common plugin options to validOptions just to be safe 2015-01-28 13:48:45 +11:00
Sebastian McKenzie
06b2cffbfc 3.0.1 2015-01-28 13:17:54 +11:00
Sebastian McKenzie
f3dfe9571e v3.0.1 2015-01-28 13:17:34 +11:00
Sebastian McKenzie
9b9e2c4ac0 remove iojs from travis 2015-01-28 13:15:45 +11:00
Sebastian McKenzie
28e0b17a81 3.0.0 2015-01-28 13:14:05 +11:00
Sebastian McKenzie
b02f10053e fix publish-runtime task 2015-01-28 13:14:00 +11:00
Sebastian McKenzie
979dcd5330 downgrade kexec 2015-01-28 13:13:52 +11:00
5 changed files with 11 additions and 7 deletions

View File

@@ -3,7 +3,6 @@ language: node_js
node_js:
- "0.10"
- "0.11"
- iojs
branches:
except:

View File

@@ -93,6 +93,7 @@ publish:
publish-runtime:
cd packages; \
node build-runtime.js; \
cd 6to5-runtime; \
npm publish
publish-core:

View File

@@ -70,14 +70,19 @@ File.validOptions = [
"ast",
"format",
"playground",
"experimental"
"experimental",
// these are used by plugins
"ignore",
"only",
"extensions"
];
File.normaliseOptions = function (opts) {
opts = clone(opts);
for (var key in opts) {
if (File.validOptions.indexOf(key) < 0) {
if (key[0] !== "_" && File.validOptions.indexOf(key) < 0) {
throw new ReferenceError("Unknown option: " + key);
}
}
@@ -344,7 +349,6 @@ File.prototype.generate = function () {
var result = {
code: "",
opts: opts,
map: null,
ast: null
};

View File

@@ -1,7 +1,7 @@
{
"name": "6to5",
"description": "Turn ES6 code into readable vanilla ES5 with source maps",
"version": "3.0.0",
"version": "3.0.3",
"author": "Sebastian McKenzie <sebmck@gmail.com>",
"homepage": "https://6to5.org/",
"repository": "6to5/6to5",
@@ -67,6 +67,6 @@
"uglify-js": "2.4.16"
},
"optionalDependencies": {
"kexec": "1.1.1"
"kexec": "1.0.0"
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "6to5-runtime",
"description": "6to5 selfContained runtime",
"version": "2.13.5",
"version": "3.0.2",
"author": "Sebastian McKenzie <sebmck@gmail.com>"
}