diff --git a/extensions/amp-accordion/1.0/base-element.js b/extensions/amp-accordion/1.0/base-element.js index a038088ad028..1b1ef6be89d5 100644 --- a/extensions/amp-accordion/1.0/base-element.js +++ b/extensions/amp-accordion/1.0/base-element.js @@ -23,7 +23,7 @@ import { } from './component'; import {PreactBaseElement} from '../../../src/preact/base-element'; import {childElementsByTag, toggleAttribute} from '../../../src/dom'; -import {pureDevAssert as devAssert} from '../../../src/pure-assert'; +import {pureDevAssert as devAssert} from '../../../src/assert'; import {dict, memo} from '../../../src/utils/object'; import {forwardRef} from '../../../src/preact/compat'; import {toArray} from '../../../src/types'; diff --git a/extensions/amp-selector/1.0/base-element.js b/extensions/amp-selector/1.0/base-element.js index 880080654b45..b729f04ff33a 100644 --- a/extensions/amp-selector/1.0/base-element.js +++ b/extensions/amp-selector/1.0/base-element.js @@ -23,7 +23,7 @@ import { toggleAttribute, tryFocus, } from '../../../src/dom'; -import {pureDevAssert as devAssert} from '../../../src/pure-assert'; +import {pureDevAssert as devAssert} from '../../../src/assert'; import {dict} from '../../../src/utils/object'; import {toArray} from '../../../src/types'; import {useCallback, useLayoutEffect, useRef} from '../../../src/preact'; diff --git a/src/pure-assert.js b/src/assert.js similarity index 100% rename from src/pure-assert.js rename to src/assert.js diff --git a/src/log.js b/src/log.js index 06901f67ae89..4ba8716eafb5 100644 --- a/src/log.js +++ b/src/log.js @@ -14,7 +14,7 @@ * limitations under the License. */ -import {USER_ERROR_SENTINEL} from './pure-assert'; +import {USER_ERROR_SENTINEL} from './assert'; import {getMode} from './mode'; import {internalRuntimeVersion} from './internal-version'; import {isArray, isEnumValue} from './types'; diff --git a/src/utils/date.js b/src/utils/date.js index 4addb9a562bd..0b864d23cae8 100644 --- a/src/utils/date.js +++ b/src/utils/date.js @@ -17,7 +17,7 @@ import { pureDevAssert as devAssert, pureUserAssert as userAssert, -} from '../pure-assert'; +} from '../assert'; /** * Parses the date using the `Date.parse()` rules. Additionally supports the diff --git a/test/unit/test-pure-assert.js b/test/unit/test-pure-assert.js index 21ea2c19a6fc..ddfeb8926191 100644 --- a/test/unit/test-pure-assert.js +++ b/test/unit/test-pure-assert.js @@ -18,7 +18,7 @@ import { USER_ERROR_SENTINEL, pureDevAssert as devAssert, pureUserAssert as userAssert, -} from '../../src/pure-assert'; +} from '../../src/assert'; describe('assertions', () => { describe('devAssert', () => {