Skip to content

Commit

Permalink
fix: replace node built-in "util" module with "util-deprecate" (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson authored Sep 15, 2020
1 parent daebab0 commit c716dc1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"dependencies": {
"cssesc": "^3.0.0",
"indexes-of": "^1.0.1",
"uniq": "^1.0.1"
"uniq": "^1.0.1",
"util-deprecate": "^1.0.2"
},
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/selectors/attribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import unesc from "../util/unesc";
import Namespace from './namespace';
import {ATTRIBUTE} from './types';

const {deprecate} = require("util");
const deprecate = require("util-deprecate");

const WRAPPED_IN_QUOTES = /^('|")(.*)\1$/;

Expand Down

0 comments on commit c716dc1

Please sign in to comment.