Compare commits

...

21 Commits

Author SHA1 Message Date
K.J. Valencik
f3a96aaa7d
Merge pull request #676 from neon-bindings/dependabot/npm_and_yarn/test/electron/electron-11.1.0
Some checks failed
Lints / lint (14.x, nightly) (push) Has been cancelled
Test on Linux / build (12.x, beta) (push) Has been cancelled
Test on Linux / build (12.x, nightly) (push) Has been cancelled
Test on Linux / build (12.x, stable) (push) Has been cancelled
Test on Linux / build (14.x, beta) (push) Has been cancelled
Test on Linux / build (14.x, nightly) (push) Has been cancelled
Test on Linux / build (14.x, stable) (push) Has been cancelled
Test on Linux / build (16.x, beta) (push) Has been cancelled
Test on Linux / build (16.x, nightly) (push) Has been cancelled
Test on Linux / build (16.x, stable) (push) Has been cancelled
Test on MacOS / build (12.x, beta) (push) Has been cancelled
Test on MacOS / build (12.x, nightly) (push) Has been cancelled
Test on MacOS / build (12.x, stable) (push) Has been cancelled
Test on MacOS / build (14.x, beta) (push) Has been cancelled
Test on MacOS / build (14.x, nightly) (push) Has been cancelled
Test on MacOS / build (14.x, stable) (push) Has been cancelled
Test on MacOS / build (16.x, beta) (push) Has been cancelled
Test on MacOS / build (16.x, nightly) (push) Has been cancelled
Test on MacOS / build (16.x, stable) (push) Has been cancelled
Test on Windows / build (12.x, beta) (push) Has been cancelled
Test on Windows / build (12.x, nightly) (push) Has been cancelled
Test on Windows / build (12.x, stable) (push) Has been cancelled
Test on Windows / build (14.x, beta) (push) Has been cancelled
Test on Windows / build (14.x, nightly) (push) Has been cancelled
Test on Windows / build (14.x, stable) (push) Has been cancelled
Test on Windows / build (16.x, beta) (push) Has been cancelled
Test on Windows / build (16.x, nightly) (push) Has been cancelled
Test on Windows / build (16.x, stable) (push) Has been cancelled
build(deps-dev): bump electron from 11.0.4 to 11.1.0 in /test/electron
2021-05-18 11:09:28 -04:00
K.J. Valencik
e0c25bfd75
Merge pull request #726 from neon-bindings/dependabot/npm_and_yarn/test/cli/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21 in /test/cli
2021-05-18 11:09:16 -04:00
K.J. Valencik
c81d98f195
Merge pull request #731 from neon-bindings/dependabot/npm_and_yarn/test/electron/lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21 in /test/electron
2021-05-18 11:08:59 -04:00
K.J. Valencik
d401a32b78
Merge pull request #730 from neon-bindings/dependabot/npm_and_yarn/test/electron/ua-parser-js-0.7.28
Bump ua-parser-js from 0.7.22 to 0.7.28 in /test/electron
2021-05-18 11:08:56 -04:00
K.J. Valencik
d69768f567
Merge pull request #725 from neon-bindings/dependabot/npm_and_yarn/cli/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21 in /cli
2021-05-18 11:08:49 -04:00
K.J. Valencik
2f93620146
Merge pull request #724 from neon-bindings/dependabot/npm_and_yarn/test/cli/handlebars-4.7.7
Bump handlebars from 4.5.3 to 4.7.7 in /test/cli
2021-05-18 11:08:44 -04:00
K.J. Valencik
8814886b41
Merge pull request #723 from neon-bindings/dependabot/npm_and_yarn/cli/handlebars-4.7.7
Bump handlebars from 4.7.6 to 4.7.7 in /cli
2021-05-18 11:08:37 -04:00
K.J. Valencik
e2cc8cc81d
Merge pull request #737 from neon-bindings/kv/v0.8.2
v0.8.2
2021-05-18 10:59:15 -04:00
K.J. Valencik
5c308aec22
v0.8.2 2021-05-18 10:48:44 -04:00
K.J. Valencik
d9eac77765
Update migration guide to include removing build.rs 2021-05-18 10:33:04 -04:00
K.J. Valencik
73bde85776
Merge pull request #736 from neon-bindings/types-apidocs
Top-level API docs for `neon::types`
2021-05-18 10:30:59 -04:00
David Herman
8758b7f416 API docs for the neon::types module top level. 2021-05-17 18:47:46 -07:00
Dave Herman
73390414ee
Merge pull request #735 from neon-bindings/types-diagram
Types diagram for docs
2021-05-17 07:47:51 -07:00
David Herman
fc5a214389 Types diagram, for use in the docs 2021-05-16 14:49:41 -07:00
dependabot[bot]
acd5ba6e2a
Bump lodash from 4.17.20 to 4.17.21 in /test/electron
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 14:21:09 +00:00
dependabot[bot]
d473ead705
Bump ua-parser-js from 0.7.22 to 0.7.28 in /test/electron
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.22 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.22...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 04:39:35 +00:00
dependabot[bot]
01fbf284a4
Bump lodash from 4.17.19 to 4.17.21 in /test/cli
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 18:46:00 +00:00
dependabot[bot]
ec3e057ec6
Bump lodash from 4.17.19 to 4.17.21 in /cli
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 18:45:47 +00:00
dependabot[bot]
5fe99a8941
Bump handlebars from 4.5.3 to 4.7.7 in /test/cli
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 16:43:52 +00:00
dependabot[bot]
0ab3b6ee2e
Bump handlebars from 4.7.6 to 4.7.7 in /cli
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 16:43:40 +00:00
dependabot[bot]
1a4cecf9b0
build(deps-dev): bump electron from 11.0.4 to 11.1.0 in /test/electron
Bumps [electron](https://github.com/electron/electron) from 11.0.4 to 11.1.0.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/master/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v11.0.4...v11.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-24 20:14:16 +00:00
16 changed files with 132 additions and 62 deletions

View File

@ -1,18 +1,18 @@
[package]
name = "neon"
version = "0.8.1"
version = "0.8.2"
authors = ["Dave Herman <david.herman@gmail.com>"]
description = "A safe abstraction layer for Node.js."
readme = "README.md"
homepage = "https://www.neon-bindings.com"
repository = "https://github.com/neon-bindings/neon"
license = "MIT/Apache-2.0"
exclude = ["neon.jpg"]
exclude = ["neon.jpg", "doc/**/*"]
build = "build.rs"
edition = "2018"
[build-dependencies]
neon-build = { version = "=0.8.1", path = "crates/neon-build" }
neon-build = { version = "=0.8.2", path = "crates/neon-build" }
[dev-dependencies]
lazy_static = "1.4.0"
@ -25,8 +25,8 @@ failure = "0.1.5" # used for a doc example
cslice = "0.2"
semver = "0.9.0"
smallvec = "1.4.2"
neon-runtime = { version = "=0.8.1", path = "crates/neon-runtime" }
neon-macros = { version = "=0.8.1", path = "crates/neon-macros", optional = true }
neon-runtime = { version = "=0.8.2", path = "crates/neon-runtime" }
neon-macros = { version = "=0.8.2", path = "crates/neon-macros", optional = true }
[features]
default = ["legacy-runtime"]

View File

@ -33,14 +33,15 @@ The N-API backend of Neon requires a minimum Node version of 10.0.
To enable the N-API backend, you need to:
1. Disable the default features (for now, the default features select the legacy backend) by setting `default-features = false`; and
2. Enable the appropriate feature flag in your `Cargo.toml` to select the N-API version you need support for (each N-API version N uses the feature flag `"napi-N"`, for example `"napi-4"` for N-API version 4).
1. Remove `build.rs` from the project directory and `build = "build.rs"` from the `Cargo.toml`. The N-API backend does not require a Cargo build script.
2. Disable the default features (for now, the default features select the legacy backend) by setting `default-features = false`; and
3. Enable the appropriate feature flag in your `Cargo.toml` to select the N-API version you need support for (each N-API version N uses the feature flag `"napi-N"`, for example `"napi-4"` for N-API version 4).
As a rule, you should choose the **oldest version of N-API that has the APIs you need.** (We will be adding N-API version requirements to the Neon API docs to make this clearer in the future.) You can consult the [official N-API feature matrix](https://nodejs.org/api/n-api.html#n_api_node_api_version_matrix) to see which N-API versions come with various versions of Node.
```toml
[dependencies.neon]
version = "0.8.1"
version = "0.8.2"
default-features = false
features = ["napi-4"]
```

View File

@ -1,3 +1,8 @@
# Version 0.8.2
* More docs improvements
* Added a deprecation warning to `neon new` (https://github.com/neon-bindings/neon/pull/722)
# Version 0.8.1
* Fix `legacy-backend` for Node 16 (https://github.com/neon-bindings/neon/pull/715)

20
cli/package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "neon-cli",
"version": "0.8.1",
"version": "0.8.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -616,9 +616,9 @@
"dev": true
},
"handlebars": {
"version": "4.7.6",
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.6.tgz",
"integrity": "sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA==",
"version": "4.7.7",
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz",
"integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==",
"requires": {
"minimist": "^1.2.5",
"neo-async": "^2.6.0",
@ -849,9 +849,9 @@
}
},
"lodash": {
"version": "4.17.19",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
"integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ=="
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
},
"lodash.camelcase": {
"version": "4.3.0",
@ -1365,9 +1365,9 @@
"integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw=="
},
"uglify-js": {
"version": "3.10.0",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.10.0.tgz",
"integrity": "sha512-Esj5HG5WAyrLIdYU74Z3JdG2PxdIusvj6IWHMtlyESxc7kcDz7zYlYjpnSokn1UbpV0d/QX9fan7gkCNd/9BQA==",
"version": "3.13.5",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.13.5.tgz",
"integrity": "sha512-xtB8yEqIkn7zmOyS2zUNBsYCBRhDkvlNxMMY2smuJ/qA8NCHeQvKCF3i9Z4k8FJH4+PJvZRtMrPynfZ75+CSZw==",
"optional": true
},
"validate-npm-package-license": {

View File

@ -1,6 +1,6 @@
{
"name": "neon-cli",
"version": "0.8.1",
"version": "0.8.2",
"description": "Build and load native Rust/Neon modules.",
"author": "Dave Herman <david.herman@gmail.com>",
"repository": {

View File

@ -1,6 +1,6 @@
[package]
name = "neon-build"
version = "0.8.1"
version = "0.8.2"
authors = ["Dave Herman <david.herman@gmail.com>"]
description = "Build logic required for Neon projects."
repository = "https://github.com/neon-bindings/neon"
@ -9,4 +9,4 @@ edition = "2018"
build = "build.rs"
[dependencies]
neon-sys = { version = "=0.8.1", path = "../neon-sys", optional = true }
neon-sys = { version = "=0.8.2", path = "../neon-sys", optional = true }

View File

@ -1,6 +1,6 @@
[package]
name = "neon-macros"
version = "0.8.1"
version = "0.8.2"
authors = ["Dave Herman <david.herman@gmail.com>"]
description = "Procedural macros supporting Neon"
repository = "https://github.com/neon-bindings/neon"

View File

@ -1,6 +1,6 @@
[package]
name = "neon-runtime"
version = "0.8.1"
version = "0.8.2"
authors = ["Dave Herman <david.herman@gmail.com>"]
description = "Bindings to the Node.js native addon API, used by the Neon implementation."
repository = "https://github.com/neon-bindings/neon"
@ -10,7 +10,7 @@ edition = "2018"
[dependencies]
cfg-if = "1.0.0"
libloading = { version = "0.6.5", optional = true }
neon-sys = { version = "=0.8.1", path = "../neon-sys", optional = true }
neon-sys = { version = "=0.8.2", path = "../neon-sys", optional = true }
smallvec = "1.4.2"
[dev-dependencies]

View File

@ -1,6 +1,6 @@
[package]
name = "neon-sys"
version = "0.8.1"
version = "0.8.2"
authors = ["David Herman <david.herman@gmail.com>"]
description = "Exposes the low-level V8/NAN C/C++ APIs. Will be superseded by N-API."
edition = "2018"

BIN
doc/types.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
doc/types.pptx Normal file

Binary file not shown.

View File

@ -1,4 +1,76 @@
//! Representations of JavaScript's core builtin types.
//!
//! ## Modeling JavaScript Types
//!
//! All JavaScript values in Neon implement the abstract [`Value`] trait, which
//! is the most generic way to work with JavaScript values. Neon provides a
//! number of types that implement this trait, each representing a particular
//! type of JavaScript value.
//!
//! By convention, JavaScript types in Neon have the prefix `Js` in their name,
//! such as [`JsNumber`](crate::types::JsNumber) (for the JavaScript `number`
//! type) or [`JsFunction`](crate::types::JsFunction) (for the JavaScript
//! `function` type).
//!
//! ### Handles and Casts
//!
//! Access to JavaScript values in Neon works through [handles](crate::handle),
//! which ensure the safe interoperation between Rust and the JavaScript garbage
//! collector. This means, for example, a Rust variable that stores a JavaScript string
//! will have the type `Handle<JsString>` rather than [`JsString`](crate::types::JsString).
//!
//! Neon types model the JavaScript type hierarchy through the use of *casts*.
//! The [`Handle::upcast()`](crate::handle::Handle::upcast) method safely converts
//! a handle to a JavaScript value of one type into a handle to a value of its
//! supertype. For example, it's safe to treat a [`JsArray`](crate::types::JsArray)
//! as a [`JsObject`](crate::types::JsObject), so you can do an "upcast" and it will
//! never fail:
//!
//! ```
//! # use neon::prelude::*;
//! fn as_object(array: Handle<JsArray>) -> Handle<JsObject> {
//! let object: Handle<JsObject> = array.upcast();
//! object
//! }
//! ```
//!
//! Unlike upcasts, the [`Handle::downcast()`](crate::handle::Handle::downcast) method
//! requires a runtime check to test a value's type at runtime, so it can fail with
//! a [`DowncastError`](crate::handle::DowncastError):
//!
//! ```
//! # use neon::prelude::*;
//! fn as_array<'a>(
//! cx: &mut impl Context<'a>,
//! object: Handle<'a, JsObject>
//! ) -> JsResult<'a, JsArray> {
//! object.downcast(cx).or_throw(cx)
//! }
//! ```
//!
//! ### The JavaScript Type Hierarchy
//!
//! ![The Neon type hierarchy, described in detail below.][types]
//!
//! The JavaScript type hierarchy includes:
//!
//! - [`JsValue`](JsValue): This is the top of the type hierarchy, and can refer to
//! any JavaScript value. (For TypeScript programmers, this can be thought of as
//! similar to TypeScript's [`unknown`][unknown] type.)
//! - [`JsObject`](JsObject): This is the top of the object type hierarchy. Object
//! types all implement the [`Object`](crate::object::Object) trait, which allows
//! getting and setting properties.
//! - **Standard object types:** [`JsFunction`](JsFunction), [`JsArray`](JsArray),
//! [`JsDate`](JsDate), and [`JsError`](JsError).
//! - **Typed arrays:** [`JsBuffer`](JsBuffer) and [`JsArrayBuffer`](JsArrayBuffer).
//! - **Custom types:** [`JsBox`](JsBox), a special Neon type that allows the creation
//! of custom objects that own Rust data structures.
//! - **Primitive types:** These are the built-in JavaScript datatypes that are not
//! object types: [`JsNumber`](JsNumber), [`JsBoolean`](JsBoolean),
//! [`JsString`](JsString), [`JsNull`](JsNull), and [`JsUndefined`](JsUndefined).
//!
//! [types]: https://raw.githubusercontent.com/neon-bindings/neon/main/doc/types.jpg
//! [unknown]: https://mariusschulz.com/blog/the-unknown-type-in-typescript#the-unknown-type
pub(crate) mod binary;
#[cfg(feature = "napi-1")]

View File

@ -687,14 +687,15 @@
"dev": true
},
"handlebars": {
"version": "4.5.3",
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz",
"integrity": "sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA==",
"version": "4.7.7",
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz",
"integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==",
"requires": {
"minimist": "^1.2.5",
"neo-async": "^2.6.0",
"optimist": "^0.6.1",
"source-map": "^0.6.1",
"uglify-js": "^3.1.4"
"uglify-js": "^3.1.4",
"wordwrap": "^1.0.0"
}
},
"has-flag": {
@ -837,9 +838,9 @@
}
},
"lodash": {
"version": "4.17.19",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
"integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ=="
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
},
"lodash.padend": {
"version": "4.6.1",
@ -926,9 +927,9 @@
}
},
"minimist": {
"version": "0.0.10",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
"integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8="
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
},
"mkdirp": {
"version": "0.5.1",
@ -1071,15 +1072,6 @@
"mimic-fn": "^1.0.0"
}
},
"optimist": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
"integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
"requires": {
"minimist": "~0.0.1",
"wordwrap": "~0.0.2"
}
},
"os-tmpdir": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
@ -1497,9 +1489,9 @@
"integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0="
},
"uglify-js": {
"version": "3.10.3",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.10.3.tgz",
"integrity": "sha512-Lh00i69Uf6G74mvYpHCI9KVVXLcHW/xu79YTvH7Mkc9zyKUeSPz0owW0dguj0Scavns3ZOh3wY63J0Zb97Za2g==",
"version": "3.13.5",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.13.5.tgz",
"integrity": "sha512-xtB8yEqIkn7zmOyS2zUNBsYCBRhDkvlNxMMY2smuJ/qA8NCHeQvKCF3i9Z4k8FJH4+PJvZRtMrPynfZ75+CSZw==",
"optional": true
},
"v8flags": {
@ -1553,9 +1545,9 @@
}
},
"wordwrap": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
"integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc="
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
"integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus="
},
"wordwrapjs": {
"version": "3.0.0",

View File

@ -14,7 +14,7 @@
"command-line-commands": "^2.0.0",
"command-line-usage": "^4.0.0",
"git-config": "0.0.7",
"handlebars": "^4.5.3",
"handlebars": "^4.7.7",
"inquirer": "^3.0.6",
"mkdirp": "^0.5.1",
"quickly-copy-file": "^1.0.0",

View File

@ -810,9 +810,9 @@
"dev": true
},
"electron": {
"version": "11.0.4",
"resolved": "https://registry.npmjs.org/electron/-/electron-11.0.4.tgz",
"integrity": "sha512-ipfQ28Km52iuDSe9VK0G5uuyxi8qy8szg+01kQTRXZFCLlpgsgU+vQxWkld2tkhXWdu+H3dmgYHvWtoijOvhjw==",
"version": "11.1.0",
"resolved": "https://registry.npmjs.org/electron/-/electron-11.1.0.tgz",
"integrity": "sha512-RFAhR/852VMaRd9NSe7jprwSoG9dLc6u1GwnqRWg+/3cy/8Zrwt1Betw1lXiZH7hGuB9K2cqju83Xv5Pq5ZSGA==",
"dev": true,
"requires": {
"@electron/get": "^1.0.1",
@ -1342,9 +1342,9 @@
}
},
"lodash": {
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
"dev": true,
"optional": true
},
@ -2085,9 +2085,9 @@
"dev": true
},
"ua-parser-js": {
"version": "0.7.22",
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.22.tgz",
"integrity": "sha512-YUxzMjJ5T71w6a8WWVcMGM6YWOTX27rCoIQgLXiWaxqXSx9D7DNjiGWn1aJIRSQ5qr0xuhra77bSIh6voR/46Q==",
"version": "0.7.28",
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.28.tgz",
"integrity": "sha512-6Gurc1n//gjp9eQNXjD9O3M/sMwVtN5S8Lv9bvOYBfKfDNiIIhqiyi01vMBO45u4zkDE420w/e0se7Vs+sIg+g==",
"dev": true
},
"unbzip2-stream": {

View File

@ -13,7 +13,7 @@
"repository": "https://github.com/electron/electron-quick-start",
"devDependencies": {
"cargo-cp-artifact": "^0.1.0 ",
"electron": "^11.0.3",
"electron": "^11.1.0",
"spectron": "^13.0.0"
}
}