@atproto/common 0.3.4-next.0 → 0.3.4

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/CHANGELOG.md CHANGED
@@ -1,13 +1,11 @@
1
1
  # @atproto/common
2
2
 
3
- ## 0.3.4-next.0
3
+ ## 0.3.4
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Overhaul of package builds, no longer bundling deps.
8
-
9
- - Updated dependencies []:
10
- - @atproto/common-web@0.2.4-next.0
7
+ - Updated dependencies [[`4eaadc0ac`](https://github.com/bluesky-social/atproto/commit/4eaadc0acb6b73b9745dd7a2b929d02e58083ab0)]:
8
+ - @atproto/common-web@0.2.4
11
9
 
12
10
  ## 0.3.3
13
11
 
@@ -0,0 +1 @@
1
+ module.exports = require('../../babel.config.js')
package/build.js ADDED
@@ -0,0 +1,14 @@
1
+ const { nodeExternalsPlugin } = require('esbuild-node-externals')
2
+
3
+ const buildShallow =
4
+ process.argv.includes('--shallow') || process.env.ATP_BUILD_SHALLOW === 'true'
5
+
6
+ require('esbuild').build({
7
+ logLevel: 'info',
8
+ entryPoints: ['src/index.ts'],
9
+ bundle: true,
10
+ sourcemap: true,
11
+ outdir: 'dist',
12
+ platform: 'node',
13
+ plugins: buildShallow ? [nodeExternalsPlugin()] : [],
14
+ })
package/dist/buffers.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  /// <reference types="node" />
2
2
  export declare function ui8ToBuffer(bytes: Uint8Array): Buffer;
3
3
  export declare function ui8ToArrayBuffer(bytes: Uint8Array): ArrayBuffer;
4
- //# sourceMappingURL=buffers.d.ts.map
package/dist/dates.d.ts CHANGED
@@ -1,2 +1 @@
1
1
  export declare function toSimplifiedISOSafe(dateStr: string): string;
2
- //# sourceMappingURL=dates.d.ts.map
package/dist/env.d.ts CHANGED
@@ -2,4 +2,3 @@ export declare const envInt: (name: string) => number | undefined;
2
2
  export declare const envStr: (name: string) => string | undefined;
3
3
  export declare const envBool: (name: string) => boolean | undefined;
4
4
  export declare const envList: (name: string) => string[];
5
- //# sourceMappingURL=env.d.ts.map
package/dist/fs.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export declare const fileExists: (location: string) => Promise<boolean>;
2
2
  export declare const readIfExists: (filepath: string) => Promise<Uint8Array | undefined>;
3
3
  export declare const rmIfExists: (filepath: string, recursive?: boolean) => Promise<void>;
4
- //# sourceMappingURL=fs.d.ts.map
package/dist/index.d.ts CHANGED
@@ -7,4 +7,3 @@ export * from './ipld-multi';
7
7
  export * from './logger';
8
8
  export * from './streams';
9
9
  export * from './buffers';
10
- //# sourceMappingURL=index.d.ts.map