diff --git a/node_modules/qw/LICENSE b/node_modules/qw/LICENSE old mode 100644 new mode 100755 diff --git a/node_modules/qw/README.md b/node_modules/qw/README.md old mode 100644 new mode 100755 diff --git a/node_modules/qw/package.json b/node_modules/qw/package.json old mode 100644 new mode 100755 index dd53aac491397..eaf98b505a0c6 --- a/node_modules/qw/package.json +++ b/node_modules/qw/package.json @@ -1,32 +1,28 @@ { - "_args": [ - [ - "qw@1.0.1", - "/Users/rebecca/code/npm" - ] - ], - "_from": "qw@1.0.1", - "_id": "qw@1.0.1", + "_from": "qw@1.0.2", + "_id": "qw@1.0.2", "_inBundle": false, - "_integrity": "sha1-77/cdA+a0FQwRCassYNBLMi5ltQ=", + "_integrity": "sha512-1PhZ/iLKwlVNq45dnerTMKFjMof49uqli7/0QsvPNbX5OJ3IZ8msa9lUpvPheVdP+IYYPrf6cOaVil7S35joVA==", "_location": "/qw", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, - "raw": "qw@1.0.1", + "raw": "qw@1.0.2", "name": "qw", "escapedName": "qw", - "rawSpec": "1.0.1", + "rawSpec": "1.0.2", "saveSpec": null, - "fetchSpec": "1.0.1" + "fetchSpec": "1.0.2" }, "_requiredBy": [ + "#USER", "/" ], - "_resolved": "https://registry.npmjs.org/qw/-/qw-1.0.1.tgz", - "_spec": "1.0.1", - "_where": "/Users/rebecca/code/npm", + "_resolved": "https://registry.npmjs.org/qw/-/qw-1.0.2.tgz", + "_shasum": "0c31a6f810320a91c58b05198679427103b03c4a", + "_spec": "qw@1.0.2", + "_where": "/Users/darcyclarke/Documents/Repos/npm/v6", "author": { "name": "Rebecca Turner", "email": "me@re-becca.org", @@ -35,7 +31,9 @@ "bugs": { "url": "https://github.com/iarna/node-qw/issues" }, + "bundleDependencies": false, "dependencies": {}, + "deprecated": false, "description": "Quoted word literals!", "devDependencies": { "tap": "^8.0.0" @@ -58,5 +56,5 @@ "scripts": { "test": "tap test" }, - "version": "1.0.1" + "version": "1.0.2" } diff --git a/node_modules/qw/qw.js b/node_modules/qw/qw.js old mode 100644 new mode 100755 index 239e5a565ef94..3d56959d9852b --- a/node_modules/qw/qw.js +++ b/node_modules/qw/qw.js @@ -12,6 +12,7 @@ function appendLast (arr, str) { } function qw () { + if (!arguments[0].raw) throw new Error('qw is only usable as a tagged template literal') const args = Object.assign([], arguments[0]) const values = [].slice.call(arguments, 1) const words = [] diff --git a/package-lock.json b/package-lock.json index 599bafa914230..41644fc6f45bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6152,9 +6152,9 @@ "dev": true }, "qw": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/qw/-/qw-1.0.1.tgz", - "integrity": "sha1-77/cdA+a0FQwRCassYNBLMi5ltQ=" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/qw/-/qw-1.0.2.tgz", + "integrity": "sha512-1PhZ/iLKwlVNq45dnerTMKFjMof49uqli7/0QsvPNbX5OJ3IZ8msa9lUpvPheVdP+IYYPrf6cOaVil7S35joVA==" }, "rc": { "version": "1.2.8", diff --git a/package.json b/package.json index 9eafac9706a05..0a2a3dd1aaf38 100644 --- a/package.json +++ b/package.json @@ -116,7 +116,7 @@ "promise-inflight": "~1.0.1", "qrcode-terminal": "^0.12.0", "query-string": "^6.14.1", - "qw": "~1.0.1", + "qw": "^1.0.2", "read": "~1.0.7", "read-cmd-shim": "^1.0.5", "read-installed": "~4.0.3",