mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 01:07:01 +08:00
We already had PostCSS as an implicit dep because stylelint depends on it. I need to use its API to parse CSS for some of the dark mode migration, so I'm moving postcss to be a top level dep. DISABLE_THIRD_PARTY_CHECK=updating node modules Bug: chromium:1152736 Change-Id: I93919fb2d676337604209cf6bf9c8570f98bd5e0 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2780799 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Auto-Submit: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
is-core-module 
Is this specifier a node.js core module? Optionally provide a node version to check; defaults to the current node version.
Example
var isCore = require('is-core-module');
var assert = require('assert');
assert(isCore('fs'));
assert(!isCore('butts'));
Tests
Clone the repo, npm install, and run npm test
