Skip to content

Commit 577c60b

Browse files
committed
2.0.1 - upgrades dependencies
1 parent 7077ced commit 577c60b

File tree

5 files changed

+29
-10
lines changed

5 files changed

+29
-10
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,12 @@ temp
6666
vendor
6767
.DS_Store
6868
*.sublime-*
69+
*.code-*
70+
*-lock.*
6971

7072
docs
7173
brandscale
7274
expressions
7375
liquidjs
7476
_draft
77+

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Please consider following this project's author, [Jon Schlinkert](https://github
66

77
## Install
88

9-
Install with [npm](https://www.npmjs.com/) (requires [Node.js](https://nodejs.org/en/) >=14):
9+
Install with [npm](https://www.npmjs.com/):
1010

1111
```sh
1212
$ npm install --save whence
@@ -293,9 +293,9 @@ $ npm install -g verbose/verb#dev verb-generate-readme && verb
293293

294294
### License
295295

296-
Copyright © 2021, [Jon Schlinkert](https://github.com/jonschlinkert).
296+
Copyright © 2025, [Jon Schlinkert](https://github.com/jonschlinkert).
297297
Released under the [MIT License](LICENSE).
298298

299299
***
300300

301-
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on September 22, 2021._
301+
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on February 07, 2025._

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "whence",
33
"description": "Add context awareness to your apps and frameworks by safely evaluating user-defined conditional expressions. Useful for evaluating expressions in config files, prompts, key bindings, completions, templates, and many other user cases.",
4-
"version": "2.0.0",
4+
"version": "2.0.1",
55
"homepage": "https://github.com/jonschlinkert/whence",
66
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
77
"repository": "jonschlinkert/whence",
@@ -22,15 +22,17 @@
2222
"cover": "nyc --reporter=text --reporter=html npm run test"
2323
},
2424
"dependencies": {
25-
"@babel/parser": "^7.15.7",
26-
"eval-estree-expression": "^1.0.1"
25+
"@babel/parser": "^7.26.7",
26+
"eval-estree-expression": "^2.1.1"
2727
},
2828
"devDependencies": {
29-
"@babel/eslint-parser": "^7.15.4",
30-
"@babel/eslint-plugin": "^7.14.5",
29+
"@babel/eslint-parser": "^7.26.5",
30+
"@babel/eslint-plugin": "^7.25.9",
31+
"eslint": "8.57.0",
3132
"esprima": "^4.0.1",
3233
"gulp-format-md": "^2.0.0",
33-
"mocha": "^9.1.1"
34+
"mocha": "^9.2.2",
35+
"prettier": "^3.4.2"
3436
},
3537
"keywords": [
3638
"@babel",

prettier.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
'use strict';
2+
3+
module.exports = {
4+
trailingComma: 'none',
5+
tabWidth: 2,
6+
semi: true,
7+
singleQuote: true,
8+
printWidth: 90,
9+
arrowParens: 'avoid',
10+
bracketSpacing: true,
11+
jsxBracketSameLine: false,
12+
jsxSingleQuote: false,
13+
quoteProps: 'consistent'
14+
};

test/evaluate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use strict';
22

3+
const assert = require('node:assert/strict');
34
const esprima = require('esprima');
45
const babel = require('@babel/parser');
5-
const { strict: assert } = require('assert');
66
const whence = require('..');
77

88
const e = (source, context, options) => {

0 commit comments

Comments
 (0)