Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove fbgraph from examples #1924

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/include-external-npm-packages-lock-file/handler.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// Should keep side-effects scripts
import 'dotenv/config';
// Should be included as fbgraph is not marked as sideEffect free
// Should be included as cookie is not marked as sideEffect free
// eslint-disable-next-line no-unused-vars
import { fbgraph } from 'fbgraph';
import { cookie } from 'cookie';
// Should keep named imports
import { toUpper } from 'lodash';
// Should keep default imports
import isEqual from 'lodash.isequal';

function getMessage() {
return isEqual(true, false) ? 'noop' : toUpper('hello fb & aws');
return isEqual(true, false) ? 'noop' : toUpper('hello cookie & aws');
}

export const hello = function (event, _, cb) {
Expand Down
Loading