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

Dependency updates. #244

Merged
merged 2 commits into from
Mar 14, 2024
Merged

Dependency updates. #244

merged 2 commits into from
Mar 14, 2024

Conversation

stooit
Copy link
Contributor

@stooit stooit commented Mar 9, 2024

Resolves issues with newer versions of node.

@stooit stooit force-pushed the chore/package-updates branch from d2eda8d to 3b11964 Compare March 9, 2024 21:16
@kepol
Copy link

kepol commented Mar 10, 2024

I'll test this.

@kepol
Copy link

kepol commented Mar 10, 2024

Testing with node version 21.6.2 with a directory with just an index.html file. Used quant init and then tried some common commands:

> quant deploy
*** Quant deploy ***
(node:7919) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
✅ index.html

(index.html was there)

> quant purge /index.html
*** Quant purge ***
(node:7990) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Success: Purged /index.html
> quant redirect /testing /index.html
*** Quant redirect ***
(node:7994) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Error: ReferenceError: from is not defined

(redirect was created)

> quant unpublish /index.html
*** Quant unpublish ***
(node:8001) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Success: Unpublished successfully

(it was unpublished)

> quant delete /index.html
*** Quant delete ***
prompt: This will delete all revisions of an asset from QuantCDN:  (no) (node:7929) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
yes
[error]: Cannot delete path (/index.html)

(file was deleted)

> quant deploy testing
*** Quant deploy ***
(node:7950) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
✅ index.html

(index.html was there)

> quant search status
*** Search index status ***
(node:7945) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Success: Successfully retrieved search index status
{
  settings: {
    hitsPerPage: 20,
    highlightPreTag: '<em>',
    attributesToSnippet: null,
    attributesToHighlight: null,
    alternativesAsExact: [ 'ignorePlurals', 'singleWordSynonym' ],
    optionalWords: null,
    queryType: 'prefixLast',
    removeWordsIfNoResults: 'none',
    distinct: true,
    customRanking: null,
    maxValuesPerFacet: 100,
    separatorsToIndex: '',
    exactOnSingleWordQuery: 'attribute',
    attributeForDistinct: 'url',
    ranking: [
      'typo',      'geo',
      'words',     'filters',
      'proximity', 'attribute',
      'exact',     'custom'
    ],
    attributesForFaceting: [ 'content_type', 'url' ],
    version: 1,
    numericAttributesToIndex: null,
    minWordSizefor1Typo: 4,
    highlightPostTag: '</em>',
    paginationLimitedTo: 1000,
    minWordSizefor2Typos: 8,
    searchableAttributes: [ 'unordered(title)', 'unordered(summary)', 'unordered(content)' ],
    attributesToRetrieve: null,
    unretrievableAttributes: null
  },
  index: {
    createdAt: '2024-03-10T01:22:34.594Z',
    name: 'kristentesting_testingnodejs',
    entries: 0,
    fileSize: 583,
    lastBuildTimeS: 2,
    updatedAt: '2024-03-10T01:53:40.503Z',
    pendingTask: false,
    dataSize: 0,
    numberOfPendingTasks: 0
  }
}

@steveworley steveworley merged commit 5756dc5 into main Mar 14, 2024
3 checks passed
@steveworley steveworley deleted the chore/package-updates branch March 14, 2024 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants