nodejs_interop 0.7.0 copy "nodejs_interop: ^0.7.0" to clipboard
nodejs_interop: ^0.7.0 copied to clipboard

discontinued
outdatedDart 1 only

Provides interoperability with Node.js APIs.

Changelog #

This file contains highlights of what changes on each version of the Node.js Interop for Dart library.

Version 0.7.0 #

  • Breaking change: renamed the convertToDart() function to dartify().
  • Breaking change: renamed the ReaddirEnhancedModule class to ReaddirModule.
  • Breaking change: the nodejs_interop.io, nodejs_interop.js, nodejs_interop.node and nodejs_interop.npm libraries are no longer exported individually.
  • Added the exit() and sleep() functions.
  • Added the exitCode and pid properties.
  • Added the Buffer.BYTES_PER_ELEMENT static property.
  • Added the InternetAddress, InternetAddressType, JSObject, NetworkInterface, ProcessInfo and Reflect classes.
  • Added the minify option to the Pub transformer.
  • Added new methods to the Console and Uint8Array classes.
  • Added new unit tests.
  • Fixed the implementation of the dns module.

Version 0.6.0 #

  • Breaking change: renamed the Path class to PathObject.
  • Breaking change: renamed the ReadOptions class to ReadFileOptions.
  • Breaking change: renamed the ResolveOptions class to ResolveFunctionOptions.
  • Breaking change: renamed the WarningOptions class to EmitWarningOptions.
  • Breaking change: renamed the WriteOptions class to WriteFileOptions.
  • Added setters to properties of all @anonymous classes.
  • Added the dns module.
  • Added the querystring module.
  • Added the string_decoder module.
  • Added the url module.
  • Added a partial implementation of the process manager API.
  • Added a Pub transformer.
  • Finished the implementation of the util module.

Version 0.5.0 #

  • Breaking change: removed the FileStat.toJson() method.
  • Breaking change: renamed the Process class to NodeProcess.
  • Added the child_process module.
  • Added the cluster module.
  • Added the stream module.
  • Added the vm module.
  • Added the BufferEncoding.fromEncoding() method.
  • Added the current and systemTemp static properties to the Directory class.
  • Finished the implementation of the fs module.

Version 0.4.0 #

  • Breaking change: renamed the Js prefix to JS for JavaScript errors.
  • Breaking change: renamed the NodejsPlatform class to Platform.
  • Added bindings for a predefined set of npm packages.
  • Added the buffer module.
  • Added the console module.
  • Added the convertToStream() and loadLibrary() functions.
  • Added the Json, Module and Writable classes.
  • Added a partial implementation of the fs module.
  • Added a partial implementation of the util module.
  • Added a partial implementation of the file system API.
  • Finished the implementation of the Process class.
  • Finished the implementation of the require() function.
  • Splitted the library in modules: io, js, node and npm.

Version 0.3.0 #

  • Added the os module.
  • Added the convertToDart() and convertToFuture() functions.
  • Added the CpuUsage, NodejsPlatform and Promise classes.
  • Added a partial implementation of the Process class.

Version 0.2.0 #

  • Breaking change: renamed the PathObject class to Path.
  • Added the assert module.
  • Added the errors module.
  • Added the events module.

Version 0.1.0 #

  • Initial release: provides the require() function and the path module.