npm-update-package 4.0.10-alpha.0 → 4.0.10-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-update-package",
3
- "version": "4.0.10-alpha.0",
3
+ "version": "4.0.10-alpha.1",
4
4
  "description": "CLI tool for creating pull requests to update npm packages",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import pkg from '../../package.json';
2
+ import pkg from '../../package.json' with { type: 'json ' };
3
3
  import { logger } from '../logger/logger.js';
4
4
  import { main } from '../main.js';
5
5
  import { initOptions } from '../options/initOptions.js';
@@ -1,5 +1,5 @@
1
1
  import { Octokit } from '@octokit/rest';
2
- import pkg from '../../package.json';
2
+ import pkg from '../../package.json' with { type: 'json ' };
3
3
  export const createOctokit = ({ host, token }) => {
4
4
  const userAgent = `${pkg.name}/${pkg.version}`;
5
5
  if (token === undefined) {
@@ -1,4 +1,4 @@
1
- import pkg from '../../../../package.json';
1
+ import pkg from '../../../../package.json' with { type: 'json ' };
2
2
  export const createFooter = () => {
3
3
  return `This PR has been generated by [${pkg.name}](${pkg.homepage}) v${pkg.version}`;
4
4
  };
@@ -1,4 +1,4 @@
1
- import pkg from '../../../../package.json';
1
+ import pkg from '../../../../package.json' with { type: 'json ' };
2
2
  export const createPullRequestMetadata = (outdatedPackages) => {
3
3
  return {
4
4
  version: pkg.version,
@@ -1,5 +1,5 @@
1
1
  import { program } from 'commander';
2
- import pkg from '../../package.json';
2
+ import pkg from '../../package.json' with { type: 'json ' };
3
3
  import { isOptions } from './Options.js';
4
4
  import { toCommanderOption } from './toCommanderOption.js';
5
5
  export const createOptions = (cliOptions) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-update-package",
3
- "version": "4.0.10-alpha.0",
3
+ "version": "4.0.10-alpha.1",
4
4
  "description": "CLI tool for creating pull requests to update npm packages",
5
5
  "type": "module",
6
6
  "scripts": {