Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unexpected

Package Overview
Dependencies
Maintainers
5
Versions
330
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unexpected - npm Package Compare versions

Comparing version 11.0.1 to 11.1.0

4

build/lib/Unexpected.js

@@ -470,2 +470,6 @@ var _toConsumableArray2 = require('babel-runtime/helpers/toConsumableArray');

if (tokens.length === 1 && typeof tokens[0] === 'string') {
if (!this._legacyTypelessAssertionWarned) {
console.warn('The typeless expect.addAssertion syntax is deprecated and will be removed in a future update\n' + 'Please refer to http://unexpected.js.org/api/addAssertion/');
this._legacyTypelessAssertionWarned = true;
}
assertion = {

@@ -472,0 +476,0 @@ subject: parseTypeToken('any'),

@@ -0,1 +1,13 @@

### v11.1.0 (2019-02-25)
- [#595](https://github.com/unexpectedjs/unexpected/pull/595) to throw an: fulfill the promise with the error ([Andreas Lind](mailto:andreaslindpetersen@gmail.com))
- [#592](https://github.com/unexpectedjs/unexpected/pull/592) Upgrade find-node-modules to version 2.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com))
- [#588](https://github.com/unexpectedjs/unexpected/pull/588) Upgrade eslint-config-prettier to version 4.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com))
- [#586](https://github.com/unexpectedjs/unexpected/pull/586) Upgrade karma to version 4.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com))
- [#480](https://github.com/unexpectedjs/unexpected/pull/480) Lint JavaScript snippets in the documentation ([Andreas Lind](mailto:andreas.lind@peakon.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com))
- [#581](https://github.com/unexpectedjs/unexpected/pull/581) Deprecate legacy typeless addAssertion ([Andreas Lind](mailto:andreaslindpetersen@gmail.com))
- [#583](https://github.com/unexpectedjs/unexpected/pull/583) Upgrade prettier to version 1.16.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com))
- [#580](https://github.com/unexpectedjs/unexpected/pull/580) Upgrade unexpected-documentation-site-generator to version 6.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com))
- [#579](https://github.com/unexpectedjs/unexpected/pull/579) Upgrade unexpected-markdown to version 3.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com))
### v11.0.1 (2019-01-15)

@@ -2,0 +14,0 @@

@@ -479,2 +479,9 @@ const createStandardErrorMessage = require('./createStandardErrorMessage');

if (tokens.length === 1 && typeof tokens[0] === 'string') {
if (!this._legacyTypelessAssertionWarned) {
console.warn(
'The typeless expect.addAssertion syntax is deprecated and will be removed in a future update\n' +
'Please refer to http://unexpected.js.org/api/addAssertion/'
);
this._legacyTypelessAssertionWarned = true;
}
assertion = {

@@ -481,0 +488,0 @@ subject: parseTypeToken('any'),

18

package.json
{
"name": "unexpected",
"version": "11.0.1",
"version": "11.1.0",
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>",

@@ -18,3 +18,3 @@ "keywords": [

"test": "make test && make test-chrome-headless",
"lint": "eslint .",
"lint": "eslint . && eslint --ext md documentation && prettier --check '**/*.{js,md}'",
"generate-site": "generate-site --require ./bootstrap-unexpected-markdown.js",

@@ -43,11 +43,11 @@ "update-examples": "generate-site --require ./bootstrap-unexpected-markdown.js --update-examples",

"eslint": "^5.11.1",
"eslint-config-prettier": "^3.3.0",
"eslint-config-prettier": "^4.0.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-mocha": "^5.2.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"find-node-modules": "^1.0.4",
"find-node-modules": "^2.0.0",
"gh-pages": "^2.0.0",

@@ -58,3 +58,3 @@ "istanbul": "^0.4.5",

"jest": "^23.0.0",
"karma": "3.1.3",
"karma": "4.0.0",
"karma-browserstack-launcher": "1.4.0",

@@ -69,3 +69,3 @@ "karma-chrome-launcher": "2.2.0",

"offline-github-changelog": "^1.2.0",
"prettier": "~1.15.1",
"prettier": "~1.16.0",
"rollup": "^1.0.1",

@@ -78,5 +78,5 @@ "rollup-plugin-commonjs": "^9.1.0",

"serve": "*",
"unexpected-documentation-site-generator": "^5.1.0",
"unexpected-documentation-site-generator": "^6.0.0",
"unexpected-magicpen": "^1.0.0",
"unexpected-markdown": "^2.0.0"
"unexpected-markdown": "^3.0.0"
},

@@ -83,0 +83,0 @@ "files": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc