-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"name": "nodejs-sfs", | ||
"version": "0.4.0-pre5", | ||
"version": "0.4.0", | ||
"private": true, | ||
"dependencies": { | ||
"source-map": "^0.5.6" | ||
"source-map-support": "^0.4.14" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ package io.scalajs.nodejs | |
package child_process | ||
|
||
import io.scalajs.RawOptions | ||
import io.scalajs.nodejs.events.IEventEmitter | ||
import io.scalajs.nodejs.buffer.Buffer | ||
|
||
import scala.scalajs.js | ||
|
@@ -15,7 +16,7 @@ import scala.scalajs.js.| | |
* @author [email protected] | ||
*/ | ||
@js.native | ||
trait ChildProcess extends js.Object { | ||
trait ChildProcess extends IEventEmitter { | ||
|
||
/** | ||
* Spawns a shell then executes the command within that shell, buffering any generated output. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ import io.scalajs.util.PromiseHelper._ | |
|
||
import scala.concurrent.Future | ||
import scala.scalajs.js | ||
import scala.scalajs.js.annotation.JSImport | ||
|
||
/** | ||
* http.ClientRequest - This object is created internally and returned from http.request(). It represents an in-progress | ||
|
@@ -30,6 +31,7 @@ import scala.scalajs.js | |
* @author [email protected] | ||
*/ | ||
@js.native | ||
@JSImport("http", "ClientRequest") | ||
class ClientRequest extends Readable { | ||
|
||
def headers: js.Dictionary[String] = js.native | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
package io.scalajs.nodejs.os | ||
|
||
import scala.scalajs.js | ||
import scala.scalajs.js.annotation.ScalaJSDefined | ||
|
||
/** | ||
* Represents a Network Interface | ||
* @author [email protected] | ||
*/ | ||
@js.native | ||
@ScalaJSDefined | ||
class NetworkInterface(val address: String, | ||
val netmask: String, | ||
val family: String, | ||
val mac: String, | ||
val scopeid: js.UndefOr[Int], | ||
val internal: Boolean) | ||
extends js.Object | ||
val internal: Boolean) extends js.Object |
3 changes: 2 additions & 1 deletion
3
src/main/scala/io/scalajs/nodejs/querystring/QueryEncodeOptions.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
package io.scalajs.nodejs.querystring | ||
|
||
import scala.scalajs.js | ||
import scala.scalajs.js.annotation.ScalaJSDefined | ||
|
||
/** | ||
* Query String Encode Options | ||
* @param encodeURIComponent The function to use when converting URL-unsafe characters to percent-encoding in | ||
* the query string. Defaults to querystring.escape(). | ||
* @author [email protected] | ||
*/ | ||
@js.native | ||
@ScalaJSDefined | ||
class QueryEncodeOptions(val encodeURIComponent: js.UndefOr[js.Function] = js.undefined) extends js.Object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters