Skip to content

Commit

Permalink
Remove 'use strict' from migrated files
Browse files Browse the repository at this point in the history
  • Loading branch information
anniel-stripe committed Sep 27, 2022
1 parent e3a86ff commit 651024f
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion lib/ResourceNamespace.js

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

2 changes: 0 additions & 2 deletions src/ResourceNamespace.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

// ResourceNamespace allows you to create nested resources, i.e. `stripe.issuing.cards`.
// It also works recursively, so you could do i.e. `stripe.billing.invoicing.pay`.

Expand Down
2 changes: 0 additions & 2 deletions src/Webhooks.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import utils = require('./utils');
import _Error = require('./Error');
const {StripeError, StripeSignatureVerificationError} = _Error;
Expand Down
2 changes: 0 additions & 2 deletions src/crypto/CryptoProvider.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

/**
* Interface encapsulating the various crypto computations used by the library,
* allowing pluggable underlying crypto implementations.
Expand Down
2 changes: 0 additions & 2 deletions src/crypto/NodeCryptoProvider.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import crypto = require('crypto');

import CryptoProvider = require('./CryptoProvider');
Expand Down
2 changes: 0 additions & 2 deletions src/crypto/SubtleCryptoProvider.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import CryptoProvider = require('./CryptoProvider');

/**
Expand Down
2 changes: 0 additions & 2 deletions src/multipart.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import utils = require('./utils');
import _Error = require('./Error');
const {StripeError} = _Error;
Expand Down
2 changes: 0 additions & 2 deletions src/net/FetchHttpClient.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import _HttpClient = require('./HttpClient');
const {HttpClient, HttpClientResponse} = _HttpClient;

Expand Down
2 changes: 0 additions & 2 deletions src/net/HttpClient.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

type TimeoutError = TypeError & {code?: string};

/**
Expand Down
2 changes: 0 additions & 2 deletions src/net/NodeHttpClient.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import http = require('http');
import https = require('https');

Expand Down
2 changes: 0 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

const EventEmitter = require('events').EventEmitter;
const qs = require('qs');
const crypto = require('crypto');
Expand Down

0 comments on commit 651024f

Please sign in to comment.